.dex-drawer[hidden] {display:none;}
.dex-mobile-open {display:none;}
.dex-mode-status {display:block;font-size:11px;color:#56724b;margin:8px 0;}
.dex-response-notice {padding:10px 12px;margin:10px 0;border-left:2px solid #ab9b72;background:#f0eee3;font-size:11px;line-height:1.6;color:#655c47;}
.dex-evidence {margin-top:12px;border-top:1px solid #dce3d5;padding-top:8px;}
.dex-evidence summary {cursor:pointer;font-size:11px;min-height:36px;display:list-item;align-content:center;color:#456548;}
.dex-evidence .dex-cite {display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:8px;}
.dex-evidence .dex-cite a {white-space:normal;line-height:1.5;}
.dex-conversation-options {position:relative;}
.dex-conversation-options summary {list-style:none;cursor:pointer;width:44px;min-height:44px;display:grid;place-items:center;border-radius:6px;font-size:21px;}
.dex-conversation-options summary::-webkit-details-marker {display:none;}
.dex-conversation-options[open] summary {background:#e5ebdf;}
.dex-conversation-options #dexForget {position:absolute;right:0;top:48px;z-index:2;width:190px;background:#fff;border:1px solid #dce3d5;padding:12px;box-shadow:0 5px 20px #203c3220;}
.dex-drawer-content .dhead a[href="#/overlay"], .dex-drawer-content .dhead a[href="#/deal-controls"] {display:none;}
.dex-drawer {position:fixed;inset:0 0 0 auto;width:440px;max-width:100%;height:100dvh;z-index:45;background:#f4f5f0;border-left:1px solid #ced9c6;box-shadow:-12px 0 40px #203c3210;display:flex;flex-direction:column;color:#203c32;}
.dex-drawer-header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px;border-bottom:1px solid #dce3d5;background:#edf1e7;}
.dex-drawer-header strong {font-size:19px;}
.dex-drawer-header p {font-size:12px;color:#60735d;margin:7px 0 0;overflow-wrap:anywhere;}
.dex-drawer-header button {min-width:44px;min-height:44px;background:transparent;border:0;border-radius:8px;color:inherit;font-size:27px;cursor:pointer;}
.dex-drawer-content {padding:20px;flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;}
.dex-drawer-content .dhead {margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;}
.dex-drawer-content .dhead .k {width:100%;}
.dex-drawer-content .dhead .dex-mode-status {flex:1;}
.dex-drawer-content .dhead h1 {display:none;}
.dex-drawer-content .dhead p {display:none;}
.dex-drawer-content .dhead .btn {background:transparent;border:0;padding:6px 8px;min-height:36px;font-size:11px;color:#315443;}
.dex-drawer-content .dex-form {display:flex;flex-wrap:wrap;gap:8px;}
.dex-drawer-content .dex-form label:not(.v2-sr-only) {flex-basis:100%;font-size:11px;color:#60735d;}
.dex-drawer-content .dex-form select {min-width:0;flex:1;width:0;max-width:100%;min-height:44px;}
.dex-drawer-content .dex-form .btn {min-height:44px;}
.dex-drawer-content #dexForget {font-size:12px;justify-content:flex-start;}
.dex-drawer-content .dex-log {flex:1;min-height:180px;max-height:none;overflow-y:auto;overscroll-behavior:contain;margin:14px 0;padding:0 3px 0 0;}
.dex-drawer-content .dex-m {max-width:100%;overflow-wrap:anywhere;}
.dex-drawer-content .dex-m p {font-size:13px;line-height:1.7;white-space:pre-wrap;}
.dex-drawer-content .dex-m b {font-size:11px;}
.dex-drawer-content #dexForm {flex-wrap:nowrap;margin:0;}
.dex-drawer-content #dexQ {min-width:0;width:0;flex:1;min-height:48px;font-size:16px;}
.dex-drawer-content .dex-watch-hint {font-size:10px;line-height:1.6;color:#667a60;}
.dex-drawer-content #dexError:empty {display:none;}
.dex-drawer-content .empty {font-size:13px;padding:28px 12px;}
.dex-drawer-header button:focus-visible {outline:2px solid #244b3c;outline-offset:2px;}
@media(min-width:1250px) {.dex-drawer-open .v2-main {margin-right:440px;}}
@media(max-width:600px) {
  .dex-drawer {width:100%;}
  .dex-drawer-header {padding:12px 16px;}
  .dex-drawer-content {padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));}
  .dex-drawer-content .dhead p {display:none;}
}
@media(max-width:900px) {
  .dex-mobile-open:not([hidden]) {display:block;position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:40;min-height:48px;padding:12px 20px;border:1px solid #cde2a8;border-radius:24px;background:#244b3c;color:#eff4e5;font:600 14px var(--sans);box-shadow:0 4px 20px #203c3220;cursor:pointer;}
  .v2-app-footer {padding-bottom:80px;}
}
