/* Inner screens extend AutoClaw's Inter, white cards and yellow actions. */
.mx-customer-dialog{width:min(580px,100vw);height:min(860px,100dvh);max-width:100vw;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:22px;background:#f2f5fa;color:#0f1014;font:15px Inter,system-ui;overflow:hidden}
.mx-customer-dialog::backdrop{background:rgba(15,23,42,.45)}
.mx-customer-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.mx-customer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:18px 20px;border-bottom:1px solid #eceef1;flex:none}
.mx-customer-head h1{font-size:21px;margin:0}.mx-customer-head button{width:44px;height:44px;border-radius:50%;background:#f2f5fa;font-size:25px}
.mx-customer-body{overflow:auto;min-height:0;flex:1;padding:20px;overscroll-behavior:contain}.mx-customer-body h2{font-size:20px;margin:0 0 12px}
.mx-customer-body p{line-height:1.5}.mx-customer-card{background:#fff;border:1px solid #eceef1;padding:16px;border-radius:16px;margin-bottom:14px;overflow-wrap:anywhere}
.mx-customer-dialog label{display:block;margin:14px 0 6px}.mx-customer-dialog input:not([type=checkbox]),.mx-customer-dialog select,.mx-customer-dialog textarea{font:inherit;display:block;width:100%;min-width:0;padding:13px;border:1px solid #ccd1db;border-radius:12px;background:#fff;color:#0f1014}
.mx-customer-dialog textarea{min-height:80px;resize:vertical}.mx-customer-dialog button{font:inherit;cursor:pointer;min-height:44px}.mx-customer-dialog button:disabled{opacity:.5;cursor:not-allowed}
.mx-customer-primary,.mx-customer-secondary{display:block;width:100%;padding:14px 18px;border-radius:13px;font-weight:700;margin-top:12px}.mx-customer-primary{background:#ffd21f;color:#101114}.mx-customer-secondary{background:#fff;border:1px solid #ccd1db}
.mx-customer-dialog :focus-visible{outline:3px solid #1769ff;outline-offset:2px}.mx-customer-status{color:#575f70;margin-top:12px}.mx-customer-error{color:#a01827}.mx-customer-check{display:flex!important;gap:10px;align-items:flex-start;line-height:1.5}.mx-customer-check input{width:20px;height:20px;flex:none;accent-color:#ffd21f}.mx-customer-dialog a{color:#075ad4;text-decoration:underline}
.mx-customer-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mx-customer-tabs button{padding:9px 13px;border:1px solid #ccd1db;border-radius:12px;background:#fff}.mx-customer-tabs button[aria-pressed=true]{background:#ffd21f;border-color:#ffd21f}
.mx-customer-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mx-customer-meta{color:#646e80;font-size:13px}.mx-customer-amount{font-size:20px;font-weight:800}.mx-customer-list{list-style:none;padding:0;margin:0}.mx-customer-list li{margin:10px 0}.mx-customer-dialog dl{margin:0}.mx-customer-dialog dt{color:#646e80;margin-top:12px}.mx-customer-dialog dd{margin:4px 0;font-weight:600}.mx-customer-dialog pre{white-space:pre-wrap;word-break:break-word;font:inherit}
body.mbx-customer-open{overflow:hidden}
.mx-customer-body [data-archive-player],.mx-customer-body [data-archive-video]{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;object-fit:contain;border-radius:12px}
@media(max-width:599px){.mx-customer-dialog{width:100vw;height:100dvh;border-radius:0}.mx-customer-head{padding-top:calc(12px + env(safe-area-inset-top));padding-left:16px;padding-right:16px}.mx-customer-body{padding:16px 16px calc(16px + env(safe-area-inset-bottom))}}
@media(max-height:450px){.mx-customer-dialog{height:100dvh;border-radius:0}.mx-customer-head{padding:6px 16px}.mx-customer-body{padding:12px 16px}}
