/* Layout and chrome inherit the deployed JF stylesheet. Only empty-shell details follow. */
.workspace>main{min-height:calc(100vh - 72px)}
.shell-avatar{background:#dbeafe;color:#454b58}
.topbar button:disabled{cursor:default}
.topbar button:disabled:hover{color:inherit;transform:none}
.sidebar nav button:focus-visible{outline:3px solid var(--accent-line);outline-offset:2px}
[hidden]{display:none!important}
.shell-dialog{width:min(560px,calc(100vw - 32px));max-height:85vh;padding:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 80px #17203333}
.shell-dialog::backdrop{background:#17203366;backdrop-filter:blur(3px)}
.shell-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}
.shell-dialog-header h2{margin:0;font-size:20px;color:var(--theme-heading)}
.shell-close{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--canvas);color:var(--muted);font-size:24px}
.shell-dialog-body{padding:24px}.shell-settings h3{margin:0 0 8px;font-size:16px}.shell-settings p,.shell-dialog-description{color:var(--muted);line-height:1.7}
.shell-palettes{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}
.shell-palettes button{padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);text-align:left}
.shell-palettes button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.shell-palettes button>span{height:52px;display:block;padding:10px;border:1px solid;border-radius:6px;margin-bottom:10px}.shell-palettes i{display:block;width:30%;height:100%;border-radius:4px}
.shell-setting-status{min-height:24px;margin-bottom:0;font-size:13px}
.shell-search-field{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;color:var(--muted)}
.shell-search-field input{width:100%;border:0;outline:none;background:transparent;color:var(--ink)}
.shell-search-results{margin-top:16px;display:grid;gap:5px;max-height:320px;overflow:auto}
.shell-search-results button{display:flex;align-items:center;gap:12px;padding:13px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left}
.shell-search-results button svg:last-child{margin-left:auto}.shell-search-results button[aria-selected=true],.shell-search-results button:hover{background:var(--sidebar-active);color:var(--accent)}
.shell-search-help{margin-top:20px;font-size:12px;color:var(--muted)}
.shell-empty{padding:30px 0;text-align:center;color:var(--muted)}.shell-empty h3{font-size:15px;font-weight:500}
.shell-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.shell-login-placeholder{display:grid;justify-items:center;gap:20px;margin:20px 0;padding:35px 20px;color:var(--muted);background:var(--canvas);border:1px dashed var(--line);border-radius:14px}
.shell-login-status{min-height:40px;color:var(--muted);font-size:13px;line-height:1.6}.shell-wecom-login{width:100%}
.shell-login-view .login-brand small{display:block}.shell-login-view .login-intro p{max-width:300px}
@media(max-width:600px){.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.sidebar nav button{width:100%;min-width:0;padding-inline:2px}.sidebar nav button>span b{font-size:12px}.topbar .profile,.topbar .shell-avatar{display:none}.topbar .topbar-logout{display:grid;width:32px;height:34px}.topbar-meta{gap:6px;width:100%}.topbar-global-search{min-width:0!important;flex:1}.topbar-search-copy kbd,.topbar-search-submit{display:none!important}.topbar-global-search .topbar-search-copy{padding-inline:8px}.topbar .settings-button,.topbar .notification-button{width:32px;height:34px}.shell-login-button{min-height:34px;padding:0 8px;font-size:13px}.shell-dialog-body{padding:18px}}
