.atd-sheet-root{z-index:1200;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.atd-sheet-backdrop{background:var(--overlay-light,#00000073);-webkit-backdrop-filter:blur(2px);cursor:pointer;border:none;margin:0;padding:0;animation:.22s atd-sheet-fade-in;position:absolute;inset:0}.atd-sheet-panel{background:var(--bg-primary);border:1px solid var(--border-color);will-change:transform;border-bottom:none;border-radius:20px 20px 0 0;flex-direction:column;width:100%;max-width:520px;height:min(72vh,520px);max-height:min(72vh,520px);animation:.28s cubic-bezier(.22,1,.36,1) atd-sheet-slide-up;display:flex;position:relative;overflow:hidden;box-shadow:0 -12px 40px #0000002e}.atd-sheet-drag-zone{touch-action:none;cursor:grab;flex-shrink:0}.atd-sheet-drag-zone:active{cursor:grabbing}.atd-sheet-handle{background:var(--border-color);border-radius:999px;width:40px;height:4px;margin:8px auto 0}.atd-sheet-header{flex-direction:column;gap:6px;padding:8px 16px 12px;display:flex}.atd-sheet-header-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.atd-sheet-header h3{color:var(--text-primary);letter-spacing:-.02em;min-width:0;margin:0;font-size:16px;font-weight:600}.atd-sheet-word{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.35}.atd-sheet-word-key{color:var(--text-primary);font-weight:600}.atd-sheet-word-value:before{content:" · ";color:var(--text-tertiary);font-weight:400}.atd-sheet-close{background:var(--bg-secondary);width:32px;height:32px;color:var(--text-secondary);cursor:pointer;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.atd-sheet-close:hover:not(:disabled){background:var(--bg-tertiary);color:var(--text-primary)}.atd-sheet-close:disabled{opacity:.5;cursor:not-allowed}.atd-sheet-search-wrap{flex-shrink:0;padding:0 16px 10px;position:relative}.atd-sheet-search-icon{color:var(--text-tertiary);pointer-events:none;position:absolute;top:50%;left:28px;transform:translateY(-50%);font-size:18px!important}.atd-sheet-search-input{box-sizing:border-box;border:1px solid var(--border-color);background:var(--bg-secondary);width:100%;height:38px;color:var(--text-primary);border-radius:10px;padding:0 12px 0 38px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.atd-sheet-search-input:focus{border-color:var(--border-color-active);box-shadow:0 0 0 3px var(--bg-tertiary);background:var(--bg-primary);outline:none}.atd-sheet-search-input::placeholder{color:var(--text-tertiary)}.atd-sheet-list{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:4px;min-height:0;padding:4px 12px 8px;display:flex;overflow-y:auto}.atd-sheet-list-empty{text-align:center;color:var(--text-tertiary);margin:0;padding:24px 8px;font-size:13px}.atd-dict-row{width:100%;color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:12px;align-items:center;gap:10px;padding:10px 8px;font-family:inherit;transition:background .15s;display:flex}.atd-dict-row:hover{background:var(--bg-secondary)}.atd-dict-row--selected{background:color-mix(in srgb, var(--nav-accent,var(--accent-primary)) 12%, var(--bg-secondary))}.atd-dict-row-icon{background:var(--bg-tertiary);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.atd-dict-row--selected .atd-dict-row-icon{background:var(--nav-accent,var(--accent-primary));color:var(--text-inverse)}.atd-dict-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.atd-dict-row-name{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.atd-dict-row-meta{color:var(--text-tertiary);font-size:11px}.atd-dict-row-check{color:var(--nav-accent,var(--accent-primary));flex-shrink:0}.atd-sheet-footer{padding:10px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--border-color);background:var(--bg-primary);flex-shrink:0}.atd-btn-confirm{color:#fff;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(135deg,#269d10 0%,#1e7a0a 100%);border:none;border-radius:12px;width:100%;height:44px;padding:0 14px;font-family:inherit;font-size:14px;font-weight:600;transition:opacity .15s,transform .1s;overflow:hidden;box-shadow:0 2px 8px #269d1047}.atd-btn-confirm:hover:not(:disabled){background:linear-gradient(135deg,#1e7a0a 0%,#155a08 100%)}.atd-btn-confirm:active:not(:disabled){transform:scale(.99)}.atd-btn-confirm:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}@keyframes atd-sheet-slide-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes atd-sheet-fade-in{0%{opacity:0}to{opacity:1}}@media screen and (min-width:641px){.atd-sheet-root{align-items:center;padding:24px}.atd-sheet-panel{border-bottom:1px solid var(--border-color);width:min(100%,400px);height:min(70vh,480px);max-height:min(70vh,480px);box-shadow:var(--shadow-lg);border-radius:16px;animation:.24s cubic-bezier(.22,1,.36,1) atd-sheet-pop-in}.atd-sheet-handle{display:none}.atd-sheet-drag-zone{cursor:default}.atd-sheet-header{padding-top:16px}.atd-btn-confirm{border-radius:10px;height:40px}}@keyframes atd-sheet-pop-in{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:640px){.atd-sheet-search-input{font-size:16px}}
