.context-bar{z-index:20;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:.5rem;min-height:3.1rem;padding:.45rem 1.25rem;display:flex;position:sticky;top:0;container:context-bar/inline-size}.context-bar-fieldset{display:contents}.context-bar-items{flex:auto;align-items:center;gap:.5rem;min-width:0;display:flex}.context-bar-actions{flex:none;align-items:center;gap:.2rem;margin-left:auto;display:flex;position:relative}.context-bar button,.context-bar select,.context-bar input,.context-bar textarea{font:inherit;color:inherit}.context-chip{border:1px solid var(--border);background:var(--surface);border-radius:999px;align-items:center;gap:.45rem;min-width:0;max-width:100%;min-height:2rem;padding:.2rem .6rem .2rem .8rem;font-size:.88rem;line-height:1.3;display:inline-flex}button.context-chip{cursor:pointer}button.context-chip:hover:not(:disabled),.context-select-chip:hover{border-color:var(--border-strong)}.context-chip[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent)}.context-chip-key{color:var(--text-muted);flex:none;font-size:.78rem}.context-chip-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.context-chip-chevron{color:var(--text-muted);flex:none}.text-chip-root{flex:0 auto;min-width:0;position:relative}.text-chip{max-width:28rem;position:relative}.text-chip-unseen{background:var(--accent);width:.6rem;height:.6rem;box-shadow:0 0 0 2px var(--surface);border-radius:50%;position:absolute;top:-.15rem;right:-.15rem}.text-chip-count{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.72rem}.text-chip-language{background:var(--surface-muted);color:var(--text-muted);border-radius:999px;flex:none;padding:0 .45rem;font-size:.72rem}.context-select-chip{flex:0 auto;padding-right:.35rem}.context-select-chip select{cursor:pointer;background:0 0;border:0;min-width:0;max-width:12rem;font-size:.88rem}.context-bar select option,.context-bar select optgroup{background-color:var(--surface-raised);color:var(--text)}.context-popover{z-index:30;border:1px solid var(--border);background:var(--surface-raised);border-radius:10px;position:absolute;box-shadow:0 14px 36px var(--lightningcss-light,#1a191729)var(--lightningcss-dark,#00000073),0 2px 6px var(--lightningcss-light,#1a191714)var(--lightningcss-dark,#0000004d)}.text-chip-panel{width:min(34rem,100vw - 2rem);padding:.85rem;top:calc(100% + .45rem);left:0}.text-editor{gap:.6rem;font-size:.86rem;display:grid}.text-editor-row{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.text-editor-select{flex:12rem;min-width:0}.text-editor-inline{color:var(--text-muted);align-items:center;gap:.4rem;display:inline-flex}.text-editor-inline select,.text-editor-inline input{color:var(--text)}.text-editor-name{flex:12rem}.text-editor-name input{flex:1;min-width:0}.text-editor select,.text-editor input,.text-editor button{border:1px solid var(--border);background:var(--surface);border-radius:7px;min-height:1.9rem;padding:.15rem .5rem}.text-editor button{cursor:pointer}.text-editor button:hover:not(:disabled){border-color:var(--border-strong)}.text-editor button:disabled,.text-editor input:disabled,.text-editor select:disabled{opacity:.5;cursor:default}.text-editor-body{resize:vertical;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;min-height:7rem;padding:.55rem .65rem;line-height:1.7}.text-editor-count{text-align:end;color:var(--text-muted);font-variant-numeric:tabular-nums;margin:0;font-size:.78rem}.text-editor-buttons{gap:.35rem;margin-left:auto;display:flex}.text-editor-hint{color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.6}.context-chip-icon{display:none}.context-icon-button{width:2rem;height:2rem;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;padding:0;display:inline-grid}.context-icon-button:hover:not(:disabled){background:var(--surface-muted)}.context-icon-button:disabled{color:var(--text-muted);opacity:.45;cursor:default}.context-share{margin-left:.25rem;display:inline-flex;position:relative}.context-share-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:7px;align-items:center;gap:.35rem;min-height:2rem;padding:.2rem .7rem;display:inline-flex}.context-share-button:hover{border-color:var(--border-strong)}.context-share-status:empty{display:none}.context-share-status{z-index:30;border:1px solid var(--border);background:var(--surface-raised);white-space:nowrap;border-radius:7px;padding:.25rem .6rem;font-size:.8rem;position:absolute;top:calc(100% + .4rem);right:0}.context-share-notice{white-space:normal;width:min(22rem,80vw);color:var(--text-muted);margin-top:.25rem;display:block}.context-bar :focus-visible{outline:2px solid var(--focus);outline-offset:2px}@media (max-width:760px){.context-bar{gap:.35rem;padding:.4rem .75rem}}@container context-bar (width<=53.5rem){.context-bar-items{gap:.35rem}.text-chip-root{flex:1 1 0;position:static}.text-chip{width:100%;max-width:none}.reading-chip-root{flex:none}.reading-chip .context-chip-key,.reading-chip .context-chip-value,.reading-chip .context-chip-chevron{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.reading-chip:before{content:"読"}.context-bar .reading-chip{padding-inline:.2rem}.text-chip .context-chip-key,.text-chip .text-chip-count,.text-chip .text-chip-language,.context-select-chip .context-chip-key{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.text-chip .context-chip-value{text-align:start;flex:auto}.context-share-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.context-share{margin-left:0}.context-share-button{justify-content:center;width:2rem;padding:0}.context-bar .context-chip{gap:.3rem;padding:.2rem .5rem}.context-bar .context-select-chip{flex:none;padding-inline:.3rem;position:relative}.context-select-chip .context-chip-icon{color:var(--text-muted);display:block}.context-select-chip select{opacity:0;width:100%;max-width:none;position:absolute;inset:0}.text-chip-panel{width:auto;max-height:70vh;top:100%;left:.5rem;right:.5rem;overflow-y:auto}.context-bar-items:has(.workspace-name){flex-wrap:wrap;row-gap:.35rem}.context-bar-items:has(.workspace-name) .workspace-name{flex:0 auto;max-width:min(16rem,100% - 5.5rem)}.context-bar-items:has(.workspace-name) .text-chip-root{flex:calc(100% - 3.5rem)}:is(.context-bar:has(.workspace-name)>.shell-sidebar-toggle,.context-bar:has(.workspace-name) .context-bar-actions){align-self:flex-start}}@container context-bar (width>53.5rem){.context-bar-items:has(.workspace-name) .text-chip-root{min-width:min-content}}@container context-bar (width<=53.5rem){.context-bar .workspace-add-pane{flex:none;position:static}.context-bar .workspace-add-pane .pane-menu-list{width:auto;max-width:none;max-height:70vh;top:100%;left:.5rem;right:.5rem;overflow-y:auto}}.context-chip-group{flex:0 auto;min-width:0;display:inline-flex;position:relative}.context-chip-note{z-index:30;border:1px solid var(--border);background:var(--surface-raised);width:max-content;max-width:min(22rem,100cqw - 2.5rem);color:var(--text);border-radius:8px;margin:0;padding:.4rem .65rem;font-size:.8rem;line-height:1.5;display:none;position:absolute;top:calc(100% + .4rem);right:0;box-shadow:0 6px 18px var(--lightningcss-light,#1a191724)var(--lightningcss-dark,#0006)}.context-chip-group:focus-within .context-chip-note{display:block}@container context-bar (width<=53.5rem){.context-chip-group{position:static}.context-chip-note{width:auto;max-width:none;top:100%;left:.5rem;right:.5rem}}
