.m7-act {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: clamp(14px, 2.5vw, 25px);
  border: 1px solid #b8cbc8;
  border-radius: 16px;
  color: #183f40;
  background: #fff;
  font-size: 18px;
  line-height: 1.6;
}
.m7-act * { box-sizing: border-box; }
.m7-act .m7-act-heading, .m7-act .m7-choices, .m7-act .m7-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.m7-act .m7-act-heading { justify-content: space-between; }
.m7-act h3 { margin: 0; color: #163c40; font-size: 1.15em; }
.m7-act p { color: #294d50; margin: 10px 0; }
.m7-act .m7-help { margin-bottom: 14px; }
.m7-act button {
  cursor: pointer;
  padding: 6px 12px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #617d7a;
  color: #143f42;
  background: #fff;
  font: inherit;
  font-size: .94em;
  line-height: 1.45;
}
.m7-act button:hover:not(:disabled):not([aria-disabled="true"]) { background: #e8f3ee; }
.m7-act button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #2c6964; font-weight: 700; background: #ddf1e8; }
.m7-act button[aria-disabled="true"], .m7-act button:disabled { color: #59676a; background: #eef1f0; cursor: default; border-color: #a8b8b6; }
.m7-act :is(button,input):focus-visible { outline: 3px solid #a24c13; outline-offset: 3px; }
.m7-act .m7-art { border: 1px solid #c4d6d5; border-radius: 12px; background: #f3f8f7; overflow-x: auto; }
.m7-act .m7-art svg { display: block; width: 100%; min-width: 440px; max-height: 260px; color: #175e61; }
.m7-act .m7-art svg text { fill: #1e4245; stroke: none; font-family: system-ui, sans-serif; text-anchor: middle; }
.m7-act svg :is(path,line,rect):not([stroke]) { stroke: #365e63; }
.m7-act .m7-sticks line { stroke: #99602c; stroke-width: 6px; stroke-linecap: round; }
.m7-act .m7-draggable { touch-action: none; cursor: crosshair; }
.m7-act .m7-controls { margin-top: 14px; }
.m7-act fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 10px; }
.m7-act legend, .m7-act .m7-range > span { color: #274d4b; font-weight: 600; padding: 0 0 4px; }
.m7-act .m7-range input { min-width: 90px; flex: 1 1 100px; max-width: 280px; height: 36px; accent-color: #175e61; }
.m7-act .m7-numeric { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.m7-act input[type="number"] { max-width: 90px; border: 1px solid #617d7a; border-radius: 6px; padding: 4px 8px; font: inherit; color: inherit; background: #fff; }
.m7-act .m7-foot { font-size: .9em; }
.m7-act .m7-output { background: #e8f4ef; padding: 9px 12px; border-left: 3px solid #39786d; margin: 16px 0 0; color: #183e3a; }
.m7-act table { margin: 12px 0 0; border-collapse: collapse; width: 100%; background: #fff; }
.m7-act caption { text-align: left; color: #334f50; font-size: .9em; }
.m7-act td, .m7-act th { padding: 4px; border: 1px solid #afc4c3; color: #244d50; text-align: center; }
.m7-act th { background: #edf5f3; }
@media print {
  .m7-act { break-inside: avoid; padding: 8px; }
  .m7-act button, .m7-act input, .m7-act .m7-choices, .m7-act .m7-range { display: none; }
}
