/* ============================================================
   我的思维导图 · mind.css
   与站内 plan / points 页面同一视觉体系（主色 #0F766E）
   ============================================================ */
/* 页面主容器（页头渐变由站内 page-title__area 提供） */
.mm-wrap {
  --mm-brand: #0F766E;
  --mm-brand-dark: #115E59;
  --mm-brand-soft: #ECFDF5;
  --mm-brand-border: #C6EDE3;
  --mm-ink: #0F172A;
  --mm-text: #475569;
  --mm-muted: #8AA3A0;
  --mm-border: #E4EFEB;
  --mm-surface: #F6FBF8;
  padding: 0 0 68px;
}

.mm-note { max-width: 1240px; margin: 24px auto 0; padding: 0 20px; }
.mm-privacy {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; line-height: 1.4;
  color: #0F766E;
  background: linear-gradient(135deg, rgba(236, 253, 245, .96) 0%, rgba(223, 246, 239, .92) 100%);
  border: 1px solid rgba(15, 118, 110, .14);
  box-shadow: 0 4px 14px rgba(15, 118, 110, .07);
}
.mm-privacy i { font-size: 11px; }

.mm-shell {
  max-width: 1240px; margin: 14px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 16px;
  align-items: start;
}

/* ---------- 左侧列表 ---------- */
.mm-side {
  background: linear-gradient(158deg, rgba(255, 255, 255, .97) 0%, rgba(238, 249, 244, .92) 100%);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px;
  box-shadow: 0 16px 34px rgba(13, 63, 56, .09), 0 2px 6px rgba(13, 63, 56, .05);
  overflow: hidden; position: sticky; top: 100px;
}
.mm-side__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 12px; border-bottom: 1px solid rgba(15, 118, 110, .08);
}
.mm-side__hd b {
  position: relative; padding-left: 11px; font-size: 14px; font-weight: 700;
  color: var(--mm-ink); letter-spacing: .2px;
}
.mm-side__hd b::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, #0F766E, #4FC3AD);
}
.mm-side__hd span:empty { display: none; }
.mm-side__hd span {
  font-size: 12px; color: #0F766E; padding: 2px 9px; border-radius: 999px;
  background: rgba(236, 253, 245, .9); border: 1px solid rgba(15, 118, 110, .12);
}
.mm-newbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: linear-gradient(135deg, rgba(12, 100, 92, .96) 0%, rgba(34, 156, 143, .92) 52%, rgba(78, 192, 170, .90) 100%);
  color: #fff; font-size: 13px; font-weight: 650; cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.mm-newbtn:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(15, 118, 110, .28); }
#mm-new { width: 100%; }
.mm-newbtn i { font-size: 11px; }

