.palette[aria-pressed="true"]{outline:3px solid #173e34;outline-offset:2px;background:#ecf4e9}
#card-palette-search{width:100%;margin:6px 0 16px}
.palette-picker{border:1px solid #d8e2d3;border-radius:12px;background:#f8faf5;padding:12px;margin:0 0 22px}.palette-picker label{margin:0}.palette-picker .palette-grid{max-height:244px;overflow:auto;overscroll-behavior:contain;padding:3px;margin:0 0 10px}.palette-instruction{font-size:11px;line-height:1.45;color:#49645a;margin:0 0 10px!important}#palette-selection{font-size:11px;font-weight:700;color:#173c32;margin:0!important}.palette-picker .palette[aria-pressed="true"]{outline:3px solid #173e34;outline-offset:-3px;background:#e3f0d6}
.social-editor-field>span{display:flex;align-items:center;gap:9px;font-weight:650}
.social-editor-field>span img{width:22px;height:22px;object-fit:contain}
.preset-grid button:focus-visible,.card-action summary:focus-visible{outline:3px solid #d7b762;outline-offset:2px}
.card-tour-intro{padding:13px 15px;margin:0 0 24px;background:#edf3e9;border:1px solid #d2dfca;border-radius:13px;color:#173c32;display:flex;align-items:center;justify-content:space-between;gap:10px}
.card-tour-intro strong,.card-tour-intro small{display:block}.card-tour-intro strong{font-size:14px}.card-tour-intro small{font-size:11px;line-height:1.45;margin-top:4px;color:#49645a}
.card-tour-intro button{white-space:nowrap;font-size:11px;background:#173c32;color:white;border:0;padding:10px 12px}
.field-help{font-size:12px;line-height:1.5;color:#5b6e64;margin:5px 0 17px}
.preview-tap-hint{display:none}
.preview-selected-setting{outline:3px solid #84b788;outline-offset:5px;border-radius:8px;scroll-margin-block:16px;transition:outline-color .2s}
.name-color-example{display:flex;gap:9px;flex-wrap:wrap;font-size:24px;font-weight:850;line-height:1.15;background:#173448;padding:17px;border-radius:12px;margin:5px 0 22px}
.social-editor-field .field-help{display:block;font-weight:400}
.step-nav{display:flex;justify-content:space-between;gap:12px;margin:30px 0 12px;border-top:1px solid #d8dfd6;padding-top:20px}
.step-nav button{min-height:46px}
.step-nav button:last-child{margin-left:auto}
.destination-block{background:#f1f6ed;border:2px solid #9fc19d;border-radius:16px;padding:18px;margin:12px 0 22px}
.destination-block h4{font-size:18px;margin:0 0 8px;color:#173c32}
.destination-block input{background:#fff!important;border-color:#86ad82!important;min-height:50px}
.destination-block .field-help{margin-bottom:13px}
.card-action summary,.branch-edit summary{display:flex;align-items:center;gap:10px}
.card-action summary>span:nth-child(2),.branch-edit summary>span:first-child{flex:1;min-width:0}
.card-action summary small{font-size:11px;white-space:nowrap;color:#4b6558}
.editor-remove{flex:0 0 34px;min-width:34px;width:34px;height:34px;padding:0!important;border:1px solid #bdcac0;border-radius:50%;background:#fff;color:#9d3a30;font-size:23px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.editor-remove:hover{background:#feece8;border-color:#c77a70}
.delete-place-trigger{color:#943c32;border-color:#e5c9c4!important;background:#fff!important}.delete-place-trigger:hover{background:#fff0ec!important}
#delete-place-dialog{width:min(510px,94vw)}#delete-place-dialog h2{margin-bottom:12px}#delete-place-dialog>p{font-size:13px;line-height:1.6}#delete-place-dialog .hint{margin:11px 0 22px}
.delete-place-actions{display:flex;gap:10px;flex-wrap:wrap}.delete-place-actions button{flex:1;min-height:43px}.danger-button{background:#9d3a30;color:white;border:1px solid #9d3a30}.danger-button:disabled{opacity:.45;cursor:not-allowed}
.card-tour-shades{position:fixed;inset:0;z-index:800;pointer-events:none}.card-tour-shade{position:fixed;background:rgba(12,28,24,.76);pointer-events:none}.card-tour-ring,.card-tour-preview-ring{position:fixed;border:3px solid #d7ec95;border-radius:11px;box-shadow:0 0 0 4px #ffffffbb,0 8px 24px #0003;z-index:801;pointer-events:none}.card-tour-preview-ring{border-color:#fff4bf;box-shadow:0 0 0 4px #173c32bb,0 8px 24px #0004}.card-tour-preview-ring span{position:absolute;right:0;bottom:calc(100% + 7px);white-space:nowrap;background:#fffdf8;color:#173c32;font-size:11px;font-weight:700;padding:4px 8px;border-radius:6px;box-shadow:0 3px 12px #0003}.card-tour-preview-ring.label-below span{bottom:auto;top:calc(100% + 7px)}
.card-tour-popover{position:fixed;z-index:802;box-sizing:border-box;background:#fffdf8;color:#173c32;border:1px solid #d5dfcd;border-radius:18px;box-shadow:0 18px 65px #0005;padding:19px 20px;max-height:calc(100dvh - 24px);overflow:auto;pointer-events:auto}
.card-tour-top{display:flex;align-items:center;justify-content:space-between}.card-tour-count{font-size:11px;letter-spacing:.13em;font-weight:800;color:#59705f}.card-tour-close{border:0;background:none;font-size:25px;padding:0 5px;line-height:1;color:#6e7f74}
.card-tour-popover h2{font-size:20px;line-height:1.2;margin:13px 0 7px}.card-tour-popover p{font-size:13px;line-height:1.55;color:#475c50;margin:0}
.card-tour-actions{display:flex;gap:7px;align-items:center;margin-top:20px;flex-wrap:wrap}.card-tour-actions button{font-size:11px;padding:9px 11px}.card-tour-next{margin-left:auto;background:#173c32;color:#fff;border-color:#173c32}.card-tour-skip{border:0;background:none;padding-left:0!important;color:#667b6b}
.card-tour-next:disabled{opacity:.48;cursor:not-allowed}.card-tour-progress{font-size:11px;color:#61766a;margin-top:10px!important}
@media(max-width:520px){.card-tour-intro{align-items:flex-start;flex-direction:column}.card-action summary small{font-size:10px}.step-nav{flex-wrap:wrap}.card-tour-popover{padding:15px}}
@media(max-width:600px){
 .preview-toolbar>span{display:none}
 .preview-tap-hint{display:block;flex:1;min-width:0;color:#234a38;font-size:11px;font-weight:700;letter-spacing:0;line-height:1.2}
 .preview-toolbar{gap:8px}
 #workspace:has(#editor:not([hidden])){height:min(var(--card-editor-vh,100dvh),100dvh);overflow:hidden;display:flex;flex-direction:column}
 #workspace:has(#editor:not([hidden])) .sidebar{flex:none}
 #workspace:has(#editor:not([hidden])) .sidebar>a[href="negocio.html"]{display:none!important}
 #editor #final-preview{display:none}
 .main:has(#editor:not([hidden])){flex:1;min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}
 #editor:not([hidden]){flex:1;min-height:0;display:flex;flex-direction:column}
 #editor .editor-top,#editor .editor-sub{flex:none}
 #editor .editor-grid{flex:1;min-height:0;height:auto!important;display:flex;flex-direction:column}
 body:not(.previewing) #controls{display:block;flex:1;min-height:0;height:auto;overflow:auto;overscroll-behavior:contain;padding-bottom:24px}
 body:not(.previewing) .preview-area{display:none!important}
 .mobile-preview-action{display:block;flex:none;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce4da;box-shadow:0 -5px 18px #173c3212}
 .mobile-preview-action button{display:block;width:100%;min-height:48px;background:#173c32;color:#fff;border-color:#173c32;font-size:14px;font-weight:700}
 body.card-tour-active .mobile-preview-action{position:relative;z-index:801}
 body.previewing #controls,body.previewing .mobile-preview-action{display:none!important}
 body.previewing .preview-area{display:flex!important;flex:1;min-height:0;height:auto;padding:12px 12px 0}
 body.previewing .preview-toolbar{flex:none;margin-bottom:10px;letter-spacing:0}
 body.previewing .preview-toolbar>div{display:none}
 body.previewing #show-settings{display:block;flex:none;min-height:40px;padding:7px 10px;background:#fff;border:1px solid #b9cbb8;border-radius:8px;color:#173c32;font-size:11px;font-weight:700}
 body.previewing .frame-wrap{width:100%;max-width:440px;flex:1;min-height:0;border-width:4px;border-radius:16px}
 body.previewing .preview-foot{display:none}
}
@media(max-width:600px){
 body.card-tour-active{overflow:hidden}
 body.card-tour-active .sidebar,body.card-tour-active .editor-top{display:none!important}
 body.card-tour-active #controls{padding-bottom:24px}
 body.card-tour-active .card-tour-popover{padding:11px 13px;border-radius:12px;max-height:190px}
 body.card-tour-active .card-tour-popover h2{font-size:15px;margin:5px 0 3px}
 body.card-tour-active .card-tour-popover p{font-size:11px;line-height:1.3}
 body.card-tour-active .card-tour-actions{margin-top:7px}
 body.card-tour-active .card-tour-actions button{font-size:10px;padding:5px 7px}
 body.card-tour-paused .card-tour{display:none}
}
@media(max-width:600px){
 body.card-tour-compact .card-tour-popover{max-height:125px;padding:8px 10px}
 body.card-tour-compact .card-tour-popover h2{font-size:13px;margin:3px 0}
 body.card-tour-compact .card-tour-popover p{font-size:10px;line-height:1.2}
 body.card-tour-compact .card-tour-actions{margin-top:4px}
}
