@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/dancingscript-vietnamese.45567f0300.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/dancingscript-latin-ext.f199ffcda7.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/dancingscript-latin.570e4265bb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/greatvibes-cyrillic-ext.6b071406bf.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/greatvibes-cyrillic.80b935e653.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/greatvibes-greek-ext.36cccce6b2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/greatvibes-vietnamese.9b624180d0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/greatvibes-latin-ext.b63469c752.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../_a/greatvibes-latin.c59dc73d29.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.mg-workbench { display:grid; grid-template-columns:minmax(230px,.76fr) minmax(0,1.24fr); border:1px solid var(--line); border-radius:7px; overflow:hidden; background:#fffdf7; margin:20px 0 36px; }
.mg-controls { display:flex; flex-direction:column; gap:5px; padding:clamp(16px,3vw,32px); min-width:0; align-self:start; }
.mg-controls label { margin-top:9px; color:var(--ink); font-weight:650; }
.mg-controls input,.mg-controls select { box-sizing:border-box; width:100%; min-height:44px; padding:8px 10px; border:1px solid #b7c1b5; background:white; color:var(--ink); border-radius:5px; font:inherit; }
.mg-controls #mg-initials { font-size:21px; }
.mg-help { margin:2px 0 5px; font-size:14px; line-height:1.35; color:var(--muted); }
.mg-proof { display:grid; justify-items:center; align-content:center; min-width:0; gap:10px; padding:clamp(16px,3vw,30px); border-left:1px solid var(--line); background:#eeeee5; }
.mg-paper { width:min(100%,335px); background:#fffdf7; box-shadow:0 2px 7px #26352826; }
.mg-live { display:block; width:100%; height:auto; }
.mg-order { text-align:center; font-size:14px; line-height:1.4; color:var(--ink); }
.mg-save,.mg-retry { border:1px solid var(--pine); border-radius:5px; min-height:44px; padding:8px 16px; background:var(--pine); color:white; font:inherit; font-weight:600; cursor:pointer; }
.mg-save:disabled { opacity:.55; cursor:default; }
.mg-retry { background:white; color:var(--pine); }
.mg-examples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.mg-sample { display:block; background:#fffdf7; color:var(--ink); border:1px solid var(--line); border-radius:5px; text-align:left; cursor:pointer; font:inherit; padding:12px; }
.mg-sample canvas { display:block; width:min(100%,140px); height:auto; margin:0 auto 10px; }
.mg-sample small { display:block; color:var(--muted); font-size:13px; }
@media(max-width:680px) { .mg-workbench { grid-template-columns:minmax(0,1fr); } .mg-proof { border-left:none; border-top:1px solid var(--line); } .mg-paper { width:min(100%,260px); } .mg-controls{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:8px;align-items:center}.mg-controls label{margin:0}.mg-controls label[for="mg-initials"],.mg-controls #mg-initials,.mg-controls .mg-help { grid-column:1 / -1; } }