/* [project]/src/app/globals.css [app-client] (css) */
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components, utilities;

:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --paper: #18181b;
  --panel: #27272aad;
  --panel-strong: #18181bb8;
  --line: #f4f4f51f;
  --accent: #d4d4d8;
  --accent-2: #9ccfd8;
  --danger: #eb6f92;
  --ok: #95d5b2;
  --shadow: 0 18px 48px #0003;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: #111113;
  font-family: Azeret Mono, monospace;
}

button {
  color: inherit;
  font: inherit;
}

.studio-shell {
  color: var(--ink);
  isolation: isolate;
  flex-direction: column;
  gap: 10px;
  height: 100vh;
  max-height: 100vh;
  padding: 12px;
  transition: background .2s, color .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.studio-shell.dark {
  background: #111113;
}

.studio-shell.light {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --ink: #18181b;
  --muted: #71717a;
  --faint: #a1a1aa;
  --paper: #fafafa;
  --panel: #f4f4f5c7;
  --panel-strong: #fafafac7;
  --line: #18181b1f;
  --shadow: 0 18px 48px #18181b14;
  background: #fafafa;
}

.ambient-grid {
  pointer-events: none;
  display: none;
  position: absolute;
}

.app-header, .workspace {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
}

.app-header, .brand-block, .toolbar, .panel-header, .panel-title, .download-group, .download-label, .control-button, .status-chip, .meta-strip {
  align-items: center;
  display: flex;
}

.control-button, .icon-button, .zoom-controls button {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  transition: transform .16s, border-color .16s, background .16s;
}

.control-button, .icon-button {
  align-items: center;
  display: inline-flex;
}

.icon-button {
  justify-content: center;
  width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
}

.control-button {
  justify-content: center;
  height: 30px;
  min-height: 30px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.control-button svg, .icon-button svg {
  flex-shrink: 0;
  display: block;
}

button:hover {
  border-color: var(--line);
  background: #ffffff14;
  transform: none;
}

.app-header {
  box-shadow: none;
  z-index: 20;
  background: none;
  border: 0;
  border-radius: 0;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding: 0 2px;
  display: flex;
  position: relative;
}

.brand-block {
  align-items: center;
  min-width: 160px;
  padding-left: 2px;
}

.brand-block p {
  margin: 0;
  font-family: Azeret Mono, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.panel-title small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.toolbar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  flex: none;
  justify-content: flex-end;
  gap: 2px;
  width: auto;
  padding: 2px;
  display: flex;
}

.example-picker {
  position: relative;
}

.example-trigger {
  color: inherit;
}

.example-menu {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 100;
  border-radius: 10px;
  gap: 6px;
  min-width: 320px;
  padding: 8px;
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
}

.example-menu button {
  color: inherit;
  text-align: left;
  border-radius: 7px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: auto;
  padding: 10px 12px;
  display: flex;
}

.example-menu small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.example-menu button.active {
  border-color: var(--line);
  background: #ffffff14;
}

.workspace {
  grid-template-columns: minmax(360px, var(--editor-pane-width, 46%))
    10px
    minmax(420px, 1fr);
  z-index: 0;
  flex: 1;
  gap: 8px;
  min-height: 0;
  display: grid;
  position: relative;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 10px;
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.panel-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 6px 10px;
}

.panel-title {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

.panel-title span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.panel-title small {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.download-group {
  background: none;
  border: 0;
  border-radius: 7px;
  gap: 2px;
  padding: 0;
}

.download-label {
  color: var(--muted);
  gap: 5px;
  padding: 0 7px 0 9px;
  font-size: 11px;
  font-weight: 700;
}

.status-chip {
  border: 1px solid var(--line);
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 8px;
  gap: 8px;
  min-width: 0;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1;
  overflow: hidden;
}

.status-chip.ready {
  color: var(--ok);
  border-color: #95d5b259;
}

.status-chip.error {
  color: var(--danger);
  border-color: #eb6f9273;
}

.status-chip strong {
  color: var(--ink);
  flex: none;
}

.status-chip span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.preview-alert {
  background: var(--panel);
  box-shadow: none;
  z-index: 6;
  max-width: min(560px, 100% - 24px);
  position: absolute;
  top: 12px;
  right: 12px;
}

.editor-frame, .preview-frame {
  flex: 1;
  min-height: 0;
}

.editor-frame {
  background: #18181b;
}

.light .editor-frame {
  background: #f4f4f5;
}

.gost-error-line {
  background: #eb6f922e;
}

.gost-error-glyph {
  background: #eb6f92;
  border-radius: 999px;
  margin-left: 5px;
  width: 7px !important;
}

.pane-resizer {
  cursor: col-resize;
  background: none;
  border: 0;
  border-radius: 999px;
  align-self: stretch;
  min-width: 10px;
  padding: 0;
  position: relative;
}

.pane-resizer:after {
  background: var(--line);
  content: "";
  border-radius: 999px;
  transition: background .16s, inset .16s;
  position: absolute;
  inset: 18px 4px;
}

.pane-resizer:hover {
  background: none;
  border-color: #0000;
  transform: none;
}

.pane-resizer:hover:after {
  background: var(--accent);
  inset: 18px 3px;
}

.preview-frame {
  background: none;
  position: relative;
}

.preview-panel {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.preview-transform {
  width: 100% !important;
  height: 100% !important;
}

.preview-content {
  align-items: center;
  min-width: 100%;
  min-height: 100%;
  padding: 42px;
  display: flex;
}

.svg-stage {
  box-shadow: none;
  color: #211b13;
  background: none;
  border: 0;
  border-radius: 0;
  margin: auto;
  padding: 0;
}

.svg-stage svg {
  max-width: none;
  height: auto;
  display: block;
}

.zoom-controls {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
  z-index: 5;
  border-radius: 9px;
  gap: 2px;
  padding: 2px;
  display: flex;
  position: absolute;
  right: 10px;
}

.zoom-controls button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  font-size: 11px;
  line-height: 1;
  transition: background .16s, border-color .16s;
  display: inline-flex;
}

.zoom-controls button.reset-button {
  letter-spacing: .02em;
  width: auto;
  padding: 0 8px;
  font-size: 10px;
}

.zoom-controls button svg {
  flex-shrink: 0;
  display: block;
}

.zoom-controls button:hover {
  border-color: var(--line);
  background: #ffffff14;
  transform: none;
}

.empty-preview {
  color: var(--muted);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 40px;
  display: flex;
}

.meta-strip {
  color: var(--faint);
  border-top: 0;
  flex: none;
  justify-content: space-between;
  gap: 18px;
  min-height: 26px;
  padding: 0 10px;
  font-size: 12px;
}

button:disabled {
  cursor: not-allowed;
  opacity: .46;
}

button:disabled:hover {
  border-color: var(--line);
  background: #ffffff12;
  transform: none;
}

.spin {
  animation: .9s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.studio-loading {
  min-height: 100vh;
}

@media (max-width: 1180px) {
  .studio-shell {
    padding: 10px;
  }

  .app-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .brand-block {
    padding-left: 4px;
  }

  .toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .example-menu {
    min-width: min(320px, 100vw - 44px);
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: 420px;
  }

  .pane-resizer {
    display: none;
  }
}

@media (max-width: 720px) {
  .status-chip {
    justify-content: flex-start;
    width: 100%;
  }

  .control-button span, .download-label {
    display: none;
  }

  .control-button {
    width: 34px;
    padding: 0;
  }

  .download-group {
    gap: 3px;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/