/* Dragon case workstation v0.7.24.31: strong hierarchy, privacy, and accessible responsive layout */
body.dg2431-modal-open{overflow:hidden}
#dg2431Tool{border:1px solid rgba(72,162,208,.45);border-radius:8px;font-weight:700}
.dg2431-overlay[hidden]{display:none!important}
.dg2431-overlay{position:fixed;inset:0;z-index:2147482600;display:grid;place-items:center;color:#e8eff8;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
.dg2431-backdrop{position:absolute;inset:0;background:rgba(3,9,21,.84);backdrop-filter:blur(5px)}
.dg2431-dialog{position:relative;display:flex;flex-direction:column;width:min(1500px,calc(100vw - 28px));height:min(95vh,1020px);min-height:360px;overflow:hidden;background:#0e192b;border:1px solid #34506a;border-radius:16px;box-shadow:0 40px 130px rgba(0,0,0,.65);color:#e8eff8}
.dg2431-dialog *{box-sizing:border-box}
.dg2431-dialog button,.dg2431-dialog select,.dg2431-dialog textarea{font:inherit}
.dg2431-dialog button{cursor:pointer;border:1px solid #365d79;border-radius:8px;background:#193550;color:#f1f8ff;padding:8px 12px;font-size:13px;font-weight:650}
.dg2431-dialog button:disabled{opacity:.4;cursor:not-allowed}
.dg2431-dialog button:hover:not(:disabled){background:#275078}
.dg2431-dialog :is(button,textarea,select):focus-visible{outline:3px solid #a1d8ff;outline-offset:2px}
.dg2431-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 20px;background:#14243c;border-bottom:1px solid #314d6a}
.dg2431-head h2{margin:2px 0 4px!important;color:#fff;font-size:clamp(19px,2vw,25px);line-height:1.2}
.dg2431-head small{font-size:10px;letter-spacing:.12em;font-weight:750;color:#8ccff2}
.dg2431-head p{margin:0!important;font-size:12px;color:#b1c6dc}
.dg2431-head [data-dg2431-close]{width:35px;height:35px;padding:5px;flex:none}
.dg2431-top{display:flex;align-items:end;flex-wrap:wrap;gap:18px;padding:12px 20px 10px;border-bottom:1px solid #29415a;background:#101f32}
.dg2431-top>div:not(.dg2431-control){display:grid;gap:2px}
.dg2431-top small,.dg2431-dialog label{font-size:11px;color:#9ec3db}
.dg2431-top strong{font-size:15px;font-weight:750}
.dg2431-control{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.dg2431-dialog select,.dg2431-dialog textarea{background:#0b1627;color:#eef5ff;border:1px solid #3b5772;border-radius:7px;padding:8px;max-width:100%}
.dg2431-control label{display:grid;gap:4px}
.dg2431-control select{min-width:165px}
.dg2431-banner{margin:0!important;padding:9px 20px;background:#182a40;color:#b7d8ea;font-size:12px;line-height:1.4;border-bottom:1px solid #2b4562}
.dg2431-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px 20px;overflow:auto;flex:1 1 48%;min-height:230px;align-content:start}
.dg2431-card{background:#15263b;border:1px solid #2e4c69;border-radius:10px;min-width:0;overflow:hidden;display:grid;align-content:start}
.dg2431-card.is-selected{border-color:#7fd1ff;box-shadow:inset 0 0 0 1px #7fd1ff}
.dg2431-card header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;background:#192e46}
.dg2431-card header small{font-size:10px;color:#91bed6;letter-spacing:.08em;font-weight:700}
.dg2431-card h3{font-size:14px;margin:3px 0 0!important;color:#fff;line-height:1.2;overflow-wrap:anywhere}
.dg2431-card header button{flex:none}
.dg2431-media{background:#040a14;height:clamp(150px,20vh,235px);display:grid;place-items:center}
.dg2431-media video{display:block;max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain}
.dg2431-missing{padding:12px;text-align:center;color:#b6c5d6;font-size:13px}
.dg2431-card footer{display:flex;flex-wrap:wrap;gap:5px 12px;padding:8px 11px!important;font-size:11px;color:#b0c6da}
.dg2431-card footer>*{min-width:0;overflow-wrap:anywhere}.dg2431-card code{font-size:11px;color:#95d8ff}
.dg2431-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;flex:1 1 31%;min-height:210px;overflow:auto;border-top:1px solid #34516d;padding:12px 20px 14px;background:#102034}
.dg2431-bottom section{min-width:0;overflow:auto}
.dg2431-bottom h3{margin:0 0 5px!important;font-size:15px;color:#fff}
.dg2431-bottom section>p{font-size:12px;color:#b7c9db;margin:2px 0 10px!important}
.dg2431-fields{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}.dg2431-fields label{display:grid;gap:3px;flex:1;min-width:160px}
.dg2431-dialog output{padding:9px 0;color:#f1f8ff;font-size:12px;font-weight:600}
.dg2431-bottom form>label{display:grid;gap:4px}.dg2431-bottom textarea{width:100%;resize:vertical;min-height:58px;font-size:13px}
.dg2431-hint{font-size:11px!important;color:#a7bccc!important;line-height:1.3}
.dg2431-bottom form>button{margin:6px 0 9px}.dg2431-bottom pre{white-space:pre-wrap;overflow:auto;max-height:300px;padding:10px;background:#091728;border:1px solid #28435d;font-size:11px}
.dg2431-notes{list-style:none;margin:0;padding:0;display:grid;gap:7px}.dg2431-notes li{background:#172c43;border:1px solid #31506a;border-radius:8px;padding:9px 10px;font-size:12px}
.dg2431-notes li>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.dg2431-notes span{color:#a6c7dc}.dg2431-notes p{margin:4px 0 0!important;white-space:pre-wrap;overflow-wrap:anywhere}
.dg2431-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:9px 20px!important;border-top:1px solid #34516c;background:#14253b;flex-wrap:wrap}
.dg2431-foot span{margin-right:auto;font-size:11px;color:#a8c0d2;line-height:1.3}
.dg2431-loading,.dg2431-error,.dg2431-empty,.dg2431-warning{margin:12px 20px;padding:16px;background:#182d47;border:1px solid #45617f;border-radius:9px;color:#dcecf8;font-size:13px}
.dg2431-error{border-color:#bd6771;color:#ffe4e7}
@media(max-width:740px){.dg2431-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.dg2431-head{padding:12px}.dg2431-top{padding:10px 12px;gap:10px}.dg2431-control{margin-left:0;width:100%}.dg2431-banner{padding:8px 12px}.dg2431-grid{grid-template-columns:1fr;padding:10px 12px;min-height:190px}.dg2431-media{height:180px}.dg2431-bottom{grid-template-columns:1fr;padding:10px 12px}.dg2431-foot{padding:8px 12px!important}.dg2431-foot span{flex-basis:100%}}
@media(max-height:650px) and (min-width:741px){.dg2431-media{height:140px}.dg2431-head{padding:9px 15px}.dg2431-grid{min-height:155px}.dg2431-bottom{min-height:145px}}
