/* Windows Messenger (msmsgs.exe) */
.app-msmsgs .mm-root { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fff; }
.app-msmsgs .mm-head { flex: none; padding: 6px 8px; background: linear-gradient(to bottom, #E6EEFB 0%, #C5D6F4 60%, #AFC6EF 100%); border-bottom: 1px solid #8DA8DC; }
.app-msmsgs .mm-status { display: flex; align-items: center; gap: 6px; font-weight: bold; color: #1B3E8C; min-width: 0; }
.app-msmsgs .mm-status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-msmsgs .mm-main { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, #fff 0%, #fff 60%, #EEF3FC 100%); }
.app-msmsgs .mm-center { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; text-align: center; }
.app-msmsgs .mm-logo { perspective: 300px; }
.app-msmsgs .mm-buddies { display: block; overflow: visible; }
.app-msmsgs .spinning .mm-buddies, .app-msmsgs .mm-buddies.spinning { animation: mm-spin 1.1s linear infinite; transform-origin: 50% 50%; }
@keyframes mm-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.app-msmsgs .mm-signin { color: #0033CC; font-weight: bold; text-decoration: underline; cursor: var(--cur-hand); font-size: 12px; }
.app-msmsgs .mm-signin:hover { color: #E06A00; }
.app-msmsgs .mm-hint { color: #555; line-height: 1.35; max-width: 190px; }
.app-msmsgs .mm-signing { font-weight: bold; color: #1B3E8C; font-size: 12px; }
.app-msmsgs .mm-email { color: #333; overflow-wrap: anywhere; max-width: 200px; }

.app-msmsgs .mm-tasks { flex: none; border-top: 1px solid #C5D6F4; background: #F3F7FE; padding: 4px 0 6px; }
.app-msmsgs .mm-tasks-h { font-weight: bold; color: #1B3E8C; padding: 2px 8px 3px; }
.app-msmsgs .mm-task { display: flex; align-items: center; gap: 6px; padding: 2px 8px 2px 12px; color: #8A96B0; cursor: var(--cur-arrow); text-decoration: none; }
.app-msmsgs .mm-task .ico { opacity: .45; filter: grayscale(1); }
.app-msmsgs .mm-task:hover span { text-decoration: underline; }

.app-msmsgs .mm-brand { flex: none; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-top: 1px solid #8DA8DC;
  background: linear-gradient(to bottom, #fff, #DCE7FA); }
.app-msmsgs .mm-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-title); }
.app-msmsgs .mm-w1 { font-size: 10px; color: #3A5DAE; letter-spacing: .5px; }
.app-msmsgs .mm-w2 { font-size: 16px; font-weight: bold; color: #1B3E8C; letter-spacing: -.3px; font-style: italic; }

/* .NET Passport sign-in dialog */
.app-msmsgs.mm-pp-win .mm-pp { display: flex; flex-direction: column; gap: 3px; width: 270px; max-width: 100%; }
.app-msmsgs.mm-pp-win .mm-pp p { margin: 6px 0 6px; line-height: 1.35; }
.app-msmsgs.mm-pp-win .mm-pp-band { padding: 6px 8px; margin: -10px -10px 2px; background: linear-gradient(to right, #1C3F94, #5A82D6); color: #fff; font: bold 14px var(--font-title); }
.app-msmsgs.mm-pp-win .mm-pp-net { color: #9FD3FF; font-style: italic; }
.app-msmsgs.mm-pp-win .mm-pp-l { margin-top: 4px; }
.app-msmsgs.mm-pp-win .xp-input { width: 100%; }
.app-msmsgs.mm-pp-win .mm-pp-auto { margin-top: 6px; }
.app-msmsgs.mm-pp-win .mm-pp-get { margin-top: 6px; color: #0033CC; text-decoration: underline; cursor: var(--cur-hand); align-self: flex-start; }

/* sign-in failure + troubleshooting */
.app-msmsgs .mm-err { display: flex; gap: 12px; align-items: flex-start; max-width: 320px; }
.app-msmsgs .mm-err .mm-err-t { line-height: 1.4; padding-top: 4px; }
.app-msmsgs .mm-ts { max-width: 340px; line-height: 1.35; }
.app-msmsgs .mm-ts p { margin: 0 0 8px; }
.app-msmsgs .mm-diag { border-collapse: collapse; width: 100%; margin-bottom: 8px; background: #fff; border: 1px solid #7F9DB9; }
.app-msmsgs .mm-diag th, .app-msmsgs .mm-diag td { text-align: left; padding: 2px 6px; font-weight: normal; }
.app-msmsgs .mm-diag th { color: #444; width: 42%; white-space: nowrap; }
.app-msmsgs .mm-diag tr:first-child td { color: #C00; font-weight: bold; }
.app-msmsgs .mm-ts-note { color: #333; }

/* about */
.app-msmsgs .mm-about { max-width: 330px; line-height: 1.35; }
.app-msmsgs .mm-about .mm-about-top { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid #ACA899; margin-bottom: 6px; }
.app-msmsgs .mm-about .mm-word .mm-w2 { font-size: 20px; }
.app-msmsgs .mm-about p { margin: 4px 0; }
.app-msmsgs .mm-about .mm-about-warn { color: #555; font-size: 10px; }

/* options */
.app-msmsgs .mm-opt { display: flex; flex-direction: column; gap: 6px; }
.app-msmsgs .mm-opt .xp-group { display: flex; flex-direction: column; gap: 5px; }
.app-msmsgs .mm-opt p { margin: 2px 0; }
.app-msmsgs .mm-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.app-msmsgs .mm-muted { color: #777; }
