[data-diamond-pairs="Y109"] {
  --rh-ink:#173c3b;
  --rh-border:#a7c9be;
  --rh-selection:#8d365c;
  padding:clamp(6px, 2vw, 14px);
  color:var(--rh-ink);
  background:#f6fcfa;
  border-color:#76a698;
}
[data-diamond-pairs="Y109"] .rh-work {
  display:grid;
  gap:7px;
  min-width:0;
}
[data-diamond-pairs="Y109"] .rh-work > h4 { margin:0 0 4px; }
[data-diamond-pairs="Y109"] .rh-manipulative {
  display:grid;
  gap:6px;
  width:min(100%, 510px);
  justify-self:center;
}
[data-diamond-pairs="Y109"] .rh-board {
  display:block;
  width:100%;
  height:clamp(145px, 31vh, 252px);
  min-width:0;
  background:#fff;
  border:1px solid var(--rh-border);
  border-radius:12px;
  touch-action:none;
  user-select:none;
}
[data-diamond-pairs="Y109"] .rh-rectangle {
  fill:#eaf5f1;
  stroke:#43756a;
  stroke-width:1.4;
  stroke-dasharray:5 3;
}
[data-diamond-pairs="Y109"] .rh-outline {
  fill:#c3e8dd;
  stroke:#316359;
  stroke-width:1.6;
}
[data-diamond-pairs="Y109"] :is(.rh-rectangle,.rh-outline,.rh-diagonal,.rh-guide,.rh-inside,.rh-dimension) {
  pointer-events:none;
  vector-effect:non-scaling-stroke;
}
[data-diamond-pairs="Y109"] .rh-inside {
  stroke:#2d5b59;
  stroke-width:1.15;
}
[data-diamond-pairs="Y109"] .rh-slot {
  cursor:crosshair;
  touch-action:none;
  vector-effect:non-scaling-stroke;
}
[data-diamond-pairs="Y109"] .rh-slot[data-rh-piece] { cursor:grab; }
[data-diamond-pairs="Y109"] .rh-slot:is([data-rh-hover], :focus-visible, [aria-pressed="true"]) {
  stroke:var(--rh-selection);
  stroke-width:2.6;
  outline:none;
}
[data-diamond-pairs="Y109"] .rh-diagonal { stroke:#185a52; stroke-width:2.1; }
[data-diamond-pairs="Y109"] .rh-guide { stroke:#8d365c; stroke-width:2.2; stroke-dasharray:5 3; }
[data-diamond-pairs="Y109"] .rh-vertex { cursor:crosshair; }
[data-diamond-pairs="Y109"] .rh-vertex[aria-hidden="true"] { pointer-events:none; }
[data-diamond-pairs="Y109"] .rh-vertex-hit { fill:transparent; pointer-events:all; }
[data-diamond-pairs="Y109"] .rh-vertex[aria-hidden="true"] .rh-vertex-hit { pointer-events:none; }
[data-diamond-pairs="Y109"] .rh-vertex-dot { fill:#fff; stroke:#1a6055; stroke-width:1.4; }
[data-diamond-pairs="Y109"] .rh-vertex:is([aria-pressed="true"], :focus-visible) .rh-vertex-dot {
  fill:#fae4eb;
  stroke:var(--rh-selection);
  stroke-width:2.3;
}
[data-diamond-pairs="Y109"] .rh-vertex-label {
  font:700 9.5px system-ui,sans-serif;
  text-anchor:middle;
  fill:var(--rh-ink);
  pointer-events:none;
}
[data-diamond-pairs="Y109"] .rh-dimension {
  font:700 10px system-ui,sans-serif;
  text-anchor:middle;
  fill:#315f57;
}
[data-diamond-pairs="Y109"] .rh-shelf {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  min-width:0;
}
[data-diamond-pairs="Y109"] .rh-home {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(27px, 37%);
  align-items:stretch;
  height:46px;
  overflow:hidden;
  border:1px solid var(--rh-border);
  border-radius:9px;
  background:#eaf5f1;
}
[data-diamond-pairs="Y109"] :is(.rh-piece,.rh-turn) {
  position:relative;
  align-self:stretch;
  width:100%;
  min-width:0 !important;
  min-inline-size:0 !important;
  min-height:0 !important;
  min-block-size:0 !important;
  max-width:none;
  margin:0;
  padding:0 !important;
  border:0;
  border-radius:0;
  touch-action:none;
  user-select:none;
}
[data-diamond-pairs="Y109"] .rh-piece {
  background:#fdfefd !important;
  cursor:grab;
}
[data-diamond-pairs="Y109"] .rh-piece svg {
  display:block;
  width:100%;
  height:100%;
  pointer-events:none;
  transform:rotate(var(--rh-angle, 0rad));
}
[data-diamond-pairs="Y109"] .rh-piece span {
  position:absolute;
  inset-inline-start:3px;
  inset-block-end:1px;
  color:#213d36;
  font:800 10px/1.1 system-ui,sans-serif;
  pointer-events:none;
}
[data-diamond-pairs="Y109"] .rh-turn {
  background:#f9e7ee !important;
  color:#762649 !important;
  border-inline-start:1px solid #dbb2c3;
  font:800 20px/1 system-ui,sans-serif;
  cursor:grab;
}
[data-diamond-pairs="Y109"] :is(.rh-piece,.rh-turn):focus-visible,
[data-diamond-pairs="Y109"] .rh-piece[aria-pressed="true"] {
  outline:2px solid var(--rh-selection);
  outline-offset:-2px;
  z-index:1;
}
[data-diamond-pairs="Y109"] .rh-empty {
  grid-column:1/-1;
  align-self:center;
  justify-self:center;
  color:#54736a;
  font:650 13px/1 system-ui,sans-serif;
}
[data-diamond-pairs="Y109"] .rh-shelf[data-rh-hover] {
  outline:2px solid var(--rh-selection);
  outline-offset:1px;
  border-radius:8px;
}
[data-diamond-pairs="Y109"] :is(.rh-controls,.rh-values,.rh-phase) {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:5px;
}
[data-diamond-pairs="Y109"] :is(.rh-controls,.rh-values,.rh-phase) button {
  min-width:0;
  margin:0;
  padding:6px 9px;
  line-height:1.2;
}
[data-diamond-pairs="Y109"] .rh-values button[aria-pressed="true"],
[data-diamond-pairs="Y109"] .rh-values button[data-rh-hover] {
  outline:2px solid var(--rh-selection);
  outline-offset:-2px;
}
[data-diamond-pairs="Y109"] :is([data-rh-number],[data-rh-answer]) { touch-action:none; }
[data-diamond-pairs="Y109"] .rh-answers {
  display:grid;
  gap:6px;
  padding:7px;
  background:#edf8f4;
  border:1px solid var(--rh-border);
  border-radius:10px;
}
[data-diamond-pairs="Y109"] .rh-values [data-rh-number] {
  flex:1 1 42px;
  max-width:68px;
  font-weight:750;
}
[data-diamond-pairs="Y109"] .rh-values [data-rh-answer] {
  flex:1 1 123px;
  max-width:230px;
}
[data-diamond-pairs="Y109"] .rh-status {
  padding:3px 8px;
  color:#274c46;
}
[data-diamond-pairs="Y109"] .rh-status-text {
  display:block;
  font:650 14px/1.3 system-ui,sans-serif;
}
[data-diamond-pairs="Y109"] .rh-work > .rh-status {
  margin:0 !important;
  min-height:0 !important;
  min-block-size:0 !important;
  padding:3px 8px !important;
}
[data-diamond-pairs="Y109"] .rh-status:is([data-rh-message="orientation"],[data-rh-message="edge"],[data-rh-message="occupied"],[data-rh-message="outside"]) {
  color:#6f2847;
  background:#fcede9;
  border-radius:8px;
}
[data-diamond-pairs="Y109"] .rh-result {
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
  margin-top:5px;
}
[data-diamond-pairs="Y109"] .rh-result span {
  padding:4px 8px;
  background:#d7eee6;
  border-radius:6px;
  font:750 14px/1.3 system-ui,sans-serif;
}
[data-diamond-pairs="Y109"] .rh-ghost {
  position:fixed;
  inset:0 auto auto 0;
  z-index:8;
  width:0;
  height:0;
  color:#174940;
  font:800 21px/1 system-ui,sans-serif;
  pointer-events:none;
}
[data-diamond-pairs="Y109"] .rh-ghost svg {
  display:block;
  width:54px;
  height:49px;
  margin:-24px 0 0 -27px;
  overflow:visible;
  filter:drop-shadow(0 2px 3px #123b393b);
}
[data-diamond-pairs="Y109"] .rh-help { margin-top:5px; }
#mis-studio [data-diamond-pairs="Y109"] .rh-phase { display:none; }
@media(max-width:520px) {
  #mis-studio.mw-workbench:has([data-diamond-pairs="Y109"]) > .mis-studio__header { padding-block:6px !important; }
  #mis-studio.mw-workbench:has([data-diamond-pairs="Y109"]) .mis-studio__title {
    font-size:16px !important;
    line-height:1.2 !important;
  }
  #mis-studio.mw-workbench:has([data-diamond-pairs="Y109"]) .mw-task > .mis-studio__question {
    line-height:1.34 !important;
  }
  #mis-studio.mw-workbench:has([data-diamond-pairs="Y109"]) > .mis-studio__canvas { padding:4px 6px !important; }
  #mis-studio.mw-workbench .mis-studio__canvas > [data-diamond-pairs="Y109"].studio-native-model { padding:4px !important; }
  #mis-studio [data-diamond-pairs="Y109"] > .rh-work { padding:0; }
  [data-diamond-pairs="Y109"] .rh-work { gap:4px; }
  [data-diamond-pairs="Y109"] .rh-manipulative { gap:3px; }
  [data-diamond-pairs="Y109"] .rh-work > .rh-status { padding:1px 8px !important; }
  [data-diamond-pairs="Y109"] .rh-board { height:134px; border-radius:8px; }
  [data-diamond-pairs="Y109"] .rh-controls { justify-content:flex-start; }
}
