.ml-dialog{width:min(600px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #dce3ef;border-radius:20px;padding:28px;color:#101b42;box-shadow:0 20px 80px #101b4233}
.ml-dialog::backdrop{background:#101b4266}.ml-dialog label{display:block;margin:16px 0;font-weight:650}.ml-dialog label .input{display:block;width:100%;margin-top:7px}.ml-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ml-dialog p{line-height:1.55}.ml-dialog [role=status]:not(:empty){background:#fff4de;padding:12px;border-radius:8px}.ml-delete{color:#a02638!important}
.ml-history{margin-top:20px}.ml-history>summary{font-size:18px;font-weight:700;cursor:pointer;padding:8px 0}.ml-history-row{padding:18px 0;border-bottom:1px solid #dce3ef;display:flex;gap:16px;justify-content:space-between;align-items:start}.ml-history-row p{margin:8px 0}.ml-visit-actions{flex-wrap:wrap;gap:8px;align-self:center}
.ml-nav-row{display:flex;align-items:center;border-radius:12px}.ml-nav-row .nav-btn{flex:1;min-width:0}.ml-favorite{flex:0 0 38px;min-height:44px;border:0;background:transparent;color:#65738b;font-size:23px;cursor:pointer;border-radius:8px}.ml-favorite[aria-pressed=true]{color:#125fed}.ml-favorited{background:#edf3ff;box-shadow:inset 3px 0 #125fed}.ml-nav-note{font-size:12px;line-height:1.45;color:#54617b;margin:6px 12px 14px}.ml-favorite:focus-visible{outline:3px solid #125fed;outline-offset:-3px}.ml-mobile-favorite{display:none}
.ml-header-task{white-space:nowrap;min-height:44px;gap:5px;padding:8px 12px!important}.topbar .mg-guide-shortcut{width:44px!important;height:44px!important;padding:2px!important;flex:0 0 44px;border-radius:50%;background:transparent;border:0}.topbar .mg-guide-shortcut .mg-avatar{width:40px!important;height:40px!important;margin:0!important}
.ml-nav-row{flex-shrink:0}.ml-nav-row .nav-btn{white-space:normal;line-height:1.4}.ml-nav-row .plus-badge{font-size:8px}.ml-nav-row .expense-subnav{margin-left:14px}
.md-feed-row{flex-wrap:wrap}.md-feed-row>.ml-visit-actions{flex-basis:100%;justify-content:flex-end}
.topbar .mg-guide-shortcut img{display:block;width:40px;height:40px;border-radius:50%;object-fit:contain;max-width:none}
.md-stoplights{display:grid!important}.md-stoplights .md-light{justify-content:center;gap:8px;padding:12px 8px}
.md-feed-row[hidden]{display:none!important}.md-advanced{margin-top:16px}.md-advanced>summary{cursor:pointer;font-weight:650;padding:10px 0}.md-stoplights .md-light{min-width:0}.md-stoplights{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.md-stoplights .md-light span:not(.md-lamp){font-size:13px}
@media(max-width:900px){.topbar{gap:8px!important;flex-wrap:wrap;height:auto!important;min-height:76px;padding-bottom:12px!important}.topbar-center{order:10;width:100%;flex-basis:100%}.ml-mobile-favorite{display:inline-flex}.ml-header-task{font-size:12px!important}.topbar .mg-guide-shortcut{flex-basis:38px;width:38px!important;height:38px!important}.topbar .mg-guide-shortcut .mg-avatar{width:36px!important;height:36px!important}.ml-history-row{display:block}}
@media(max-width:500px){.ml-dialog{padding:20px}.ml-fields{grid-template-columns:1fr;gap:0}.md-stoplights{grid-template-columns:repeat(2,minmax(0,1fr))}.md-stoplights .md-all{grid-column:1/-1}.ml-visit-actions{width:100%}.ml-visit-actions .btn{flex:1}.topbar .logo{max-width:110px}.topbar .topbar-capture{padding:8px!important}.topbar .avatar{width:34px;height:34px}.topbar .save-indicator{flex-basis:100%}}
@media(max-width:500px){.md-stoplights .md-light{min-height:52px;font-size:12px}.md-stoplights .md-light strong{font-size:18px}.md-stoplights .md-light span:not(.md-lamp){font-size:12px;line-height:1.35}.md-stoplights .md-lamp{width:9px;height:9px;flex:none}.ml-mobile-favorite{padding:6px 12px;min-height:40px!important;width:auto!important;justify-self:start}.topbar .mg-guide-shortcut img{width:36px;height:36px}}
@media(max-width:760px){.quick-fab{display:none!important}.feedback-tab{display:none!important}.topbar .quick-capture-btn{display:inline-flex!important;min-height:44px;font-size:12px;padding:8px 12px}.topbar .brand{width:170px!important;max-width:170px!important}.topbar .quick-capture-btn{order:1}.topbar [data-ml-task]{order:1}.topbar [data-notifications]{order:1}.topbar>.avatar{order:1}.topbar .mg-guide-shortcut{order:0}}
