
.ms-studio{background:#f5f1ea;color:#181818;padding:74px 24px 94px}.ms-studio__shell{max-width:1270px;margin:auto}.ms-studio__kicker{color:#9b513c;font-size:12px;letter-spacing:.17em;text-transform:uppercase;font-weight:750}.ms-studio__heading{font-size:clamp(31px,4.4vw,57px);line-height:1.08;letter-spacing:-.04em;max-width:850px;margin:12px 0 14px;text-transform:none}.ms-studio__lead{font-size:16px;line-height:1.7;color:#5d5b57;max-width:850px;margin:0 0 33px}.ms-studio__layout{display:grid;grid-template-columns:minmax(315px,.95fr) minmax(0,1.18fr);gap:30px;align-items:start}.ms-studio__form{background:#fff;border:1px solid #e2dcd5;border-radius:4px;padding:29px}.ms-studio__form h3{font-size:22px;text-transform:none;margin:0 0 22px}.ms-studio__field{display:grid;gap:7px;margin-bottom:15px}.ms-studio__field label{font-size:13px;font-weight:700;color:#37312d}.ms-studio__field select,.ms-studio__field input{width:100%;min-height:46px;border-radius:3px;border:1px solid #cfc9c2;background:#fff;color:#222;padding:10px 12px;font-family:inherit;font-size:15px}.ms-studio__field input[type=file]{font-size:13px;max-width:100%;padding:10px}.ms-studio__split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ms-studio__note{font-size:12px;line-height:1.6;color:#68645e;margin:4px 0 16px}.ms-studio__notice{background:#f5f1ea;padding:14px 15px;font-size:13px;line-height:1.65;color:#514c46;border-left:3px solid #bd7657;margin:15px 0 20px}.ms-studio__error{color:#b33426;font-size:13px;min-height:20px}.ms-studio__actions{display:grid;gap:10px}.ms-studio__actions button,.ms-studio__actions a{display:flex;min-height:48px;align-items:center;justify-content:center;text-align:center;padding:12px 15px;cursor:pointer;text-decoration:none;border-radius:2px;font:600 14px/1.35 inherit}.ms-studio__actions button{border:1px solid #1b1b1b;background:#fff;color:#1b1b1b}.ms-studio__actions a{background:#161616;color:#fff;border:1px solid #161616}.ms-studio__preview-box{background:#e7e2dc;position:sticky;top:24px;border-radius:3px;padding:22px;display:flex;flex-direction:column;gap:10px}.ms-studio__preview-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.ms-studio__preview-top b{font-size:13px;letter-spacing:.14em}.ms-studio__preview-top span{font-size:12px;color:#666}.ms-studio__preview-box canvas{width:100%;height:auto;display:block;aspect-ratio:720/760;max-height:710px}.ms-studio__preview-caption{text-align:center;color:#625d57;font-size:13px;line-height:1.5}.ms-studio__form input:focus-visible,.ms-studio__form select:focus-visible,.ms-studio__actions a:focus-visible,.ms-studio__actions button:focus-visible{outline:3px solid #b86142;outline-offset:2px}@media(max-width:960px){.ms-studio__layout{grid-template-columns:1fr}.ms-studio__preview-box{position:static;order:-1}.ms-studio__preview-box canvas{max-height:510px}}@media(max-width:520px){.ms-studio{padding:52px 14px 64px}.ms-studio__form{padding:17px}.ms-studio__split{grid-template-columns:1fr}.ms-studio__preview-box{padding:12px}.ms-studio__preview-top{padding:0 5px}}
.ms-studio__field input[type="range"]{min-height:30px;height:30px;border:none;padding:0;accent-color:#b75c3f;background:transparent;cursor:pointer}
.ms-studio__field input[type="range"]:disabled{opacity:.4;cursor:not-allowed}
.ms-studio__drag-hint{font-size:13px;color:#655b53;line-height:1.6;background:#faf2e8;border-left:3px solid #b75c3f;padding:10px 13px;margin:0 0 16px}
.ms-studio__preview-box canvas{touch-action:none;user-select:none;-webkit-user-select:none}
.ms-studio__actions button[data-ms-reset]{background:#faf6f1;border-color:#ddd0c4;color:#252019}
.ms-studio__actions button[data-ms-reset]:hover{background:#efe7dc}
.ms-studio__preview-caption{margin:3px 0 0}

.ms-studio__catalog{background:#faf5ee;border:1px solid #e0d5c9;border-radius:3px;padding:17px;margin-bottom:20px}
.ms-studio__catalog-note{font-size:13px;line-height:1.5;color:#524943;margin:5px 0}
.ms-studio__catalog-ref{padding:11px 12px;background:#eee5d9;border-radius:3px;font-size:13px;font-weight:500;margin:12px 0 0}
.ms-studio__catalog-ref strong{font-family:monospace}
.ms-studio__catalog small,.ms-studio__field small{display:block;font-size:12px;line-height:1.55;color:#69615a;margin-top:7px}
.ms-studio__catalog a{color:#864326;font-weight:650;font-size:13px}
.ms-studio input[type=range]{accent-color:#a8573d}
@media(max-width:600px){.ms-studio__catalog{padding:12px}}

.ms-studio__model{display:grid;gap:10px}.ms-studio__model input[readonly]{font-weight:700;background:#faf6f0!important;color:#24201b}.ms-studio__model small{font-size:12px;color:#60584f}

.ms-studio__colors{border:1px solid #ded6cb;background:#faf8f5;border-radius:6px;padding:16px;display:grid;gap:18px;margin-bottom:16px}
.ms-studio__swatches{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin-top:8px}
.ms-studio__swatch{padding:0!important;border:2px solid transparent!important;border-radius:50%!important;aspect-ratio:1;min-width:0!important;background:transparent!important;display:flex;align-items:center;justify-content:center;cursor:pointer!important;position:relative}
.ms-studio__swatch[aria-pressed="true"]{border-color:#aa603f!important;box-shadow:0 0 0 1px #fff inset}
.ms-studio__swatch:focus-visible{outline:3px solid #aa603f;outline-offset:3px}
.ms-studio__swatch-dot{display:flex;align-items:center;justify-content:center;width:calc(100% - 4px);height:calc(100% - 4px);aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 1px rgba(40,32,26,.24)}
.ms-studio__swatch-mark{font-weight:800;font-size:16px}
.ms-studio__color-selected{font-weight:700;font-size:13px;margin:5px 0;color:#302720}
.ms-studio__color-custom-label{display:block;font-size:12px;margin:10px 0 5px;font-weight:650}
.ms-studio__colors input[type=color]{padding:2px;width:65px;height:34px;background:transparent;cursor:pointer;border:1px solid #cfc4b9;border-radius:4px}
.ms-studio__colors [data-ms-color-status]{margin:7px 0 0}
@media(max-width:420px){.ms-studio__swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.ms-studio__colors{padding:12px}}
