.appearance-workspace { margin-top: 18px; }
.appearance-builder { margin-top: 0; grid-template-columns: minmax(0, 1.28fr) minmax(0, .8fr); }
.appearance-builder .ruby-builder-editor,
.appearance-builder .ruby-containers,
.appearance-builder .ruby-container-card,
.appearance-builder .ruby-block-list,
.appearance-builder .ruby-block-card { min-width: 0; }
.appearance-builder .ruby-containers,
.appearance-builder .ruby-block-list { grid-template-columns: minmax(0, 1fr); }
.appearance-builder .ruby-containers { padding-left: 0; }
.appearance-builder .ruby-container-card { background: linear-gradient(145deg, #2a213d, #1c182a); }
.appearance-builder .ruby-block-card { gap: 11px; }
.appearance-builder .ruby-block-text { min-height: 95px; }
.appearance-builder .ruby-button-list { gap: 8px; }
.appearance-fixed-tag,
.appearance-fixed-action { color: #bda8ce; font-size: 9px; font-weight: 850; letter-spacing: .8px; white-space: nowrap; }
.appearance-fixed-tag { padding: 5px 8px; border: 1px solid #70558a; border-radius: 99px; background: #463454; }
.appearance-placeholder-help { color: #ac98bd; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.appearance-button-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 7px 10px; }
.appearance-button-chip.Primary { border-color: #6975ef; }
.appearance-button-chip.Success { border-color: #3eaa70; }
.appearance-button-chip.Danger { border-color: #df666b; }
.appearance-button-chip.Link { border-color: #7e8190; }
.appearance-button-chip.inactive { color: #b7aebe; background: #2a2630; border-style: dashed; }
.appearance-button-chip.inactive::after { content: 'Desativado'; color: #a394a7; font-size: 9px; font-weight: 600; }
.appearance-chip-emoji { width: 21px; height: 21px; display: inline-grid; place-items: center; flex: none; object-fit: contain; font-size: 18px; line-height: 1; }
.appearance-chip-arrow { color: #c99ae8; }
.appearance-preview-column { min-width: 0; position: sticky; top: 18px; }
.appearance-preview-column .panel-preview { position: static; }
.appearance-preview-state { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 10px; padding: 12px; border: 1px solid #66517b; border-radius: 10px; background: #251c33; }
.appearance-preview-state > span { color: #bfa9d3; font-size: 9px; font-weight: 850; letter-spacing: 1px; }
.appearance-modal-note { margin: 0; padding: 11px; border: 1px solid #655073; border-radius: 8px; background: #332640; color: #c9b6d4; font-size: 11px; line-height: 1.45; }
.appearance-style-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.appearance-style-field legend { padding: 0; margin-bottom: 8px; color: #cdb6df; font-size: 10px; font-weight: 850; letter-spacing: .7px; }
.appearance-style-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.appearance-style-option { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 37px; padding: 7px; border: 1px solid #66517a; border-radius: 8px; background: #241b31; color: #ded1e8; font-size: 11px; font-weight: 750; cursor: pointer; }
.appearance-style-option:has(input:checked) { border-color: #c5a0e0; background: #443154; box-shadow: 0 0 0 2px #bb8bd730; }
.appearance-style-option:focus-within { outline: 2px solid #d3a9f0; outline-offset: 2px; }
.appearance-style-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.appearance-style-swatch { width: 13px; height: 13px; border-radius: 4px; background: #5865f2; flex: none; }
.appearance-style-option.Secondary .appearance-style-swatch { background: #4e5058; }
.appearance-style-option.Success .appearance-style-swatch { background: #248046; }
.appearance-style-option.Danger .appearance-style-swatch { background: #da373c; }
.appearance-style-note { margin: 0; color: #ac98bd; font-size: 11px; }
.appearance-builder .ruby-builder-footer { margin-left: 0; }
@media (max-width: 1120px) { .appearance-builder { grid-template-columns: minmax(0, 1fr); } .appearance-preview-column { position: static; } }
@media (max-width: 690px) { .appearance-builder .ruby-button-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .appearance-button-chip { min-width: 0; max-width: 100%; justify-content: flex-start; overflow: hidden; } .appearance-button-chip > span:not(.appearance-chip-emoji) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .appearance-button-chip.inactive::after { display: none; } .appearance-style-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
