.choice-dialog{width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:hidden;padding:0;margin:auto;border:1px solid var(--border);border-radius:14px;color:var(--foreground);background:var(--background)}.choice-dialog[open]{display:flex;flex-direction:column}.choice-dialog::backdrop{background:#102f4966;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.choice-dialog>header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border)}.choice-dialog h2{margin:0;font-size:20px;font-weight:600}.choice-dialog button{min-height:44px}.choice-dialog header button{display:flex;width:44px;align-items:center;justify-content:center}.choice-search{flex-shrink:0;display:flex;align-items:center;gap:10px;margin:16px 20px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--muted-foreground)}.choice-search input{width:100%;min-height:44px;min-width:0;background:transparent;outline:none;color:var(--foreground);font-size:16px}.choice-panes{display:flex;flex-direction:column;flex:1 1 auto;height:min(380px,50dvh);min-height:0;overflow:hidden}.choice-tree{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);grid-template-rows:minmax(0,1fr);overflow:hidden}.choice-list{flex:1;min-width:0;min-height:0;overscroll-behavior:contain;overflow:auto;padding:0 12px 12px}.choice-tree .choice-list+.choice-list{border-left:1px solid var(--border)}.choice-list>button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border-radius:6px;text-align:left;font-size:15px;overflow-wrap:anywhere}.choice-list>button>span{flex:1}.choice-list>button>svg{flex-shrink:0}.choice-list>button:hover{background:var(--muted)}.choice-list>button[aria-pressed=true]{background:#e1f4f5;color:#087f8c;font-weight:600}.dark .choice-list>button[aria-pressed=true]{background:#16434a;color:#73d8df}.choice-state{padding:16px;color:var(--muted-foreground);font-size:14px}.choice-state button{margin-left:12px;text-decoration:underline}.choice-dialog>footer{flex-shrink:0;max-height:25dvh;overflow-y:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid var(--border)}.choice-selected{display:flex;flex:1;flex-wrap:wrap;gap:6px}.choice-selected button{display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--border);border-radius:6px;font-size:13px}.choice-done{padding:8px 18px;border-radius:8px;background:#087f8c;color:white}.choice-dialog button:focus-visible,.choice-trigger:focus-visible{outline:2px solid #087f8c;outline-offset:2px}@media (max-width:600px){.choice-dialog{width:100%;max-height:85dvh;margin:auto 0 0;border-radius:16px 16px 0 0}.choice-tree{grid-template-columns:1fr 1.2fr}}