* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #0a0d17;
    --panel: #121729;
    --panel-soft: #171d32;
    --text: #f4f6ff;
    --muted: #a8afc6;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #8482e8;
    --brand-hover: #9b99f0;
    --brand-soft: rgba(132, 130, 232, 0.18);
    --surface-0: #0e1018;
    --surface-1: #11141c;
    --surface-2: #161a26;
    --border-hairline: rgba(255, 255, 255, 0.06);
    --focus: rgba(132, 130, 232, 0.4);
    --shadow-canvas: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(132, 130, 232, 0.06);
    font-synthesis: none;
}

html {
    height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    font-optical-sizing: auto;
    background: var(--bg);
    background-image: radial-gradient(65% 70% at 50% -10%, rgba(132, 130, 232, 0.22), transparent 55%);
    color: var(--text);
    height: 100%;
    overflow: hidden;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: min(1280px, 96%);
    margin: 0 auto;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding-top: 76px;
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.topbar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 8px 12px 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 13, 23, 0.92) 72%, transparent 100%);
}

.topbar {
    width: 100%;
    max-width: min(1280px, 96%);
    margin: 0 auto;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(12, 16, 28, 0.72);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 6px 12px;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
}

.brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-hairline);
}

.brand span {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.topbar-context {
    justify-self: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--muted);
    max-width: 42ch;
    text-align: center;
    line-height: 1.35;
}

.right-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    background: var(--surface-0);
}

.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.25rem 0.45rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-decoration: none;
    border: none;
    background: transparent;
    transition: background 0.12s ease, color 0.12s ease;
}

.lang-link:hover {
    color: var(--text);
    background: rgba(132, 130, 232, 0.12);
}

.lang-link.is-active {
    color: #0b0d12;
    background: var(--brand);
    font-weight: 600;
}

.lang-link + .lang-link {
    border-left: 1px solid var(--line);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
    cursor: pointer;
    font-family: inherit;
}

.button:hover {
    opacity: 1;
}

.button:active {
    transform: none;
}

.button.primary {
    background: var(--brand);
    color: #0b0d12;
    border-color: rgba(0, 0, 0, 0.25);
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 4px 14px rgba(132, 130, 232, 0.22);
}

.button.primary:hover {
    background: var(--brand-hover);
}

.button.secondary {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--line);
}

.button.secondary:hover {
    background: var(--panel-soft);
    border-color: rgba(132, 130, 232, 0.28);
}

.toolbar {
    flex-shrink: 0;
    padding: 0 0 8px;
}

.toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(17, 22, 39, 0.85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.toolbar-brand {
    flex: 1 1 160px;
    min-width: 0;
}

.toolbar-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
    text-transform: none;
}

.toolbar-sub {
    margin: 4px 0 0;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
}

.toolbar .button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.8125rem;
    border-radius: 4px;
}

.toolbar .button.button-icon {
    min-width: 30px;
    padding: 0 8px;
    font-size: 1rem;
    line-height: 1;
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    flex: 2 1 320px;
    justify-content: flex-end;
}

