/* The support workspace keeps its existing APIs, socket and conversation tools. */
body.hw-chat-workspace { padding: 16px 16px 50px; background: radial-gradient(ellipse at 0 0, #44204c50, transparent 55%), #110c1a; }
body.hw-chat-workspace .app { height: calc(100dvh - 66px); grid-template-columns: 340px minmax(0, 1fr); gap: 16px; }
body.hw-chat-workspace .panel { min-height: 0; border-radius: 24px; border: 1px solid #b994cf35; background: linear-gradient(150deg, #2b1c35f5, #191222f7); box-shadow: 0 16px 45px #00000035; }
body.hw-chat-workspace svg { flex-shrink: 0; }
body.hw-chat-workspace :is(button, a):focus-visible { outline: 2px solid #ffd294; outline-offset: 3px; }
body.hw-chat-workspace .ac-eyebrow { display: block; color: #dbaf7c; font: 800 9px/1.5 Arial, sans-serif; letter-spacing: .15em; }
body.hw-chat-workspace .sessions { overflow: auto; }
body.hw-chat-workspace .head { position: relative; padding: 20px; flex-shrink: 0; background: radial-gradient(ellipse at 0 0, #a66cff12, transparent 70%); border-color: #b994cf25; }
body.hw-chat-workspace .brand { gap: 12px; }
body.hw-chat-workspace .brand-mark { width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; }
body.hw-chat-workspace .head h1 { font-size: 25px; margin-top: 2px; }
body.hw-chat-workspace .head p { font-size: 11px; color: #b6a4c5; }
body.hw-chat-workspace .ac-quick-nav { display: flex; gap: 6px; margin: 18px 0 0; }
body.hw-chat-workspace .ac-quick-nav a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 5px; border: 1px solid #c6a0ff28; border-radius: 10px; color: #d7c7e4; background: #c6a0ff07; text-decoration: none; font-size: 10px; transition: .2s; }
body.hw-chat-workspace .ac-quick-nav a:hover { border-color: #ffbd6870; color: #ffd49e; background: #ffbd680c; }
body.hw-chat-workspace .ac-quick-nav svg { width: 14px; height: 14px; }
body.hw-chat-workspace .sessions .hw-season-badge { font-size: 8px; margin-top: 14px; padding: 5px 9px; }
body.hw-chat-workspace .sessions .hw-countdown { grid-template-columns: 46px minmax(0,1fr); row-gap: 8px; column-gap: 8px; padding: 12px; margin: 10px 0 0; border-radius: 16px; }
body.hw-chat-workspace .sessions .hw-clock-scene { width: 46px; }
body.hw-chat-workspace .sessions .hw-clock-scene .hw-pumpkin { width: 50px; height: 50px; left: -6px; bottom: 0; }
body.hw-chat-workspace .sessions .hw-clock-scene svg + svg { width: 24px; height: 30px; }
body.hw-chat-workspace .sessions .hw-clock-title { font-size: 11px; }
body.hw-chat-workspace .sessions .hw-clock-date { font-size: 8px; }
body.hw-chat-workspace .sessions .hw-countdown-number { font-size: 20px; }
body.hw-chat-workspace .sessions .hw-countdown-unit { padding: 6px 2px; }
body.hw-chat-workspace .search { position: relative; margin-top: 16px; }
body.hw-chat-workspace .search svg { position: absolute; left: 13px; top: 14px; width: 16px; color: #b6a4c5; }
body.hw-chat-workspace .search input { padding: 13px 12px 13px 38px; min-height: 44px; font-size: 12px; border-radius: 12px; background: #130f1d; border-color: #c6a0ff30; }
body.hw-chat-workspace .session-status-card { position: relative; margin: 14px 16px 10px; padding: 15px; background: linear-gradient(130deg, #44304765, #281d3460); border: 1px solid #c6a0ff30; border-radius: 18px; }
body.hw-chat-workspace .session-status-top { align-items: center; margin-bottom: 12px; }
body.hw-chat-workspace .session-status-top strong { display: block; font-size: 14px; letter-spacing: -.01em; text-transform: none; margin-top: 4px; }
body.hw-chat-workspace .session-status-pill { font-size: 10px; padding: 6px 9px; }
body.hw-chat-workspace .session-status-actions { grid-template-columns: 1fr 1fr; gap: 7px; }
body.hw-chat-workspace .session-status-actions button { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 35px; border-radius: 10px; font-size: 11px; font-weight: 700; border: 1px solid #a0edbb40; color: #9de9bc; background: #77dba00d !important; cursor: pointer; }
body.hw-chat-workspace .session-status-actions .offline-btn { color: #d1b7e1; border-color: #c6a0ff40; background: #c6a0ff09 !important; }
body.hw-chat-workspace .session-status-actions .online-btn[aria-pressed="true"] { background: #86dda9 !important; color: #17251d; border-color: #86dda9; }
body.hw-chat-workspace .session-status-actions .offline-btn[aria-pressed="true"] { background: #dd9290 !important; color: #2b1720; border-color: #dd9290; }
body.hw-chat-workspace :is(.session-hours, .status-tools) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.hw-chat-workspace :is(.session-hours, .status-tools) label { display: grid; gap: 6px; font-size: 9px; font-weight: 700; color: #bca8ca; min-width: 0; }
body.hw-chat-workspace :is(.session-hours, .status-tools) input { width: 100%; min-width: 0; height: 36px; min-height: 36px; padding: 0 9px; font-size: 11px; color-scheme: dark; background: #160f22; border: 1px solid #c6a0ff30; border-radius: 10px; }
body.hw-chat-workspace .ac-hours-note { margin: 10px 0 0; color: #aa94ba; font-size: 9px; line-height: 1.6; }
body.hw-chat-workspace .ac-inbox-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px 12px; flex-shrink: 0; }
body.hw-chat-workspace .ac-inbox-head h2 { margin: 3px 0 0; font-size: 17px; }
body.hw-chat-workspace #queueTotal { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; color: #ffd094; background: #ffbd6815; border: 1px solid #ffbd6835; border-radius: 8px; font-size: 10px; vertical-align: middle; }
body.hw-chat-workspace .ac-icon-button { width: 32px; height: 32px; border: 1px solid #c6a0ff35; background: #c6a0ff0b; border-radius: 10px; color: #d7c7e4; cursor: pointer; }
body.hw-chat-workspace .ac-icon-button svg { width: 15px; height: 15px; }
body.hw-chat-workspace .ac-filters { display: flex; gap: 5px; padding: 0 16px 12px; flex-shrink: 0; }
body.hw-chat-workspace .ac-filters button { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1; min-height: 34px; padding: 7px; border: 1px solid transparent; border-radius: 10px; background: #ffffff04; color: #b6a4c5; font-size: 10px; font-weight: 700; cursor: pointer; }
body.hw-chat-workspace .ac-filters button[aria-pressed="true"] { color: #ffd39b; background: #ffbd6815; border-color: #ffbd6840; }
body.hw-chat-workspace .ac-filters button span { font-size: 9px; border-radius: 5px; background: #ffffff0a; padding: 2px 4px; }
body.hw-chat-workspace .session-list { flex: 1; min-height: 120px; padding: 0 12px 14px; gap: 8px; }
body.hw-chat-workspace .session-item { width: 100%; padding: 13px 11px; gap: 10px; border: 1px solid #c6a0ff22; border-radius: 15px; background: #241a30; color: #f8efdf; text-align: left; cursor: pointer; box-shadow: none; }
body.hw-chat-workspace .session-item:hover { transform: none; border-color: #c6a0ff65; background: #34233f; }
body.hw-chat-workspace .session-item.active { background: linear-gradient(125deg, #ffbd6817, #a66cff15); border-color: #ffbd6870; box-shadow: inset 3px 0 0 #ffbd68; }
body.hw-chat-workspace .session-item::before { display: none; }
body.hw-chat-workspace .session-avatar { width: 40px; height: 40px; min-width: 40px; border-radius: 13px; font-size: 15px; background: linear-gradient(135deg, #c79bec25, #ffbd6830); color: #ffe2b9; border: 1px solid #c6a0ff40; box-shadow: none; }
body.hw-chat-workspace .session-copy { min-width: 0; }
body.hw-chat-workspace .session-copy strong { font-size: 13px; }
body.hw-chat-workspace .session-copy span { font-size: 10px; line-height: 1.6; color: #a993ba; }
body.hw-chat-workspace .session-copy span:last-child { color: #d4c3df; }
body.hw-chat-workspace .session-meta { max-width: 82px; gap: 6px; }
body.hw-chat-workspace .unread-dot { background: #ffbb71; color: #24152d; min-width: 20px; height: 20px; font-size: 10px; box-shadow: 0 0 14px #ffbb7120; }
body.hw-chat-workspace .assign-chip { max-width: 80px; font-size: 8px; padding: 3px 5px; overflow: hidden; text-overflow: ellipsis; }
body.hw-chat-workspace .ac-session-state { font-size: 8px; white-space: nowrap; color: #eab577; }
body.hw-chat-workspace .ac-session-state.is-handled { color: #8addb1; }
body.hw-chat-workspace .ac-queue-empty { text-align: center; padding: 24px 18px; color: #b6a4c5; }
body.hw-chat-workspace .ac-queue-empty > span { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border: 1px solid #c6a0ff35; border-radius: 16px; color: #d7b7f4; background: #a66cff0c; font-size: 26px; }
body.hw-chat-workspace .ac-queue-empty strong { display: block; color: #dacee3; font-size: 12px; }
body.hw-chat-workspace .ac-queue-empty p { max-width: 225px; margin: 8px auto; font-size: 11px; line-height: 1.7; }
body.hw-chat-workspace .ac-queue-empty button { background: #c6a0ff15; border: 1px solid #c6a0ff40; border-radius: 8px; color: #ffd39b; font-size: 10px; padding: 8px 12px; cursor: pointer; }
body.hw-chat-workspace .ac-account { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-top: 1px solid #c6a0ff20; flex-shrink: 0; background: #140f1d60; }
body.hw-chat-workspace .ac-account-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #a66cff20; color: #d7b7f4; font-weight: 700; font-size: 12px; }
body.hw-chat-workspace .ac-account strong { display: block; font-size: 11px; color: #e3d4ee; }
body.hw-chat-workspace .ac-account div > span { display: block; font-size: 9px; color: #aa94ba; margin-top: 4px; }
body.hw-chat-workspace .ac-account a { margin-left: auto; color: #bda3d1; text-decoration: none; font-size: 22px; }
body.hw-chat-workspace .chat { position: relative; isolation: isolate; min-width: 0; background: radial-gradient(ellipse at 75% 0%, #a66cff0d, transparent 65%), #1c1427; }
body.hw-chat-workspace .ac-chat-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background-image: radial-gradient(#c6a0ff18 .7px, transparent .7px); background-size: 28px 28px; }
body.hw-chat-workspace .ac-floating-ghost { position: absolute; right: 7%; top: 40%; width: 85px; height: 102px; stroke: none; opacity: .09; animation: ac-spirit-float 9s ease-in-out infinite; }
body.hw-chat-workspace .ac-background-star { position: absolute; left: 8%; top: 35%; color: #ffd094; opacity: .2; font-size: 22px; animation: ac-star-glow 5s ease-in-out infinite; }
body.hw-chat-workspace .ac-background-star-two { left: auto; right: 12%; top: 70%; font-size: 16px; animation-delay: -2s; }
body.hw-chat-workspace .chat[data-selected="true"] .ac-chat-decor { opacity: .35; }
body.hw-chat-workspace .chat-title { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 24px; border-color: #c6a0ff25; background: linear-gradient(110deg, #3d29469c, #251b319c); }
body.hw-chat-workspace .chat-person { display: flex; min-width: 0; gap: 12px; }
body.hw-chat-workspace .chat-person-copy h2 { font-size: 19px; line-height: 1.3; margin: 3px 0; color: #f8efdf; }
body.hw-chat-workspace .chat-person-copy > span:last-child { display: block; color: #aa94ba; font-size: 11px; }
body.hw-chat-workspace .chat-person .ac-eyebrow { color: #dbaf7c; font-size: 8px; }
body.hw-chat-workspace .mobile-back { display: none; }
body.hw-chat-workspace .admin-chat-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
body.hw-chat-workspace .mega-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
body.hw-chat-workspace :is(.mega-trigger, #notifBtn, #joinBtn) { min-height: 38px; border-radius: 11px; padding: 0 11px; font-size: 11px; box-shadow: none; }
body.hw-chat-workspace .admin-chat-actions .mega-trigger { background: linear-gradient(150deg, #46324f, #302339); border-color: #bc98d442; color: #f0e3fa; gap: 8px; box-shadow: inset 0 1px #ffffff0b, 0 3px 8px #00000018; }
body.hw-chat-workspace .admin-chat-actions .mega-trigger:hover { border-color: #e0b89090; background: #493450; }
body.hw-chat-workspace .admin-chat-actions .mega-trigger[aria-expanded="true"] { color: #ffe3b0; background: linear-gradient(145deg, #624536, #413043); border-color: #eab576; box-shadow: 0 0 0 3px #ffbd6812; }
body.hw-chat-workspace .mega-trigger::after { width: 5px; height: 5px; margin-left: 3px; }
body.hw-chat-workspace :is(.mega-trigger, #notifBtn) svg { width: 17px; height: 17px; }
body.hw-chat-workspace #notifBtn { color: #d7b7f4; background: #a66cff0c; border-color: #c6a0ff35; }
body.hw-chat-workspace #notifBtn.is-on { color: #9de9bc; border-color: #9de9bc55; }
body.hw-chat-workspace #joinBtn { order: -1; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: linear-gradient(120deg, #ffca85, #ef9b5c); color: #29182d; border-color: #ffd09460; }
body.hw-chat-workspace #joinBtn:disabled { background: #c6a0ff0a; color: #bca8ca; border-color: #c6a0ff25; opacity: .6; }
body.hw-chat-workspace .mega-menu { position: fixed; z-index: 10002; width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; border-radius: 24px; border: 1px solid #b894ce65; background: radial-gradient(ellipse at 5% 0%, #71425840, transparent 45%), linear-gradient(145deg, #2e2338, #1b1624); box-shadow: 0 24px 80px #09050eb3, 0 0 0 5px #c6a0ff05, inset 0 1px 0 #fff0db18; scrollbar-width: thin; scrollbar-color: #77608b #20192a; }
body.hw-chat-workspace .mega-menu[data-active="nav"] { width: min(600px, calc(100vw - 24px)); }
body.hw-chat-workspace .mega-menu::before { display: none; }
body.hw-chat-workspace .mega-menu svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.hw-chat-workspace .mega-col { min-width: 0; }
body.hw-chat-workspace .mega-col[data-group="nav"] { grid-template-columns: 1fr 1fr; gap: 10px; }
body.hw-chat-workspace .ac-menu-heading { position: relative; display: flex; align-items: center; gap: 14px; grid-column: 1 / -1; padding: 2px 26px 21px 0; margin-bottom: 18px; border-bottom: 1px solid #c6a0ff25; }
body.hw-chat-workspace .ac-menu-heading .ac-eyebrow { font-size: 8px; letter-spacing: .16em; color: #f0c385; }
body.hw-chat-workspace .ac-menu-emblem { display: grid; place-items: center; flex-shrink: 0; width: 58px; height: 64px; color: #ffdfb1; border: 1px solid #edc08a50; border-radius: 18px; background: linear-gradient(145deg, #cd88532c, #a678cf20); box-shadow: inset 0 1px #ffe4c520, 0 6px 20px #0c071e35; }
body.hw-chat-workspace .ac-menu-emblem svg { width: 34px; height: 34px; animation: ac-spirit-float 6s ease-in-out infinite; }
body.hw-chat-workspace .ac-menu-close { position: absolute; right: -7px; top: -7px; display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 1px solid #c6a0ff30; border-radius: 50%; background: #211927; color: #dcc7ed; font-size: 21px; font-weight: 400; cursor: pointer; box-shadow: none; }
body.hw-chat-workspace .ac-menu-close:hover { color: #fff0db; border-color: #ffcc8c90; background: #493347; }
body.hw-chat-workspace .ac-menu-heading h4 { margin: 5px 0; font-size: 24px; font-weight: 750; color: #fff0db; letter-spacing: -.035em; line-height: 1.2; text-transform: none; }
body.hw-chat-workspace .ac-menu-heading p { color: #bfaecc; margin: 0; font-size: 11px; line-height: 1.6; }
body.hw-chat-workspace .ac-menu-context { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; margin-bottom: 14px; border: 1px solid #e0b17b30; border-radius: 13px; background: #dbac6b0a; }
body.hw-chat-workspace .ac-context-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #ffc88c; box-shadow: 0 0 0 4px #ffc88c0f; margin-top: 5px; }
body.hw-chat-workspace .ac-menu-context strong { color: #ffe1b6; font-size: 12px; }
body.hw-chat-workspace .ac-menu-context p { margin: 4px 0 0; font-size: 11px; line-height: 1.6; color: #cab5d3; }
body.hw-chat-workspace .ac-menu-context[data-state="joined"] { border-color: #8ae2b545; background: #8ae2b509; }
body.hw-chat-workspace .ac-menu-context[data-state="joined"] strong { color: #acf2c8; }
body.hw-chat-workspace .ac-menu-context[data-state="joined"] .ac-context-dot { background: #8ae2b5; box-shadow: 0 0 0 4px #8ae2b514; }
body.hw-chat-workspace .ac-menu-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
body.hw-chat-workspace .mega-item { --ac-tone: #c9a4f5; position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 14px; color: #f0e5fa; border: 1px solid #c6a0ff25; background: linear-gradient(135deg, #c6a0ff0b, #c6a0ff04); border-radius: 15px; text-align: left; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px #ffffff05; transition: border-color .18s, background .18s, transform .18s; }
body.hw-chat-workspace .mega-item:hover:not(:disabled) { transform: translateY(-2px); background: #c6a0ff12; border-color: var(--ac-tone); }
body.hw-chat-workspace .mega-item:disabled { opacity: 1; cursor: not-allowed; border-style: dashed; box-shadow: none; }
body.hw-chat-workspace .mega-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; min-width: 42px; background: #a66cff15; border: 1px solid #c6a0ff35; color: var(--ac-tone, #c9a4f5); border-radius: 12px; box-shadow: inset 0 1px #ffffff0b; }
body.hw-chat-workspace .mega-item > :first-child { min-width: 42px; }
body.hw-chat-workspace .mega-item > div { min-width: 0; }
body.hw-chat-workspace .mega-item strong { display: block; font-size: 13px; font-weight: 700; color: #f6eafa; letter-spacing: -.01em; }
body.hw-chat-workspace .mega-item div > span { display: block; margin-top: 5px; color: #bdabcc; font-size: 11px; line-height: 1.5; font-weight: 400; }
body.hw-chat-workspace .mega-item.ac-action-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 15px; min-height: 126px; }
body.hw-chat-workspace [data-tone="mint"] { --ac-tone: #8ee8bc; background: linear-gradient(140deg, #8ee8bc12, #8ee8bc04); border-color: #8ee8bc35; }
body.hw-chat-workspace [data-tone="gold"] { --ac-tone: #f2c18d; background: linear-gradient(140deg, #f2c18d12, #f2c18d04); border-color: #f2c18d35; }
body.hw-chat-workspace [data-tone="mint"] .mega-icon { color: #9befc6; background: #8ee8bc12; border-color: #8ee8bc40; }
body.hw-chat-workspace [data-tone="gold"] .mega-icon { color: #f7cd9b; background: #f2c18d12; border-color: #f2c18d40; }
body.hw-chat-workspace .ac-action-card:disabled::after { content: ''; position: absolute; right: 14px; top: 16px; width: 9px; height: 9px; border: 1px solid #beaacc; border-radius: 3px; background: #211a2c; }
body.hw-chat-workspace .ac-action-card:disabled::before { content: ''; position: absolute; right: 16px; top: 12px; width: 5px; height: 6px; border: 1px solid #beaacc; border-bottom: 0; border-radius: 5px 5px 0 0; }
body.hw-chat-workspace .ac-action-card[aria-pressed="true"] { border-color: var(--ac-tone); box-shadow: 0 0 0 2px #ffffff05, inset 0 1px #ffffff0d; }
body.hw-chat-workspace .ac-action-card[aria-pressed="true"]::after { content: '✓'; position: absolute; right: 13px; top: 13px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ac-tone); color: #182b24; font-size: 12px; }
body.hw-chat-workspace :is(.ac-transfer-card, .ac-schedule-card) { margin-top: 14px; padding: 16px; border: 1px solid #c6a0ff35; border-radius: 16px; background: linear-gradient(135deg, #ae74dd12, #281e360a); }
body.hw-chat-workspace .ac-section-heading { display: flex; align-items: center; gap: 11px; }
body.hw-chat-workspace .ac-section-heading h5 { margin: 0; color: #edd8ff; font-size: 13px; letter-spacing: -.01em; }
body.hw-chat-workspace .ac-section-heading p { margin: 5px 0 0; color: #bdabcc; font-size: 11px; line-height: 1.5; }
body.hw-chat-workspace .ac-field-label { display: block; color: #d5c2e5; font-size: 10px; font-weight: 650; margin: 15px 0 7px; }
body.hw-chat-workspace .ac-transfer-controls { display: flex; gap: 8px; }
body.hw-chat-workspace .mega-menu #adminSelect { flex: 1; min-width: 0; width: 0; height: 42px; margin: 0; padding: 0 10px; border: 1px solid #b69bc345; border-radius: 10px; color: #ebdff4; background: #17131f; font-size: 11px; opacity: 1; }
body.hw-chat-workspace .mega-menu #adminSelect:disabled { color: #bca9c9; border-style: dashed; cursor: not-allowed; }
body.hw-chat-workspace .ac-transfer-submit { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 13px; border: 1px solid #d0b2ff50; border-radius: 10px; background: linear-gradient(120deg, #bea0e9, #9976c7); color: #241631; font-size: 11px; font-weight: 750; box-shadow: none; cursor: pointer; }
body.hw-chat-workspace .ac-transfer-submit svg { width: 15px; height: 15px; }
body.hw-chat-workspace .ac-transfer-submit:disabled { color: #d0bbdf; background: #67527d35; border-color: #b69bc335; cursor: not-allowed; opacity: 1; }
body.hw-chat-workspace .ac-menu-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; color: #aa92bc; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
body.hw-chat-workspace .ac-menu-divider::after { content: ''; flex: 1; height: 1px; background: #c6a0ff20; }
body.hw-chat-workspace .mega-item[data-danger] { --ac-tone: #eea5af; color: #f1b5bf; border-color: #eea5af30; background: #ed7e9407; }
body.hw-chat-workspace .mega-item[data-danger] strong { color: #f5b4c2; }
body.hw-chat-workspace .mega-item[data-danger] .mega-icon { color: #f1a5b0; border-color: #f1a5b035; background: #f1a5b012; }
body.hw-chat-workspace .mega-item .ac-item-arrow { flex-shrink: 0; min-width: 0; margin-left: auto; color: #c6a0ff; font-size: 19px; }
body.hw-chat-workspace .ac-status-summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; color: #cab5d3; font-size: 12px; }
body.hw-chat-workspace .ac-status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid #f2c18d40; border-radius: 20px; color: #f7cd9b; background: #f2c18d10; font-size: 10px; font-weight: 700; }
body.hw-chat-workspace .ac-status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.hw-chat-workspace .ac-status-badge.online { color: #9befc6; border-color: #8ee8bc40; background: #8ee8bc10; }
body.hw-chat-workspace .status-tools { margin-top: 15px; padding: 0; border: 0; border-radius: 0; background: transparent; }
body.hw-chat-workspace .status-tools label { color: #d1bbdf; font-size: 10px; }
body.hw-chat-workspace .status-tools input { height: 42px; margin-top: 7px; border: 1px solid #b69bc345; border-radius: 10px; color: #f3e1ff; background: #17131f; font-size: 12px; }
body.hw-chat-workspace .ac-hours-note { grid-column: 1 / -1; margin: 4px 0 0; color: #aa92bc; font-size: 10px; }
body.hw-chat-workspace .ac-refresh-card { margin-top: 14px; }
body.hw-chat-workspace [data-group="nav"] .mega-item { min-height: 82px; padding: 13px 30px 13px 12px; gap: 11px; }
body.hw-chat-workspace [data-group="nav"] .mega-item::after { content: '›'; position: absolute; right: 12px; color: #967bac; font-size: 21px; transition: transform .18s; }
body.hw-chat-workspace [data-group="nav"] .mega-item:hover::after { color: #ffd094; transform: translateX(3px); }
body.hw-chat-workspace [data-group="nav"] .mega-item:nth-child(3n) .mega-icon { color: #f7cd9b; border-color: #f2c18d40; background: #f2c18d10; }
body.hw-chat-workspace [data-group="nav"] .mega-item:nth-child(3n + 1) .mega-icon { color: #9befc6; border-color: #8ee8bc40; background: #8ee8bc10; }
body.hw-chat-workspace .mega-menu :is(button, a, select, input):focus-visible { outline: 2px solid #ffca8d; outline-offset: 3px; }
body.hw-chat-workspace .messages { position: relative; z-index: 1; min-height: 0; padding: 24px; background: transparent; }
body.hw-chat-workspace .ac-welcome { width: min(680px, 100%); margin: auto; padding: 24px 0; text-align: center; }
body.hw-chat-workspace .ac-welcome-art { position: relative; width: 245px; height: 245px; max-width: 100%; margin: 0 auto 20px; }
body.hw-chat-workspace .ac-welcome-art img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 24px #00000040); animation: ac-spirit-float 6s ease-in-out infinite; }
body.hw-chat-workspace .ac-art-halo { position: absolute; inset: 15px; border-radius: 50%; border: 1px dashed #dbaf7c50; background: radial-gradient(#a66cff18, transparent 65%); box-shadow: 0 0 0 12px #c6a0ff04, 0 0 50px #a66cff10; animation: ac-halo-turn 60s linear infinite; }
body.hw-chat-workspace .ac-art-star { position: absolute; left: 3px; top: 70px; color: #ffd094; font-size: 23px; animation: ac-star-glow 4s ease-in-out infinite; }
body.hw-chat-workspace .ac-art-star-two { left: auto; right: 8px; top: 35px; color: #c6a0ff; font-size: 30px; animation-delay: -2s; }
body.hw-chat-workspace .ac-welcome > .ac-eyebrow { font-size: 9px; }
body.hw-chat-workspace .ac-welcome h2 { margin: 12px 0; color: #fff0db; font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.04em; }
body.hw-chat-workspace .ac-welcome > p { color: #b6a4c5; font-size: 13px; line-height: 1.8; max-width: 450px; margin: 0 auto; }
body.hw-chat-workspace .ac-welcome-tools { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
body.hw-chat-workspace .ac-welcome-tools > :is(button, a) { display: flex; flex-direction: column; align-items: center; padding: 17px 10px; border: 1px solid #c6a0ff30; border-radius: 16px; background: linear-gradient(135deg, #c6a0ff09, #ffbd6804); color: #e3d4ee; cursor: pointer; text-decoration: none; text-align: center; transition: .2s; }
body.hw-chat-workspace .ac-welcome-tools > :is(button, a):hover { border-color: #ffbd6860; background: #ffbd680a; transform: translateY(-3px); }
body.hw-chat-workspace .ac-tool-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 11px; border: 1px solid #ffbd6830; border-radius: 11px; color: #e8bd86; background: #ffbd680a; }
body.hw-chat-workspace .ac-welcome-tools strong { font-size: 11px; }
body.hw-chat-workspace .ac-welcome-tools > :is(button, a) > span:last-child { display: block; margin-top: 6px; color: #a993b8; font-size: 10px; line-height: 1.6; }
body.hw-chat-workspace .msg-row { max-width: 80%; }
body.hw-chat-workspace .msg-row > div:last-child { min-width: 0; }
body.hw-chat-workspace .msg { padding: 13px 16px; border-radius: 17px; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
body.hw-chat-workspace .msg:has(.msg-image) { white-space: normal; }
body.hw-chat-workspace .msg.user { background: #372640; border: 1px solid #c6a0ff25; border-bottom-left-radius: 5px; }
body.hw-chat-workspace .msg.admin { background: linear-gradient(135deg, #7848a2, #5e377f); border: 1px solid #d7a2ff35; border-bottom-right-radius: 5px; color: #fff5e8; }
body.hw-chat-workspace .msg-image { max-width: min(260px,100%); height: auto; object-fit: contain; }
body.hw-chat-workspace .msg-name { color: #bfa5cf; font-size: 10px; }
body.hw-chat-workspace .msg-avatar { background: #c6a0ff15; border-color: #c6a0ff35; color: #d7b7f4; width: 30px; height: 30px; font-size: 10px; }
body.hw-chat-workspace .system-msg { color: #d6b5ed; background: #a66cff0d; border-color: #c6a0ff25; font-size: 10px; font-weight: 500; }
body.hw-chat-workspace .empty { min-height: 160px; font-size: 12px; }
body.hw-chat-workspace .reply-wrap { position: relative; z-index: 1; flex-shrink: 0; padding: 12px 18px; border-top: 1px solid #c6a0ff25; background: #271b34e8; }
body.hw-chat-workspace .shortcut-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0 0 10px; border: 0; background: transparent; }
body.hw-chat-workspace .shortcut-bar.hidden { display: none; }
body.hw-chat-workspace .shortcut-label { font-size: 9px; color: #d7b7f4; letter-spacing: .06em; }
body.hw-chat-workspace #shortcutChips { display: flex; flex-wrap: wrap; gap: 5px; }
body.hw-chat-workspace .shortcut-chip { padding: 7px 10px; min-height: 29px; border-radius: 8px; border: 1px solid #c6a0ff30; background: #c6a0ff0c; color: #d7c7e4; font-size: 10px; }
body.hw-chat-workspace .shortcut-manage { margin-left: auto; }
body.hw-chat-workspace .shortcut-panel { padding: 16px; max-height: 260px; overflow: auto; border: 1px solid #c6a0ff35; border-radius: 15px; background: #201529; margin-bottom: 12px; }
body.hw-chat-workspace .shortcut-item { border-color: #c6a0ff25; background: #c6a0ff05; }
body.hw-chat-workspace .reply { display: flex; padding: 0; border: 0; gap: 9px; }
body.hw-chat-workspace .reply input { flex: 1; min-width: 0; min-height: 46px; border-radius: 12px; background: #151020; border-color: #c6a0ff35; font-size: 12px; }
body.hw-chat-workspace .reply .reply-attach { width: 42px; min-width: 42px; height: 42px; min-height: 42px; padding: 0; background: #c6a0ff10; color: #d7b7f4; border: 1px solid #c6a0ff35; border-radius: 12px; box-shadow: none; }
body.hw-chat-workspace #replySendBtn { min-height: 42px; padding: 0 15px; font-size: 12px; border-radius: 12px; background: linear-gradient(120deg, #ffd08b, #f0a165); color: #28182e; }
body.hw-chat-workspace #replySendBtn:disabled { opacity: .35; cursor: not-allowed; }
body.hw-chat-workspace #replySendBtn svg { width: 15px; height: 15px; }
body.hw-chat-workspace .ac-composer-note { margin: 8px 0 0 52px; font-size: 9px; color: #aa94ba; line-height: 1.5; }
body.hw-chat-workspace .admin-modal-card { background: linear-gradient(145deg, #3b2647, #1d1429); border-color: #c6a0ff45; }
body.hw-chat-workspace .admin-modal-title { color: #fff0db; }
body.hw-chat-workspace .admin-modal-input { background: #140f1d; border-color: #c6a0ff40; }
body.hw-chat-workspace .admin-modal-btn.primary { background: linear-gradient(120deg, #ffca85, #ef9b5c); color: #29182d; box-shadow: none; }
html.hw-paused body.hw-chat-workspace :is(.ac-welcome-art, .ac-chat-decor, .ac-menu-emblem) *, html.hw-asleep body.hw-chat-workspace :is(.ac-welcome-art, .ac-chat-decor, .ac-menu-emblem) * { animation-play-state: paused !important; }
@keyframes ac-spirit-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes ac-halo-turn { to { transform: rotate(360deg); } }
@keyframes ac-star-glow { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: .8; transform: scale(1.1); } }
@media (max-width: 1400px) {
  body.hw-chat-workspace .app { grid-template-columns: 315px minmax(0, 1fr); }
  body.hw-chat-workspace .chat-title { gap: 12px; padding: 18px; }
  body.hw-chat-workspace .admin-chat-actions { width: 100%; justify-content: flex-start; margin-left: 0; }
}
@media (max-width: 1100px) {
  body.hw-chat-workspace { padding: 8px 8px 46px; }
  body.hw-chat-workspace .app { grid-template-columns: 1fr; height: calc(100dvh - 54px); gap: 0; }
  body.hw-chat-workspace .panel { min-height: 0; border-radius: 20px; }
  body.hw-chat-workspace .sessions, body.hw-chat-workspace .chat { min-height: 0; }
  body.hw-chat-workspace .mobile-back { display: inline-flex; order: 0; min-height: 36px; padding: 8px 10px; border-radius: 10px; font-size: 10px; background: #c6a0ff0c; border-color: #c6a0ff35; }
  body.hw-chat-workspace .chat-title { justify-content: space-between; }
}
@media (max-width: 600px) {
  body.hw-chat-workspace .head { padding: 18px; }
  body.hw-chat-workspace .sessions .hw-countdown { max-width: 100%; }
  body.hw-chat-workspace .session-status-top { flex-direction: row; }
  body.hw-chat-workspace .session-hours { grid-template-columns: 1fr 1fr; }
  body.hw-chat-workspace .chat-title { padding: 14px; gap: 12px; }
  body.hw-chat-workspace .chat-person-copy h2 { font-size: 16px; }
  body.hw-chat-workspace .chat-person-copy > span:last-child { font-size: 10px; }
  body.hw-chat-workspace .admin-chat-actions { gap: 8px; }
  body.hw-chat-workspace .mega-wrap { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; gap: 5px; }
  body.hw-chat-workspace .mega-trigger { padding: 0 7px; min-height: 38px; width: 100%; font-size: 10px; gap: 4px; }
  body.hw-chat-workspace .mega-trigger::after { display: none; }
  body.hw-chat-workspace #notifBtn { grid-column: auto; min-width: 0; padding: 0 6px; }
  body.hw-chat-workspace #notifBtn span { display: none; }
  body.hw-chat-workspace #joinBtn { min-height: 34px; font-size: 10px; }
  body.hw-chat-workspace .mega-col[data-group="nav"] { grid-template-columns: 1fr; }
  body.hw-chat-workspace .mega-menu { padding: 17px; border-radius: 21px; }
  body.hw-chat-workspace .ac-menu-heading { gap: 11px; padding-right: 22px; }
  body.hw-chat-workspace .ac-menu-heading h4 { font-size: 21px; }
  body.hw-chat-workspace .ac-menu-emblem { width: 46px; height: 55px; border-radius: 14px; }
  body.hw-chat-workspace .ac-menu-emblem svg { width: 29px; height: 29px; }
  body.hw-chat-workspace .mega-item.ac-action-card { padding: 13px; }
  body.hw-chat-workspace [data-group="nav"] .mega-item { min-height: 74px; }
  body.hw-chat-workspace .messages { padding: 18px 12px; }
  body.hw-chat-workspace .msg-row { max-width: 96%; }
  body.hw-chat-workspace .ac-welcome-art { width: 190px; height: 190px; }
  body.hw-chat-workspace .ac-welcome-tools { grid-template-columns: 1fr; gap: 8px; }
  body.hw-chat-workspace .reply-wrap { padding: 10px; }
  body.hw-chat-workspace .reply { gap: 6px; }
  body.hw-chat-workspace .reply input { font-size: 16px; padding: 0 10px; }
  body.hw-chat-workspace #replySendBtn { padding: 0 11px; }
  body.hw-chat-workspace #replySendBtn svg { display: none; }
  body.hw-chat-workspace .ac-composer-note { margin-left: 0; font-size: 8px; }
  body.hw-chat-workspace .shortcut-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.hw-chat-workspace :is(.ac-welcome-art, .ac-chat-decor, .ac-menu-emblem) * { animation: none !important; }
  body.hw-chat-workspace :is(.mega-menu, .mega-item) { animation: none; transition: none; }
  body.hw-chat-workspace .ac-welcome-tools > :is(button,a) { transition: none; }
}
