.choice-dialog{width:min(48rem,calc(100% - 1rem));max-height:calc(100dvh - 1rem);padding:0;border:1px solid var(--rule-2,#7d817a);border-radius:8px;background:var(--plate,var(--panel,#fff));color:var(--ink,var(--text,#161816));overflow:hidden}
.choice-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.choice-dialog .sm-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-bottom:1px solid var(--rule,#7d817a)}
.choice-dialog h2{font-size:1.25rem;margin:0}.choice-dialog h3{font-size:1rem;margin:0}
.choice-body{padding:1rem;overflow:auto;min-height:0}.choice-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}
.choice-form label{display:grid;gap:.5rem;min-width:0}.choice-form :is(input,select){min-width:0;width:100%;min-height:2.75rem;font:inherit;padding:.5rem;border:1px solid var(--rule-2,#7d817a);border-radius:6px;background:var(--field,var(--panel,#fff));color:inherit}
.choice-dialog button{min-height:2.75rem;max-width:100%;white-space:normal;overflow-wrap:anywhere}.choice-dialog .ui-icon,#routeChoiceBudget .ui-icon{width:1.125rem;height:1.125rem;fill:none;stroke:currentColor;flex:none}
.choice-output{display:grid;gap:1rem}.choice-item{border-block-start:1px solid var(--rule,#7d817a);padding-block:1rem}.choice-item dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;margin:1rem 0 0}.choice-item :is(dt,dd){overflow-wrap:anywhere}.choice-item dd{margin:.3rem 0 0;font-variant-numeric:tabular-nums}.choice-error{color:var(--alert,#b93a0b)}