.toolbar-cluster {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.toolbar-rule {
    width: 1px;
    align-self: stretch;
    min-height: 24px;
    margin: 0 8px;
    background: var(--border-hairline);
    flex-shrink: 0;
}

.btn-file {
    position: relative;
    cursor: pointer;
}

.btn-file input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.main {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
}

.editor-wrap {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.layers-dock {
    width: clamp(196px, 22vw, 260px);
    flex-shrink: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(17, 22, 39, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.layers-dock-head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-hairline);
    flex-shrink: 0;
    background: rgba(14, 16, 24, 0.96);
}

.layers-dock-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.layers-dock-body {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(132, 130, 232, 0.28) transparent;
}

.layers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.layers-row {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.layers-item-select {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--text);
    box-sizing: border-box;
}

.layers-item-select:hover {
    border-color: rgba(132, 130, 232, 0.2);
}

.layers-item-select.is-active {
    border-color: rgba(132, 130, 232, 0.45);
    background: rgba(132, 130, 232, 0.1);
}

.layers-item-type {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.layers-item-name {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layers-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    flex-shrink: 0;
}

.layers-btn-layer {
    min-height: 22px;
    min-width: 28px;
    padding: 0 6px;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 4px;
}

.layers-btn-layer:disabled {
    opacity: 0.35;
    cursor: default;
}

.canvas-stage {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.canvas-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--surface-0);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.inspector-dock {
    width: clamp(268px, 26vw, 320px);
    flex-shrink: 0;
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-left: 1px solid rgba(132, 130, 232, 0.35);
    border-radius: 12px;
    background: rgba(17, 22, 39, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
    scrollbar-color: rgba(132, 130, 232, 0.28) transparent;
}

.inspector-dock .panel-text-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 14px 10px;
    background: rgba(14, 16, 24, 0.96);
    border-bottom: 1px solid var(--border-hairline);
    backdrop-filter: blur(8px);
}

.inspector-dock .panel-text-head h2 {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text);
}

.inspector-dock .text-tools {
    padding: 10px 0 14px;
}

.inspector-dock .panel-section {
    margin: 0 10px 10px;
    padding: 10px 11px 11px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.inspector-dock .text-tools-grid {
    grid-template-columns: 1fr;
}

.inspector-dock .field-span2 {
    grid-column: span 1;
}

.inspector-dock .panel-section:last-child {
    margin-bottom: 4px;
}

.inspector-dock .panel-section-title {
    margin-bottom: 0.55rem;
}

.inspector-dock .font-trigger {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

.inspector-dock .field input:not([type="range"]),
.inspector-dock .field select {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 920px) {
    .editor-wrap {
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .layers-dock {
        width: 100%;
        max-height: min(32vh, 280px);
    }

    .canvas-stage {
        flex: 1 1 auto;
        min-height: min(52vh, 520px);
    }

    .inspector-dock {
        width: 100%;
        max-height: min(46vh, 440px);
        border-left: 1px solid var(--line);
        border-top: 1px solid rgba(132, 130, 232, 0.35);
    }
}

.canvas-scroll {
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-anchor: none;
    overscroll-behavior: contain;
    contain: layout style;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: var(--surface-0);
    background-image: repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 9px,
            rgba(255, 255, 255, 0.02) 9px,
            rgba(255, 255, 255, 0.02) 10px
        );
}

.canvas-scroll .canvas-container {
    flex-shrink: 1;
    box-shadow: var(--shadow-canvas);
    border-radius: 2px;
    overflow: hidden;
    line-height: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.upper-canvas,
.lower-canvas {
    border-radius: 2px;
}

.panel-text,
.panel-bg,
.panel-image {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: none;
    background: transparent;
    max-height: none;
    overflow: visible;
    border-radius: 0;
}

.bg-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    row-gap: 0.5rem;
    align-items: center;
}

.bg-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--muted);
    cursor: pointer;
}

.bg-check input {
    width: 0.875rem;
    height: 0.875rem;
    accent-color: var(--brand);
}

.bg-hint {
    margin: 0.5rem 0 0;
    font-size: 0.6875rem;
    color: var(--muted);
    line-height: 1.4;
}

.text-tools {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.5rem;
}

.panel-section {
    padding: 0.65rem 12px 0.75rem;
    border-bottom: 1px solid var(--border-hairline);
}

.panel-section:last-child {
    border-bottom: none;
}

.panel-section-title {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.field-head-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-field-reset {
    min-height: 24px;
    min-width: 28px;
    padding: 0 6px;
    font-size: 0.85rem;
    line-height: 1;
    border-radius: 4px;
}

.bg-check-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.size-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: var(--brand-soft);
    border: 1px solid rgba(132, 130, 232, 0.35);
}

.size-effective {
    display: block;
    font-size: 0.6875rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.btn-compact {
    margin-top: 0.45rem;
    width: 100%;
    min-height: 32px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.field-range .ui-range {
    width: 100%;
    margin-top: 0.2rem;
}

.range-val {
    font-size: 0.6875rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}

.ui-range {
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(132, 130, 232, 0.18), rgba(255, 255, 255, 0.06));
    outline: none;
}

.ui-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e8e7ff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(132, 130, 232, 0.4);
    cursor: pointer;
    border: none;
}

.ui-range::-moz-range-track {
    height: 5px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(132, 130, 232, 0.18), rgba(255, 255, 255, 0.06));
}

.ui-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e8e7ff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(132, 130, 232, 0.4);
    cursor: pointer;
    border: none;
}

