/* Navy Gold Light / Dark: palette-only, same application layout and permissions. */
html[data-ge-theme="navy-gold"]{--gt-bg:#eef3fb;--gt-surface:#ffffff;--gt-surface2:#f5f8fd;--gt-text:#142b4c;--gt-muted:#4d617c;--gt-line:#dbe5f1;--gt-nav:#0a2145;--gt-navtext:#d8e5f8;--gt-primary:#0757df;--gt-primarytext:#ffffff;--gt-gold:#efbd39;--gt-dark:light;color-scheme:light;}
html[data-ge-theme="midnight-gold"]{--gt-bg:#0b1426;--gt-surface:#14233b;--gt-surface2:#1c304d;--gt-text:#f1f5fc;--gt-muted:#bdcbe0;--gt-line:#3c5272;--gt-nav:#071126;--gt-navtext:#e4edfb;--gt-primary:#efc75f;--gt-primarytext:#241c08;--gt-gold:#efc75f;--gt-dark:dark;color-scheme:dark;}
html[data-ge-theme]{--ge-navy:var(--gt-nav);--ge-navy-deep:var(--gt-nav);--ge-blue:var(--gt-primary);--ge-gold:var(--gt-gold);--ge-text:var(--gt-text);--ge-muted:var(--gt-muted);--ge-line:var(--gt-line);--ge-surface:var(--gt-surface);--ge-shadow:0 3px 14px #0000000c}
html[data-ge-theme] body{background:var(--gt-bg)!important;color:var(--gt-text)!important}html[data-ge-theme] :is(.content,.main,.page,.studio-page,.phone-shell,.lv-theme){color:var(--gt-text)}
html[data-ge-theme] :is(.card,.panel,.auth-card,.employee-summary,.lv-theme .card,.lv-theme .lv-stat,.dashboard-stats .stat,.ot-stats .ot-stat,.stats article,dialog){background:var(--gt-surface)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}
html[data-ge-theme] :is(.hero,.lv-hero,.page-heading,.studio-heading,.auth-story,.phone-brand,.phone-shell>h1){background:var(--gt-nav)!important;color:var(--gt-navtext)!important}html[data-ge-theme] :is(.hero h1,.lv-hero h1,.page-heading h1,.page-heading h2,.studio-heading h1,.auth-story h1,.hero p:last-child,.lv-hero p,.page-heading p,.studio-heading p,.phone-brand span,.phone-brand small){color:var(--gt-navtext)!important}
html[data-ge-theme] :is(.hero:after,.lv-hero:after,.page-heading:after,.studio-heading:after){background:var(--gt-gold)!important;box-shadow:14px 0 0 var(--gt-gold),25px 0 0 #ffffff18!important}html[data-ge-theme] :is(.hero .eyebrow,.lv-hero-icon,.hero-symbol,.phone-brand){color:var(--gt-gold)!important}
html[data-ge-theme] :is(.sidebar,.rail,.studio-sidebar){background:var(--gt-nav)!important;color:var(--gt-navtext)!important;border-color:var(--gt-line)!important}html[data-ge-theme] :is(.sidebar nav button,.rail nav a[data-tab],.rail nav button,.rail nav .hr-menu-group>summary,.studio-sidebar>a:not(.studio-brand),.studio-brand,.brand,.company-brand){color:var(--gt-navtext)!important}html[data-ge-theme] .rail nav .hr-menu-group[open],html[data-ge-theme] .rail nav .hr-menu-group[open]>summary{background:#ffffff09!important}html[data-ge-theme] .rail [data-menu-group=leave][open]{background:#ffffff09!important;border-left-color:var(--gt-gold)!important}
html[data-ge-theme] :is(.sidebar nav button.selected,.rail nav a[data-tab].selected,.rail nav button.selected,.rail nav .hr-menu-sub a.selected,.active-nav){background:var(--gt-primary)!important;color:var(--gt-primarytext)!important;border-left-color:var(--gt-gold)!important;box-shadow:none!important}html[data-ge-theme] :is(.brand small,.sidebar-note,.rail-note,.sidebar-bottom small){color:var(--gt-navtext)!important;opacity:.75}html[data-ge-theme] :is(.topbar,.studio-topbar,main>header){background:var(--gt-surface)!important;border-color:var(--gt-line)!important;color:var(--gt-muted)!important}html[data-ge-theme] :is(.topbar b,.studio-topbar strong,main>header strong){color:var(--gt-text)!important}
html[data-ge-theme] :is(h2,h3,h4,legend,label,th,.card h2,.card h3,.panel h3,.lv-theme h2,.lv-theme label,.ot-person strong,.lv-theme .ot-person strong,.dashboard-heading h2,.employee-summary strong){color:var(--gt-text)}html[data-ge-theme] :is(.muted,small,.lv-theme .muted,.card p.muted,.dashboard-stats .stat small,.ot-person small,.lv-theme .ot-person small,.employee-meta,.employee-created){color:var(--gt-muted)}
html[data-ge-theme] :is(button,.button){background:var(--gt-primary);color:var(--gt-primarytext)}html[data-ge-theme] .lv-theme button:not(.secondary){background:var(--gt-primary);color:var(--gt-primarytext)}html[data-ge-theme] :is(button.secondary,.button.secondary,.secondary,.lv-link-button){background:var(--gt-surface);color:var(--gt-text);border-color:var(--gt-line)}html[data-ge-theme] :is(.text-button,button.text-button){background:transparent;color:var(--gt-primary)}html[data-ge-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:var(--gt-surface)!important;color:var(--gt-text)!important;border-color:var(--gt-line)}html[data-ge-theme] :is(input,select,textarea):focus{outline-color:var(--gt-line);border-color:var(--gt-primary)}html[data-ge-theme] :is(input[type=checkbox],input[type=radio]){accent-color:var(--gt-primary)}
html[data-ge-theme] table th{background:var(--gt-surface2)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}html[data-ge-theme] table td{border-color:var(--gt-line)!important}html[data-ge-theme] table tbody tr,html[data-ge-theme] .lv-theme .lv-table tbody tr{background:transparent}html[data-ge-theme] table tbody tr:nth-child(even){background:var(--gt-surface2)!important}html[data-ge-theme] table tbody tr:hover{background:var(--gt-surface2)!important}
html[data-ge-theme] :is(.lv-tabs a,.ot-duration,.setup-guide,.employee-upload,.hr-account-card,.employee-savebar,.company-logo-editor,.dimension-stats>div,.template-card,.auth-content,.hh-weekday,.hh-day,.chat-messages,.chat-admin-tools,.chat-message,.chat-room,.lv-form-card form){background:var(--gt-surface2)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}html[data-ge-theme] :is(.lv-tabs a.active,.template-card.selected,.chat-room.selected,.chat-launch){background:var(--gt-primary)!important;color:var(--gt-primarytext)!important;border-color:var(--gt-primary)!important}html[data-ge-theme] :is(.chat-top,.chat-message,.chat-tools,.chat-top h2){border-color:var(--gt-line);color:var(--gt-text)}html[data-ge-theme] .chat-message.own{background:var(--gt-surface2)!important;border-left:3px solid var(--gt-primary)}html[data-ge-theme] .chat-avatar{background:var(--gt-surface2);color:var(--gt-text)}
html[data-ge-theme] .hh-holiday{background:#fff0cd!important;color:#714b0b!important;border-color:#d6aa51!important}html[data-ge-theme] .hh-today{outline-color:var(--gt-primary)}html[data-ge-theme] .hh-day small{color:inherit}
html[data-ge-theme] :is(.danger,.danger-text,.delete-button,button.delete,.chat-delete,.ot-deny,.ot-reject){background:#fff0f3!important;color:#a91f40!important;border-color:#eeb9c6!important}html[data-ge-theme] .ot-approve{background:#087b4a!important;color:white!important}html[data-ge-theme] :is(.error,.hr-validation-summary,.hr-field-error,.ot-field-error){color:#b52645}html[data-ge-theme] :is(.hr-field-invalid,.ot-invalid){border-color:#cb2d49!important}html[data-ge-theme] .ocr-needs-review{background:#fff3d9!important;color:#654615!important;border-color:#ce921c!important}html[data-ge-theme] :is(.notice,.tag,.locked,.module-badge,.admin-badge,.sample-badge,.ocr-consent){background:#fff5df!important;color:#78551a!important;border-color:#e4c995!important}html[data-ge-theme] .notice.error{background:#fff0f3!important;color:#a91f40!important}html[data-ge-theme] :is(.ot-approved,.lv-paid,.employee-status.is-active,.audit-result.success,.pill.approved){background:#dff7e9!important;color:#09663c!important}html[data-ge-theme] :is(.ot-pending,.pill.pending){background:#fff0cd!important;color:#7d5510!important}html[data-ge-theme] :is(.ot-rejected,.lv-unpaid,.audit-result.failed,.pill.rejected){background:#ffe6ec!important;color:#a21e3c!important}
html[data-ge-theme='dark-slate'] :is(.stat strong,.ot-stat strong,.stats article strong,.otr-hours),html[data-ge-theme='midnight-gold'] :is(.stat strong,.ot-stat strong,.stats article strong,.otr-hours){color:var(--gt-primary)!important}html[data-ge-theme='dark-slate'] .dashboard-stats .stat span,html[data-ge-theme='midnight-gold'] .dashboard-stats .stat span{color:var(--gt-text)}html[data-ge-theme='dark-slate'] .chat-text,html[data-ge-theme='midnight-gold'] .chat-text{color:var(--gt-text)}
/* Code output previews keep their print background and machine-readable colors. */
html[data-ge-theme] :is(.code-preview,.dieline-preview){background:#fff!important;color:#17243b!important}
.ge-theme-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.ge-theme-heading h2{margin:0 0 8px}.ge-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:22px 0}.ge-theme-card{display:block;width:100%;padding:0;overflow:hidden;border:2px solid var(--gt-line)!important;border-radius:12px!important;background:var(--gt-surface)!important;color:var(--gt-text)!important;text-align:left;box-shadow:none!important}.ge-theme-card[aria-pressed=true]{border-color:var(--gt-primary)!important;outline:2px solid var(--gt-primary);outline-offset:2px}.ge-theme-card-title{display:flex;gap:8px;justify-content:space-between;padding:11px 13px;font-size:12px;font-weight:700}.ge-theme-card-title small{font-size:10px}.ge-theme-mini{display:grid;grid-template-columns:24% 1fr;height:135px;background:var(--mini-bg);color:var(--mini-text);border-top:1px solid #ffffff12;pointer-events:none}.ge-theme-mini-aside{padding:12px 8px;background:var(--mini-nav);color:var(--mini-navtext);display:flex;flex-direction:column;gap:9px;font-size:8px}.ge-theme-mini-aside i{height:4px;border-radius:3px;background:currentColor;opacity:.3;width:85%}.ge-theme-mini-aside i:first-of-type{background:var(--mini-primary);opacity:1;height:10px}.ge-theme-mini-content{padding:10px;min-width:0}.ge-theme-mini-header{font-size:9px;font-weight:700;margin-bottom:8px}.ge-theme-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.ge-theme-mini-stats span{background:var(--mini-surface);border:1px solid var(--mini-line);border-radius:5px;display:block;padding:5px;color:var(--mini-primary);font-size:11px}.ge-theme-mini-rows{margin-top:8px;border-radius:4px;background:var(--mini-surface);padding:4px}.ge-theme-mini-rows span{display:block;height:5px;margin:5px 0;background:var(--mini-line);border-radius:2px}.ge-theme-actions{display:flex;gap:10px;flex-wrap:wrap;position:sticky;bottom:0;padding:14px 0;background:var(--gt-surface);border-top:1px solid var(--gt-line)}.ge-theme-status{min-height:25px;font-size:13px}.ge-theme-toolbar-button{font-size:12px;padding:7px 11px;margin-left:10px}.ge-theme-dialog{width:min(1040px,95vw);max-height:90dvh;overflow:auto;padding:24px}.ge-theme-dialog::backdrop{background:#081a3777;backdrop-filter:blur(3px)}.ge-theme-note{font-size:12px;color:var(--gt-muted);line-height:1.8}
@media(max-width:1000px){.ge-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ge-theme-grid{grid-template-columns:1fr;gap:14px}.ge-theme-mini{height:155px}.ge-theme-mini-header{font-size:11px}.ge-theme-mini-aside{font-size:10px}.ge-theme-heading{flex-wrap:wrap}.ge-theme-dialog{padding:18px}.ge-theme-card-title{font-size:14px}.ge-theme-actions button{flex:1;min-height:42px}.ge-theme-toolbar-button{margin-left:0}.ge-theme-status{font-size:12px}}@media print{.ge-theme-toolbar-button,.ge-theme-dialog{display:none}}

.ge-theme-mini-header,.ge-theme-mini-rows{display:block}
html[data-ge-theme] p{color:var(--gt-text)}html[data-ge-theme] :is(.brand>span:not(.brand-icon):not(.hr-company-monogram),.hr-company-brand-copy,.hr-company-brand-copy>span,.studio-brand strong){color:var(--gt-navtext)!important}html[data-ge-theme] :is(.directory-eyebrow,.section-intro,.audit-ip,.audit-time){color:var(--gt-muted)}html[data-ge-theme] .employee-section legend{color:var(--gt-text)}
html[data-ge-theme] :is(.sidebar nav button:not(.selected),.rail nav button:not(.selected),.rail nav a[data-tab]:not(.selected)){background:transparent!important;box-shadow:none!important}html[data-ge-theme] :is(.sidebar nav button:not(.selected),.rail nav a[data-tab]:not(.selected)):hover{background:#ffffff12!important}
/* Calendar observances do not imply paid company leave. */
html[data-ge-theme] .hh-day.hh-sil:not(.hh-holiday){background:var(--gt-surface2)!important;border-color:#a77cc5!important;box-shadow:inset 0 3px 0 #b89ad4!important}html[data-ge-theme] .hh-sil-badge{background:#f0e1fa!important;color:#713b94!important}html[data-ge-theme] .hh-observance-row{background:var(--gt-surface)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}html[data-ge-theme] .hh-public-name{color:#895315!important}html[data-ge-theme] .hh-cultural-name{color:var(--gt-primary)!important}
/* Strong holiday contrast in dark palettes, independent of accent color. */
html[data-ge-theme] #hh-panel .hh-day .hh-public-name{color:var(--gt-text,#244469)!important}
html[data-ge-theme] #hh-panel .hh-day .hh-cultural-name{color:var(--gt-text,#244469)!important}
html[data-ge-theme] #hh-panel .hh-day.hh-holiday .hh-public-name{color:#714b0b!important}

/* Keep icon foregrounds paired with their own badge/button backgrounds in both modes.
   Scoped to application UI icons; do not recolor QR/barcode SVGs or uploaded artwork. */
html[data-ge-theme] .stat-blue,html[data-ge-theme] .lv-stat.blue{--ui-icon-fg:#164e9a;--ui-icon-bg:#e6f0ff}
html[data-ge-theme] .stat-green,html[data-ge-theme] .lv-stat.green{--ui-icon-fg:#12663e;--ui-icon-bg:#e1f8eb}
html[data-ge-theme] .stat-rose{--ui-icon-fg:#9e2948;--ui-icon-bg:#ffeaf0}
html[data-ge-theme] .stat-amber,html[data-ge-theme] .lv-stat.gold{--ui-icon-fg:#79520b;--ui-icon-bg:#fff3d7}
html[data-ge-theme] .stat-slate,html[data-ge-theme] .lv-stat.navy{--ui-icon-fg:#354d70;--ui-icon-bg:#ebeff7}
html[data-ge-theme] .stat-teal{--ui-icon-fg:#146267;--ui-icon-bg:#e3f6f5}
html[data-ge-theme] .dashboard-stats .stat .stat-icon,html[data-ge-theme] .lv-stat .lv-stat-icon{color:var(--ui-icon-fg,#164e9a)!important;background:var(--ui-icon-bg,#e6f0ff)!important;opacity:1!important;visibility:visible}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon{--action-color:#155b91;--ui-action-bg:#eaf4fc;--ui-action-line:#cbdfee;color:var(--action-color)!important;background:var(--ui-action-bg)!important;border-color:var(--ui-action-line)!important;opacity:1!important}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon:is(.view,.qr){--action-color:#124fa0;--ui-action-bg:#e8f0ff;--ui-action-line:#c7daf4}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon:is(.edit,.manager){--action-color:#17633b;--ui-action-bg:#e8f6ed;--ui-action-line:#c5e3d0}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon.today{--action-color:#354d70;--ui-action-bg:#ebf0f7;--ui-action-line:#cfdae9}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon:is(.devices,.resign){--action-color:#784609;--ui-action-bg:#fff3df;--ui-action-line:#ecd5ae}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon.delete{--action-color:#9e2541;--ui-action-bg:#fff0f3;--ui-action-line:#edc6d0}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon:is(:hover,:focus-visible):not(:disabled){background:var(--action-color)!important;color:#fff!important;border-color:var(--action-color)!important;outline-color:#164e9a!important}
html[data-ge-theme] :is(.employee-floating-menu,.directory-card) .employee-icon:disabled{opacity:1!important;filter:grayscale(1);cursor:not-allowed}
html[data-ge-theme] .employee-actions summary{background:var(--gt-surface2)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}
html[data-ge-theme] :is(.employee-icon svg,.employee-actions summary svg,.lv-stat-icon svg){opacity:1;visibility:visible;flex-shrink:0}

/* Keep OT request and employee summary rows readable in every theme. */
html[data-ge-theme] :is(#ot-admin,#ot-report) table tbody tr{background:var(--gt-surface)!important;color:var(--gt-text)!important}
html[data-ge-theme] :is(#ot-admin,#ot-report) table tbody tr:nth-child(even),html[data-ge-theme] :is(#ot-admin,#ot-report) table tbody tr:hover{background:var(--gt-surface2)!important}
html[data-ge-theme] :is(#ot-admin,#ot-report) table td{color:var(--gt-text)!important}
html[data-ge-theme] :is(#ot-admin,#ot-report) .ot-person strong{color:var(--gt-text)!important}
html[data-ge-theme] :is(#ot-admin,#ot-report) table small{color:var(--gt-text)!important;opacity:1!important}
html[data-ge-theme] :is(#ot-admin,#ot-report) .ot-badge{white-space:nowrap;word-break:normal}

/* Readable text in both Navy Gold modes; preserve semantic badge/icon pairs. */
html[data-ge-theme] :is(p,td,dt,dd,.card,.panel,.employee-cell,.chat-text,.chat-top h2){color:var(--gt-text)}
html[data-ge-theme] :is(.muted,small,.chat-top small,.chat-room small,.chat-message header span,.chat-message time,.employee-meta,.employee-created,.ge-theme-note){color:var(--gt-muted);opacity:1}
html[data-ge-theme] :is(input,textarea)::placeholder{color:var(--gt-muted)!important;opacity:1!important}
html[data-ge-theme] select option{background:var(--gt-surface);color:var(--gt-text)}
html[data-ge-theme] :is(.chat-room.selected,.lv-tabs a.active,.chat-launch) :is(strong,small,span){color:var(--gt-primarytext)!important;opacity:1}
html[data-ge-theme] :is(.rail,.sidebar) :is(small,.rail-note,.sidebar-note){color:var(--gt-navtext)!important;opacity:1}
html[data-ge-theme] .error{background:#fff0f3!important;color:#a21e3c!important;border:1px solid #e5a9b7;border-radius:8px;padding:8px}
html[data-ge-theme] :is(.content,.card,.panel) a:not(.button):not(.secondary):not(.chat-room):not([data-tab]){color:var(--gt-primary)}
html[data-ge-theme="navy-gold"] .hh-public-name{color:#71430b!important}html[data-ge-theme="midnight-gold"] .hh-public-name{color:#ffd184!important}
.ge-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:700px;gap:18px}.ge-theme-card-title{font-size:17px;padding:16px}.ge-theme-card-title small{font-size:13px}.ge-theme-actions:empty{display:none}.ge-theme-note{font-size:14px}.ge-theme-mini-stats span{color:var(--mini-text)!important}
/* Profile opens as a full readable sheet within Chat rather than a squeezed row. */
#chat-dialog.chat-show-profile{position:fixed}#chat-dialog.chat-show-profile>:not(#chat-profile-panel){visibility:hidden!important;pointer-events:none!important}
#chat-dialog.chat-show-profile #chat-profile-panel{position:absolute;inset:12px;z-index:8;max-height:none!important;min-height:0;margin:0;padding:24px;box-sizing:border-box;overflow:auto;background:var(--staff-surface,var(--gt-surface,#fff))!important;color:var(--staff-ink,var(--gt-text,#142b4c))!important;border:1px solid var(--staff-line,var(--gt-line,#cbd8e7));display:block;border-radius:14px}
#chat-profile-panel .chat-profile-heading{clear:both;align-items:center;gap:18px;margin:20px 0}#chat-profile-panel .chat-profile-heading .chat-avatar{width:84px;height:84px;font-size:32px}#chat-profile-panel :is(p,small){font-size:15px;line-height:1.9;overflow-wrap:anywhere}#chat-profile-name{font-size:23px}#chat-profile-position{font-size:16px}#chat-profile-close{position:sticky;top:0;float:right;z-index:2;min-height:42px;font-size:14px;padding:9px 14px}#chat-profile-panel p{color:inherit}
@media(max-width:420px){#chat-dialog.chat-show-profile #chat-profile-panel{inset:6px;padding:16px}.ge-theme-card-title{font-size:15px;padding:12px}.ge-theme-mini{height:115px}}

html[data-ge-theme] :is(table td,table th,label){line-height:1.7}html[data-ge-theme] :is(.dashboard-stats small,.employee-meta,.employee-created,.chat-top small,.chat-room small){font-size:12px}html[data-ge-theme] :is(button:disabled,input:disabled,select:disabled,textarea:disabled){opacity:1!important;color:var(--gt-muted)!important;background:var(--gt-surface2)!important}.ge-staff-app :is(button:disabled,input:disabled,select:disabled,textarea:disabled){color:var(--staff-muted)!important;background:var(--staff-tint)!important}

#chat-profile-panel .chat-profile-heading>div:last-child{min-width:0;flex:1}#chat-profile-name{display:block;overflow-wrap:anywhere}
/* All Chat panels use the active palette, including desktop group/settings forms. */
html[data-ge-theme] #chat-dialog :is(#chat-tools-panel,#chat-edit-panel,#chat-profile-panel,#chat-admin-settings,.chat-admin-tools){background:var(--gt-surface)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}
html[data-ge-theme] #chat-dialog :is(#chat-tools-panel,#chat-edit-panel,#chat-admin-settings) :is(h3,h4,label,p,strong,summary){color:var(--gt-text)!important}
html[data-ge-theme] #chat-dialog :is(#chat-tools-panel,#chat-edit-panel,#chat-admin-settings) :is(small,.muted){color:var(--gt-muted)!important;opacity:1}
html[data-ge-theme] #chat-dialog #chat-tools-panel :is(input,select,textarea,option){background:var(--gt-surface2)!important;color:var(--gt-text)!important;border-color:var(--gt-line)!important}
html[data-ge-theme] #chat-dialog #chat-tools-panel button:not(.secondary){background:var(--gt-primary)!important;color:var(--gt-primarytext)!important}
/* A readable content-sized Profile card, not a full empty dialog. */
#chat-dialog.chat-show-profile{width:min(700px,calc(100vw - 24px))!important;height:auto!important;min-height:0!important;max-height:calc(var(--chat-viewport-height,100dvh) - 32px)!important;padding:12px!important;overflow:auto!important}
#chat-dialog.chat-show-profile>:not(#chat-profile-panel){display:none!important}
#chat-dialog.chat-show-profile #chat-profile-panel{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:260px!important;max-height:calc(var(--chat-viewport-height,100dvh) - 60px)!important;overflow:auto!important;margin:0!important;padding:22px!important;box-sizing:border-box}
#chat-profile-panel .chat-profile-heading{margin:16px 0}#chat-profile-panel #chat-profile-meta:empty{display:none}
html[data-ge-theme] #chat-dialog #chat-settings{background:var(--gt-surface2)!important;color:var(--gt-text)!important;border:1px solid var(--gt-line)}
html[data-ge-theme] #chat-dialog #chat-settings label{color:var(--gt-text)!important}

.ge-sidebar-mode-row{display:flex;justify-content:flex-end;align-items:center;margin:0 0 8px;min-height:30px}.ge-sidebar-mode-row .ge-mode-icon{width:32px;height:32px;min-height:32px;margin:0;padding:6px;display:inline-flex;align-items:center;justify-content:center;background:transparent!important;color:var(--gt-navtext)!important;border:1px solid #ffffff55!important;border-radius:50%}.ge-mode-icon{width:32px;height:32px;min-height:32px;padding:6px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.ge-mode-icon svg{opacity:1;visibility:visible}.ge-mode-icon[data-error]{outline:2px solid #dc3545}.ge-theme-picker,.ge-theme-dialog,#ge-theme-panel,[data-panel="theme"],[data-tab="theme"]{display:none!important}
#chat-dialog #chat-people-toggle{display:inline-flex!important;align-items:center;align-self:flex-start;min-height:32px;padding:6px 10px;font-size:12px;cursor:pointer;margin:0 0 8px}#chat-dialog.chat-hide-people .chat-people{display:none!important}#chat-dialog.chat-hide-people .chat-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}

.ge-sidebar-mode-row .ge-mode-icon:disabled{color:var(--gt-navtext)!important;background:transparent!important;opacity:1!important}
