/* DSH customer workspace — ChatGPT-inspired neutral interface refresh.
   Keeps existing DOM IDs/classes and all JavaScript behavior intact. */
:root{
  --bg:#fff;--grid:transparent;--surface:#fff;--surface-alt:#f7f7f8;--surface-tint:#f1f1f1;
  --line:#e5e5e5;--line-strong:#d9d9d9;--ink:#0d0d0d;--ink-2:#424242;--ink-3:#737373;
  --brand:#171717;--brand-deep:#0d0d0d;--brand-soft:#f2f2f2;--brand-line:#dedede;
  --ok:#166534;--ok-soft:#eff8f1;--warn:#8a5a00;--warn-soft:#fff8e8;
  --danger:#b42318;--danger-soft:#fff1f0;--grad:#171717;--grad-soft:#f3f3f3;
  --r-xl:22px;--r-lg:16px;--r:12px;--r-sm:9px;
  --sh-1:0 1px 2px rgba(0,0,0,.04);--sh-2:0 12px 40px rgba(0,0,0,.14);
  --font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
html,body{background:#fff;color:var(--ink)}
body{background-image:none;font-size:14px;line-height:1.55}
button,input,textarea{font-family:var(--font)}
button{transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #8b8b8b;outline-offset:2px}

/* Sign in */
.login{background:#fff}
.login-card{width:min(400px,calc(100vw - 32px));padding:34px 32px 30px;border:1px solid #e8e8e8;border-radius:22px;background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.06);backdrop-filter:none}
.login-mark .lg,.brand .lg,.av-agent,.welcome .face{background:#171717;box-shadow:none}
.login h1{font-size:24px;letter-spacing:-.6px}
.login .sub,.login-foot{color:#737373}
.field label{font-size:12px;color:#525252;font-weight:600}
.field input{height:44px;border:1px solid #d9d9d9;border-radius:11px;background:#fff}
.field input:focus{border-color:#999;box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.login-btn{height:44px;border-radius:999px;background:#171717;box-shadow:none}
.login-btn:hover{background:#333;transform:none;box-shadow:none}

/* App frame and sidebar */
.shell{grid-template-columns:260px minmax(0,1fr);background:#fff}
.side{background:#f9f9f9;border-right:1px solid #ededed;backdrop-filter:none}
.side-top{padding:17px 12px 10px}
.brand{gap:9px;padding:2px 7px 18px}
.brand .lg{width:30px;height:30px;border-radius:9px;font-size:11px}
.brand-name{font-size:13.5px;font-weight:650}
.brand-sub{font-size:11px;color:#858585}
.new-chat{height:38px;justify-content:flex-start;padding:0 12px;border:1px solid #e3e3e3;border-radius:10px;background:#fff;color:#222;font-size:13px;font-weight:550;box-shadow:none}
.new-chat:hover{background:#f1f1f1;border-color:#d7d7d7;transform:none;box-shadow:none}
.conv-scroll{padding:8px 8px 12px}
.conv-group{padding:15px 9px 7px;color:#858585;font-size:11px;letter-spacing:0;font-weight:600}
.conv{min-height:36px;padding:7px 10px;border-radius:8px;color:#404040;font-size:12.5px;gap:8px}
.conv:hover{background:#ededed;color:#171717}
.conv.on{background:#ececec;color:#171717;box-shadow:none;font-weight:600}
.conv .more{opacity:.55}
.conv .more:hover{background:#e1e1e1}
.side-foot{padding:9px;border-top:1px solid #e8e8e8}
.me{min-height:48px;padding:7px 8px;border-radius:9px}
.me:hover{background:#ededed}
.av{width:31px;height:31px;background:#252525}
.me-name{font-size:12.5px}.me-sub{font-size:10.5px;color:#777}

/* Top navigation */
.main{background:#fff}
.topbar{height:56px;padding:0 22px;gap:8px;border-bottom:1px solid #f0f0f0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.top-agent{gap:9px}
.av-agent{width:29px;height:29px;border-radius:9px;font-size:12px}
.av-agent::after{background:#16a34a;width:7px;height:7px}
.top-name{font-size:13.5px;font-weight:650}
.top-meta{font-size:11px;color:#777}
.persona-chip{background:#f3f3f3;color:#444;border:1px solid #e8e8e8;border-radius:7px;padding:2px 7px;font-size:10.5px}
.persona-chip:hover{background:#eaeaea}
.tbtn{height:34px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#555;font-size:12px}
.tbtn:hover{background:#f2f2f2;border-color:transparent;color:#111;box-shadow:none}
.tbtn.solid{background:#171717;color:#fff;border-color:#171717;box-shadow:none}
.tbtn.solid:hover{background:#333;color:#fff;box-shadow:none}
.icon-only{width:34px;padding:0}
.top-more-menu{border-color:#e5e5e5;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.top-more-menu button{min-height:38px;border-radius:8px;font-size:12px;color:#333}
.top-more-menu button:hover{background:#f2f2f2;color:#111}
.more-icon{color:#555}

/* Conversation surface */
.stream{background:#fff}
.stream-inner{max-width:820px;padding:34px 28px 26px}
.welcome{padding:48px 0 16px;text-align:center}
.welcome .halo{width:52px;height:52px;margin-bottom:18px}
.welcome .halo::before{display:none}
.welcome .face{width:52px;height:52px;border-radius:16px;font-size:19px}
.welcome h1{font-size:27px;font-weight:600;letter-spacing:-.8px;color:#202020}
.welcome .lead{font-size:13px;color:#777;line-height:1.7}
.welcome .lead b{color:#333}
.suggests{max-width:680px;gap:9px;margin-top:28px}
.sg{min-height:68px;padding:12px 13px;border:1px solid #e7e7e7;border-radius:12px;background:#fff;box-shadow:none}
.sg:hover{border-color:#d0d0d0;background:#fafafa;transform:none;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.sg-ico{width:28px;height:28px;border-radius:8px;background:#f2f2f2;color:#444}
.sg-t{font-size:12.5px;font-weight:600;color:#292929}
.sg-d{font-size:11px;color:#777}
.msg{gap:12px;margin-bottom:25px;animation:fadeUp .22s ease both}
.msg .avatar{width:28px;height:28px;border-radius:9px}
.msg .avatar.a{background:#171717;box-shadow:none}
.msg .avatar.u{background:#e9e9e9;color:#444}
.msg-content{max-width:calc(100% - 40px)}
.msg.assistant .bubble{background:transparent;border:0;border-radius:0;padding:1px 0;box-shadow:none;color:#222}
.msg.user .bubble{background:#f4f4f4;border:0;border-radius:18px;padding:10px 14px;color:#222}
.msg .body{font-size:14px;line-height:1.75}
.msg .body p{margin:0 0 11px}
.msg .body h3{font-size:16px;font-weight:650;margin:18px 0 8px}
.msg .body h4{font-size:14px;font-weight:650;margin:15px 0 7px}
.msg .body code{background:#f4f4f4;border:1px solid #e9e9e9;color:#333}
.msg-actions{opacity:.5;gap:3px}
.act{width:28px;height:28px;border-radius:7px;color:#777}
.act:hover{background:#f1f1f1;color:#171717}
.act.on{background:#efefef;color:#171717}
.msg-time{color:#999;font-size:10px}
.evidence{border-top:1px solid #ededed;margin-top:14px;padding-top:10px}
.ev-head{color:#777;font-size:11.5px}
.ev-item{border:1px solid #e9e9e9;background:#fafafa;border-radius:9px}
.ev-idx{color:#444}
.ev-name{color:#333}
.ragbar span{background:#f7f7f7;border-color:#e9e9e9;color:#777}

/* Composer: calm, floating ChatGPT-like input */
.composer-wrap{padding:12px 24px 17px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 22%)}
.composer{max-width:820px}
.composer-box{border:1px solid #d9d9d9;border-radius:25px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.045)}
.composer-box:focus-within{border-color:#bdbdbd;box-shadow:0 0 0 2px rgba(0,0,0,.035),0 3px 14px rgba(0,0,0,.05)}
.composer textarea{padding:15px 18px 4px;min-height:52px;font-size:14px}
.composer textarea::placeholder{color:#999}
.composer-bar{padding:5px 9px 8px 13px}
.chip-toggle{height:30px;border:1px solid #e5e5e5;background:#fff;color:#555}
.chip-toggle:hover{background:#f6f6f6;border-color:#d8d8d8}
.chip-toggle.on{background:#f0f0f0;border-color:#dedede;color:#222}
.send{width:34px;height:34px;border-radius:50%;background:#171717;box-shadow:none}
.send:disabled{background:#e5e5e5;color:#aaa}
.send:not(:disabled):hover{background:#333;transform:none}
.composer-hint{font-size:10.5px;color:#999;margin-top:8px}

/* Settings: centered preferences dialog with a left navigation rail */
.mask{background:rgba(0,0,0,.32);backdrop-filter:blur(3px)}
.sheet{top:50%;left:50%;right:auto;bottom:auto;width:min(940px,calc(100vw - 48px));height:min(760px,calc(100dvh - 48px));display:grid;grid-template-columns:228px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;transform:translate(-50%,-48%) scale(.985);opacity:0;visibility:hidden;pointer-events:none;border:1px solid #e6e6e6;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.2);overflow:hidden;transition:transform .2s ease,opacity .2s ease,visibility .2s}
.sheet.on{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible;pointer-events:auto}
.sheet-head{grid-column:1;grid-row:1/3;padding:26px 14px 18px;background:#f8f8f8;border-right:1px solid #ededed;display:flex;flex-direction:column;align-items:stretch;min-width:0}
.sheet-title{padding:0 8px 8px}
.sheet-title h2{font-size:17px;font-weight:650;letter-spacing:-.3px}
.sheet-title .close{width:30px;height:30px;border-radius:8px;color:#777}
.sheet-title .close:hover{background:#eaeaea;color:#111}
.sheet-sub{padding:0 8px 20px;font-size:11px;line-height:1.6;color:#777}
.tabs{display:flex;flex-direction:column;gap:3px;margin:0;border:0}
.tab{width:100%;min-height:40px;display:flex;align-items:center;text-align:left;padding:0 11px;border:0;border-radius:8px;color:#555;font-size:12.5px;font-weight:500}
.tab:hover{background:#ededed;color:#222}
.tab.on{background:#e9e9e9;color:#171717;font-weight:650}
.tab.on::after{display:none}
.sheet-body{grid-column:2;grid-row:1;padding:30px 34px 18px;background:#fff;overflow-y:auto}
.sheet-foot{grid-column:2;grid-row:2;padding:13px 30px;border-top:1px solid #ededed;background:#fff;gap:8px}
.sheet-foot .note{font-size:11px;color:#888}
.btn{height:36px;padding:0 15px;border-radius:999px;font-size:12.5px;font-weight:600}
.btn.primary{background:#171717;color:#fff;box-shadow:none}
.btn.primary:hover{background:#333;box-shadow:none}
.btn.ghost{border:1px solid #dedede;background:#fff;color:#444}
.btn.ghost:hover{background:#f5f5f5;border-color:#d0d0d0;color:#111}
.btn.danger{color:#b42318;border-color:#f1c9c6;background:#fff}
.btn.danger:hover{background:#fff4f2}
.sec{margin-bottom:26px}
.sec-title{font-size:14px;font-weight:650;letter-spacing:-.1px;margin-bottom:5px;color:#202020}
.sec-hint{font-size:11.5px;line-height:1.65;color:#777;margin-bottom:13px}

/* Settings cards, fields, selectors and every action button */
.personas{gap:10px}
.persona{padding:14px;border:1px solid #e6e6e6;border-radius:12px;background:#fff;box-shadow:none}
.persona:hover{border-color:#cfcfcf;background:#fcfcfc;box-shadow:none}
.persona.on{border-color:#888;background:#f7f7f7;box-shadow:inset 0 0 0 1px #888}
.persona .dot{width:25px;height:25px;border-radius:8px;background:#242424!important}
.persona .pn{font-size:13px;color:#222}
.persona .pd{font-size:11.5px;color:#777}
.persona .ps{background:#f7f7f7;border:1px solid #eee;color:#666}
.persona .tick{background:#171717}
.prompt-box{border:1px solid #dedede;border-radius:12px;box-shadow:none}
.prompt-box:focus-within{border-color:#aaa;box-shadow:0 0 0 3px rgba(0,0,0,.04)}
.prompt-box textarea{background:#fff;color:#222;font-size:12px;line-height:1.7}
.prompt-foot{background:#fafafa;border-top:1px solid #eee}
.mini,.kb-mini-btn,.site-action,.history-btn{min-height:34px;height:auto;padding:7px 12px;border:1px solid #dedede;border-radius:999px;background:#fff;color:#444;font-size:11.5px;font-weight:550;box-shadow:none}
.mini:hover,.kb-mini-btn:hover,.site-action:hover,.history-btn:hover{background:#f4f4f4;border-color:#d0d0d0;color:#171717}
.mini.plain{border-color:transparent;background:transparent}
.mini.plain:hover{background:#ededed}
.kb-mini-btn.primary,.history-btn.primary,.site-action.primary{background:#171717;border-color:#171717;color:#fff}
.kb-mini-btn.primary:hover,.history-btn.primary:hover,.site-action.primary:hover{background:#333;border-color:#333;color:#fff}
.kb-mini-btn.danger,.history-btn.danger{color:#b42318;border-color:#f1c9c6}
.kb-mini-btn:disabled,.site-action:disabled,.history-btn:disabled{opacity:.45;cursor:not-allowed}
.kb-card{border:1px solid #e8e8e8;border-radius:13px;background:#fafafa;padding:15px}
.kb-ico{background:#ededed;border-color:#e3e3e3;color:#333}
.kb-name{font-size:13px;color:#222}.kb-meta,.kb-stat{color:#777}
.kb-stat b{color:#222}
.kb-search-box{border:1px solid #e8e8e8;border-radius:13px;background:#fff;padding:14px;margin:14px 0}
.kb-search-box>b{font-size:13px;color:#222}
.kb-search-box>small{font-size:11px;color:#777}
.kb-search-controls{gap:8px}
.kb-chunk-search{height:38px;padding:0 12px;border:1px solid #dedede;border-radius:10px;font-size:12px;background:#fff}
.kb-chunk-search:focus,.kb-chunk-textarea:focus{border-color:#999;box-shadow:0 0 0 3px rgba(0,0,0,.045);outline:none}
.kb-search-result{border:1px solid #e9e9e9;border-radius:10px;padding:12px;background:#fff}
.kb-chunk-meta b{font-size:11.5px;color:#333}
.kb-chunk-meta span{font-size:10px;background:#f3f3f3;color:#666}
.kb-search-result-text{font-size:11.5px;line-height:1.7;color:#555}
.kb-editor-panel{border:1px solid #e7e7e7;border-radius:13px;padding:14px;background:#fff}
.kb-editor-head b{font-size:13px;color:#222}.kb-editor-head small{font-size:10.5px;color:#777}
.kb-chunk-item,.kb-table-preview{border:1px solid #e8e8e8;border-radius:11px;background:#fff;padding:12px}
.kb-chunk-textarea{border:1px solid #dedede;border-radius:9px;background:#fff;font-size:12px;line-height:1.7}
.kb-table-scroll th{background:#f5f5f5}
.kb-table-scroll th,.kb-table-scroll td{border-color:#e6e6e6;padding:7px 9px}
.drop{min-height:118px;border:1px dashed #c9c9c9;border-radius:13px;background:#fafafa;padding:18px}
.drop:hover,.drop.over{background:#f3f3f3;border-color:#888}
.drop-t{font-size:12.5px;color:#333;font-weight:650}
.drop-s{font-size:10.5px;color:#777;line-height:1.55}
.files{border:1px solid #e8e8e8;border-radius:12px}
.file{padding:12px 13px;border-color:#eee}
.file:hover{background:#fafafa}
.f-ico{background:#f1f1f1;color:#555}
.f-name{font-size:12.5px;color:#222}.f-meta{font-size:10.5px;color:#888}
.fbtn{width:30px;height:30px;border-radius:8px;color:#777}
.fbtn:hover{background:#eee;color:#222}
.row{border-color:#eee}
.row-t{font-size:12.5px;color:#222}.row-d{font-size:11px;color:#777}
.seg,.seg3{padding:3px;border:1px solid #e6e6e6;border-radius:999px;background:#f6f6f6}
.seg button,.seg3 button{min-height:30px;padding:5px 12px;border-radius:999px;font-size:11.5px;color:#666}
.seg button.on,.seg3 button.on{background:#fff;color:#171717;box-shadow:0 1px 3px rgba(0,0,0,.12);font-weight:650}
.switch{width:42px;height:24px;background:#d6d6d6}
.switch.on{background:#171717}
.stepper{height:32px;border-color:#dedede;border-radius:9px}
.stepper button{width:31px}.stepper button:hover{background:#f3f3f3}
.stepper span{line-height:30px;border-color:#eee}
input,textarea,select{accent-color:#171717}

/* Website widget configuration workbench */
.site-workbench{background:rgba(0,0,0,.34);backdrop-filter:blur(4px);padding:22px}
.site-workbench-card{width:min(1360px,100%);height:min(900px,calc(100dvh - 44px));background:#fff;border:1px solid #e5e5e5;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.2)}
.site-workbench-head{padding:16px 22px;background:#fff;border-color:#eee}
.site-workbench-title{font-size:16px;font-weight:650;color:#222}
.site-workbench-sub{font-size:11.5px;color:#777}
.site-workbench-close,.site-workbench-back{height:34px;width:34px;border:1px solid #e5e5e5;border-radius:50%;background:#fff;color:#555;font-size:20px}
.site-workbench-close:hover,.site-workbench-back:hover{background:#f2f2f2;color:#111}
.site-workbench-body{grid-template-columns:minmax(300px,360px) minmax(0,1fr)}
.site-workbench-controls{background:#fff;border-color:#eee;padding:20px}
.site-control-section{border-color:#eee}
.site-section-title{font-size:13px;color:#222;font-weight:650}
.site-enable-row{background:#fafafa;border-color:#e8e8e8;border-radius:10px}
.site-enable-row b{font-size:12px;color:#333}.site-enable-row small{color:#777}
.site-style-card{border-color:#e6e6e6;border-radius:11px;box-shadow:none}
.site-style-card:hover{border-color:#aaa}
.site-style-card.on{border-color:#555;box-shadow:inset 0 0 0 1px #555}
.site-field>span{font-size:11.5px;color:#555;font-weight:600}
.site-field input:not([type=color]),.site-field textarea{border:1px solid #dedede;border-radius:9px;font-size:12px;color:#222}
.site-field input:focus,.site-field textarea:focus{border-color:#999;box-shadow:0 0 0 3px rgba(0,0,0,.045)}
.site-actions{gap:7px}
.site-action{min-height:36px;font-size:11.5px}
.site-action.primary{background:#171717;border-color:#171717}
.site-preview-area{background:#f7f7f7;padding:16px}
.site-preview-toolbar{border-color:#e5e5e5;border-radius:10px 10px 0 0}
.site-preview-toolbar button{color:#333}
.site-preview-stage{border-color:#e5e5e5;border-radius:0 0 10px 10px}
.site-start-screen{background:#f7f7f7}
.site-start-card{border:1px solid #e7e7e7;border-radius:16px;box-shadow:0 8px 28px rgba(0,0,0,.06)}
.site-start-mark{background:#eee;color:#333}
.site-start-eyebrow{color:#666}
.site-start-card h3{font-size:22px;color:#222}
.site-start-card p{color:#777}
.site-start-facts b{color:#333}
.site-start-button{background:#171717;border-color:#171717}

/* Conversation history */
.history-center{background:rgba(0,0,0,.36);backdrop-filter:blur(4px)}
.history-card{border:1px solid #e5e5e5;border-radius:16px;box-shadow:0 20px 70px rgba(0,0,0,.18)}
.history-head{border-color:#eee}
.history-head b{font-size:15px;color:#222}.history-head span{color:#777}
.history-main{grid-template-columns:300px minmax(0,1fr)}
.history-list-pane{background:#fafafa;border-color:#eee}
.history-search{height:38px;border:1px solid #e2e2e2;border-radius:9px;font-size:12px}
.history-search:focus{border-color:#999}
.history-row{border-radius:9px}
.history-row:hover,.history-row.on{background:#eee;border-color:#eee}
.history-row b{font-size:12px;color:#333}
.history-detail-title{font-size:15px;color:#222}
.history-summary{background:#fafafa;border-color:#e8e8e8;border-radius:10px}
.history-message{border-color:#e8e8e8;background:#f7f7f7}
.history-message.user{background:#eaeaea;border-color:#eaeaea;color:#222}
.history-close{border-radius:50%;background:#f3f3f3;color:#555}
.history-close:hover{background:#e9e9e9}

/* Toast, focus, loading and responsive behavior */
.toast{background:#222;border:1px solid #333;border-radius:999px;box-shadow:0 8px 28px rgba(0,0,0,.18);font-size:12px}
@media(max-width:920px){
  .side{background:#f9f9f9;box-shadow:none}
  .side.on{box-shadow:18px 0 50px rgba(0,0,0,.16)}
  .topbar{padding:0 13px}
  .stream-inner{padding:22px 18px}
  .composer-wrap{padding:8px 16px 12px}
  .site-workbench-body{grid-template-columns:1fr;grid-template-rows:minmax(280px,48%) minmax(250px,52%)}
}
@media(max-width:760px){
  .sheet{width:calc(100vw - 20px);height:calc(100dvh - 20px);grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;border-radius:14px}
  .sheet-head{grid-column:1;grid-row:1;padding:15px 14px 0;border-right:0;border-bottom:1px solid #eee}
  .sheet-title{padding:0 2px 5px}.sheet-sub{padding:0 2px 10px}
  .tabs{flex-direction:row;overflow-x:auto;gap:3px;padding-bottom:7px}
  .tab{width:auto;min-width:max-content;min-height:35px;padding:0 11px}
  .sheet-body{grid-column:1;grid-row:2;padding:18px 16px 12px}
  .sheet-foot{grid-column:1;grid-row:3;padding:10px 14px}
  .site-workbench{padding:0}.site-workbench-card{width:100%;height:100dvh;border-radius:0}
}
@media(max-width:600px){
  .shell{grid-template-columns:1fr}
  .topbar{height:54px;gap:6px}
  .top-name{font-size:13px}
  .top-meta{font-size:10px}
  .tbtn{height:32px;padding:0 8px}
  .stream-inner{padding:16px 14px}
  .welcome{padding:25px 0 10px}.welcome h1{font-size:22px}
  .suggests{grid-template-columns:1fr;gap:7px;margin-top:18px}
  .sg{min-height:58px}
  .msg{gap:8px;margin-bottom:20px}
  .msg .avatar{width:25px;height:25px}
  .msg-content{max-width:calc(100% - 33px)}
  .msg .body{font-size:13.5px}
  .composer-wrap{padding:5px 10px 9px}
  .composer-box{border-radius:21px}
  .composer textarea{padding:12px 14px 3px;font-size:13.5px}
  .composer-hint{font-size:9.5px}
  .sheet-body{padding:15px 13px 10px}
  .sheet-foot .note{font-size:10px}
  .btn{min-height:36px}
  .personas{grid-template-columns:1fr}
  .kb-search-controls{align-items:stretch}
  .kb-search-controls .kb-mini-btn{flex:none}
  .site-workbench-body{grid-template-rows:minmax(300px,56%) minmax(220px,44%)}
  .site-workbench-controls{padding:13px}
  .site-preview-area{padding:9px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Compact topbar: remove duplicate new-chat action and keep clear icon controls. */
#top-new{display:none!important}
.topbar .tbtn{width:36px;padding:0;justify-content:center}
.topbar .tbtn .lbl{display:none}
.topbar .tbtn svg{width:16px;height:16px}
@media(max-width:600px){.topbar .tbtn{width:33px}}

/* Settings form controls share the same neutral focus and spacing rules. */
.sheet-body .field{margin-bottom:16px}
.sheet-body .field label{display:block;margin-bottom:6px;font-size:11.5px;font-weight:600;color:#555}
.sheet-body .field input:not([type=checkbox]):not([type=color]),.sheet-body .field textarea,.sheet-body .field select{width:100%;min-height:40px;padding:9px 11px;border:1px solid #dedede;border-radius:9px;background:#fff;color:#222;font:inherit;font-size:12px;outline:none}
.sheet-body .field input:focus,.sheet-body .field textarea:focus,.sheet-body .field select:focus{border-color:#999;box-shadow:0 0 0 3px rgba(0,0,0,.045)}
.sheet-body .hint{margin-top:6px;color:#777;font-size:10.5px;line-height:1.6}
.msg .avatar{display:none}
.msg-content{max-width:100%}