.ui-range:hover::-webkit-slider-thumb {
    background: #f4f3ff;
}

.panel-text-head {
    padding: 10px 12px 8px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-hairline);
}

.panel-text-head h2 {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text);
}

.font-picker-shell {
    position: relative;
    width: 100%;
}

.font-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.25rem;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: var(--surface-0);
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.font-trigger:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.font-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.font-picker-modal[hidden] {
    display: none;
}

.font-picker-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(5, 8, 18, 0.78);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.font-picker-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(85vh, 680px);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(132, 130, 232, 0.08);
}

.font-picker-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-hairline);
    flex-shrink: 0;
}

.font-picker-dialog-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--text);
}

.font-picker-close {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: var(--surface-0);
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.font-picker-close:hover {
    background: var(--surface-2);
}

.font-search {
    margin: 10px 12px 8px;
    padding: 0.45rem 0.65rem;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: var(--surface-0);
    color: var(--text);
    font: inherit;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.font-picker-list {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 8px 10px;
}

.font-picker-group {
    margin-bottom: 0.65rem;
}

.font-picker-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.45rem 0.35rem 0.3rem;
    margin: 0 -0.15rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    background: linear-gradient(180deg, var(--panel) 70%, transparent);
}

.font-picker-group-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.font-picker-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    padding: 0.45rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.1s ease, background 0.1s ease;
}

.font-picker-row:hover,
.font-picker-row:focus-visible {
    border-color: rgba(132, 130, 232, 0.35);
    background: rgba(132, 130, 232, 0.08);
    outline: none;
}

.font-picker-row-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--muted);
    font-family: Inter, system-ui, sans-serif !important;
}

.font-picker-row-sample {
    font-size: 1.2rem;
    line-height: 1.2;
    word-break: break-word;
}

.font-picker-row-custom .font-picker-row-label {
    color: #94a3b8;
}

.text-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 0.65rem 0.75rem;
    align-items: end;
    padding: 0;
    width: 100%;
}

.field-span2 {
    grid-column: span 2;
}

@media (max-width: 560px) {
    .field-span2 {
        grid-column: span 1;
    }
}

.field-label {
    font-size: 0.6875rem;
    color: var(--muted);
    margin-bottom: 0.3rem;
    display: block;
}

.text-style-row {
    align-self: end;
}

.text-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.button.secondary.text-toggle {
    min-height: 30px;
    min-width: 36px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.button.secondary.text-toggle.is-active {
    background: rgba(132, 130, 232, 0.12);
    border-color: rgba(132, 130, 232, 0.45);
    color: var(--text);
    box-shadow: none;
}

#text-bold {
    font-weight: 800;
}

#text-italic {
    font-style: italic;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: var(--muted);
    min-width: 0;
}

.field input:not([type="range"]),
.field select {
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: var(--surface-0);
    color: var(--text);
    font: inherit;
    font-size: 0.8125rem;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field input:not([type="range"]):focus,
.field select:focus {
    outline: none;
    border-color: rgba(132, 130, 232, 0.55);
    box-shadow: 0 0 0 2px rgba(132, 130, 232, 0.18);
}

.field input[type="color"] {
    height: 2rem;
    padding: 2px;
    cursor: pointer;
}
