html,body,#workspace{margin:0;width:100%;height:100%;overflow:hidden;font-family:var(--workspace-font);font-size:var(--workspace-font-size,16px);background:var(--workspace-background,#f4f6f3);color:var(--workspace-text,#1f2f28)}
.workspace-signin{max-width:420px;margin:10vh auto;padding:32px;background:#fff;border:1px solid #dce3dc;border-radius:12px;text-align:center}.workspace-signin>img{width:72px;height:72px;border-radius:16px}.workspace-signin p{color:#5f6f66}
.workspace-shell{height:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.workspace-switcher{position:relative;min-width:0;min-height:var(--workspace-switcher-height);box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:8px 12px;background:var(--workspace-header,#173d31);color:var(--workspace-header-ink,#fff)}
.workspace-switcher nav{display:flex;gap:8px;height:100%;align-items:center}.workspace-switcher nav button{position:relative;width:48px;height:48px;padding:5px;border:2px solid transparent;border-radius:10px;background:#f4efe5;cursor:pointer;overflow:visible}.workspace-switcher nav button[aria-selected=true]{border-color:#fff;box-shadow:0 0 0 2px #1b7350}.workspace-switcher img{width:34px;height:34px}
.bird-count,.bird-annotations,.bird-unread{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;pointer-events:none;box-sizing:border-box;color:#fff;font:700 10px/1 sans-serif}
.bird-count{top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#173d31}
.bird-annotations{bottom:1px;left:1px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#e07a20}
.bird-unread{bottom:2px;right:2px;width:10px;height:10px;border-radius:50%;background:#c0392b;box-shadow:0 0 0 2px #f4efe5}
.workspace-switcher button:focus-visible{outline:3px solid var(--workspace-header-ink,#fff);outline-offset:2px}.workspace-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.workspace-actions>button,#workspace-actions-toggle{min-height:44px;color:var(--workspace-header-ink,#fff);background:transparent;border:1px solid var(--workspace-header-muted,#8eaaa0);border-radius:8px;padding:0 14px;font:inherit;cursor:pointer}#workspace-actions-toggle{display:none;width:44px;padding:0;align-items:center;justify-content:center}#workspace-actions-toggle svg{width:24px;height:24px}
#account-menu{position:absolute;right:12px;top:calc(100% - 4px);z-index:20;max-width:calc(100vw - 24px);box-sizing:border-box;overflow-wrap:anywhere;background:var(--workspace-surface,#fff);color:var(--workspace-text,#1f2f28);border:1px solid var(--workspace-border,#dce3dc);border-radius:8px;padding:12px;box-shadow:0 8px 24px #0002}#account-menu span{display:block;margin-bottom:10px}#logout{min-height:44px;width:100%;font:inherit}
.workspace-frames{position:relative;min-width:0;min-height:0}.workspace-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}.workspace-frame[hidden]{display:none}
#appearance-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 32px);box-sizing:border-box;padding:0;border:1px solid var(--workspace-border,#dce3dc);border-radius:14px;background:var(--workspace-surface,#fff);color:var(--workspace-text,#1f2f28)}#appearance-dialog::backdrop{background:#10251dcc}#appearance-form>header,#appearance-form>footer{display:flex;align-items:center;gap:12px;padding:18px 22px}#appearance-form>header{border-bottom:1px solid var(--workspace-border,#dce3dc)}#appearance-form>header div{flex:1}#appearance-form h2,#appearance-form p{margin:0}#appearance-form header p{margin-top:4px;color:var(--workspace-muted,#5f6f66)}#appearance-close{width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:28px}#appearance-fields{padding:18px 22px;display:grid;gap:18px;overflow:auto}.appearance-group{border:0;margin:0;padding:0}.appearance-group legend{font-weight:700;margin-bottom:8px}.appearance-options{display:flex;flex-wrap:wrap;gap:8px}.appearance-options label{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 12px;border:1px solid var(--workspace-border,#dce3dc);border-radius:8px}.appearance-options label:has(input:checked){border-color:var(--workspace-accent,#1b7350);box-shadow:0 0 0 2px var(--workspace-accent,#1b7350)}#appearance-error{min-height:20px;margin:0;padding:0 22px;color:#a21d16}#appearance-form>footer{border-top:1px solid var(--workspace-border,#dce3dc)}#appearance-form>footer span{flex:1}#appearance-form footer button{min-height:44px;padding:0 14px;border:1px solid var(--workspace-border,#dce3dc);border-radius:8px;background:var(--workspace-surface,#fff);color:inherit}#appearance-save{background:var(--workspace-accent,#1b7350)!important;color:var(--workspace-on-accent,#fff)!important}
#status{position:fixed;right:16px;bottom:16px;background:#fff;border:1px solid #dce3dc;padding:8px 12px;border-radius:8px}#status button{min-height:var(--workspace-touch-target,44px);margin-left:4px;padding:0 14px;border:1px solid #dce3dc;border-radius:var(--workspace-control-radius,8px);background:#fff;color:inherit;font:inherit;cursor:pointer}
@media(max-width:800px){.workspace-switcher{padding:0 8px}.workspace-signin{margin:5vh 12px}}
@media(max-width:600px){
 .workspace-switcher{flex-wrap:nowrap;gap:8px;padding:8px}
 .workspace-switcher nav{flex:none;height:48px}
 #workspace-actions-toggle{display:inline-flex;flex:none}
 .workspace-actions{display:none;position:absolute;right:8px;top:calc(100% - 4px);z-index:20;max-width:calc(100vw - 16px);box-sizing:border-box;flex-direction:column;align-items:stretch;padding:8px;background:var(--workspace-header,#173d31);border:1px solid var(--workspace-header-muted,#8eaaa0);border-radius:10px;box-shadow:0 8px 24px #0003}
 .workspace-actions[data-open=true]{display:flex}
 .workspace-actions>button{text-align:left}
}

#shell[hidden],#signin[hidden]{display:none!important}#status:empty{display:none}

/* Settings owns secondary Workspace actions at every viewport. */
#workspace-actions-toggle{display:inline-flex;width:auto;padding:0 14px;min-height:44px}
.workspace-actions{display:none;position:absolute;right:8px;top:calc(100% - 4px);z-index:20;max-width:calc(100vw - 16px);box-sizing:border-box;flex-direction:column;align-items:stretch;padding:8px;background:var(--workspace-header,#173d31);border:1px solid var(--workspace-header-muted,#8eaaa0);border-radius:10px;box-shadow:0 8px 24px #0003}
.workspace-actions[data-open=true]{display:flex}
.workspace-actions>button{text-align:left}