.mm-list { max-height: 460px; overflow: auto; padding: 8px; }
.mm-list__empty { padding: 22px 12px; text-align: center; font-size: 12.5px; color: var(--mm-muted); line-height: 1.7; }
.mm-item {
  position: relative; display: block; width: 100%; text-align: left;
  padding: 10px 34px 10px 12px; border-radius: 11px; border: 1px solid transparent;
  background: transparent; cursor: pointer; transition: .15s;
}
.mm-item {
  background: linear-gradient(158deg, rgba(255, 255, 255, .96) 0%, rgba(247, 252, 250, .9) 100%);
}
.mm-item:hover {
  background: linear-gradient(158deg, rgba(255, 255, 255, .98) 0%, rgba(236, 249, 243, .95) 100%);
  border-color: rgba(15, 118, 110, .16);
  box-shadow: 0 6px 16px rgba(13, 63, 56, .07);
}
.mm-item.is-active {
  background: linear-gradient(158deg, rgba(236, 253, 245, .95) 0%, rgba(219, 244, 236, .92) 100%);
  border-color: rgba(15, 118, 110, .22);
  box-shadow: 0 8px 20px rgba(15, 118, 110, .10);
}
.mm-item.is-active::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, #0F766E, #4FC3AD);
}
.mm-item__t {
  display: block; font-size: 13px; font-weight: 650; color: var(--mm-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mm-item__m { display: block; margin-top: 3px; font-size: 11.5px; color: var(--mm-muted); }
.mm-item__del {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 7px; border: 0; background: transparent;
  color: #CBD5E1; font-size: 14px; line-height: 1; cursor: pointer; opacity: 0;
  transition: .15s;
}
.mm-item:hover .mm-item__del { opacity: 1; }
.mm-item__del:hover { background: #FEE2E2; color: #DC2626; }

/* ---------- 右侧画布卡 ---------- */
.mm-main {
  background: linear-gradient(158deg, rgba(255, 255, 255, .97) 0%, rgba(240, 250, 246, .92) 100%);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px;
  box-shadow: 0 16px 34px rgba(13, 63, 56, .09), 0 2px 6px rgba(13, 63, 56, .05);
  overflow: hidden;
}
.mm-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15, 118, 110, .08);
  background: linear-gradient(120deg, rgba(255, 255, 255, .96) 0%, rgba(242, 251, 247, .9) 100%);
}
.mm-title-input {
  flex: 1 1 220px; min-width: 160px; height: 38px; padding: 0 13px;
  border: 1px solid rgba(15, 118, 110, .14); border-radius: 11px;
  background: linear-gradient(120deg, #FFFFFF 0%, #F6FCFA 100%);
  font-size: 13.5px; font-weight: 650; color: var(--mm-ink); outline: none; transition: .15s;
  box-shadow: inset 0 1px 2px rgba(15, 118, 110, .04);
}
.mm-title-input:focus { border-color: var(--mm-brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); background: #fff; }
.mm-save-state { font-size: 12px; color: var(--mm-muted); white-space: nowrap; }
.mm-title-input[disabled] { background: #F8FAFB; color: var(--mm-muted); cursor: not-allowed; }
.mm-save-state.is-dirty { color: #D97706; }
.mm-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, .16);
  background: linear-gradient(120deg, #FFFFFF 0%, #F3FBF8 100%);
  color: #3D5C56; font-size: 12.5px; font-weight: 650; cursor: pointer;
  transition: .16s; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 118, 110, .04);
}
.mm-btn:hover {
  border-color: rgba(15, 118, 110, .34); color: var(--mm-brand-dark);
  background: linear-gradient(120deg, #FFFFFF 0%, #EAF8F2 100%);
  box-shadow: 0 6px 14px rgba(15, 118, 110, .10);
}
.mm-btn--solid {
  border: 1px solid rgba(255, 255, 255, .34); color: #fff;
  background: linear-gradient(135deg, rgba(12, 100, 92, .96) 0%, rgba(34, 156, 143, .92) 52%, rgba(78, 192, 170, .90) 100%);
  box-shadow: 0 8px 18px rgba(15, 118, 110, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.mm-btn--solid:hover {
  filter: brightness(1.04); color: #fff; transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(12, 100, 92, .96) 0%, rgba(34, 156, 143, .92) 52%, rgba(78, 192, 170, .90) 100%);
}
.mm-btn--icon { width: 34px; padding: 0; }
.mm-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- 画布 ---------- */
.mm-canvas {
  position: relative; height: clamp(400px, 58vh, 660px); overflow: auto;
  background-color: #FBFEFC;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 118, 110, .10) 1px, transparent 0),
    linear-gradient(168deg, rgba(255, 255, 255, .9) 0%, rgba(240, 250, 246, .95) 100%);
  background-size: 22px 22px, 100% 100%;
  cursor: default;
}
.mm-stage {
  position: relative; transform-origin: 0 0; will-change: transform;
  width: 1px; height: 1px;
}
.mm-links { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.mm-links path { fill: none; stroke-linecap: round; }

.mm-node {
  position: absolute; box-sizing: border-box;
  display: flex; align-items: center;
  padding: 9px 12px; border-radius: 12px;
  background: linear-gradient(140deg, #FFFFFF 0%, #F6FCFA 100%);
  border: 1px solid #DFEDE8;
  color: #1E293B; font-size: 13px; line-height: 1.45;
  box-shadow: 0 2px 6px rgba(13, 63, 56, .06);
  cursor: pointer; user-select: none;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.mm-node:hover { box-shadow: 0 8px 20px rgba(13, 63, 56, .12); border-color: rgba(15, 118, 110, .22); }
.mm-node__text { display: block; width: 100%; word-break: break-word; }
.mm-node--root {
  padding: 12px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 700;
  color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, rgba(12, 100, 92, .98) 0%, rgba(34, 156, 143, .94) 55%, rgba(78, 192, 170, .92) 100%);
  box-shadow: 0 12px 26px rgba(15, 118, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.mm-node--l1 { font-weight: 650; border-width: 1.5px; }
.mm-node--deep::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 3px; background: var(--mm-accent, #0F766E); opacity: .85;
}
.mm-node.is-selected {
  z-index: 4;
  border-color: var(--mm-node-color, var(--mm-brand)) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .16), 0 6px 18px rgba(15, 118, 110, .16);
}
.mm-node.is-editing {
  cursor: text; box-shadow: 0 0 0 3px rgba(15, 118, 110, .2);
  height: auto !important; min-height: 34px; z-index: 6;
}
.mm-node.is-editing .mm-node__text { outline: none; user-select: text; cursor: text; }
.mm-node__badge {
  position: absolute; right: -9px; top: 50%; transform: translateY(-50%);
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--mm-brand); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(15, 118, 110, .3);
}

.mm-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  color: var(--mm-text);
}
.mm-empty__icon {
  width: 66px; height: 66px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, rgba(12, 100, 92, .96) 0%, rgba(34, 156, 143, .92) 55%, rgba(78, 192, 170, .9) 100%);
  box-shadow: 0 12px 26px rgba(15, 118, 110, .22);
}
.mm-empty h3 { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--mm-ink); }
.mm-empty p { margin: 0; font-size: 12.5px; color: var(--mm-muted); line-height: 1.7; }

/* ---------- 节点操作条 ---------- */
.mm-actions {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 11px 16px; border-top: 1px solid rgba(15, 118, 110, .08);
  background: linear-gradient(120deg, rgba(255, 255, 255, .96) 0%, rgba(243, 251, 247, .92) 100%);
}
.mm-actions .mm-hint { font-size: 12px; color: var(--mm-muted); margin-right: auto; }
.mm-actions .mm-hint b { color: var(--mm-brand-dark); font-weight: 650; }
.mm-btn--danger:hover { border-color: #FCA5A5; color: #DC2626; background: #FEF2F2; }

/* 选中节点右侧的快捷加号 */
.mm-plus {
  position: absolute;
  z-index: 6;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: linear-gradient(135deg, #0C645C 0%, #1F9D90 60%, #4FC3AD 100%);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(15, 118, 110, .26), inset 0 1px 0 rgba(255, 255, 255, .3);
  transform: scale(var(--mm-s, 1));
  transform-origin: left center;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.mm-plus:hover { filter: brightness(1.06); transform: scale(calc(var(--mm-s, 1) * 1.08)); }
.mm-plus:active { transform: scale(var(--mm-s, 1)); }


/* ---------- 次级工具条 ---------- */
.mm-subbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(15, 118, 110, .07);
  background: linear-gradient(120deg, rgba(252, 255, 253, .96) 0%, rgba(244, 252, 248, .9) 100%);
}
.mm-find {
  position: relative; display: flex; align-items: center; flex: 1 1 200px; max-width: 300px;
  height: 32px; border-radius: 10px; padding: 0 10px;
  border: 1px solid rgba(15, 118, 110, .14);
  background: linear-gradient(120deg, #fff 0%, #F6FCFA 100%);
  box-shadow: inset 0 1px 2px rgba(15, 118, 110, .04);
}
.mm-find i { font-size: 11.5px; color: #7BAFA6; margin-right: 7px; }
.mm-find input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 12.5px; color: var(--mm-ink); height: 100%;
}
.mm-find input::-webkit-search-cancel-button { display: none; }
.mm-find:focus-within { border-color: rgba(15, 118, 110, .4); box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.mm-find__x {
  display: none; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer;
  font-size: 14px; line-height: 1; color: #6E8F88; background: rgba(15, 118, 110, .08);
}
.mm-subbar__right { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.mm-stat { font-size: 11.5px; color: var(--mm-muted); padding-right: 2px; white-space: nowrap; }
.mm-ibtn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 9px; border-radius: 9px; cursor: pointer;
  border: 1px solid rgba(15, 118, 110, .14);
  background: linear-gradient(120deg, #fff 0%, #F3FBF8 100%);
  color: #3D5C56; font-size: 12px; font-weight: 600;
  transition: .15s; white-space: nowrap;
}
.mm-ibtn i { font-size: 11px; color: #2C8A7E; }
.mm-ibtn:hover:not(:disabled) {
  border-color: rgba(15, 118, 110, .3); color: var(--mm-brand-dark);
  background: linear-gradient(120deg, #fff 0%, #EAF8F2 100%);
  box-shadow: 0 5px 12px rgba(15, 118, 110, .09);
}
.mm-ibtn:disabled { opacity: .45; cursor: default; }

/* 节点备注图标 */
.mm-node__note {
  position: absolute; right: -7px; top: -7px;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(15, 118, 110, .2);
  color: #1F9D90; font-size: 8px;
  box-shadow: 0 2px 5px rgba(13, 63, 56, .12);
  cursor: pointer;
}
.mm-node__note:hover { background: #ECFDF5; color: #0F766E; }

/* 搜索命中 */
.mm-node.is-hit { box-shadow: 0 0 0 2px rgba(245, 158, 11, .55), 0 6px 16px rgba(180, 83, 9, .12); }
.mm-node.is-hit.mm-node--root { box-shadow: 0 0 0 2px rgba(251, 191, 36, .8), 0 12px 26px rgba(15, 118, 110, .3); }

/* 拖拽 */
.mm-node.is-dragging { opacity: .35; }
.mm-node.is-drop { box-shadow: 0 0 0 3px rgba(16, 185, 129, .55), 0 10px 24px rgba(15, 118, 110, .18); }
.mm-drag {
  position: fixed; z-index: 90; pointer-events: none;
  max-width: 220px; padding: 8px 12px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(12, 100, 92, .96), rgba(78, 192, 170, .9));
  color: #fff; font-size: 12.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 12px 26px rgba(15, 118, 110, .3);
  transform: rotate(-1.5deg);
}

/* 右键菜单 */
.mm-menu {
  position: fixed; z-index: 70; min-width: 186px; padding: 8px;
  border-radius: 14px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .98) 0%, rgba(240, 250, 246, .96) 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px rgba(13, 63, 56, .18), 0 2px 8px rgba(13, 63, 56, .08);
  backdrop-filter: blur(6px);
}
.mm-menu[hidden] { display: none; }
.mm-menu__hd {
  padding: 4px 9px 7px; font-size: 11px; letter-spacing: .4px;
  color: #7BAFA6; border-bottom: 1px solid rgba(15, 118, 110, .08); margin-bottom: 5px;
}
.mm-menu > button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 7px 9px; border: 0; border-radius: 8px; background: transparent;
  font-size: 12.5px; color: #334155; cursor: pointer; text-align: left;
}
.mm-menu > button i { width: 13px; font-size: 11px; color: #2C8A7E; text-align: center; }
.mm-menu > button:hover { background: rgba(236, 253, 245, .95); color: #0F766E; }
.mm-menu__danger {
  color: #B91C1C !important; margin-top: 3px;
  border-top: 1px solid rgba(15, 118, 110, .08) !important; border-radius: 0 0 8px 8px !important;
}
.mm-menu__danger i { color: #DC2626 !important; }
.mm-menu__danger:hover { background: #FEF2F2 !important; }
.mm-menu__sub { padding: 8px 9px 5px; font-size: 11px; color: #7BAFA6; }
.mm-menu__colors { display: flex; gap: 6px; padding: 0 9px 7px; flex-wrap: wrap; }
.mm-sw {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  box-shadow: 0 1px 4px rgba(13, 63, 56, .2); padding: 0;
}
.mm-sw:hover { transform: scale(1.15); }
.mm-sw--auto { background: #fff; color: #64748B; font-size: 9px; font-weight: 700; line-height: 14px; }

/* 备注弹窗 */
.mm-modal {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  background: rgba(9, 40, 35, .34); backdrop-filter: blur(3px); padding: 20px;
}
.mm-modal[hidden] { display: none; }
.mm-modal__card {
  width: 100%; max-width: 430px; padding: 18px 18px 14px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .85);
  background: linear-gradient(158deg, rgba(255, 255, 255, .99) 0%, rgba(238, 249, 244, .97) 100%);
  box-shadow: 0 26px 60px rgba(9, 40, 35, .28);
}
.mm-modal__hd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.mm-modal__hd b { font-size: 14.5px; color: var(--mm-ink); font-weight: 700; }
.mm-modal__hd span { font-size: 12px; color: var(--mm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-modal textarea {
  width: 100%; min-height: 120px; max-height: 260px; resize: vertical;
  padding: 11px 12px; border-radius: 11px; outline: none;
  border: 1px solid rgba(15, 118, 110, .16);
  background: #fff; font-size: 13px; line-height: 1.7; color: var(--mm-ink);
  box-shadow: inset 0 1px 2px rgba(15, 118, 110, .04);
}
.mm-modal textarea:focus { border-color: rgba(15, 118, 110, .42); box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.mm-modal__ft { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.mm-modal__tip { margin-right: auto; font-size: 11.5px; color: var(--mm-muted); }

/* ---------- 移动端 ---------- */
@media (max-width: 991px) {
  .mm-wrap { padding-bottom: 40px; }
  .mm-note { margin-top: 14px; padding: 0 14px; }
  .mm-subbar { padding: 8px 10px; gap: 8px; }
  .mm-find { max-width: none; flex: 1 1 130px; height: 30px; }
  .mm-find input { font-size: 12px; }
  .mm-subbar__right { gap: 5px; }
  .mm-stat { display: none; }
  .mm-ibtn { height: 28px; padding: 0 8px; }
  .mm-ibtn span { display: none; }
  .mm-modal__card { max-width: none; }
  .mm-privacy { font-size: 11.5px; padding: 5px 11px; }
  .mm-side__hd { padding: 12px 14px 10px; }
  .mm-side__hd b { font-size: 13px; }
  .mm-side > div[style] { padding: 8px 12px 0 12px !important; }
  .mm-newbtn { height: 34px; font-size: 12.5px; }
  .mm-list { max-height: 140px; padding: 8px; }
  .mm-item { min-width: 150px; padding: 8px 26px 8px 10px; }
  .mm-item__t { font-size: 12.5px; }
  .mm-item__m { font-size: 11px; }
  .mm-bar { padding: 9px 10px; gap: 8px; }
  .mm-title-input { height: 34px; font-size: 13px; flex: 1 1 100%; }
  .mm-tools { width: 100%; margin-left: 0; gap: 5px; }
  .mm-tools .mm-btn { flex: 0 0 auto; height: 30px; padding: 0 9px; font-size: 12px; }
  .mm-tools .mm-btn--icon { width: 30px; }
  .mm-canvas { height: 52vh; min-height: 320px; }
  .mm-actions { padding: 8px 10px; gap: 5px; }
  .mm-actions .mm-btn { height: 30px; padding: 0 9px; font-size: 12px; }
  .mm-shell { grid-template-columns: 1fr; gap: 12px; }
  .mm-side { position: static; }
  .mm-list { max-height: 176px; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 10px; }
  .mm-item { min-width: 168px; flex: 0 0 auto; padding-right: 12px; }
  .mm-item.is-active::before { top: 10px; bottom: 10px; }
  .mm-item__del { opacity: 1; right: 4px; }
  .mm-canvas { height: 54vh; }
  .mm-tools { width: 100%; margin-left: 0; }
  .mm-tools .mm-btn { flex: 1 1 0; }
  .mm-actions .mm-hint { width: 100%; margin: 0 0 4px; }
}
