*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#fff;color:#18181b}
a{text-decoration:none;color:inherit}
.page{display:flex;min-height:100vh}
.sidebar{width:220px;background:#fafafa;border-right:1px solid #efefef;padding:12px 8px 10px;display:flex;flex-direction:column}
.logo{font-size:18px;font-weight:700;padding:10px 12px;color:#111}
.nav-item{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:10px;margin-bottom:1px;font-size:12px;color:#27272a}
.nav-item:hover,.nav-item.active{background:#f0f0f0}
.nav-icon{width:14px;display:inline-flex;justify-content:center;color:#71717a;font-size:12px}
.sidebar-bottom{margin-top:auto}
.main,.chat-main{flex:1;position:relative;background:#fff}
.topbar,.chat-topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 28px}
.search-box{width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;font-size:14px}
.chat-input-wrap{display:flex;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:999px;padding:8px 12px;background:#fff;width:760px;max-width:92%;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.chat-input-wrap textarea{flex:1;border:none;outline:none;resize:none;height:24px;font-size:14px;line-height:24px;background:transparent;color:#111}
.icon-btn{border:none;background:none;font-size:18px;cursor:pointer;color:#555;padding:4px 6px}
.send-btn,.btn{border:none;background:#111827;color:#fff;padding:10px 16px;border-radius:20px;cursor:pointer;font-size:14px}
.btn{background:#fff;color:#111827;border:1px solid #d1d5db}
.btn-dark{background:#111827;color:#fff;border-color:#111827}
.message-list{height:calc(100vh - 150px);overflow-y:auto;padding:12px 24px 140px}
.msg{max-width:860px;margin:14px auto;display:flex;flex-direction:column}
.msg.user{align-items:flex-end}
.msg.assistant{align-items:flex-start}
.msg .bubble{padding:12px 16px;border-radius:16px;line-height:1.75;white-space:pre-wrap;max-width:860px;font-size:14px}
.msg.user .bubble{background:#111827;color:#fff}
.msg.assistant .bubble{background:#f5f5f5;color:#111}
.msg-toolbar{margin-top:6px;display:flex;gap:8px}
.msg-tool-btn{font-size:12px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;cursor:pointer;color:#555}
.chat-footer{position:absolute;left:0;right:0;bottom:0;padding:16px 0 20px;background:linear-gradient(to top,#fff 72%,rgba(255,255,255,0))}
.conversation-list{overflow-y:auto;padding-bottom:12px}
.conversation-section-title{padding:18px 10px 7px;font-size:11px;color:#a1a1aa;letter-spacing:.02em}
.conversation-item{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:9px;margin:0 2px 1px;background:transparent;border:1px solid transparent;width:calc(100% - 4px);text-align:left;cursor:pointer;font:inherit;color:inherit}
.conversation-item.active{background:#eeeeee;border-color:#eeeeee}
.sidebar-agent-avatar{width:17px;height:17px;border-radius:50%;object-fit:cover;flex:0 0 17px}
.conversation-main-button{display:block;width:100%;text-align:left;border:none;background:transparent;padding:0;cursor:pointer;font:inherit;color:inherit}
.conversation-title{font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#27272a;line-height:1.3}
.conversation-time{font-size:11px;color:#9ca3af;margin-top:2px}
.agent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding:20px}
.agent-card{border:1px solid #eee;border-radius:16px;padding:16px;background:#fff}
.agent-card img{width:48px;height:48px;border-radius:14px;object-fit:cover}
.agent-card h3{margin:10px 0 6px;font-size:17px}
.agent-card-actions{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.agent-detail{text-align:center;padding:30px}
.agent-avatar{width:72px;height:72px;border-radius:20px;object-fit:cover}
.agent-avatar.large{width:88px;height:88px}
.muted{color:#9ca3af}
.markdown-body{line-height:1.8;font-size:14px}
.markdown-body pre{background:#111827;color:#e5e7eb;padding:14px;border-radius:10px;overflow:auto}
.markdown-body code{background:#f3f4f6;padding:2px 6px;border-radius:6px;font-family:Consolas,monospace}
.footer-links{display:none}
.admin-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}
.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid #eee;text-align:left}
.admin-form{display:grid;gap:10px;background:#fff;padding:20px;border-radius:16px}
.admin-form input,.admin-form textarea,.admin-form select{padding:10px;border:1px solid #ddd;border-radius:8px}
.hidden{display:none !important}
.user-mini-card,#sidebarGuestActions,#sidebarUserPanel{display:none !important}
.user-mini-card,.user-mini-meta,.user-mini-name,.user-mini-sub,.user-mini-avatar{box-sizing:border-box}
.shell-sidebar{width:226px;background:#fafafa;border-right:1px solid #efefef;padding:10px 8px 10px}
.shell-sidebar-head{height:26px;display:flex;align-items:center;padding:0 6px 10px}
.shell-logo{font-size:14px;font-weight:600;padding:0;color:#52525b}
.shell-nav-group{display:flex;flex-direction:column}
.shell-nav-primary{margin-bottom:4px}
.shell-main{background:#fff;position:relative}
.shell-topbar{height:40px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid #f7f7f7}
.shell-topbar-with-user{justify-content:space-between;gap:12px}
.shell-title{font-size:12px;font-weight:500;color:#27272a}
.shell-user-actions{margin-left:auto}
.shell-login-link{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;border:1px solid #ececec;background:#fff;font-size:12px;color:#3f3f46}
.shell-user-panel{position:relative;margin-left:auto}
.shell-user-trigger{display:flex;align-items:center;gap:10px;border:none;background:#fff;border-radius:18px;padding:6px 10px 6px 8px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.05);border:1px solid #ededed}
.shell-user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#e5e7eb}
.shell-user-texts{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.15}
.shell-user-name{font-size:12px;font-weight:600;color:#27272a;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell-user-sub{font-size:11px;color:#a1a1aa;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell-user-arrow{font-size:18px;line-height:1;color:#71717a}
.shell-user-dropdown{position:absolute;right:0;top:42px;width:220px;background:#fff;border:1px solid #ececec;border-radius:18px;box-shadow:0 14px 36px rgba(24,24,27,.12);padding:8px;z-index:60}
.shell-user-dropdown::before{content:'';position:absolute;top:-6px;right:20px;width:10px;height:10px;background:#fff;border-left:1px solid #ececec;border-top:1px solid #ececec;transform:rotate(45deg)}
.shell-user-dropdown a{display:block;padding:12px 14px;border-radius:12px;font-size:14px;color:#27272a}
.shell-user-dropdown a:hover{background:#f5f5f5}
.shell-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:calc(100vh - 132px);padding:0 20px 118px;transform:translateY(-22px);opacity:1;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.shell-empty-state.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px);position:absolute;inset:60px 0 118px}
.shell-empty-state.compact{min-height:calc(100vh - 108px)}
.shell-agent-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;margin-bottom:12px}
.shell-empty-state h1{font-size:16px;line-height:1.32;margin:0 0 5px;color:#111827;font-weight:700}
.shell-subtitle{font-size:10px;color:#a1a1aa;margin-bottom:8px}
.shell-empty-state p{max-width:360px;font-size:11px;line-height:1.65;color:#52525b;margin:0}
.shell-input-dock{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;padding:0 16px;flex-direction:column;align-items:center;gap:6px}
.shell-input-wrap{display:flex;align-items:flex-end;gap:8px;width:620px;max-width:100%;background:#fff;border:1px solid #e8e8e8;border-radius:999px;padding:5px 11px;box-shadow:0 6px 18px rgba(0,0,0,.03)}
.shell-input-wrap textarea{flex:1;border:none;outline:none;resize:none;background:transparent;min-height:19px;max-height:120px;line-height:19px;font-size:12px;color:#111;padding:0;margin:0;overflow:hidden}
.chat-composer-tip{font-size:11px;color:#a1a1aa;line-height:1.2;min-height:14px;text-align:center}
.shell-input-wrap-refined{width:604px;padding:5px 10px}
.icon-btn.slim{font-size:14px;padding:3px 4px;color:#71717a}
.shell-input-wrap.is-busy{border-color:#dedede;box-shadow:0 10px 26px rgba(0,0,0,.05)}
.shell-input-wrap textarea:disabled{color:#71717a;cursor:not-allowed}
.icon-btn:disabled{opacity:.45;cursor:not-allowed}
.icon-btn.send-lite{background:#fafafa;border:1px solid #ededed;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;transition:all .18s ease}
.icon-btn.send-lite.is-loading{background:#111827;border-color:#111827;color:#fff}
.send-spinner{width:10px;height:10px;border:1.6px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;display:inline-block;animation:send-spin .7s linear infinite}
.msg-thinking .bubble{display:inline-flex;align-items:center;gap:5px;background:#f5f5f5;color:#71717a}
.thinking-dot{width:5px;height:5px;border-radius:50%;background:#a1a1aa;display:inline-block;animation:thinking-bounce 1.2s infinite ease-in-out}
.thinking-dot:nth-child(2){animation-delay:.15s}
.thinking-dot:nth-child(3){animation-delay:.3s}
.thinking-text{margin-left:3px;font-size:12px;color:#71717a}
@keyframes send-spin{to{transform:rotate(360deg)}}
@keyframes thinking-bounce{0%,80%,100%{opacity:.35;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}
.home-shell-page .shell-topbar .shell-user-actions,
.home-shell-page .shell-topbar .shell-user-panel,
.shell-chat-page .shell-topbar .shell-user-actions,
.shell-chat-page .shell-topbar .shell-user-panel{display:none !important}
.home-shell-page .shell-sidebar,
.shell-chat-page .shell-sidebar{width:248px;padding:14px 12px 12px;background:#fcfcfd;border-right:1px solid #f1f1f3}
.home-shell-page .shell-main,
.shell-chat-page .shell-main{background:#fff}
.home-shell-page .shell-nav-group,
.shell-chat-page .shell-nav-group{display:flex;flex-direction:column;gap:6px}
.home-shell-page .nav-item,
.shell-chat-page .nav-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border-radius:14px;font-size:14px;font-weight:500;color:#3f3f46;background:transparent;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.home-shell-page .nav-item:hover,
.shell-chat-page .nav-item:hover{background:#f4f4f5;color:#18181b}
.home-shell-page .nav-item.active,
.shell-chat-page .nav-item.active{background:#fff;color:#111827;box-shadow:0 8px 24px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.05);font-weight:600}
.home-shell-page .nav-item span:last-child,
.shell-chat-page .nav-item span:last-child{flex:1;min-width:0}
.home-shell-page .nav-icon,
.shell-chat-page .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;color:#71717a;flex:0 0 18px}
.home-shell-page .nav-item.active .nav-icon,
.shell-chat-page .nav-item.active .nav-icon{color:#111827}
.home-shell-page .shell-sidebar-head,
.shell-chat-page .shell-sidebar-head{padding:2px 6px 14px;margin-bottom:8px}
.home-shell-page .logo,
.shell-chat-page .logo{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05);font-size:16px;color:#111827}
.home-shell-page .conversation-section-title,
.shell-chat-page .conversation-section-title{margin:18px 8px 10px;font-size:12px;font-weight:600;letter-spacing:.08em;color:#a1a1aa;text-transform:uppercase}
.home-shell-page #sidebarGuestActions,
.home-shell-page #sidebarUserPanel,
.shell-chat-page #sidebarGuestActions,
.shell-chat-page #sidebarUserPanel{margin-top:auto;padding:14px 6px 6px}
.home-shell-page #sidebarGuestActions,
.shell-chat-page #sidebarGuestActions{display:none !important}
.home-shell-page #sidebarUserPanel,
.shell-chat-page #sidebarUserPanel{display:none !important;position:relative}
.home-shell-page #sidebarUserPanel:not(.hidden),
.shell-chat-page #sidebarUserPanel:not(.hidden){display:block !important}
.home-shell-page .user-mini-card,
.shell-chat-page .user-mini-card{display:flex !important;align-items:center;gap:12px;width:100%;padding:12px 13px;border:1px solid rgba(228,228,231,.92);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.04);margin-bottom:10px;min-width:0;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
.home-shell-page .user-mini-card:hover,
.shell-chat-page .user-mini-card:hover{transform:translateY(-1px);border-color:#e4e4e7;box-shadow:0 14px 34px rgba(15,23,42,.08),0 2px 4px rgba(15,23,42,.04);background:#fff}
.home-shell-page .user-mini-card::after,
.shell-chat-page .user-mini-card::after{content:'›';font-size:18px;line-height:1;color:#a1a1aa;flex:0 0 auto;transition:transform .18s ease,color .18s ease}
.home-shell-page .user-mini-card:hover::after,
.shell-chat-page .user-mini-card:hover::after{transform:translateX(1px);color:#71717a}
.home-shell-page #sidebarUserDropdown,
.shell-chat-page #sidebarUserDropdown{position:absolute;left:6px;right:6px;bottom:76px;top:auto;width:auto;border:1px solid rgba(228,228,231,.96);border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 18px 40px rgba(15,23,42,.09),0 4px 10px rgba(15,23,42,.04);padding:8px}
.home-shell-page #sidebarUserDropdown::before,
.shell-chat-page #sidebarUserDropdown::before{top:auto;bottom:-6px;right:22px;transform:rotate(225deg)}
.home-shell-page #sidebarUserDropdown a,
.shell-chat-page #sidebarUserDropdown a{display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:12px;color:#27272a;font-size:14px}
.home-shell-page #sidebarUserDropdown a:hover,
.shell-chat-page #sidebarUserDropdown a:hover{background:#f4f4f5}
.home-shell-page .user-mini-avatar,
.shell-chat-page .user-mini-avatar{width:40px;height:40px;border-radius:14px;object-fit:cover;flex:0 0 40px;background:linear-gradient(180deg,#f4f4f5 0%,#e4e4e7 100%)}
.home-shell-page .user-mini-meta,
.shell-chat-page .user-mini-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.home-shell-page .user-mini-name,
.shell-chat-page .user-mini-name{font-size:14px;font-weight:600;color:#18181b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-shell-page .user-mini-sub,
.shell-chat-page .user-mini-sub{font-size:12px;color:#a1a1aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-shell-page #sidebarUserPanel .nav-item,
.shell-chat-page #sidebarUserPanel .nav-item{display:none}
.home-shell-page .shell-agent-list,
.shell-chat-page .shell-agent-list,
.home-shell-page .conversation-list,
.shell-chat-page .conversation-list{display:flex;flex-direction:column;gap:6px}
.home-shell-page .conversation-item,
.shell-chat-page .conversation-item,
.home-shell-page .shell-agent-row,
.shell-chat-page .shell-agent-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;transition:background-color .18s ease,box-shadow .18s ease,color .18s ease}
.home-shell-page .conversation-item:hover,
.shell-chat-page .conversation-item:hover,
.home-shell-page .shell-agent-row:hover,
.shell-chat-page .shell-agent-row:hover{background:#f4f4f5}
.home-shell-page .conversation-item.active,
.shell-chat-page .conversation-item.active,
.home-shell-page .shell-agent-row.active,
.shell-chat-page .shell-agent-row.active{background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.05)}
.home-shell-page .conversation-main,
.shell-chat-page .conversation-main{flex:1;min-width:0;text-align:left}
.home-shell-page .conversation-main-title,
.shell-chat-page .conversation-main-title,
.home-shell-page .shell-agent-row-name,
.shell-chat-page .shell-agent-row-name{font-size:14px;font-weight:600;color:#18181b;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-shell-page .conversation-main-meta,
.shell-chat-page .conversation-main-meta,
.home-shell-page .shell-agent-row-desc,
.shell-chat-page .shell-agent-row-desc{font-size:12px;color:#a1a1aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-shell-page .nav-item{justify-content:flex-start}
.home-shell-page .shell-topbar,
.shell-chat-page .shell-topbar{height:52px;padding:0 20px}
.home-shell-page .shell-title,
.shell-chat-page .shell-title{font-size:15px;font-weight:600}
.home-shell-page .shell-agent-avatar{width:54px;height:54px;margin-bottom:16px}
.home-shell-page .shell-empty-state{min-height:calc(100vh - 144px);padding:0 24px 132px;transform:translateY(-12px)}
.home-shell-page .shell-empty-state h1{font-size:28px;line-height:1.24;margin-bottom:10px}
.home-shell-page .shell-subtitle{font-size:13px;margin-bottom:12px}
.home-shell-page .shell-empty-state p{max-width:520px;font-size:16px;line-height:1.8}
.home-shell-page .shell-input-dock{bottom:22px}
.home-shell-page .shell-input-wrap{width:760px;padding:10px 16px;gap:12px;border-radius:28px}
.home-shell-page .shell-input-wrap textarea{min-height:28px;line-height:28px;font-size:16px}
.home-shell-page .icon-btn{font-size:20px;padding:4px 6px}
.shell-chat-page .shell-input-dock{bottom:11px}
.shell-message-list{height:calc(100vh - 92px);padding:8px 16px 98px}
.shell-chat-topbar{border-bottom:none}
.shell-list-main{display:flex;flex-direction:column}
.shell-search-bar{padding:18px 20px 10px}
.shell-search-input{max-width:420px;background:#fafafa}
.shell-agent-list{padding:6px 12px 20px}
.shell-agent-row img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.shell-agent-row-meta{flex:1;min-width:0}
@media (max-width:900px){.page{flex-direction:column}.sidebar,.shell-sidebar{width:100%;padding:12px;border-right:none;border-bottom:1px solid #ececec}.home-shell-page .shell-nav-group,.shell-chat-page .shell-nav-group{flex-direction:row;flex-wrap:wrap;gap:8px}.home-shell-page .nav-item,.shell-chat-page .nav-item{min-height:40px;padding:0 12px}.shell-topbar{padding:0 12px}.shell-input-wrap,.chat-input-wrap{width:100%}.shell-empty-state{min-height:420px;padding-bottom:120px}.shell-message-list{padding:12px 12px 120px}.home-shell-page #sidebarUserDropdown,.shell-chat-page #sidebarUserDropdown{position:static;margin-top:8px}.balance-summary-grid{grid-template-columns:1fr}}
.gpts-header,.gpts-toolbar,.hero-card,.section-block,.home-bottom-grid,.agent-detail-body,.agent-detail-actions,.agent-tag-list{display:none}
.agent-detail-hero{max-width:760px;margin:48px auto 0;display:flex;flex-direction:column;align-items:center;gap:12px;background:#fff;border:none;box-shadow:none;text-align:center;padding:20px}
.agent-detail-meta h1{margin:0;font-size:24px}
.agent-badge-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.agent-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#f3f4f6;color:#6b7280;font-size:12px}
.agent-badge.dark{background:#111827;color:#fff}
.info-card{background:#fff;border:1px solid #f0f0f0;border-radius:16px;padding:18px}
.search-result-wrap{padding:20px}
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:20px}
.pricing-card{border:1px solid #ececec;border-radius:16px;padding:18px;background:#fff}
.pricing-card-featured{border-color:#d1d5db}
.pricing-badge{display:inline-flex;padding:4px 10px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:12px;margin-bottom:10px}
.pricing-price{font-size:28px;font-weight:700;margin:10px 0}
.pricing-points{color:#6b7280;margin-bottom:8px}
.pricing-feature-list{display:grid;gap:8px;margin-top:8px;font-size:14px;color:#374151}
.balance-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px 20px}
.shell-chat-page .shell-main > .gpts-header,
.shell-chat-page .shell-main > .search-result-wrap,
.shell-chat-page .shell-main > .balance-summary-box,
.shell-chat-page .shell-main > .admin-form,
.shell-chat-page .shell-main > .admin-table,
.shell-chat-page .shell-main > .agent-grid,
.shell-chat-page .shell-main > .pricing-grid,
.shell-chat-page .shell-main > h2{
    width:min(1120px,calc(100% - 48px));
    margin-left:auto;
    margin-right:auto;
}
.shell-chat-page .shell-main > h2,
.shell-chat-page .shell-main > .gpts-header h1,
.shell-chat-page .shell-main .admin-form h3{
    letter-spacing:-.02em;
    color:#18181b;
}
.shell-chat-page .shell-main > h2{
    margin-top:22px;
    margin-bottom:18px;
    font-size:26px;
    line-height:1.2;
    font-weight:700;
}
.shell-chat-page .shell-main > .gpts-header{
    padding:24px 0 8px;
}
.shell-chat-page .shell-main > .gpts-header h1{
    margin:0 0 10px;
    font-size:30px;
    line-height:1.16;
    font-weight:700;
}
.shell-chat-page .shell-main > .gpts-header .muted,
.shell-chat-page .shell-main > p.muted,
.shell-chat-page .shell-main .admin-form .muted{
    font-size:14px;
    line-height:1.7;
    color:#71717a;
}
.shell-chat-page .shell-main > .search-result-wrap,
.shell-chat-page .shell-main > .agent-grid,
.shell-chat-page .shell-main > .pricing-grid,
.shell-chat-page .shell-main > .balance-summary-box,
.shell-chat-page .shell-main > .admin-form,
.shell-chat-page .shell-main > .admin-table{
    margin-top:0;
    margin-bottom:20px;
}
.shell-chat-page .search-result-wrap,
.shell-chat-page .shell-search-bar{
    padding:22px 24px 12px;
}
.shell-chat-page .search-box,
.shell-chat-page .shell-search-input,
.shell-chat-page .admin-form input,
.shell-chat-page .admin-form textarea,
.shell-chat-page .admin-form select{
    width:100%;
    min-height:48px;
    padding:12px 14px;
    border:1px solid #e4e4e7;
    border-radius:14px;
    background:#fcfcfd;
    font-size:14px;
    color:#18181b;
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.shell-chat-page .admin-form textarea{
    min-height:120px;
    line-height:1.7;
    resize:vertical;
}
.shell-chat-page .search-box:focus,
.shell-chat-page .shell-search-input:focus,
.shell-chat-page .admin-form input:focus,
.shell-chat-page .admin-form textarea:focus,
.shell-chat-page .admin-form select:focus{
    outline:none;
    border-color:#d4d4d8;
    background:#fff;
    box-shadow:0 0 0 4px rgba(244,244,245,.9);
}
.shell-chat-page .admin-form{
    gap:12px;
    padding:24px;
    border:1px solid #ececf1;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(15,23,42,.04),0 1px 2px rgba(15,23,42,.03);
}
.shell-chat-page .admin-form h3{
    margin:0 0 2px;
    font-size:18px;
    line-height:1.35;
    font-weight:700;
}
.shell-chat-page .admin-form label{
    font-size:13px;
    font-weight:600;
    color:#3f3f46;
}
.shell-chat-page .admin-form .admin-btn,
.shell-chat-page .admin-form .btn,
.shell-chat-page .pricing-card .btn,
.shell-chat-page .pricing-card .admin-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:14px;
    font-size:14px;
    font-weight:600;
}
.shell-chat-page .admin-table{
    border:1px solid #ececf1;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(15,23,42,.04),0 1px 2px rgba(15,23,42,.03);
}
.shell-chat-page .admin-table thead{
    background:#fafafa;
}
.shell-chat-page .admin-table th{
    padding:14px 16px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:#71717a;
    border-bottom:1px solid #ececf1;
}
.shell-chat-page .admin-table td{
    padding:15px 16px;
    font-size:14px;
    line-height:1.6;
    color:#27272a;
    border-bottom:1px solid #f1f1f3;
}
.shell-chat-page .admin-table tbody tr:last-child td{
    border-bottom:none;
}
.shell-chat-page .admin-table tbody tr:hover{
    background:#fcfcfd;
}
.shell-chat-page .agent-grid,
.shell-chat-page .pricing-grid{
    padding:0;
    gap:18px;
}
.shell-chat-page .agent-card,
.shell-chat-page .pricing-card,
.shell-chat-page .info-card,
.shell-chat-page .balance-summary-box{
    border:1px solid #ececf1;
    border-radius:24px;
    background:#fff;
    box-shadow:0 10px 30px rgba(15,23,42,.04),0 1px 2px rgba(15,23,42,.03);
}
.shell-chat-page .agent-card,
.shell-chat-page .pricing-card,
.shell-chat-page .info-card{
    padding:22px;
}
.shell-chat-page .balance-summary-box{
    padding:18px 20px !important;
}
.shell-chat-page .balance-summary-grid{
    padding:0;
    gap:14px;
}
.shell-chat-page .balance-summary-grid > *{
    border:1px solid #efeff1;
    border-radius:18px;
    background:#fcfcfd;
    padding:16px;
}
@media (max-width:900px){
    .shell-chat-page .shell-main > .gpts-header,
    .shell-chat-page .shell-main > .search-result-wrap,
    .shell-chat-page .shell-main > .balance-summary-box,
    .shell-chat-page .shell-main > .admin-form,
    .shell-chat-page .shell-main > .admin-table,
    .shell-chat-page .shell-main > .agent-grid,
    .shell-chat-page .shell-main > .pricing-grid,
    .shell-chat-page .shell-main > h2{
        width:min(100%,calc(100% - 24px));
    }
    .shell-chat-page .shell-main > h2{
        margin-top:18px;
        margin-bottom:14px;
        font-size:24px;
    }
    .shell-chat-page .shell-main > .gpts-header h1{
        font-size:26px;
    }
    .shell-chat-page .search-result-wrap,
    .shell-chat-page .shell-search-bar{
        padding:18px 0 10px;
    }
    .shell-chat-page .admin-form,
    .shell-chat-page .agent-card,
    .shell-chat-page .pricing-card,
    .shell-chat-page .info-card{
        padding:18px;
        border-radius:20px;
    }
    .shell-chat-page .admin-table{
        display:block;
        overflow-x:auto;
        border-radius:20px;
    }
}
@media (max-width:1024px){.balance-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.page{flex-direction:column}.sidebar,.shell-sidebar{width:100%;border-right:none;border-bottom:1px solid #ececec}.shell-topbar{padding:0 12px}.shell-input-wrap,.chat-input-wrap{width:100%}.shell-empty-state{min-height:420px;padding-bottom:120px}.shell-message-list{padding:12px 12px 120px}.balance-summary-grid{grid-template-columns:1fr}}
.auth-shell-page{min-height:100vh;background:linear-gradient(180deg,#fcfcfd 0%,#f8fafc 100%)}
.auth-shell-main{display:flex;align-items:center;justify-content:center;padding:32px 20px}
.auth-panel-card{width:min(460px,100%);padding:32px;border:1px solid #ececf1;border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 18px 42px rgba(15,23,42,.07),0 1px 2px rgba(15,23,42,.04);backdrop-filter:blur(8px)}
.auth-panel-head{margin-bottom:22px}
.auth-panel-kicker{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 12px;border-radius:999px;background:#f4f4f5;color:#52525b;font-size:12px;font-weight:600;margin-bottom:14px}
.auth-panel-head h1{margin:0 0 10px;font-size:30px;line-height:1.14;color:#111827;letter-spacing:-.02em}
.auth-panel-head p{margin:0;font-size:14px;line-height:1.75;color:#71717a}
.auth-form-stack{display:grid;gap:12px}
.auth-form-stack input{width:100%;min-height:50px;padding:0 14px;border:1px solid #e4e4e7;border-radius:16px;background:#fcfcfd;font-size:14px;color:#18181b;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-form-stack input:focus{outline:none;border-color:#d4d4d8;background:#fff;box-shadow:0 0 0 4px rgba(244,244,245,.9)}
.auth-submit-btn{width:100%;min-height:48px;border-radius:16px;font-size:15px;font-weight:600;margin-top:4px}
.auth-panel-links{display:grid;gap:8px;margin-top:18px;font-size:14px;color:#52525b}
.auth-panel-links a{color:#111827;font-weight:600}
.auth-panel-message{margin-top:14px;min-height:20px;font-size:14px;color:#dc2626}
@media (max-width:900px){.auth-shell-main{padding:20px 12px}.auth-panel-card{padding:24px;border-radius:22px}.auth-panel-head h1{font-size:26px}}
