/* Integration-only styles: no dashboard or shared component overrides. */
#mlIntegration{font-family:Montserrat,Arial,sans-serif;min-width:0}
#nav .ml-menu-icon{width:30px;height:22px;object-fit:contain;flex-shrink:0}
#nav .ml-crown{color:#ffd600;font-size:14px;margin-left:auto}
.ml-heading{display:flex;gap:12px;align-items:center;margin-bottom:20px}.ml-heading img{width:64px;height:44px;object-fit:contain}.ml-heading h2{margin:0;font-size:clamp(20px,3vw,28px)}
.ml-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ml-panel{border:1px solid #b99a38;border-radius:18px;padding:22px;background:linear-gradient(135deg,#111b35,#111322);color:#fff;box-shadow:0 8px 24px #0003;min-width:0}.ml-panel h3{margin:0 0 16px}.ml-panel p,.ml-panel small{color:#d0d6e8;line-height:1.6}.ml-panel label{display:block;margin:12px 0;font-size:14px}.ml-panel input:not([type=checkbox]),.ml-panel select{box-sizing:border-box;width:100%;min-height:44px;background:#1a2440;color:#fff;border:1px solid #596687;border-radius:10px;padding:10px;font:inherit}.ml-panel input[type=checkbox]{width:18px;height:18px;accent-color:#ffd600;vertical-align:middle;margin-right:8px}.ml-panel .btn{min-height:44px;white-space:normal}.ml-panel .btn.primary{background:#ffd600;color:#080b13;border-color:#ffd600;box-shadow:0 0 14px #ffd60025}.ml-panel :focus-visible{outline:3px solid #d946ef;outline-offset:3px}.ml-panel button:disabled{opacity:.55;cursor:not-allowed}.ml-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ml-status{display:inline-block;border:1px solid #9868c7;background:#33204a;color:#eee1ff;padding:6px 12px;border-radius:20px;font-size:12px}.ml-wide{grid-column:1/-1}.ml-lock{color:#ffd600;font-weight:700}.ml-description{max-width:70ch}.ml-line{border-top:1px solid #ffffff20;padding:14px 0;overflow-wrap:anywhere}.ml-line strong{display:block}.ml-line .btn{margin-top:8px}.ml-stock-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}.ml-note{padding:12px;border-left:3px solid #9333ea;background:#241735;border-radius:6px}.ml-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ml-form .ml-actions{align-self:end;margin-bottom:12px}.ml-panel ul{padding-left:20px}.ml-meta{display:grid;gap:8px;font-size:14px}.ml-meta span{overflow-wrap:anywhere}#mlFeedback{min-height:24px;margin:12px 0;color:inherit}.ml-progress{color:#ffd600}
@media(max-width:760px){.ml-grid,.ml-form{grid-template-columns:1fr}.ml-panel{padding:16px}.ml-actions .btn{flex:1 1 160px}.ml-heading{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){#mlIntegration *{transition:none!important;animation:none!important}}
/* Original official asset: frame only the handshake, without changing the artwork. */
#nav .ml-menu-icon,.ml-heading img{object-fit:cover;object-position:left}
@media(max-width:700px){.app-sidebar #nav{grid-template-columns:repeat(5,minmax(0,1fr))}.app-sidebar #nav button[data-tab=mlIntegration]{position:relative}.app-sidebar #nav button[data-tab=mlIntegration]>span:not(.ml-crown){font-size:9px;line-height:1.1}.app-sidebar #nav .ml-menu-icon{width:24px;height:16px}.app-sidebar #nav .ml-crown{position:absolute;right:2px;top:2px;font-size:10px}}
#nav button[data-tab=mlIntegration]{white-space:normal;min-width:0;gap:8px}
#nav button[data-tab=mlIntegration]>span:not(.ml-crown){width:auto;flex:1;text-align:left;font-size:13px;line-height:1.35}
#nav button[data-tab=mlIntegration]>.ml-crown{width:auto;flex:none;font-size:14px}
@media(max-width:700px){#appShell .app-sidebar #nav{grid-template-columns:repeat(5,minmax(0,1fr))}#nav button[data-tab=mlIntegration]{gap:2px}#nav button[data-tab=mlIntegration]>span:not(.ml-crown){font-size:9px;text-align:center;line-height:1.1;flex:0}#nav button[data-tab=mlIntegration]>.ml-crown{font-size:9px}}
