.sheet[data-size=compact]{width:min(100%,480px);height:fit-content;max-height:min(560px,100dvh - 24px)}.sheet[data-placement=center][open]{border-radius:var(--radius-xl);width:min(480px,100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);margin:auto;animation:none;inset:0;transform:none}.sheet[data-placement=center] .sheet-grip{display:none}.sheet[data-size=content]{height:fit-content;max-height:min(760px,100dvh - 24px)}.field-error{color:var(--color-danger);font-size:13px}.field [aria-invalid=true]{border-color:var(--color-danger)}.sheet-footer{padding:12px 20px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--color-line);background:var(--color-surface);flex-wrap:wrap;flex:none;gap:8px;display:flex}.sheet-footer>.inline-actions{flex-wrap:wrap}.sheet.ui-command-palette[data-size]{width:min(560px,100% - 24px);max-width:calc(100% - 24px);height:auto;max-height:min(720px,84dvh);box-shadow:var(--shadow-raised);border:0;border-radius:12px;margin:0 auto;animation:none;inset:max(16px,8dvh) 0 auto}.sheet.ui-command-palette .sheet-grip{display:none}.sheet.ui-command-palette .sheet-header{border-bottom:1px solid var(--color-line);padding:14px 16px}.sheet.ui-command-palette .sheet-header h2{margin:0;font-size:15px}.sheet.ui-command-palette .sheet-body{flex-direction:column;gap:12px;padding:0 12px 12px;display:flex}.ui-command-search{z-index:1;background:var(--color-surface);padding:12px 0 4px;position:sticky;top:0}.ui-command-list{gap:14px;display:grid}.ui-command-palette .ui-command-group h3{color:var(--color-muted);margin:0 0 4px;padding:0 8px;font-size:11px;font-weight:600}.ui-command-group ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.ui-command-group button{width:100%;min-height:max(36px, var(--control-height));border-radius:var(--radius-sm);color:var(--color-text);text-align:start;background:0 0;border:0;align-items:center;gap:10px;padding:8px;font-size:13px;font-weight:500;display:flex}.ui-command-group button:hover,.ui-command-group button:focus-visible{background:var(--color-hover)}.ui-command-icon{color:var(--color-muted);flex:0 0 18px;display:flex}.ui-command-label{overflow-wrap:anywhere;flex:1;min-width:0}.ui-command-group button>svg{color:var(--color-muted);flex:0 0 14px}.ui-command-results{border-top:1px solid var(--color-line);padding:12px 8px 0;font-size:13px}.ui-command-results p{color:var(--color-muted);margin:0}.ui-command-results .ui-empty-state{background:0 0;gap:8px;min-height:0;padding:20px 8px}.ui-command-results .ui-empty-state h2{font-size:13px;font-weight:500}.ui-command-results .ui-empty-state-icon{background:0 0;width:28px;height:28px}.ui-command-empty{color:var(--color-muted);margin:0;padding:12px 8px;font-size:13px}.sheet.ui-command-palette .sheet-footer{padding:10px 16px}.ui-workbench-bar{box-sizing:border-box;background:var(--color-raised);border-top:1px solid var(--color-line);align-items:center;gap:12px;height:40px;min-height:40px;padding:4px 16px;display:flex}.ui-workbench-bar-context{text-overflow:ellipsis;white-space:nowrap;color:var(--color-muted);flex:1;font-size:12px;overflow:hidden}.ui-workbench-bar kbd{color:var(--color-muted);font-size:11px}.ui-workbench-panel{z-index:40;height:var(--workbench-height,70dvh);background:var(--color-surface);border:1px solid var(--color-line);min-height:min(240px,100dvh - 100px);max-height:calc(100dvh - 100px);box-shadow:var(--shadow-raised);border-radius:24px 24px 0 0;flex-direction:column;animation:.16s ease-out ui-workbench-open;display:flex;position:fixed;bottom:40px;left:0;right:0}.ui-workbench-panel[data-mode=expanded]{height:calc(100dvh - 100px)}.ui-workbench-panel[data-mode=right]{width:min(480px,100vw - 104px);height:auto;top:80px;left:auto}.ui-workbench-header{border-bottom:1px solid var(--color-line);justify-content:space-between;align-items:center;gap:12px;padding:4px 20px 12px;display:flex}.ui-workbench-window-actions{flex-shrink:0;gap:4px;display:flex}.ui-workbench-title{align-items:center;gap:8px;min-width:0;font-size:14px;display:flex}.ui-workbench-title svg{color:var(--color-muted);flex-shrink:0}.ui-workbench-panel[data-mode=right] .ui-workbench-header{padding-top:16px}.ui-workbench-body{flex:1;min-height:0;padding:0;overflow:hidden}.ui-workbench-content,.ui-workbench-content>.ui-tabs{flex-direction:column;height:100%;min-height:0;display:flex}.ui-workbench-content>.ui-tabs{flex:1;height:auto}.ui-workbench-content [role=tabpanel]{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow:auto}.ui-workbench-tab-body{padding:16px}.ui-workbench-context-row{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.ui-workbench-context-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.ui-workbench-scope{flex-wrap:wrap;gap:6px 12px;display:flex}.ui-workbench-location{margin-top:4px;display:block}.ui-workbench-context strong{color:var(--color-text);font-weight:550}.ui-workbench-resize{cursor:ns-resize;touch-action:none;flex-shrink:0;place-items:center;height:20px;display:grid}.ui-workbench-resize span{background:var(--color-line);border-radius:6px;width:40px;height:3px}.ui-workbench-resize:hover span,.ui-workbench-resize:focus-visible span{background:var(--color-muted)}.ui-workbench-resize:focus-visible{outline:2px solid var(--color-primary);outline-offset:-2px}@keyframes ui-workbench-open{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.ui-workbench-panel{animation:none}}.ui-workbench-context{color:var(--color-muted);overflow-wrap:anywhere;min-width:0;margin:0;font-size:12px}.ui-workbench .ui-tabs,.ui-workbench-sheet .ui-tabs{margin-top:0}.ui-workbench [role=tablist],.ui-workbench-sheet [role=tablist]{flex-shrink:0;max-width:100%;padding:0 16px;overflow-x:auto}.ui-workbench-stack{gap:12px;display:grid}.ui-workbench-actions{flex-wrap:wrap;gap:8px;display:flex}.ui-workbench-event{border-left:2px solid var(--color-line);background:var(--color-raised);border-radius:6px;gap:4px;padding:12px;display:grid}.ui-workbench-event small{color:var(--color-muted)}@media (width<=640px),(pointer:coarse) and (height<=500px){.ui-workbench-bar{z-index:20;left:12px;bottom:calc(12px + env(safe-area-inset-bottom));padding:0;position:fixed}.ui-workbench-bar-context,.ui-workbench-bar kbd,.ui-workbench-bar>.icon-button{display:none}.ui-workbench-bar>button{min-height:44px}.sheet.ui-workbench-sheet[data-size]{top:calc(var(--workbench-viewport-top,0px) + 8px);width:100%;height:calc(var(--workbench-viewport-height,100dvh) - 16px);max-height:calc(var(--workbench-viewport-height,100dvh) - 16px);border-radius:24px 24px 0 0;margin:0;bottom:auto;left:0;right:0}.sheet.ui-workbench-sheet .sheet-body{padding:0 0 env(safe-area-inset-bottom);display:flex;overflow:hidden}.sheet.ui-workbench-sheet .ui-workbench-content{width:100%}.sheet.ui-workbench-sheet .sheet-header{flex-shrink:0}.sheet.ui-workbench-sheet .ui-workbench-context-row{padding:8px 16px}.sheet.ui-workbench-sheet .ui-workbench-context-actions .button{padding-inline:8px}}@media (pointer:coarse){.ui-workbench-resize{height:28px}.ui-workbench-window-actions .icon-button,.ui-workbench-context-actions .icon-button{min-width:44px;min-height:44px}}.ui-workbench{z-index:30;position:fixed;bottom:0;left:0;right:0}
