.kv-checkbox:focus-visible,.kv-menu-item:focus-visible,.kv-tab:focus-visible,.kv-segment input:focus-visible+span{box-shadow:var(--focus-ring);outline:none}.kv-checkbox{border:1px solid var(--border-strong);background:var(--bg-surface);color:#fff;border-radius:4px;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex}.kv-checkbox[data-state=checked],.kv-checkbox[data-state=indeterminate]{background:var(--accent);border-color:var(--accent)}.kv-checkbox:disabled{opacity:.45}.kv-select{text-align:left;justify-content:space-between;align-items:center;gap:8px;display:flex}.kv-menu{background:var(--bg-surface);min-width:180px;color:var(--text-primary);border:1px solid var(--border-default);border-radius:var(--radius-md);box-shadow:var(--shadow-md),var(--highlight-top);z-index:100;padding:4px}.kv-menu-item{height:30px;font:450 13px/20px var(--font-sans);cursor:pointer;border-radius:5px;outline:none;justify-content:space-between;align-items:center;gap:12px;padding:0 8px;display:flex}.kv-menu-item[data-highlighted]{background:var(--bg-hover)}.kv-menu-item[data-disabled]{opacity:.45}.kv-separator{background:var(--border-subtle);height:1px;margin:4px 0}.kv-kbd{border-radius:var(--radius-xs);background:var(--bg-muted);border:1px solid var(--border-default);min-width:18px;height:18px;font:550 11px/16px var(--font-sans);color:var(--text-secondary);justify-content:center;align-items:center;padding:0 4px;display:inline-flex}.kv-tag{border-radius:var(--radius-xs);height:20px;font:500 12px/16px var(--font-sans);align-items:center;gap:6px;padding:0 6px;display:inline-flex}.kv-pill{border-radius:var(--radius-full);padding:0 8px}.kv-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.kv-avatar{border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex;overflow:hidden}.kv-avatar img{object-fit:cover;width:100%;height:100%}.kv-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs),var(--highlight-top);padding:20px}.kv-overlay{background:var(--bg-overlay);z-index:100;position:fixed;inset:0}.kv-dialog,.kv-command{border-radius:var(--radius-xl);border:1px solid var(--border-default);background:var(--bg-surface);width:min(480px,100vw - 32px);color:var(--text-primary);box-shadow:var(--shadow-lg),var(--highlight-top);z-index:101;overflow-wrap:anywhere;padding:20px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.kv-slide{height:100vh;width:min(var(--panel-width),100vw);background:var(--bg-surface);color:var(--text-primary);border-left:1px solid var(--border-default);box-shadow:var(--shadow-panel);z-index:101;padding:20px;position:fixed;top:0;right:0;overflow:auto}.kv-tooltip{background:var(--bg-inverse);color:var(--text-inverse);z-index:110;border-radius:6px;padding:4px 8px;font-size:12px}.kv-toast-viewport{z-index:120;flex-direction:column;gap:8px;width:360px;max-width:calc(100vw - 32px);list-style:none;display:flex;position:fixed;bottom:16px;right:16px}.kv-toast{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-default);box-shadow:var(--shadow-md);border-radius:10px;padding:12px 14px;font-size:13px}.kv-command{width:min(640px,100vw - 32px);padding:0;top:12vh;overflow:hidden;transform:translate(-50%)}.kv-command-input{border-bottom:1px solid var(--border-subtle);align-items:center;gap:10px;height:52px;padding:0 16px;display:flex}.kv-command-input input{color:inherit;background:0 0;border:0;outline:0;width:100%;font-size:15px}.kv-command-cancel{min-height:var(--control-touch);color:var(--accent-text);background:0 0;border:0;flex:none;padding:0 4px;font-size:15px;display:none}@media (width<=767px){.kv-command-cancel{display:block}}.kv-command [cmdk-list]{max-height:400px;padding:6px;overflow:auto}.kv-command [cmdk-item]{border-radius:8px;padding:10px}.kv-command [cmdk-item][data-selected=true]{background:var(--bg-hover)}.kv-sr{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.kv-skeleton{background:linear-gradient(90deg,var(--bg-muted),var(--bg-subtle),var(--bg-muted));background-size:200% 100%;border-radius:4px;animation:1.4s linear infinite kv-shimmer}@keyframes kv-shimmer{to{background-position:-200% 0}}.kv-spin{animation:1s linear infinite kv-spin}@keyframes kv-spin{to{transform:rotate(360deg)}}.kv-empty{text-align:center;max-width:360px;color:var(--text-secondary);margin:auto}.kv-empty img{width:64px;height:64px}.kv-empty h3{color:var(--text-primary);font-size:15px;font-weight:600}.kv-empty p{font-size:14px}.kv-segment{background:var(--bg-app);border-radius:6px;padding:3px;display:inline-flex}.kv-segment input{opacity:0;position:absolute}.kv-segment span{color:var(--text-secondary);cursor:pointer;border-radius:4px;padding:4px 10px;font-size:13px;display:block}.kv-segment input:checked+span{background:var(--bg-surface);color:var(--text-primary);box-shadow:var(--shadow-xs),0 0 0 1px var(--border-default);font-weight:500}.kv-tabs{border-bottom:1px solid var(--border-subtle);display:flex}.kv-tab{color:var(--text-secondary);background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 12px;font-size:13px}.kv-tab[data-state=active]{border-color:var(--accent);color:var(--text-primary)}@media (prefers-reduced-motion:reduce){.kv-skeleton,.kv-spin{animation:none}}@media (width<=767px){.kv-button,.kv-input{min-height:44px}.kv-toast-viewport{top:calc(8px + env(safe-area-inset-top));width:auto;max-width:none;bottom:auto;left:8px;right:8px}}.kv-dialog-lg{width:min(640px,100vw - 32px)}@keyframes kv-dialog-in{0%{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes kv-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes kv-fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:no-preference){.kv-dialog[data-state=open]{animation:.2s ease-out kv-dialog-in}.kv-slide[data-state=open]{animation:.2s ease-out kv-slide-in}.kv-overlay[data-state=open]{animation:.2s ease-out kv-fade-in}}.kv-command-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.kv-command [cmdk-group-heading]{color:var(--text-tertiary);text-transform:uppercase;padding:8px 10px;font-size:11px}.kv-command [cmdk-item]{align-items:center;gap:8px;height:40px;font-size:14px;display:flex;position:relative}.kv-command [cmdk-item][data-selected=true]:before{content:"";background:var(--accent);width:2px;position:absolute;top:8px;bottom:8px;left:2px}.kv-command [cmdk-item] svg{width:16px;height:16px}.kv-command [cmdk-item] .kv-kbd{margin-left:auto}.kv-command [cmdk-empty]{color:var(--text-secondary);padding:12px}.kv-command-footer{background:var(--bg-subtle);height:36px;color:var(--text-tertiary);align-items:center;padding:0 16px;font-size:12px;display:flex}.kv-slide{box-sizing:border-box;outline:none;flex-direction:column;padding:0;display:flex;overflow:hidden}.kv-slide-header{border-bottom:1px solid var(--border-subtle);flex:none;justify-content:space-between;align-items:center;height:52px;padding:0 16px;display:flex}.kv-slide-header span{color:var(--text-tertiary);font-size:11px}.kv-slide-header h2{margin:0;font-size:14px}.kv-slide-actions{gap:4px;display:flex}.kv-slide-actions button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;padding:6px}.kv-slide-body{flex:1;padding:20px;overflow:auto}@keyframes kv-slide-enter{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:no-preference){.kv-slide[data-state=open]{animation:kv-slide-enter var(--duration-slow) ease-out}}.kv-command-meta{color:var(--text-tertiary);margin-left:auto;font-size:12px}.kv-command-footer{gap:6px}.kv-slide-contained{height:100%;width:min(var(--panel-width),100%);position:absolute}.kv-dialog{overscroll-behavior:contain;max-height:calc(100dvh - 32px);overflow-y:auto}.kv-dialog h2{margin:0;font-size:15px;font-weight:600}.kv-dialog p{color:var(--text-secondary);margin:12px 0;font-size:14px}.kv-dialog-footer{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.kv-toast{align-items:center;gap:10px;display:flex}.kv-toast-content{overflow-wrap:anywhere;flex:1;min-width:0}.kv-toast-icon{flex:none}.kv-toast-success{color:var(--success)}.kv-toast-warning{color:var(--warning)}.kv-toast-danger{color:var(--danger)}.kv-command-meta{gap:4px;display:flex}.kv-select-menu{max-height:var(--radix-select-content-available-height);z-index:110;overflow:hidden}.kv-select-menu [data-radix-select-viewport]{max-height:var(--radix-select-content-available-height);overflow-y:auto}.kv-empty-compact{padding:16px 0}.kv-empty-compact h3{color:var(--text-secondary);margin:8px 0 0;font-size:13px;font-weight:500}.kv-card .kv-empty-compact{max-width:none}.kv-card .kv-empty-compact h3{color:var(--text-secondary);font-size:13px;font-weight:500;line-height:20px}.kv-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.kv-slide-header .kv-slide-type{align-items:center;gap:8px;min-width:0;display:flex}.kv-slide-type>svg{color:var(--text-tertiary);flex:none}.kv-slide-header .kv-slide-type>span:not(.kv-slide-keys){color:var(--text-primary);font-size:13px;font-weight:500}.kv-slide-keys{gap:4px;display:flex}.kv-sheet{z-index:101;max-width:var(--panel-width);background:var(--bg-surface);max-height:90dvh;color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-xl) var(--radius-xl) 0 0;box-shadow:var(--shadow-lg),var(--highlight-top);padding-bottom:env(safe-area-inset-bottom);font-family:var(--font-sans);font-feature-settings:var(--font-features);border-bottom:0;flex-direction:column;margin-inline:auto;display:flex;position:fixed;bottom:0;left:0;right:0}.kv-sheet-full{height:calc(100dvh - env(safe-area-inset-top) - var(--space-3));max-height:none}.kv-sheet-grabber{width:36px;height:4px;margin:var(--space-2) auto 0;border-radius:var(--radius-full);background:var(--border-strong);flex:none}.kv-sheet-header{justify-content:space-between;align-items:center;gap:var(--space-2);padding:0 var(--space-2) 0 var(--space-4);min-height:var(--space-12);flex:none;display:flex}.kv-sheet-header h2{font-size:var(--text-lg);line-height:var(--lh-lg);letter-spacing:var(--tracking-tight);margin:0;font-weight:600}.kv-sheet-close{width:var(--control-touch);height:var(--control-touch);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}.kv-sheet-close:hover{background:var(--bg-hover)}.kv-sheet button:focus-visible,.kv-sheet a:focus-visible{box-shadow:var(--focus-ring);outline:none}.kv-sheet-body{overscroll-behavior:contain;min-height:0;padding:var(--space-2) var(--space-4) var(--space-4);flex:1;overflow:auto}.kv-sheet-list{margin:var(--space-3) 0 0;padding:var(--space-2) 0 0;border-top:1px solid var(--border-subtle);list-style:none}.kv-sheet-row{align-items:center;gap:var(--space-3);width:100%;min-height:var(--control-touch);padding:0 var(--space-2);border-radius:var(--radius-md);color:var(--text-primary);font:inherit;font-size:var(--text-md);line-height:var(--lh-md);text-align:left;cursor:pointer;background:0 0;border:0;text-decoration:none;display:flex}.kv-sheet-row:hover{background:var(--bg-hover)}.kv-sheet-row>svg{color:var(--text-tertiary);flex:none}.kv-sheet-row>.kv-sheet-row-end{margin-left:auto}@keyframes kv-sheet-in{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:no-preference){.kv-sheet[data-state=open]{animation:kv-sheet-in var(--duration-slow) var(--ease-out)}}.kv-action-row{justify-content:space-around;gap:var(--space-2);padding:var(--space-2) 0;display:flex}.kv-action-button{max-width:80px;min-width:var(--control-touch);align-items:center;gap:var(--space-1-5);color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1 1 0;padding:0;display:flex}.kv-action-circle{width:var(--space-12);height:var(--space-12);border-radius:var(--radius-full);background:var(--accent-subtle);border:1px solid var(--accent-subtle-border);color:var(--accent-text);place-items:center;display:grid}.kv-action-button:active .kv-action-circle{background:var(--bg-active)}.kv-action-button:focus-visible{outline:none}.kv-action-button:focus-visible .kv-action-circle{box-shadow:var(--focus-ring)}.kv-action-button:disabled{opacity:.45;cursor:default}.kv-action-label{font-size:var(--text-xs);line-height:var(--lh-xs);text-align:center;font-weight:500}.kv-searchbar{z-index:39;right:var(--space-4);bottom:calc(64px + env(safe-area-inset-bottom) + var(--space-3));width:calc(100% - 2 * var(--space-4));height:var(--space-12);align-items:center;gap:var(--space-2);padding:0 calc((var(--space-12) - 20px) / 2);border:1px solid var(--border-default);border-radius:var(--radius-full);background:var(--bg-surface);box-shadow:var(--shadow-md),var(--highlight-top);color:var(--text-tertiary);font:inherit;font-size:var(--text-md);cursor:pointer;transition:width var(--duration-slow) var(--ease-out);display:flex;position:fixed;overflow:hidden}.kv-searchbar>svg{color:var(--text-secondary);flex:none}.kv-searchbar-label{white-space:nowrap;transition:opacity var(--duration-base) var(--ease-out)}.kv-searchbar-collapsed{width:var(--space-12)}.kv-searchbar-collapsed .kv-searchbar-label{opacity:0}.kv-searchbar:focus-visible{box-shadow:var(--shadow-md),var(--focus-ring);outline:none}.kv-list-card{gap:var(--space-2);width:100%;min-height:var(--control-touch);padding:var(--space-3) var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-surface);box-shadow:var(--shadow-xs),var(--highlight-top);color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;flex-direction:column;display:flex}.kv-list-card:active{background:var(--bg-hover)}.kv-list-card:focus-visible{box-shadow:var(--focus-ring);outline:none}.kv-list-card-head{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.kv-list-card-title{flex-direction:column;min-width:0;display:flex}.kv-list-card-title strong{font-size:var(--text-md);line-height:var(--lh-md);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.kv-list-card-title span{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.kv-list-card-head .kv-tag{flex:none}.kv-list-card-properties{gap:var(--space-2) var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.kv-list-card-properties dt{font-size:var(--text-2xs);line-height:var(--lh-2xs);color:var(--text-tertiary)}.kv-list-card-properties dd{font-size:var(--text-sm);line-height:var(--lh-sm);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.kv-list-card-meta{font-size:var(--text-xs);line-height:var(--lh-xs);color:var(--text-tertiary)}.kv-sticky-tabs{z-index:5;background:var(--bg-surface);scrollbar-width:none;position:sticky;top:0;overflow-x:auto}.kv-sticky-tabs .kv-tab{min-height:var(--control-touch);padding:0 var(--space-4);font-size:var(--text-base);cursor:pointer;flex:none}.kv-today-card{padding:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-surface);box-shadow:var(--shadow-xs),var(--highlight-top);color:var(--text-primary)}.kv-today-card-header{align-items:center;gap:var(--space-2);min-height:var(--control-touch);display:flex}.kv-today-card-icon{width:var(--control-md);height:var(--control-md);border-radius:var(--radius-full);background:var(--accent-subtle);color:var(--accent-text);flex:none;place-items:center;display:grid}.kv-today-card-header h3{min-width:0;font-size:var(--text-md);line-height:var(--lh-md);margin:0;font-weight:400}.kv-today-card-header b{font-weight:600}.kv-today-card-all{min-height:var(--control-touch);padding:0 var(--space-1);color:var(--accent-text);font-size:var(--text-sm);white-space:nowrap;align-items:center;margin-left:auto;font-weight:500;text-decoration:none;display:inline-flex}.kv-today-card-rows{margin:var(--space-2) 0 0;padding:0;list-style:none}.kv-today-card-rows li{min-height:var(--control-touch);border-top:1px solid var(--border-subtle);font-size:var(--text-base);line-height:var(--lh-base);align-items:center;display:flex}.kv-today-card-empty{align-items:center;gap:var(--space-2);padding:var(--space-4) 0 var(--space-2);text-align:center;color:var(--text-tertiary);flex-direction:column;display:flex}.kv-today-card-empty p{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-secondary);margin:0}.kv-language{border:1px solid var(--border-default);border-radius:var(--radius-sm);background:var(--bg-surface);height:28px;color:var(--text-secondary);font:450 13px/20px var(--font-sans);white-space:nowrap;cursor:pointer;align-items:center;gap:6px;padding:0 8px;display:inline-flex}.kv-language:hover,.kv-language[data-state=open]{background:var(--bg-hover);color:var(--text-primary)}.kv-language:focus-visible{box-shadow:var(--focus-ring);outline:none}.kv-command [cmdk-group]:not(:has([cmdk-item])){display:none}@media (width<=767px){.kv-command .kv-kbd,.kv-command-footer{display:none}}.kv-empty h3+.kv-button{margin-top:var(--space-4);text-decoration:none}.kv-error-notice{align-items:flex-start;gap:var(--space-3);color:var(--text-secondary);flex-direction:column;font-size:14px;display:flex}.kv-error-notice p{margin:0}.kv-error-notice-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.kv-reference{align-items:center;gap:var(--space-1);font-variant-numeric:tabular-nums;color:var(--text-tertiary,var(--text-secondary));font-size:12px;display:inline-flex}.kv-reference-copy{width:24px;height:24px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.kv-reference-copy:hover{background:var(--bg-muted);color:var(--text-primary)}@media (width<=767px){.kv-reference-copy{width:44px;height:44px}}.kv-widget-error{padding:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-surface);box-shadow:var(--shadow-xs),var(--highlight-top)}.kv-failure-actions{align-items:center;gap:var(--space-2);margin-top:var(--space-2);flex-direction:column;display:flex}.kv-forced-failure{gap:var(--space-4);padding:var(--space-4);flex-direction:column;display:flex}.kv-forced-failure-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.kv-swipe-row{border-radius:var(--radius-lg);position:relative;overflow:hidden}.kv-swipe-actions{width:var(--kv-swipe-width);display:flex;position:absolute;inset:0 0 0 auto}.kv-swipe-action{justify-content:center;align-items:center;gap:var(--space-1);min-width:var(--control-touch);background:var(--bg-muted);color:var(--text-primary);font:inherit;font-size:var(--text-xs);line-height:var(--lh-xs);cursor:pointer;border:0;flex-direction:column;flex:1;font-weight:500;text-decoration:none;display:flex}.kv-swipe-action:first-child{background:var(--accent);color:var(--text-on-accent)}.kv-swipe-action:disabled{background:var(--bg-muted);color:var(--text-disabled);cursor:default}.kv-swipe-action:focus-visible{outline:2px solid var(--text-primary);outline-offset:-4px}.kv-swipe-content{touch-action:pan-y;transition:transform var(--duration-base) var(--ease-out);position:relative}.kv-swipe-dragging{transition:none}@media (prefers-reduced-motion:reduce){.kv-swipe-content{transition:none}}.kv-ptr{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.kv-ptr-indicator{width:var(--control-md);height:var(--control-md);margin-left:calc(var(--control-md) / -2);border:1px solid var(--border-subtle);border-radius:var(--radius-full);background:var(--bg-surface);box-shadow:var(--shadow-xs);color:var(--accent-text);opacity:0;transform:translateY(calc(var(--kv-ptr-pull) - var(--control-md)));pointer-events:none;z-index:1;place-items:center;display:grid;position:absolute;top:0;left:50%}.kv-ptr-indicator svg{transform:rotate(var(--kv-ptr-turn))}.kv-ptr[data-pulling] .kv-ptr-indicator,.kv-ptr[data-refreshing] .kv-ptr-indicator{opacity:1}.kv-ptr[data-refreshing] .kv-ptr-indicator svg{animation:.8s linear infinite kv-ptr-spin}.kv-ptr-content{min-height:0;transform:translateY(var(--kv-ptr-pull));flex-direction:column;flex:1;display:flex}.kv-ptr:not([data-pulling]) .kv-ptr-content,.kv-ptr:not([data-pulling]) .kv-ptr-indicator{transition:transform var(--duration-base) var(--ease-out),opacity var(--duration-base) var(--ease-out)}@keyframes kv-ptr-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.kv-ptr-content{transform:none}.kv-ptr-indicator{transform:translateY(var(--space-2));transition:none}.kv-ptr-indicator svg,.kv-ptr[data-refreshing] .kv-ptr-indicator svg{animation:none;transform:none}}
