.ms-page, .ms-media-dialog {
  --ms-panel: #17171d;
  --ms-border: #34313e;
  --ms-editor-muted: #aaa6b5;
  color: #eeedf2;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color-scheme: dark;
}
.ms-page *, .ms-media-dialog *, .ms-public *, .ms-site * { box-sizing: border-box; }
.ms-page [hidden], .ms-media-dialog [hidden], .ms-public [hidden] { display: none !important; }
.ms-page { padding-bottom: 52px; }
.ms-shell { width: min(100%, 1240px); margin-inline: auto; }
.ms-hero { border-bottom: 1px solid #2c2835; background: #141318; }
.ms-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 24px; }
.ms-eyebrow { display: inline-block; margin: 0 0 14px; color: #c3a4f1; font-size: 11px; font-weight: 750; letter-spacing: 1px; text-decoration: none; }
a.ms-eyebrow:hover { color: #e3d5fa; }
.ms-hero h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.7px; }
.ms-hero p { max-width: 630px; margin: 14px 0 0; color: #b2aebc; font-size: 15px; line-height: 1.65; }
.ms-hero-note { flex: none; padding-left: 20px; border-left: 2px solid #6d4b99; color: #a49aaf; font-size: 12px; line-height: 1.9; }
.ms-hero-note strong { color: #ddd0ee; font-size: 13px; }
.ms-workspace { padding: 24px 24px 0; }
.ms-access { padding: clamp(24px, 6vw, 64px); border: 1px solid var(--ms-border); border-radius: 10px; background: var(--ms-panel); }
.ms-access h2 { margin: 0; font-size: 25px; }
.ms-access > p:not(.ms-eyebrow) { max-width: 680px; color: #bdb6c8; }
.ms-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.ms-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #46404f;
  border-radius: 6px;
  background: #26222e;
  color: #f0eaf8;
  font: 600 13px/1.4 'Segoe UI', system-ui, sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.ms-btn:hover { background: #352c43; border-color: #806299; }
.ms-btn.ms-primary { border-color: #b98aff; background: #b98aff; color: #191121; }
.ms-btn.ms-primary:hover { background: #caa6ff; }
.ms-btn.ms-subtle { background: transparent; border-color: transparent; color: #c5b0df; }
.ms-btn.ms-subtle:hover { background: #282130; border-color: #51425e; }
.ms-btn.ms-danger { color: #ffb1b5; border-color: #654049; background: #291d24; }
.ms-btn.ms-danger:hover { background: #42232d; }
.ms-page button:disabled, .ms-page input:disabled, .ms-media-dialog button:disabled, .ms-media-dialog input:disabled { opacity: .45; cursor: not-allowed; }
.ms-page :is(a, button, input, textarea, select):focus-visible,
.ms-media-dialog :is(a, button, input):focus-visible,
.ms-public :is(a, button):focus-visible { outline: 2px solid #cfacff; outline-offset: 3px; }
.ms-feedback { margin-bottom: 18px; }
.ms-notice { margin: 0; padding: 11px 14px; border-left: 3px solid #806299; border-radius: 0 5px 5px 0; background: #201c29; color: #d9cce9; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ms-notice:empty { display: none; }
.ms-notice[data-tone="error"] { background: #2b1d25; border-color: #ed939f; color: #ffc1ca; }
.ms-notice[data-tone="success"] { background: #1c2923; border-color: #8dc9a5; color: #b5e5c4; }
#msRecovery { margin-top: 10px; }
.ms-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--ms-border); }
.ms-toolbar > div:first-child { display: grid; gap: 3px; }
.ms-toolbar strong { color: #e5d4fa; font-size: 14px; }
.ms-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; align-items: start; gap: 34px; }
.ms-workbench, .ms-preview-column { min-width: 0; }
.ms-preview-column { align-self: stretch; }
.ms-workbench { display: grid; gap: 16px; }
.ms-panel { padding: 20px; border: 1px solid var(--ms-border); border-radius: 8px; background: var(--ms-panel); }
.ms-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ms-section-head h2 { margin: 0; font-size: 17px; line-height: 1.4; }
.ms-section-head h2 > span { margin-right: 10px; color: #9a7bbd; font: 12px ui-monospace, monospace; }
.ms-hint { margin: 8px 0 0; color: var(--ms-editor-muted, #aaa6b5); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
span.ms-hint { margin: 0; }
.ms-field { display: grid; gap: 6px; min-width: 0; margin: 14px 0 0; color: #ded8e7; font-size: 13px; font-weight: 600; }
.ms-field .ms-hint { font-weight: 400; }
.ms-field :is(input, textarea, select), .ms-link-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #3e3849;
  border-radius: 5px;
  background: #101015;
  color: #f0ebf5;
  font: 400 14px/1.5 'Segoe UI', system-ui, sans-serif;
}
.ms-field textarea { resize: vertical; }
.ms-field :is(input, textarea)::placeholder { color: #87818f; }
.ms-field :is(input, textarea)[aria-invalid="true"] { border-color: #ed939f; }
.ms-field input[type="color"] { height: 42px; padding: 5px; cursor: pointer; }
.ms-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.ms-identity-media { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.ms-media-slot { min-width: 0; padding: 13px; border: 1px dashed #564463; border-radius: 6px; background: #201b29; }
.ms-cover-slot { background: linear-gradient(120deg, #2b2137, #1d1a24); }
.ms-media-slot > span { font-size: 12px; font-weight: 700; }
.ms-media-slot .ms-hint { overflow: hidden; margin-bottom: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ms-media-slot .ms-btn { min-height: 36px; padding: 7px 9px; font-size: 12px; }
.ms-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ms-preset { min-width: 0; padding: 8px; border: 1px solid #40384a; border-radius: 6px; background: #121015; color: #e8deef; text-align: left; font: inherit; cursor: pointer; }
.ms-preset:hover { background: #221b2b; }
.ms-preset[aria-pressed="true"] { border-color: #c39af7; box-shadow: 0 0 0 1px #c39af7; }
.ms-preset-sample { display: block; margin-bottom: 9px; padding: 14px 10px; border-radius: 3px; font-size: 24px; line-height: 1; }
.ms-preset strong, .ms-preset small { display: block; padding-inline: 3px; }
.ms-preset strong { font-size: 13px; }
.ms-preset small { margin-top: 3px; color: #aaa1b5; font-size: 10px; }
.ms-preset-night .ms-preset-sample { background: #15121d; color: #b98aff; }
.ms-preset-paper .ms-preset-sample { background: #f4efe5; color: #79583c; font-family: Georgia, serif; }
.ms-preset-forest .ms-preset-sample { background: #12251d; color: #a8cd9b; }
.ms-block-editor { display: grid; gap: 12px; margin-top: 16px; }
.ms-block-card { min-width: 0; padding: 14px; border: 1px solid #3b3446; border-left: 3px solid #71518e; border-radius: 5px; background: #1c1922; }
.ms-block-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ms-block-head h3 { margin: 0; color: #dfc9f5; font-size: 13px; }
.ms-block-head .ms-row { gap: 4px; }
.ms-block-head .ms-btn { min-height: 36px; padding: 6px 9px; font-size: 11px; }
.ms-block-image { display: block; max-width: 100%; max-height: 160px; margin-top: 12px; border-radius: 5px; object-fit: contain; }
.ms-block-empty { padding: 22px; border: 1px dashed #4d3d5f; border-radius: 5px; color: #b9a9cb; text-align: center; }
.ms-add-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ms-add-blocks .ms-btn { justify-content: flex-start; border-style: dashed; background: #211b2a; }
.ms-link-row { display: flex; gap: 7px; margin-top: 6px; }
.ms-link-input { font-size: 12px; }
.ms-link-row .ms-btn { flex: none; }
.ms-inline-link { display: inline-block; margin-top: 10px; color: #c7a5f7; text-underline-offset: 3px; }
.ms-published-address { margin-top: 18px; padding-top: 1px; border-top: 1px solid #3b3446; }
.ms-danger-zone { margin-top: 20px; padding-top: 15px; border-top: 1px solid #3b3446; }
.ms-preview-jump { display: none; color: #c7a5f7; font-size: 12px; }
.ms-preview-sticky { position: sticky; top: 96px; }
.ms-preview-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ms-preview-label h2 { margin: 0; font-size: 14px; }
.ms-preview-label span { color: #ab90cc; font: 10px ui-monospace, monospace; letter-spacing: 1px; }
.ms-device { margin-top: 16px; overflow: hidden; border: 1px solid #4e425e; border-radius: 22px; background: #211b2a; box-shadow: 0 15px 50px #0004; }
.ms-device-top { display: grid; place-items: center; height: 23px; border-bottom: 1px solid #342b40; }
.ms-device-top span { width: 38px; height: 4px; border-radius: 4px; background: #6c5a7e; }
.ms-preview-scroll { max-height: min(64vh, calc(100dvh - 380px)); min-height: 240px; overflow: auto; scrollbar-width: thin; scrollbar-color: #6b577f #211b2a; }
.ms-preview-scroll > .ms-site { min-height: 440px; }
.ms-library-summary { margin-top: 18px; }
.ms-library-summary .ms-section-head { margin-bottom: 7px; }
.ms-library-summary strong { font-size: 13px; }
.ms-library-summary progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 6px; background: #30283a; accent-color: #b98aff; }
.ms-library-summary progress::-webkit-progress-bar { background: #30283a; border-radius: 6px; }
.ms-library-summary progress::-webkit-progress-value { background: #b98aff; border-radius: 6px; }
.ms-library-summary progress::-moz-progress-bar { background: #b98aff; }
.ms-media-dialog { width: min(780px, calc(100% - 28px)); max-height: calc(100dvh - 40px); padding: 24px; border: 1px solid #6e527f; border-radius: 10px; background: #17141d; box-shadow: 0 24px 100px #0008; }
.ms-media-dialog::backdrop { background: #08060dd9; }
.ms-media-dialog h2 { font-size: 20px; }
.ms-media-dialog .ms-notice { margin-block: 12px; }
.ms-upload { padding: 15px; border: 1px dashed #74568e; border-radius: 6px; background: #221b2b; }
.ms-upload input { padding: 5px; font-size: 12px; }
.ms-upload input::file-selector-button { margin-right: 8px; padding: 8px; border: 0; border-radius: 4px; background: #493257; color: #fff; cursor: pointer; }
.ms-asset-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ms-asset { display: flex; flex-direction: column; min-width: 0; padding: 9px; border: 1px solid #44344f; border-radius: 6px; background: #211a28; }
.ms-asset img { width: 100%; height: 110px; object-fit: contain; border-radius: 3px; background: #100d15; }
.ms-asset-name { margin-top: 8px; overflow-wrap: anywhere; font-size: 12px; }
.ms-asset .ms-hint { margin-block: 4px 8px; font-size: 11px; }
.ms-asset .ms-row { margin-top: auto; }
.ms-asset .ms-btn { flex: 1; min-height: 36px; padding: 6px 8px; font-size: 12px; }
.ms-asset-list > .ms-block-empty { grid-column: 1 / -1; }
.ms-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


.ms-site {
  --ms-bg: #15121d;
  --ms-accent: #b98aff;
  --ms-ink: #fff;
  --ms-muted: rgba(255,255,255,.74);
  --ms-line: rgba(255,255,255,.2);
  --ms-surface: rgba(255,255,255,.065);
  --ms-on-accent: #141414;
  --ms-accent-ink: #b98aff;
  width: 100%;
  min-width: 0;
  background: var(--ms-bg);
  color: var(--ms-ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-align: left;
}
.ms-font-sans { font-family: 'Segoe UI', system-ui, sans-serif; }
.ms-font-serif { font-family: Georgia, 'Times New Roman', serif; }
.ms-font-mono { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; }
.ms-site-cover { display: block; width: 100%; height: 180px; object-fit: cover; background: var(--ms-surface); }
.ms-site-inner { width: min(100%, 660px); margin: 0 auto; padding: 36px 28px 44px; }
.ms-site-identity { position: relative; padding-bottom: 26px; }
.ms-site-avatar { display: block; width: 88px; height: 88px; margin: 0 0 18px; border: 4px solid var(--ms-bg); border-radius: 50%; background: var(--ms-bg); object-fit: cover; }
.ms-site-cover + .ms-site-inner .ms-site-avatar { margin-top: -80px; }
.ms-site-title { margin: 0; color: var(--ms-ink); font-size: clamp(28px, 4vw, 40px); font-weight: 750; line-height: 1.15; letter-spacing: -.8px; white-space: pre-wrap; }
.ms-site-bio { margin: 14px 0 0; color: var(--ms-muted); font-size: 15px; white-space: pre-wrap; }
.ms-site-blocks { display: grid; gap: 18px; }
.ms-site-text { padding: 8px 0; }
.ms-site-text h2 { margin: 0 0 9px; color: var(--ms-ink); font-size: 21px; font-weight: 650; line-height: 1.4; white-space: pre-wrap; }
.ms-site-text p { margin: 0; font-size: 15px; white-space: pre-wrap; }
.ms-site-button { display: block; padding: 14px 19px; border: 1px solid var(--ms-accent); border-radius: 8px; background: var(--ms-accent); color: var(--ms-on-accent); font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1.45; text-align: center; text-decoration: none; white-space: pre-wrap; transition: transform .15s; }
.ms-site-button:hover { transform: translateY(-2px); }
.ms-buttons-outline .ms-site-button { background: transparent; color: var(--ms-accent-ink); }
.ms-buttons-soft .ms-site-button { border-color: var(--ms-line); background: var(--ms-surface); color: var(--ms-ink); }
.ms-site :is(a, button, iframe):focus-visible { outline: 3px solid var(--ms-ink); outline-offset: 3px; }
.ms-site-figure { margin: 0; }
.ms-site-image { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--ms-surface); }
.ms-site-figure figcaption { margin-top: 9px; color: var(--ms-muted); font-size: 13px; white-space: pre-wrap; }
.ms-site-placeholder { margin: 0; padding: 24px 16px; border: 1px dashed var(--ms-line); border-radius: 8px; color: var(--ms-muted); font-size: 13px; font-weight: 400; line-height: 1.7; text-align: center; }
.ms-video-stage { overflow: hidden; border: 1px solid var(--ms-line); border-radius: 8px; background: var(--ms-surface); }
.ms-video-card { padding: 24px; }
.ms-video-platform { color: var(--ms-accent-ink); font-family: 'Segoe UI', system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.ms-video-card h2 { margin: 9px 0; color: var(--ms-ink); font-size: 19px; line-height: 1.4; white-space: pre-wrap; }
.ms-video-card p { margin: 0 0 18px; color: var(--ms-muted); font-size: 12px; line-height: 1.7; }
.ms-video-load { display: block; width: 100%; min-height: 44px; padding: 12px; border: 1px solid var(--ms-accent); border-radius: 5px; background: var(--ms-accent); color: var(--ms-on-accent); font-family: inherit; font-size: 13px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.ms-video-load:hover { background: var(--ms-accent); color: var(--ms-on-accent); text-decoration: underline; }
.ms-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.ms-video-external { display: inline-block; margin-top: 7px; color: var(--ms-muted); font-size: 12px; text-underline-offset: 3px; }
.ms-theme-paper .ms-site-button, .ms-theme-paper .ms-site-image, .ms-theme-paper .ms-video-stage { border-radius: 2px; }
.ms-theme-paper .ms-site-title { font-weight: 500; letter-spacing: -1px; }
.ms-theme-forest .ms-site-avatar { border-radius: 25%; }
.ms-preview-scroll .ms-site-title { font-size: 32px; }
.ms-preview-scroll .ms-site-inner { padding-inline: 24px; }


.ms-public { --ms-bg: #15121d; --ms-ink: #fff; --ms-muted: #bcb3c8; --ms-line: #3a3046; margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ms-bg); color: var(--ms-ink); font: 16px/1.6 'Segoe UI', system-ui, sans-serif; }
.ms-public main { flex: 1; min-width: 0; }
.ms-public-frame { position: relative; width: 100%; max-width: var(--ms-page-width, 900px); margin-inline: auto; }
.ms-public-frame .ms-site { width: 100%; }
.ms-frame-corner { display: none; }
.ms-public .ms-site-cover { max-width: 1080px; height: clamp(190px, 28vw, 340px); margin-inline: auto; }
.ms-public .ms-site-inner { padding-top: 48px; padding-bottom: 64px; }
.ms-public .ms-site-cover + .ms-site-inner .ms-site-avatar { margin-top: -96px; }
.ms-public .ms-site-avatar { width: 104px; height: 104px; }
.ms-public-state { max-width: 640px; margin: 12vh auto; padding: 28px; }
.ms-public-state h1 { margin: 0; font-size: clamp(27px, 5vw, 38px); line-height: 1.25; }
.ms-public-state p:not(.ms-eyebrow) { color: var(--ms-muted); }
.ms-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; padding: 22px 24px; border-top: 1px solid var(--ms-line); color: var(--ms-muted); font-size: 11px; }
.ms-credit a { color: var(--ms-ink); text-underline-offset: 3px; }
.ms-credit a:first-child { font-size: 12px; font-weight: 700; text-decoration: none; }

@media (min-width: 900px) {
  .ms-public main { padding: 30px 28px 24px; }
  .ms-public .ms-public-frame.is-ready .ms-site {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    box-shadow: 0 34px 100px rgba(0,0,0,.5);
  }
  .ms-public .ms-public-frame.is-ready .ms-frame-corner {
    position: absolute;
    z-index: 4;
    display: block;
    width: 22px;
    height: 22px;
    border-color: var(--ms-accent, #b98aff);
    border-style: solid;
    opacity: .75;
    pointer-events: none;
  }
  .ms-frame-tl { top: -9px; left: -9px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
  .ms-frame-tr { top: -9px; right: -9px; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
  .ms-frame-bl { bottom: -9px; left: -9px; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
  .ms-frame-br { bottom: -9px; right: -9px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
}

@media (max-width: 1000px) {
  .ms-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; }
  .ms-panel { padding: 16px; }
  .ms-hero-note { display: none; }
}
@media (max-width: 820px) {
  .ms-layout { grid-template-columns: minmax(0, 1fr); }
  .ms-preview-column { width: min(100%, 460px); margin: 8px auto 0; }
  .ms-preview-sticky { position: static; }
  .ms-preview-scroll { max-height: none; }
  .ms-preview-jump { display: inline; }
  #msPreviewHeading { scroll-margin-top: 130px; }
  .ms-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .ms-toolbar > .ms-row { width: 100%; }
  .ms-toolbar > .ms-row .ms-btn { flex: 1; }
}
@media (max-width: 480px) {
  .ms-workspace { padding: 16px 12px 0; }
  .ms-hero-inner { padding: 28px 16px; }
  .ms-panel { padding: 14px; }
  .ms-section-head h2 { font-size: 15px; }
  .ms-identity-media { grid-template-columns: minmax(0, 1fr); }
  .ms-media-slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
  .ms-media-slot .ms-hint { grid-column: 1; margin: 0; }
  .ms-media-slot .ms-row { grid-column: 2; grid-row: 1 / 3; }
  .ms-link-row { flex-wrap: wrap; }
  .ms-link-row .ms-btn { width: 100%; }
  .ms-presets { gap: 7px; }
  .ms-preset { padding: 6px; }
  .ms-preset small { font-size: 9px; }
  .ms-block-head { align-items: flex-start; flex-direction: column; }
  .ms-asset-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-media-dialog { padding: 16px; }
  .ms-media-dialog h2 { font-size: 17px; }
  .ms-site-inner { padding-inline: 20px; }
  .ms-credit span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-site-button { transition: none; }
  .ms-site-button:hover { transform: none; }
}
@media (min-width: 821px) and (max-height: 680px) {
  .ms-preview-sticky { position: static; }
  .ms-preview-scroll { max-height: 64vh; }
}


.ms-workbench[data-active-step="1"] .ms-panel:not([data-step="1"]),
.ms-workbench[data-active-step="2"] .ms-panel:not([data-step="2"]),
.ms-workbench[data-active-step="3"] .ms-panel:not([data-step="3"]),
.ms-workbench[data-active-step="4"] .ms-panel:not([data-step="4"]),
.ms-workbench[data-active-step="preview"] .ms-panel { display: none; }
.ms-step {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.ms-step[aria-selected="true"] { background: #282030; color: #f4eafd; }
.ms-step[aria-selected="true"] span { border-color: #b98aff; background: #b98aff; color: #1d1427; }
.ms-step-preview[aria-selected="true"] { background: #282030; }
.ms-layout-settings { margin-top: 20px; padding-top: 17px; border-top: 1px solid #2e333e; }
.ms-subsection-head { display: grid; gap: 2px; margin-bottom: 10px; }
.ms-subsection-head strong { color: #e5e8ef; font-size: 13px; }
.ms-subsection-head .ms-hint { margin: 0; }
.ms-layout-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ms-layout-mode { min-width: 0; padding: 11px; border: 1px solid #38404c; border-radius: 7px; background: #111318; color: #dfe2e8; text-align: left; font: inherit; cursor: pointer; }
.ms-layout-mode:hover { background: #20232a; }
.ms-layout-mode[aria-pressed="true"] { border-color: #bd95e9; background: #251c30; box-shadow: inset 3px 0 #bd95e9; }
.ms-layout-mode strong, .ms-layout-mode small { display: block; }
.ms-layout-mode strong { font-size: 12px; }
.ms-layout-mode small { margin-top: 3px; color: #9da4af; font-size: 11px; line-height: 1.4; }
.ms-canvas-settings { margin-top: 12px; padding: 11px; border: 1px solid #343a46; border-radius: 7px; background: #111318; }
.ms-background-editor { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 13px; padding-top: 13px; border-top: 1px solid #2e333e; }
.ms-background-preview { display: grid; place-items: center; width: 110px; height: 70px; overflow: hidden; border: 1px solid #404755; border-radius: 6px; background: #222631; color: #9da4af; font-size: 11px; font-weight: 700; text-align: center; }
.ms-background-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-background-copy { min-width: 0; }
.ms-background-copy > strong { display: block; font-size: 12px; }
.ms-background-copy .ms-hint { overflow: hidden; margin: 2px 0 8px; text-overflow: ellipsis; white-space: nowrap; }
.ms-background-copy .ms-btn { min-height: 32px; padding: 6px 9px; font-size: 11px; }
.ms-overlay-field { grid-template-columns: minmax(0, 1fr) 90px; align-items: center; }
.ms-overlay-field input { grid-column: 1; }
.ms-overlay-field .ms-hint { grid-column: 2; margin: 0; text-align: right; }
.ms-canvas-tools { margin-top: 18px; padding-top: 15px; border-top: 1px solid #2e333e; }
.ms-canvas-tools .ms-toggle { display: flex; align-items: center; gap: 8px; margin: 9px 0; color: #dfe2e8; font-size: 12px; }
.ms-canvas-tools .ms-toggle input { accent-color: #b98aff; }
.ms-align-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.ms-align-tools .ms-btn { min-height: 34px; padding: 6px; font-size: 11px; }
.ms-canvas-tools > .ms-btn { min-height: 34px; font-size: 11px; }
.ms-canvas { position: relative; width: 100%; overflow: hidden; background: var(--ms-bg); }
.ms-canvas-background, .ms-site-background { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ms-site-background-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-site-background-overlay { position: absolute; inset: 0; background: #000; }
.ms-canvas > .ms-canvas-identity, .ms-canvas-blocks { position: absolute; inset: 0; z-index: 1; }
.ms-canvas-identity, .ms-canvas-item { position: absolute !important; min-width: 0; min-height: 0; overflow: hidden; }
.ms-canvas-identity { padding: 10px; border-radius: 10px; }
.ms-canvas-item { margin: 0; padding: 12px; border: 1px solid transparent; border-radius: 8px; cursor: move; user-select: none; }
.ms-canvas-item > :first-child { max-width: 100%; }
.ms-canvas-item.is-selected, .ms-canvas-identity.is-selected { border-color: var(--ms-accent); outline: 2px solid color-mix(in srgb, var(--ms-accent) 35%, transparent); outline-offset: 2px; }
.ms-canvas-resize { position: absolute; right: 3px; bottom: 3px; z-index: 5; display: none; width: 13px; height: 13px; border-right: 3px solid var(--ms-accent); border-bottom: 3px solid var(--ms-accent); cursor: nwse-resize; }
.ms-canvas-item.is-selected .ms-canvas-resize, .ms-canvas-identity.is-selected .ms-canvas-resize { display: block; }
.ms-canvas-identity .ms-site-avatar { max-width: 40%; }
.ms-canvas-empty { position: absolute; left: 8%; top: 38%; width: 84%; }
.ms-canvas .ms-site-button, .ms-canvas .ms-video-stage, .ms-canvas .ms-site-image { max-width: 100%; max-height: 100%; }
.ms-canvas .ms-site-image { height: auto; object-fit: contain; }
.ms-preview-scroll > .ms-site:has(.ms-canvas) { min-height: 0; }
.ms-preview-scroll .ms-canvas { min-height: 440px; }
.ms-site { position: relative; }
.ms-site > .ms-site-background { z-index: 0; }
.ms-site > .ms-site-cover, .ms-site > .ms-site-inner { position: relative; z-index: 1; }

@media (max-width: 560px) {
  .ms-layout-switch { grid-template-columns: minmax(0, 1fr); }
  .ms-background-editor { grid-template-columns: 84px minmax(0, 1fr); }
  .ms-background-preview { width: 84px; height: 60px; }
  .ms-align-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.ms-page {
  --ms-panel: #15171d;
  --ms-border: #2a2e38;
  --ms-editor-muted: #989eaa;
  background: #0e0f13;
  color: #eef0f4;
}
.ms-hero { background: #111318; border-bottom-color: #252933; }
.ms-hero-inner { padding-block: 30px 28px; }
.ms-hero h1 { font-size: clamp(25px, 3vw, 34px); letter-spacing: 0; }
.ms-hero p { margin-top: 10px; color: #aeb4c0; font-size: 14px; }
.ms-workspace { padding-top: 20px; }
.ms-step-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding: 5px;
  border: 1px solid var(--ms-border);
  border-radius: 9px;
  background: #121419;
}
.ms-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #aeb4c0;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.ms-step span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #4a5160;
  border-radius: 50%;
  color: #d8c5f1;
  font-size: 10px;
}
.ms-step:hover { background: #20232b; color: #fff; }
.ms-step:focus-visible { outline-offset: -2px; }
.ms-step-preview { margin-left: auto; color: #c8a9f1; }
.ms-toolbar {
  position: sticky;
  top: 72px;
  z-index: 8;
  min-height: 65px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #3c334a;
  border-radius: 9px;
  background: rgba(22, 20, 29, .96);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.ms-save-state { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 7px; min-width: 0; }
.ms-save-state .ms-state-dot { grid-row: span 2; }
.ms-save-state strong { color: #f0eafa; font-size: 13px; line-height: 1.25; }
.ms-save-state .ms-hint { grid-column: 2; margin: 1px 0 0; font-size: 11px; }
.ms-state-dot { width: 8px; height: 8px; border-radius: 50%; background: #9b7bc0; box-shadow: 0 0 0 3px rgba(155,123,192,.14); }
#msDraftState[data-state="dirty"] + #msPublishedState { color: #f0c478; }
.ms-save-state .ms-state-dot[data-state="saved"] { background: #7bc29a; }
.ms-save-state .ms-state-dot[data-state="dirty"] { background: #f0c478; }
.ms-btn { min-height: 38px; padding: 8px 12px; border-radius: 6px; border-color: #3b414d; background: #20232a; }
.ms-btn:hover { background: #2a2e37; border-color: #77608f; }
.ms-btn.ms-primary { border-color: #b98aff; background: #b98aff; color: #1b1424; }
.ms-btn.ms-primary:hover { background: #c9a8ff; }
.ms-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; }
.ms-workbench { gap: 12px; }
.ms-panel { padding: 18px; border-radius: 9px; background: #15171d; }
.ms-section-head { margin-bottom: 13px; }
.ms-section-head h2 { font-size: 16px; }
.ms-section-head h2 > span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; border: 1px solid #514166; border-radius: 50%; color: #c2a4e7; font-size: 10px; }
.ms-field { margin-top: 12px; color: #d9dde5; font-size: 12px; }
.ms-field :is(input, textarea, select), .ms-link-input { min-height: 40px; padding: 9px 10px; border-color: #343a46; border-radius: 5px; background: #0f1116; font-size: 13px; }
.ms-field :is(input, textarea, select):focus, .ms-link-input:focus { border-color: #a982d1; box-shadow: 0 0 0 3px rgba(169,130,209,.13); outline: none; }
.ms-field textarea { min-height: 92px; }
.ms-identity-media { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.ms-media-slot { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid #343947; border-radius: 7px; background: #1b1e26; }
.ms-cover-slot { background: #1c1d25; }
.ms-media-preview { position: relative; display: grid; place-items: center; width: 92px; height: 70px; overflow: hidden; border-radius: 5px; background: #292432; color: #a49bad; font-size: 11px; font-weight: 700; }
.ms-avatar-preview { width: 70px; height: 70px; border-radius: 50%; }
.ms-media-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-media-copy { min-width: 0; }
.ms-media-copy > strong { display: block; font-size: 12px; }
.ms-media-copy .ms-hint { overflow: hidden; margin: 2px 0 8px; text-overflow: ellipsis; white-space: nowrap; }
.ms-media-slot .ms-btn { min-height: 32px; padding: 6px 9px; font-size: 11px; }
.ms-presets { gap: 8px; }
.ms-preset { padding: 7px; border-color: #363b48; border-radius: 6px; background: #111318; }
.ms-preset:hover { background: #1c2028; }
.ms-preset[aria-pressed="true"] { border-color: #bb95e9; box-shadow: 0 0 0 1px #bb95e9; }
.ms-preset-sample { margin-bottom: 7px; padding: 12px 9px; font-size: 21px; }
.ms-preset strong { font-size: 12px; }
.ms-preset small { font-size: 10px; }
.ms-block-editor { gap: 8px; margin-top: 13px; }
.ms-block-card { padding: 12px; border: 1px solid #343945; border-left: 3px solid #745497; border-radius: 6px; background: #191b21; }
.ms-block-head { margin-bottom: 3px; }
.ms-block-head h3 { color: #e6d9f5; font-size: 12px; }
.ms-block-head .ms-btn { min-height: 31px; padding: 5px 8px; font-size: 10px; }
.ms-block-card .ms-field { margin-top: 9px; }
.ms-block-image { max-height: 140px; margin-top: 9px; }
.ms-add-blocks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.ms-add-blocks .ms-btn { min-height: 42px; justify-content: center; padding: 7px 8px; border-style: solid; background: #1b1e25; font-size: 11px; }
.ms-add-blocks .ms-btn:hover { background: #272331; }
.ms-link-row { margin-top: 5px; }
.ms-link-row .ms-btn { min-height: 40px; }
.ms-published-address { margin-top: 14px; }
.ms-danger-zone { margin-top: 16px; padding-top: 12px; }
.ms-preview-sticky { top: 151px; }
.ms-preview-label h2 { font-size: 15px; }
.ms-preview-label span { padding: 3px 6px; border: 1px solid #55446a; border-radius: 4px; color: #c3a4e8; font-size: 9px; }
.ms-preview-column > .ms-preview-sticky > .ms-hint { max-width: 320px; }
.ms-device { margin-top: 12px; border-radius: 16px; box-shadow: 0 12px 34px rgba(0,0,0,.26); }
.ms-device-top { height: 20px; }
.ms-preview-scroll { max-height: min(66vh, calc(100dvh - 300px)); }
.ms-library-summary { margin-top: 14px; padding-top: 13px; border-top: 1px solid #2b2f39; }
.ms-library-summary .ms-section-head { margin-bottom: 6px; }
.ms-library-summary .ms-btn { min-height: 32px; padding: 6px 9px; font-size: 11px; }
.ms-library-summary progress { height: 5px; }
.ms-media-dialog { border-radius: 9px; }

@media (max-width: 820px) {
  .ms-layout { grid-template-columns: minmax(0, 1fr); }
  .ms-step-nav { overflow-x: auto; scrollbar-width: none; }
  .ms-step-nav::-webkit-scrollbar { display: none; }
  .ms-step { flex: 0 0 auto; }
  .ms-step-preview { margin-left: 0; }
  .ms-toolbar { top: 64px; }
  .ms-preview-sticky { top: auto; }
}
@media (max-width: 560px) {
  .ms-hero-inner { padding: 24px 16px 22px; }
  .ms-workspace { padding-inline: 12px; }
  .ms-step-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .ms-step { justify-content: center; min-width: 0; padding-inline: 5px; }
  .ms-step-preview { grid-column: 1 / -1; }
  .ms-toolbar { align-items: stretch; flex-direction: column; gap: 9px; padding: 10px; }
  .ms-toolbar > .ms-row { width: 100%; }
  .ms-toolbar > .ms-row .ms-btn { flex: 1; }
  .ms-panel { padding: 14px; }
  .ms-identity-media { grid-template-columns: minmax(0, 1fr); }
  .ms-add-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-media-preview { width: 80px; height: 62px; }
  .ms-avatar-preview { width: 62px; height: 62px; }
  .ms-media-slot { grid-template-columns: 80px minmax(0, 1fr); }
}
