:root { --mdm-ink: #17384b; --mdm-muted: #667c8b; --mdm-line: #dde7ec; --mdm-green: #07876f; --mdm-canvas: #f3f7f9; }
body.mdm-shell, body.mdm-auth { color: var(--mdm-ink); background: var(--mdm-canvas); font-family: Nunito, system-ui, -apple-system, sans-serif; }
.mdm-shell #wrapper { min-height: 100vh; }
.mdm-shell #content-wrapper { background: transparent; min-height: 100vh; }
.mdm-shell #content { flex: 1; }
.mdm-topbar { background: #fff; border-bottom: 1px solid var(--mdm-line); padding: 17px 32px; display: flex; align-items: center; gap: 24px; }
.mdm-brand, .mdm-login-brand { display: flex; align-items: center; gap: 12px; color: var(--mdm-ink); font-weight: 900; font-size: 23px; letter-spacing: .07em; text-decoration: none !important; flex-shrink: 0; }
.mdm-brand img, .mdm-login-brand img { width: 38px; height: 42px; object-fit: contain; }
.mdm-brand-caption { display: block; color: var(--mdm-muted); font-size: 10px; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; margin-top: -2px; }
.mdm-navigation { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.mdm-nav-button, .mdm-icon-button { background: transparent; border: none; color: #4e6574; padding: 10px 12px; border-radius: 9px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.mdm-nav-button i { margin-right: 7px; color: #8296a1; }
.mdm-nav-button:hover, .mdm-icon-button:hover { color: var(--mdm-green); background: #edf7f4; }
.mdm-topbar-tools { display: flex; align-items: center; gap: 5px; border-left: 1px solid var(--mdm-line); padding-left: 16px; }
.mdm-box-label { font-size: 11px; font-weight: 800; background: #f0f5f7; padding: 7px 9px; border-radius: 6px; }
.mdm-shell .btn, .mdm-auth .btn { font-weight: 800; border-radius: 8px; font-size: 13px; padding: 10px 15px; }
.mdm-shell .btn-primary, .mdm-auth .btn-primary { background: var(--mdm-green) !important; border-color: var(--mdm-green); box-shadow: 0 3px 7px #07876f14; }
.mdm-shell .btn-primary:hover, .mdm-auth .btn-primary:hover { background: #056d5a !important; border-color: #056d5a; }
.mdm-shell .btn-secondary { background: #edf2f5; color: #415b6b; border-color: #e3eaee; }
.mdm-shell .form-control, .mdm-auth .form-control { border-radius: 8px; border-color: #d4e0e6; color: var(--mdm-ink); }
.mdm-shell .form-control:focus, .mdm-auth .form-control:focus { border-color: var(--mdm-green); box-shadow: 0 0 0 .18rem #07876f18; }
.mdm-shell button:focus-visible, .mdm-shell a:focus-visible { outline: 3px solid #83cabb; outline-offset: 3px; }
.mdm-workspace { max-width: 1480px; margin: 0 auto; padding: 35px 42px 40px; }
.mdm-page-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.mdm-eyebrow { display: block; font-size: 10px; text-transform: uppercase; font-weight: 900; letter-spacing: .13em; color: var(--mdm-green); margin-bottom: 9px; }
.mdm-page-header h1 { font-size: 30px; letter-spacing: -.04em; font-weight: 900; margin: 0 0 8px; }
.mdm-page-header p { color: var(--mdm-muted); font-size: 13px; margin: 0; }
.mdm-profile-selector { min-width: 240px; max-width: 400px; }
.mdm-profile-selector label { font-size: 11px; color: var(--mdm-muted); font-weight: 800; margin: 0 0 6px; }
.mdm-profile-selector .dropdown-toggle { color: var(--mdm-ink); text-align: left; width: 100%; border: 1px solid #d4e0e6; background: #fff; padding: 13px 16px; }
.mdm-shell .dropdown-menu { border: 1px solid var(--mdm-line); border-radius: 10px; box-shadow: 0 12px 35px #17384b16; padding: 8px; max-height: 65vh; overflow-y: auto; }
.mdm-shell .dropdown-item { border-radius: 5px; font-size: 13px; padding: 10px; }
.mdm-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 25px; align-items: start; }
.mdm-panel { background: #fff; border: 1px solid var(--mdm-line); border-radius: 15px; padding: 25px; box-shadow: 0 5px 18px #17384b04; min-width: 0; }
.mdm-panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.mdm-panel-heading h2 { font-size: 18px; letter-spacing: -.025em; font-weight: 900; margin: 0; }
.mdm-panel-heading .mdm-eyebrow { font-size: 9px; margin-bottom: 6px; }
.mdm-panel-icon { border-radius: 10px; background: #edf6f3; color: var(--mdm-green); width: 40px; height: 40px; display: grid; place-items: center; }
.mdm-muted { color: var(--mdm-muted); font-size: 12px; line-height: 1.7; }
.mdm-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 15px; margin: 24px 0; }
.mdm-app-card, .mdm-app-add { position: relative; border: 1px solid #e3ebef; border-radius: 12px; min-height: 165px; padding: 21px 12px 17px; text-align: center; background: #fff; color: var(--mdm-ink); transition: border-color .15s, box-shadow .15s; }
.mdm-app-card:hover { border-color: #abd5cc; box-shadow: 0 6px 16px #17384b08; }
.mdm-app-inspect { display: block; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
.mdm-app-inspect:focus-visible { outline: 3px solid #248b75; outline-offset: 5px; border-radius: 8px; }
.mdm-app-action-choices { display: grid; gap: 12px; margin: 20px 0; }
.mdm-tablet-actions { white-space: nowrap; }
.mdm-tablet-actions .mdm-icon-button { width: 32px; height: 32px; }
.mdm-icon-button:disabled { opacity: .38; cursor: not-allowed; }
.mdm-fleet-menu .dropdown-item { padding: 12px 18px; font-size: 13px; }
.mdm-app-art { display: grid; place-items: center; height: 66px; margin: 0 auto 14px; }
.mdm-app-art img { width: 56px; height: 56px; object-fit: contain; border-radius: 11px; }
.mdm-app-art.is-web { font-size: 38px; color: #427993; }
.mdm-app-card h3 { font-size: 12px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 0 6px; }
.mdm-app-type { display: block; font-size: 10px; color: #7c909b; }
.mdm-app-type.is-warning { color: #a36b19; }
.mdm-app-remove { position: absolute; top: 6px; right: 6px; padding: 6px; width: 29px; height: 29px; background: transparent; border: 0; border-radius: 6px; color: #8d9fa9; font-size: 11px; }
.mdm-app-remove:hover, .mdm-app-remove:focus { color: #b84145; background: #fff0f0; }
.mdm-app-add { border: 1px dashed #a9cec5; background: #f6fbf9; display: flex; align-items: center; flex-direction: column; justify-content: center; }
.mdm-app-add span { width: 43px; height: 43px; border-radius: 12px; background: #e3f2ed; color: var(--mdm-green); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.mdm-app-add strong { font-size: 12px; }
.mdm-app-add small { color: var(--mdm-muted); font-size: 10px; margin-top: 5px; }
.mdm-app-add:hover { border-color: var(--mdm-green); background: #eef8f4; }
.mdm-panel-note { border-top: 1px solid #edf2f4; padding-top: 17px; display: flex; gap: 9px; align-items: start; font-size: 11px; color: #7a909d; line-height: 1.6; }
.mdm-panel-note i { margin-top: 3px; color: #6faca0; }
.mdm-policies { padding: 24px 20px 18px; }
.mdm-policy-list { margin: 20px -3px 10px; }
.mdm-policy { display: flex; align-items: center; width: 100%; gap: 12px; background: transparent; border: none; border-radius: 9px; text-align: left; padding: 10px 8px; color: var(--mdm-ink); }
.mdm-policy:hover { background: #f5f8fa; }
.mdm-policy-icon { width: 31px; height: 31px; background: #f1f5f7; border-radius: 8px; display: grid; place-items: center; color: #7f939e; font-size: 13px; flex-shrink: 0; }
.mdm-policy-label { font-weight: 800; font-size: 12px; }
.mdm-policy-label small { display: block; color: #7d909c; font-size: 10px; font-weight: 400; margin-top: 2px; }
.mdm-toggle { width: 28px; height: 16px; border-radius: 20px; background: #dae4e9; position: relative; margin-left: auto; flex-shrink: 0; }
.mdm-toggle::after { content: ''; width: 12px; height: 12px; border-radius: 50%; position: absolute; left: 2px; top: 2px; background: #fff; }
.mdm-policy.is-enabled .mdm-toggle { background: var(--mdm-green); }
.mdm-policy.is-enabled .mdm-toggle::after { left: 14px; }
.mdm-policy.is-enabled .mdm-policy-icon { background: #eaf6f1; color: var(--mdm-green); }
.mdm-netiful-settings { width: 100%; display: flex; align-items: center; gap: 11px; padding: 17px 7px 5px; border: 0; border-top: 1px solid var(--mdm-line); background: transparent; text-align: left; color: var(--mdm-ink); font-size: 12px; font-weight: 800; }
.mdm-netiful-settings img { width: 29px; height: 32px; object-fit: contain; }
.mdm-netiful-settings small { display: block; color: var(--mdm-muted); font-size: 10px; font-weight: 400; margin-top: 3px; }
.mdm-netiful-settings i { margin-left: auto; font-size: 10px; color: #8d9fa9; }
.mdm-footer { display: flex; justify-content: space-between; gap: 15px; padding: 20px 42px; font-size: 10px; color: #80939e; border-top: 1px solid #e1e9ed; }
.mdm-shell .modal-content { border: none; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 70px #17384b36; }
.mdm-shell .modal-header { padding: 21px 25px; border-bottom: 1px solid var(--mdm-line); background: #fff; }
.mdm-shell .modal-title { font-size: 17px; font-weight: 900; color: var(--mdm-ink); text-transform: none; }
.mdm-shell .modal-body { padding: 23px 25px; }
.mdm-shell .modal-footer { background: #fafcfd; padding: 15px 25px; border-top-color: var(--mdm-line); }
.mdm-tablet-dialog { max-width: min(1370px, calc(100vw - 48px)); }
.mdm-tablet-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 25px 14px; }
.mdm-tablet-toolbar label { margin: 0; font-size: 12px; width: 300px; max-width: 100%; }
.mdm-tablet-toolbar input { padding-left: 13px; font-size: 12px; height: 38px; }
.mdm-tablet-count { font-size: 11px; color: var(--mdm-muted); }
.mdm-tablet-scroll { overflow: auto; padding: 0 25px 10px; max-height: 68vh; }
.mdm-tablet-table { color: var(--mdm-ink); font-size: 12px; width: 100%; min-width: 1040px; margin: 0; }
.mdm-tablet-table thead th { background: #f2f6f8; color: #6b8190; font-size: 10px; font-weight: 900; border: none; white-space: nowrap; padding: 13px 11px; }
.mdm-tablet-table td { border-top: 1px solid #e6edf1; padding: 20px 11px; vertical-align: middle; }
.mdm-tablet-table td:first-child { text-align: left !important; min-width: 200px; }
.mdm-tablet-name { font-size: 13px; font-weight: 900; }
.mdm-tablet-detail { color: var(--mdm-muted); font-size: 10px; margin-top: 5px; }
.mdm-friendly-name { font-size: 11px; color: var(--mdm-green); margin-top: 7px; cursor: pointer; padding: 3px 0; }
.mdm-friendly-name:hover { text-decoration: underline; }
.mdm-friendly-name .input-group { min-width: 190px; }
.mdm-metric { font-size: 13px; font-weight: 800; white-space: nowrap; }
.mdm-meter { width: 85px; max-width: 100%; height: 4px; background: #e7eef2; border-radius: 4px; margin: 8px auto 0; overflow: hidden; }
.mdm-meter span { display: block; height: 100%; background: var(--mdm-green); }
.mdm-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; padding: 6px 8px; border-radius: 6px; white-space: nowrap; background: #f0f4f6; color: #718692; }
.mdm-badge.is-online { background: #e9f6ef; color: #1d8063; }
.mdm-badge.is-online::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #27a073; }
.mdm-tablet-note { color: var(--mdm-muted); font-size: 10px; margin: 5px 25px 20px; }
.mdm-tablet-delete { color: #899ca6; border: 1px solid #dde7ec; border-radius: 7px; background: white; height: 32px; width: 32px; }
.mdm-tablet-delete:hover:enabled { color: #b84145; background: #fff2f2; border-color: #e7b7bb; }
.mdm-tablet-delete:disabled { opacity: .4; }
.mdm-tablet-table td img { object-fit: contain; border-radius: 7px; }
.mdm-tablet-table td p { font-size: 10px !important; color: var(--mdm-muted); max-width: 130px; margin: 6px auto 0; }
.mdm-login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.mdm-login-story { padding: 55px 12%; background: #17384b; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; overflow: hidden; }
.mdm-login-story::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 1px solid #ffffff10; right: -320px; bottom: -250px; box-shadow: 0 0 0 80px #ffffff03, 0 0 0 160px #ffffff02; pointer-events: none; }
.mdm-login-brand { color: #fff; margin-bottom: 70px; }
.mdm-login-brand .mdm-brand-caption { color: #9cb7c5; }
.mdm-login-story .mdm-eyebrow { color: #64c8ae; }
.mdm-login-story h1 { font-size: clamp(32px, 3.8vw, 58px); font-weight: 900; letter-spacing: -.055em; line-height: 1.15; margin: 15px 0 24px; }
.mdm-login-story p { color: #b1c6d2; font-size: 14px; line-height: 1.9; max-width: 370px; }
.mdm-login-points { display: flex; flex-direction: column; gap: 16px; color: #c3d8e2; font-size: 12px; margin-top: 30px; }
.mdm-login-points i { color: #64c8ae; margin-right: 12px; }
.mdm-login-panel { padding: 70px max(35px, 13%); display: flex; flex-direction: column; justify-content: center; background: #fff; }
.mdm-login-logo { width: 220px; max-width: 100%; height: auto; margin-bottom: 45px; }
.mdm-login-panel h2 { font-size: 24px; font-weight: 900; letter-spacing: -.035em; }
.mdm-login-panel form { margin-top: 20px; }
.mdm-login-panel label { font-size: 12px; font-weight: 800; }
.mdm-login-panel .form-control { height: 48px; padding: 12px 14px; font-size: 13px; }
.mdm-login-panel .form-group { margin-bottom: 22px; }
.mdm-login-panel .btn { margin-top: 8px; height: 48px; }
.mdm-login-panel .btn i { margin-left: 14px; }
.mdm-login-panel footer { color: #91a1aa; font-size: 10px; margin-top: 55px; }
@media (min-width: 1600px) { .mdm-app-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
@media (max-width: 1199px) { .mdm-topbar { flex-wrap: wrap; padding: 15px 24px; gap: 15px; } .mdm-navigation { order: 3; width: 100%; justify-content: flex-start; border-top: 1px solid #edf2f4; padding-top: 12px; } .mdm-topbar-tools { margin-left: auto; } .mdm-workspace { padding: 28px 24px; } .mdm-dashboard-grid { grid-template-columns: minmax(0, 1fr) 305px; gap: 18px; } }
@media (max-width: 800px) { .mdm-dashboard-grid { grid-template-columns: 1fr; } .mdm-policy-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; } .mdm-page-header { align-items: flex-start; } .mdm-page-header h1 { font-size: 25px; } .mdm-profile-selector { min-width: 200px; } .mdm-login { grid-template-columns: 1fr; } .mdm-login-story { padding: 35px; } .mdm-login-brand { margin-bottom: 25px; } .mdm-login-story h1 { font-size: 36px; } .mdm-login-points { display: none; } .mdm-login-panel { padding: 40px 35px; } .mdm-login-logo { margin-bottom: 30px; } }
@media (max-width: 575px) { .mdm-topbar { padding: 13px 16px; } .mdm-brand { font-size: 20px; } .mdm-brand img { width: 30px; height: 35px; } .mdm-box-label { display: none; } .mdm-topbar-tools { border-left: 0; padding: 0; } .mdm-navigation { flex-wrap: wrap; gap: 5px; } .mdm-nav-button { padding: 10px 8px; font-size: 11px; } .mdm-navigation .btn { width: 100%; margin-top: 4px; } .mdm-workspace { padding: 24px 16px; } .mdm-page-header { flex-direction: column; gap: 19px; } .mdm-profile-selector { width: 100%; max-width: none; } .mdm-panel { padding: 20px 16px; } .mdm-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mdm-policy-list { grid-template-columns: 1fr; } .mdm-footer { flex-direction: column; padding: 20px 16px; gap: 5px; } .mdm-tablet-dialog { max-width: calc(100vw - 16px); margin: .5rem auto; } .mdm-tablet-toolbar { padding: 17px; flex-direction: column; align-items: flex-start; gap: 10px; } .mdm-tablet-scroll { padding: 0 16px 10px; } }
@media (prefers-reduced-motion: reduce) { .mdm-shell *, .mdm-auth * { scroll-behavior: auto !important; transition: none !important; } }

/* Virtual Android tablet: a configuration preview, never a fabricated live screen. */
.mdm-virtual-tablet { position: relative; width: 100%; padding: 27px 16px 30px; margin: 25px 0 24px; border: 2px solid #314554; border-radius: 32px; background: linear-gradient(145deg, #253947, #101f2b 56%, #1e3544); box-shadow: 0 17px 30px #17384b22, inset 0 1px 1px #ffffff35, inset 0 -1px 1px #00000070; }
.mdm-tablet-camera { position: absolute; width: 7px; height: 7px; top: 10px; left: calc(50% - 3px); border-radius: 50%; background: #071722; box-shadow: inset 0 0 0 2px #456070, 0 0 0 1px #ffffff0a; }
.mdm-tablet-camera::after { content: ''; position: absolute; width: 3px; height: 3px; top: 2px; left: 2px; border-radius: 50%; background: #7194a2; }
.mdm-tablet-screen { overflow: hidden; border: 1px solid #07141e; border-radius: 15px; background: radial-gradient(ellipse at 100% 0%, #daf1ec 0, transparent 58%), linear-gradient(155deg, #f4faf8, #edf4f7); min-height: 395px; box-shadow: inset 0 1px 4px #17384b10; }
.mdm-tablet-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 17px; border-bottom: 1px solid #17384b0c; font-size: 9px; font-weight: 900; color: #548278; background: #ffffff5e; }
.mdm-tablet-status span:first-child { flex-shrink: 0; }
.mdm-tablet-status i { margin-right: 5px; }
.mdm-tablet-profile-name { color: #728996; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdm-virtual-tablet .mdm-app-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 12px; padding: 21px 16px; margin: 0; min-height: 300px; max-height: 510px; overflow-y: auto; align-content: start; scrollbar-color: #b5cfc7 transparent; }
.mdm-virtual-tablet .mdm-app-card, .mdm-virtual-tablet .mdm-app-add { min-height: 148px; border-radius: 13px; border-color: #dce8e6; background: #ffffffcf; padding: 19px 10px 13px; }
.mdm-virtual-tablet .mdm-app-card:hover { background: #fff; border-color: #80baa9; transform: translateY(-2px); }
.mdm-virtual-tablet .mdm-app-art { height: 53px; margin-bottom: 12px; }
.mdm-virtual-tablet .mdm-app-art img { width: 47px; height: 47px; }
.mdm-virtual-tablet .mdm-app-art.is-web { font-size: 32px; }
.mdm-virtual-tablet .mdm-app-add { border-style: dashed; background: #e9f5ef8a; }
.mdm-virtual-tablet .mdm-app-add span { width: 37px; height: 37px; margin-bottom: 10px; }
.mdm-virtual-tablet .mdm-app-remove { color: #728a94; }
.mdm-tablet-screen-note { padding: 11px 16px; border-top: 1px solid #17384b0a; color: #7b939c; font-size: 9px; text-align: center; background: #ffffff52; }
.mdm-tablet-screen-note i { margin-right: 5px; }
.mdm-tablet-home { position: absolute; width: 48px; height: 4px; bottom: 12px; left: calc(50% - 24px); border-radius: 6px; background: #6b828e; }

/* Shared dialog design covers existing navbar dialogs without changing their contracts. */
.mdm-shell .modal-backdrop { background: #102a3b; }
.mdm-shell .modal-backdrop.show { opacity: .55; }
.mdm-shell .modal-dialog { margin-top: min(5vh, 35px); margin-bottom: min(5vh, 35px); }
.mdm-shell .modal-content { display: flex; flex-direction: column; max-height: calc(100vh - 70px); border-radius: 18px; border: 1px solid #ffffff55; }
.mdm-shell .modal-header { align-items: center; flex-shrink: 0; padding: 23px 27px 20px; }
.mdm-shell .modal-header .mdm-eyebrow { margin-bottom: 5px; font-size: 9px; }
.mdm-shell .modal-title { font-size: 20px; letter-spacing: -.025em; line-height: 1.3; }
.mdm-shell .modal-header .close { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; border-radius: 9px; background: #f0f5f7; padding: 0; margin: 0 0 0 16px; opacity: 1; color: #6d8390; font-size: 25px; font-weight: 400; }
.mdm-shell .modal-header .close:hover { background: #e2eeea; color: #087961; }
.mdm-shell .modal-body { min-height: 0; overflow-y: auto; padding: 23px 27px 26px; }
.mdm-shell .modal-footer { flex-shrink: 0; padding: 16px 27px; gap: 8px; }
.mdm-shell .modal-footer > * { margin: 0; }
.mdm-shell .modal-footer .btn { min-height: 42px; }
.mdm-shell .modal label { display: block; font-size: 12px; font-weight: 800; color: #355568; margin-bottom: 8px; }
.mdm-shell .modal .form-control { min-height: 43px; font-size: 13px; }
.mdm-shell .modal .form-text { font-size: 11px; line-height: 1.7; }
.mdm-modal-intro { color: var(--mdm-muted); font-size: 13px; line-height: 1.8; margin: 0 0 24px; max-width: 690px; }
.mdm-modal-form { max-width: 550px; margin: 0 auto; padding: 10px 0; }
.mdm-modal-form .form-group { margin-bottom: 23px; }
.mdm-file-input { height: auto; padding: 9px; }
.mdm-file-input::file-selector-button { background: #e8f3ed; color: #08765e; border: 0; border-radius: 6px; padding: 8px 10px; margin-right: 12px; font-weight: 800; }
.mdm-upload-status { padding: 14px; background: #e9f6ef; border-radius: 9px; color: #187c60; font-size: 12px; }
.mdm-choice-dialog .modal-dialog { max-width: 940px; }
.mdm-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.mdm-choice-card { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; border: 1px solid #dce7ec; border-radius: 14px; background: #fff; text-align: left; padding: 23px 21px; color: var(--mdm-ink); min-width: 0; }
.mdm-choice-card:hover, .mdm-choice-card:focus-visible { background: #f6fbf9; border-color: #83bbae; box-shadow: 0 7px 22px #17384b0a; }
.mdm-choice-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 12px; font-size: 21px; background: #e5f3ed; color: #128467; flex-shrink: 0; }
.mdm-choice-icon.is-blue { background: #e9f1fa; color: #3974a2; }
.mdm-choice-icon.is-violet { background: #f0ecf9; color: #7b64a5; }
.mdm-choice-card strong { font-size: 15px; font-weight: 900; }
.mdm-choice-card > span:not(.mdm-choice-icon) { color: var(--mdm-muted); font-size: 12px; line-height: 1.7; }
.mdm-choice-card small { color: var(--mdm-green); font-weight: 900; font-size: 11px; margin-top: auto; }
.mdm-choice-card small i { margin-left: 6px; }
.mdm-policy-dialog .modal-dialog { max-width: 550px; }
.mdm-confirmation { text-align: center; padding: 9px 12px 0; }
.mdm-confirmation-icon { display: grid; place-items: center; width: 63px; height: 63px; border-radius: 17px; background: #edf7f2; color: #138369; font-size: 25px; margin: 0 auto 21px; }
.mdm-confirmation-icon.is-danger { color: #b55252; background: #fbeded; }
.mdm-confirmation-question { color: var(--mdm-ink); font-size: 17px; line-height: 1.6; font-weight: 900; margin: 0 0 13px; }
.mdm-confirmation .mdm-muted { max-width: 360px; margin: 0 auto 13px; font-size: 12px; }
.mdm-form-error { color: #b34c4c; font-size: 12px; line-height: 1.6; margin: 15px 0 0; }
.mdm-form-error:empty { display: none; }
.mdm-store-dialog .modal-dialog { max-width: 1020px; }
.mdm-store-search { max-width: 580px; margin: 0 0 25px; }
.mdm-store-results { overflow-x: auto; border: 1px solid var(--mdm-line); border-radius: 11px; }
.mdm-store-table { width: 100%; min-width: 510px; margin: 0; font-size: 12px; color: var(--mdm-ink); }
.mdm-store-table:has(.mdm-store-empty) { min-width: 0; }
.mdm-store-table thead th { border: 0; padding: 13px; background: #f0f5f7; color: #758c99; font-size: 10px; font-weight: 900; }
.mdm-store-table td { padding: 18px 13px; vertical-align: middle; border-top-color: #e5ecef; line-height: 1.6; }
.mdm-store-table td:nth-child(2) { font-weight: 900; min-width: 130px; }
.mdm-store-table td:nth-child(3) { color: #718894; }
.mdm-store-table td:first-child { width: 75px; }
.mdm-store-table img { object-fit: contain; border-radius: 10px; }
.mdm-store-table .mdm-store-add { white-space: nowrap; }
.mdm-store-empty td { padding: 38px 20px; text-align: center; }
.mdm-store-empty i { display: block; font-size: 26px; color: #a7bbc4; margin-bottom: 15px; }
.mdm-store-empty span, .mdm-store-empty small { display: block; }
.mdm-store-empty span { font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.mdm-store-empty small { color: #859aa5; font-size: 11px; }
.mdm-netiful-dialog .modal-dialog { max-width: 1060px; }
.mdm-netiful-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.mdm-netiful-app { padding: 20px; border-radius: 13px; border: 1px solid var(--mdm-line); display: flex; flex-direction: column; align-items: flex-start; }
.mdm-netiful-app-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mdm-netiful-app-heading h3 { font-size: 13px; font-weight: 900; margin: 0; line-height: 1.5; }
.mdm-netiful-app-heading img { width: 44px; height: 48px; object-fit: contain; }
.mdm-netiful-app p { color: var(--mdm-muted); font-size: 12px; line-height: 1.8; margin-bottom: 22px; }
.mdm-netiful-app .btn { margin-top: auto; }
.mdm-shell .mdm-tablet-toolbar { flex-shrink: 0; }
.mdm-shell .mdm-tablet-scroll { flex: 1 1 auto; min-height: 0; }
.mdm-modal-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.mdm-form-stack { max-width: 500px; margin: 0 auto; }
.mdm-form-stack .form-group { margin-bottom: 22px; }
.mdm-enrollment-warning { display: block; padding: 16px 18px; border: 1px solid #eddcad; background: #fffaed; color: #826b2b; border-radius: 10px; font-size: 12px; line-height: 1.8; margin-bottom: 23px; }
.mdm-enrollment-warning i { margin-top: 4px; }
.mdm-enrollment-steps { color: #5e7b8c; font-size: 13px; line-height: 1.9; padding-left: 23px; margin-bottom: 20px; }
.mdm-enrollment-steps li { padding-left: 4px; margin-bottom: 10px; }
.mdm-enrollment-box { display: flex; flex-direction: column; align-items: center; border: 1px solid #dce7ec; border-radius: 13px; background: #f7fafb; padding: 22px; margin-top: 23px; text-align: center; }
.mdm-enrollment-qr { display: block; max-width: 260px; width: 100%; height: auto; border-radius: 8px; background: #fff; padding: 10px; margin: 20px auto 0; }
.mdm-enrollment-box .mdm-badge { margin-top: 17px; }
@media (max-width: 800px) { .mdm-choice-grid, .mdm-netiful-apps { grid-template-columns: 1fr; } .mdm-choice-card { gap: 10px; padding: 20px; } .mdm-virtual-tablet { max-width: 720px; margin-left: auto; margin-right: auto; } }
@media (max-width: 575px) {
  .mdm-virtual-tablet { padding: 24px 10px 28px; border-radius: 25px; margin-top: 18px; }
  .mdm-tablet-screen { border-radius: 11px; min-height: 350px; }
  .mdm-tablet-status { padding: 12px 10px; gap: 8px; font-size: 8px; }
  .mdm-virtual-tablet .mdm-app-grid { padding: 15px 10px; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 570px; }
  .mdm-virtual-tablet .mdm-app-card, .mdm-virtual-tablet .mdm-app-add { padding-left: 6px; padding-right: 6px; }
  .mdm-shell .modal-dialog { max-width: calc(100vw - 16px); margin: 8px auto; }
  .mdm-shell .modal-content { max-height: calc(100vh - 16px); border-radius: 14px; }
  .mdm-shell .modal-header, .mdm-shell .modal-body { padding: 19px 17px; }
  .mdm-shell .modal-title { font-size: 18px; }
  .mdm-shell .modal-footer { padding: 14px 17px; flex-wrap: wrap; }
  .mdm-shell .modal-footer .btn { flex-grow: 1; }
  .mdm-confirmation { padding-left: 0; padding-right: 0; }
  .mdm-confirmation-question { font-size: 15px; }
  .mdm-modal-intro { font-size: 12px; margin-bottom: 19px; }
  .mdm-store-table { min-width: 480px; }
}
