.tc-exchange dialog { color: #131313; border: 1px solid #eee; border-radius: 16px; background: white; padding: 20px; max-width: calc(100vw - 32px); }
.tc-exchange dialog::backdrop { background: rgb(0 0 0 / 25%); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.dialog-heading h2 { margin: 0; font-size: 20px; font-weight: 600; }
.token-dialog { width: 400px; height: min(700px, calc(100dvh - 32px)); }
.token-search { display: block; width: 100%; border: 1px solid #e4e4e4; border-radius: 14px; padding: 14px; color: #131313; background: white; }
.token-network { margin: 16px 0; color: #6b6b6b; font-size: 12px; }
.token-results { overflow-y: auto; max-height: calc(100% - 158px); margin: 0 -8px; }
.tc-exchange .token-result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 10px 8px; border: 0; border-radius: 12px; text-align: left; background: white; color: #131313; }
.tc-exchange .token-result:hover, .token-result:focus { background: #f7f7f7; }
.token-result img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.token-result-copy { min-width: 0; display: grid; }
.token-result-copy strong { font-size: 16px; font-weight: 600; }
.token-result-copy small { font-size: 12px; color: #767676; overflow-wrap: anywhere; }
.token-result-copy .token-address { font-size: 10px; margin-top: 2px; }
.token-restricted { margin-left: auto; padding: 3px 5px; border-radius: 5px; color: #7a536e; background: #faf0f7; font-size: 10px; }
.token-empty { color: #767676; font-size: 14px; padding: 16px 4px; }
.settings-dialog { width: 340px; margin-top: 180px; margin-right: max(16px, calc((100vw - 480px) / 2)); font-size: 14px; }
.settings-dialog fieldset { padding: 0; border: 0; margin: 0 0 22px; }
.settings-dialog legend { padding: 0; margin-bottom: 12px; }
.slippage-options { display: flex; gap: 8px; }
.slippage-options button { flex: 1; border: 1px solid #eee; border-radius: 12px; padding: 10px 5px; color: #666; background: white; }
.slippage-options [aria-pressed="true"] { color: #a30c75; border-color: #efc8e4; background: #fff0fb; }
.deadline-setting { display: flex; justify-content: space-between; gap: 12px; }
.settings-dialog p { color: #767676; font-size: 12px; }
.navigation-dialog { width: 340px; margin-top: 72px; margin-right: 16px; }
.navigation-dialog nav { display: grid; }
.navigation-dialog nav a { padding: 12px 4px; }
.navigation-dialog [aria-current] { color: #ae157f; font-weight: 600; }
@media (max-width: 600px) { .settings-dialog { margin-top: 140px; } }
