:root{--black:#0b0b0d;--ink:#17171b;--muted:#707078;--line:#e8e8ec;--paper:#fff;--soft:#f6f6f8;--accent:#6d5dfb;--green:#14a66b;--red:#d9364f;--radius:18px;--shadow:0 18px 60px rgba(15,15,18,.09)}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}.container-wide{width:min(1360px,calc(100% - 48px));margin:auto}.topbar{height:76px;padding:0 30px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);position:sticky;top:0;z-index:20}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.025em}.brand-mark,.install-brand>.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;padding:0;flex:0 0 auto}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand-word{width:auto!important;height:auto!important;background:transparent!important;color:inherit!important;border-radius:0!important;font-size:inherit!important;letter-spacing:inherit!important}.topbar nav{display:flex;gap:16px;align-items:center;font-size:14px;font-weight:650}.user-name{color:var(--muted)}.role-badge{background:#eeeaff;color:#5544ca;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800}.button{border:0;border-radius:12px;min-height:44px;padding:0 19px;background:var(--black);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.button:hover{transform:translateY(-1px);box-shadow:0 8px 25px rgba(0,0,0,.15)}.button-ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.button-large{min-height:54px;padding:0 26px;border-radius:14px}.button-small{min-height:38px;padding:0 14px;font-size:13px;border-radius:10px}.button-block{width:100%}.label{display:inline-block;font-size:11px;font-weight:850;letter-spacing:.17em;color:var(--accent);margin-bottom:12px}.flash{width:min(680px,calc(100% - 32px));margin:16px auto;padding:13px 16px;border-radius:12px;font-size:14px}.flash-error{background:#fff0f2;color:#a9263a;border:1px solid #ffd6dc}.flash-success{background:#effbf6;color:#08764a;border:1px solid #c8f1df}.app-footer{padding:28px;text-align:center;color:#8a8a91;font-size:12px;border-top:1px solid var(--line)}

/* Landing */
.landing{overflow:hidden}.landing-hero{min-height:720px;padding:85px max(5vw,28px);display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:8vw;background:radial-gradient(circle at 90% 5%,#e9e7ff 0,transparent 35%),linear-gradient(180deg,#fff,#f7f7f9)}.landing-copy{max-width:700px}.landing-copy h1{font-size:clamp(56px,7vw,104px);line-height:.9;letter-spacing:-.07em;margin:8px 0 30px}.landing-copy h1 span{color:#a1a1aa}.landing-copy p{max-width:590px;color:var(--muted);font-size:20px;line-height:1.55}.landing-actions{display:flex;align-items:center;gap:26px;margin-top:38px}.text-link{font-weight:700}.browser-mockup{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:24px;box-shadow:0 35px 100px rgba(25,25,35,.18);overflow:hidden;transform:rotate(1deg)}.browser-bar{height:48px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px;padding:0 15px}.browser-bar i{width:9px;height:9px;border-radius:50%;background:#d8d8dc}.browser-bar span{margin-left:12px;background:var(--soft);border-radius:7px;padding:5px 14px;font-size:10px;color:#92929a}.mock-site{min-height:480px;padding:80px 55px;background:linear-gradient(145deg,#101014 0%,#292631 100%);color:#fff;display:flex;flex-direction:column;justify-content:center}.mock-site small{text-transform:uppercase;letter-spacing:.18em;color:#aaa2ff;font-weight:800}.mock-site h2{font-size:clamp(38px,4.3vw,68px);line-height:1;letter-spacing:-.055em;max-width:650px;margin:22px 0}.mock-site p{color:#b9b9c0;font-size:16px}.mock-site b{background:#fff;color:#111;align-self:flex-start;padding:14px 22px;border-radius:999px;margin-top:24px}.steps{width:min(1200px,calc(100% - 48px));margin:auto;padding:100px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.steps div{border-top:1px solid var(--line);padding-top:28px}.steps span{font-size:12px;color:var(--accent);font-weight:850}.steps h3{font-size:25px;margin:30px 0 8px}.steps p{color:var(--muted);margin:0}

/* Authentication and installer */
.minimal-layout .app-footer{display:none}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-panel{padding:40px 6vw;color:#fff;background:radial-gradient(circle at 30% 90%,#4d3fbe 0,transparent 38%),var(--black);display:flex;flex-direction:column;justify-content:space-between}.auth-panel .brand-mark{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.12)}.auth-copy{max-width:560px;padding-bottom:8vh}.auth-copy h1{font-size:clamp(46px,6vw,84px);line-height:.93;letter-spacing:-.065em;margin:10px 0 26px}.auth-copy p{font-size:18px;color:#b9b9c0;max-width:480px}.auth-form{display:grid;place-items:center;padding:50px 8vw}.auth-box{width:min(440px,100%)}.auth-box h2{font-size:38px;letter-spacing:-.04em;margin:0 0 8px}.auth-box>p{color:var(--muted);margin:0 0 32px}.form-stack{display:grid;gap:18px}.form-stack label,.panel-fields label,.domain-box>label,.modal label{display:grid;gap:8px;font-size:13px;font-weight:700}.form-stack input,.panel-fields input,.panel-fields textarea,.domain-box input,.modal input,.status-form select{width:100%;border:1px solid #dcdce1;border-radius:11px;padding:13px 14px;background:#fff;outline:none;transition:.18s}.form-stack input:focus,.panel-fields input:focus,.panel-fields textarea:focus,.domain-box input:focus,.modal input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(109,93,251,.1)}label small{color:var(--muted);font-weight:500}.auth-switch{text-align:center!important;font-size:14px!important;margin:25px 0 0!important}.auth-switch a{font-weight:800;color:var(--accent)}.admin-access-link{text-align:center;font-size:12px;margin-top:18px}.admin-access-link a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}.install-page{background:var(--soft);display:grid;place-items:center;padding:40px 18px}.install-card{width:min(580px,100%);background:#fff;padding:44px;border-radius:24px;box-shadow:var(--shadow)}.install-brand{display:flex;align-items:center;gap:12px;margin-bottom:38px}.install-brand div{display:grid}.install-brand small{color:var(--muted)}.install-card h1{font-size:38px;letter-spacing:-.04em;margin:0 0 8px}.install-card h2{margin:0;font-size:17px}.install-card>p{color:var(--muted)}.install-card hr{border:0;border-top:1px solid var(--line);margin:5px 0}.success-icon{width:70px;height:70px;display:grid;place-items:center;background:#e5f9f0;color:var(--green);border-radius:50%;font-size:30px;margin-bottom:24px}.install-card code{background:var(--soft);padding:2px 5px;border-radius:4px}

/* Dashboard */
.dashboard,.admin,.checkout{padding:64px 0 100px}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:42px}.page-heading h1{font-size:48px;letter-spacing:-.05em;margin:0 0 8px}.page-heading p{color:var(--muted);margin:0}.empty-state{text-align:center;border:1px dashed #ceced4;border-radius:24px;padding:80px 25px}.empty-art{width:150px;height:110px;border-radius:17px;background:linear-gradient(145deg,#16161a,#494259);display:grid;place-items:center;margin:0 auto 26px;box-shadow:15px 15px 0 #ecebf8;padding:25px}.empty-art img{width:100%;height:100%;object-fit:contain}.empty-state h2{font-size:28px;margin:15px 0 8px}.empty-state p{color:var(--muted);margin:0 0 28px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.project-card{border:1px solid var(--line);border-radius:19px;overflow:hidden;background:#fff;transition:.2s}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.project-preview{height:245px;background:linear-gradient(140deg,#141418,#32303a);display:grid;place-items:center;padding:35px}.project-preview>div{width:100%;height:100%;padding:25px;background:#fff;border-radius:10px;overflow:hidden}.project-preview small{font-size:7px;color:var(--project-accent);font-weight:850;letter-spacing:.12em}.project-preview strong{display:block;font-size:22px;line-height:1;letter-spacing:-.04em;max-width:75%;margin:18px 0}.project-preview span{display:inline-block;background:var(--project-accent);color:#fff;border-radius:99px;padding:6px 10px;font-size:7px}.project-info{display:flex;justify-content:space-between;gap:15px;align-items:start;padding:20px 20px 12px}.project-info h3{margin:0 0 5px;font-size:17px}.project-info p{margin:0;color:var(--muted);font-size:11px}.status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap;background:#eee}.status-paid,.status-published{background:#e5f9ef;color:#07814e}.status-awaiting_payment{background:#fff4dc;color:#9e6500}.status-review{background:#eeeaff;color:#5544ca}.project-actions{display:flex;gap:8px;padding:8px 20px 20px}.modal{border:0;border-radius:22px;padding:0;box-shadow:0 40px 120px rgba(0,0,0,.28);width:min(500px,calc(100% - 30px))}.modal::backdrop{background:rgba(0,0,0,.55);backdrop-filter:blur(5px)}.modal form{padding:38px}.modal h2{font-size:30px;letter-spacing:-.04em;margin:3px 0 8px}.modal p{color:var(--muted);margin:0 0 25px}.modal label{margin-bottom:20px}.modal-close{position:absolute;right:14px;top:14px;border:0;width:34px;height:34px;border-radius:50%;font-size:22px;cursor:pointer}

/* Editor */
.editor{height:100vh;display:grid;grid-template:64px 1fr/370px 1fr;background:#ededf0;overflow:hidden}.editor-bar{grid-column:1/-1;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px;gap:26px;z-index:5}.editor-title{display:grid;min-width:0}.editor-title strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-title small{font-size:10px;color:var(--muted)}.device-switch{display:flex;background:var(--soft);padding:3px;border-radius:10px;margin:auto}.device-switch button{width:38px;height:32px;border:0;background:transparent;border-radius:7px;cursor:pointer}.device-switch button.active{background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.09)}.editor-actions{display:flex;gap:8px}.editor-sidebar{background:#fff;border-right:1px solid var(--line);overflow:auto}.editor-tabs{position:sticky;top:0;z-index:3;background:#fff;display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}.editor-tabs button{height:52px;border:0;background:#fff;font-size:12px;font-weight:750;color:var(--muted);border-bottom:2px solid transparent;cursor:pointer}.editor-tabs button.active{color:var(--ink);border-bottom-color:var(--ink)}.tab-pane{display:none}.tab-pane.active{display:block}.editor-sidebar details{border-bottom:1px solid var(--line)}.editor-sidebar summary{padding:18px 20px;font-size:14px;font-weight:780;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.editor-sidebar summary::after{content:'+';color:var(--muted)}.editor-sidebar details[open] summary::after{content:'−'}.panel-fields{display:grid;gap:16px;padding:5px 20px 24px}.panel-fields textarea{resize:vertical;line-height:1.45}.panel-fields h3{font-size:16px;margin:18px 0 0}.repeat-card{padding:14px;background:var(--soft);border-radius:13px;display:grid;gap:13px}.upload-control{display:grid;grid-template-columns:1fr auto}.upload-control input{border-radius:10px 0 0 10px;font-size:11px;color:var(--muted);background:#f8f8fa}.upload-control button{border:0;border-radius:0 10px 10px 0;background:#232327;color:#fff;padding:0 13px;font-size:11px;font-weight:750;cursor:pointer}.color-control{display:flex;align-items:center;gap:12px}.color-control input{width:48px;height:48px;padding:3px}.color-control span{font-size:13px;color:var(--muted)}.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:0}.section-row{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;padding:12px;background:#fff;cursor:grab}.section-row.dragging{opacity:.5}.section-row .drag{color:#aaa}.section-row strong{font-size:13px;flex:1}.switch input{display:none}.switch i{width:34px;height:20px;border-radius:99px;background:#ccc;display:block;position:relative}.switch i::after{content:'';position:absolute;width:14px;height:14px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.18s}.switch input:checked+i{background:var(--accent)}.switch input:checked+i::after{left:17px}.editor-canvas{padding:28px;overflow:auto;display:flex;justify-content:center;align-items:flex-start}.preview-shell{background:#fff;height:100%;box-shadow:0 8px 35px rgba(0,0,0,.1);transition:width .3s;border-radius:7px;overflow:hidden}.preview-shell.desktop{width:100%}.preview-shell.tablet{width:768px}.preview-shell.mobile{width:390px}.preview-shell iframe{width:100%;height:100%;border:0}.editor-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:11px 18px;border-radius:99px;background:#19191d;color:#fff;opacity:0;pointer-events:none;transition:.2s;z-index:50;font-size:13px}.editor-toast.show{opacity:1;transform:translate(-50%,0)}.editor-toast.error{background:var(--red)}

/* Checkout */
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.plan-card{position:relative;border:1px solid var(--line);border-radius:20px;padding:30px;cursor:pointer;transition:.2s}.plan-card:has(input:checked){border:2px solid var(--black);box-shadow:var(--shadow);padding:29px}.plan-card>input{position:absolute;right:24px;top:24px;accent-color:#111}.plan-card h2{font-size:27px;margin:0 0 9px}.plan-card>p{color:var(--muted);min-height:50px}.plan-price{font-size:46px;font-weight:850;letter-spacing:-.06em;margin:24px 0}.plan-price small{font-size:19px;vertical-align:top}.plan-price span{display:block;font-size:11px;font-weight:650;letter-spacing:0;color:var(--muted)}.plan-card ul{padding:0;margin:0;list-style:none;display:grid;gap:10px;font-size:13px}.popular{position:absolute;top:-12px;left:24px;background:var(--black);color:#fff;border-radius:99px;padding:6px 10px;font-size:9px;font-weight:850;letter-spacing:.08em}.domain-box{margin-top:32px;background:var(--soft);border-radius:20px;padding:35px}.domain-box h2{font-size:28px;margin:0 0 24px}.domain-options{display:flex;gap:22px;margin-bottom:25px}.domain-options label{font-weight:700;font-size:14px}.domain-options input{width:auto;accent-color:#111}.domain-box>label input{margin-top:4px;background:#fff}.checkout-submit{position:sticky;bottom:0;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:18px;padding:16px 18px;margin-top:25px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 35px rgba(0,0,0,.08)}.checkout-submit div{display:grid}.checkout-submit span{font-size:12px;color:var(--muted)}

/* Admin */
.stats-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:26px}.stats-grid a{padding:20px;border:1px solid var(--line);border-radius:15px;display:grid;background:#fff}.stats-grid a.active,.stats-grid a:hover{border-color:#111}.stats-grid strong{font-size:28px}.stats-grid span{font-size:11px;color:var(--muted)}.admin-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:17px}.admin-table{width:100%;border-collapse:collapse;min-width:920px}.admin-table th{text-align:left;padding:14px 17px;background:var(--soft);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.admin-table td{padding:16px 17px;border-top:1px solid var(--line);font-size:13px}.admin-table td>strong,.admin-table td>small{display:block}.admin-table td>small{color:var(--muted);margin-top:4px}.status-form select{padding:8px 10px;font-size:12px}.table-actions{display:flex;gap:6px}.table-actions a{padding:7px 9px;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:750}.table-empty{text-align:center!important;color:var(--muted);padding:50px!important}

@media(max-width:1000px){.landing-hero{grid-template-columns:1fr;padding-top:70px}.landing-copy h1{font-size:72px}.browser-mockup{max-width:760px}.project-grid{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:repeat(3,1fr)}.editor{grid-template-columns:330px 1fr}.editor-title{display:none}.plan-grid{grid-template-columns:1fr}.plan-card>p{min-height:auto}}
@media(max-width:720px){.container-wide{width:min(100% - 28px,1360px)}.topbar{height:66px;padding:0 14px}.topbar nav>a:not(.button),.user-name,.role-badge{display:none}.landing-hero{padding:55px 20px;min-height:auto}.landing-copy h1{font-size:52px}.landing-copy p{font-size:17px}.landing-actions{display:grid;gap:16px}.mock-site{min-height:330px;padding:50px 28px}.steps{grid-template-columns:1fr;padding:65px 0}.auth-shell{grid-template-columns:1fr}.auth-panel{min-height:300px;padding:28px}.auth-copy{padding-top:70px}.auth-copy h1{font-size:46px}.auth-copy p{font-size:15px}.auth-form{padding:45px 22px}.install-card{padding:28px 20px}.page-heading{display:block}.page-heading h1{font-size:38px}.page-heading .button{margin-top:22px}.project-grid{grid-template-columns:1fr}.dashboard,.admin,.checkout{padding-top:45px}.editor{height:auto;min-height:100vh;display:block;padding-top:58px;overflow:visible}.editor-bar{height:58px;position:fixed;top:0;left:0;right:0;padding:0 10px;gap:8px}.editor-bar .brand{font-size:0}.editor-bar .brand-mark{width:36px;height:36px}.device-switch{display:none}.editor-actions{margin-left:auto}.editor-actions .button-ghost{display:none}.editor-sidebar{height:auto;overflow:visible;border:0}.editor-canvas{height:600px;padding:12px}.preview-shell.mobile,.preview-shell.tablet,.preview-shell.desktop{width:100%}.plan-grid{gap:26px}.domain-options{display:grid;gap:13px}.checkout-submit{display:grid;gap:15px}.checkout-submit .button{width:100%}.stats-grid{grid-template-columns:1fr 1fr}.modal form{padding:30px 20px}}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-card{border:1px solid var(--line);border-radius:20px;padding:30px}.settings-card h2{font-size:25px;margin:0 0 8px}.settings-card>p{color:var(--muted)}.settings-card code{background:var(--soft);border-radius:5px;padding:2px 5px}.integration-status{display:inline-flex;padding:7px 10px;border-radius:99px;background:#fff1f3;color:#a2263a;font-size:12px;font-weight:800;margin:12px 0}.integration-status.enabled{background:#e8f9f1;color:#087d4c}@media(max-width:720px){.form-grid,.settings-grid{grid-template-columns:1fr}}
.admin-alerts{display:grid;gap:8px;margin:0 0 22px}.admin-alerts a{display:flex;gap:12px;align-items:center;padding:13px 16px;background:#f0eefc;border:1px solid #dfdafc;border-radius:12px}.admin-alerts>a>span{color:var(--accent)}.admin-alerts div{display:grid}.admin-alerts small{color:var(--muted);margin-top:3px}

/* FR Builder 1.1 */
.plan-grid{grid-template-columns:repeat(2,1fr)}.editor-tabs{grid-template-columns:repeat(4,1fr)}.editor-tabs button{font-size:11px}.panel-fields select{width:100%;border:1px solid #dcdce1;border-radius:11px;padding:13px 14px;background:#fff}.check-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important}.check-row input{width:auto!important}.mini-danger{justify-self:end;border:0;background:transparent;color:var(--red);font-size:11px;font-weight:800;cursor:pointer}.link-head{display:flex;justify-content:space-between;align-items:center}.link-head .mini-danger{justify-self:auto}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.color-grid input{height:44px;padding:3px}.project-type-options{display:grid;gap:10px;margin:0 0 22px}.project-type-options label{display:flex!important;align-items:center;gap:12px!important;border:1px solid var(--line);border-radius:13px;padding:14px;margin:0!important;cursor:pointer}.project-type-options input{width:auto!important}.project-type-options span{display:grid}.project-type-options small{margin-top:3px}.heading-actions{display:flex;gap:10px}.table-actions{align-items:center;flex-wrap:wrap}.table-actions form{margin:0}.table-actions button{padding:7px 9px;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:750;background:#fff;cursor:pointer}.table-actions button.danger{color:var(--red);border-color:#ffd4dc}.admin-table{min-width:1180px}.status-form{margin-bottom:7px}.dns-layout{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.dns-table{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:20px 0}.dns-table>div{display:grid;grid-template-columns:70px 80px 1fr;gap:10px;padding:12px;border-top:1px solid var(--line);align-items:center}.dns-table>div:first-child{border-top:0;background:var(--soft);font-size:11px;text-transform:uppercase}.dns-table code{overflow-wrap:anywhere}.dns-result{padding:13px;background:var(--soft);border-radius:12px;margin-bottom:15px}.dns-result p{margin:5px 0}.manual-domain-form{margin-top:12px}.update-card{max-width:720px}.button:disabled{opacity:.45;cursor:not-allowed}.project-actions{flex-wrap:wrap}
@media(max-width:1000px){.dns-layout{grid-template-columns:1fr}.plan-grid{grid-template-columns:1fr}}@media(max-width:720px){.heading-actions{margin-top:18px;flex-wrap:wrap}.editor-tabs{grid-template-columns:repeat(4,1fr)}}

/* FR Builder 1.1.1 commerce */
.one-time-alerts{position:relative}.one-time-alerts a{background:linear-gradient(135deg,#f1efff,#faf9ff);box-shadow:0 10px 30px rgba(85,68,202,.08);animation:alert-in .35s ease both}.one-time-alerts a:after{content:'VISTA ÚNICA';margin-left:auto;font-size:9px;font-weight:900;letter-spacing:.1em;color:#7567d9}@keyframes alert-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}.upgrade-button{background:linear-gradient(135deg,#6d5dfb,#4d3fbe);border:0;color:#fff}.upgrade-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:stretch}.upgrade-hero-card{position:relative;overflow:hidden;border-radius:28px;padding:48px;background:radial-gradient(circle at 95% 0,#6d5dfb 0,transparent 38%),#111116;color:#fff;box-shadow:0 28px 80px rgba(18,16,35,.2)}.upgrade-hero-card:after{content:'↗';position:absolute;right:35px;bottom:10px;font-size:150px;font-weight:900;color:#ffffff0c}.upgrade-hero-card>div{position:relative;z-index:1}.upgrade-hero-card h2{font-size:clamp(38px,5vw,66px);line-height:.95;letter-spacing:-.06em;margin:16px 0 22px}.upgrade-hero-card p{color:#c8c6d0;max-width:620px}.upgrade-hero-card .plan-price{margin:38px 0}.upgrade-hero-card .plan-price span{color:#aaa7b4}.upgrade-hero-card .button{background:#fff;color:#111}.order-note{font-size:12px!important;text-align:center;margin:14px 0 0!important}.upgrade-features{border:1px solid var(--line);border-radius:28px;padding:42px;background:#fff}.upgrade-features h2{font-size:30px;margin:0 0 25px}.upgrade-features ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.upgrade-features li{padding:18px;border-radius:15px;background:var(--soft);display:grid;gap:5px}.upgrade-features li span{font-size:13px;color:var(--muted)}.commerce-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.commerce-stats article{padding:24px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#fff,#fafafd);display:grid;gap:9px}.commerce-stats span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:800}.commerce-stats strong{font-size:28px;letter-spacing:-.04em}.filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}.filter-bar a{padding:8px 12px;border-radius:9px;font-size:12px;font-weight:750;color:var(--muted)}.filter-bar a.active,.filter-bar a:hover{background:#111;color:#fff}.filter-bar a b{margin-left:5px}.filter-bar>span{flex:1}.payments-table{min-width:1300px}.order-status-approved{background:#e5f9ef;color:#07814e}.order-status-pending{background:#fff4dc;color:#9e6500}.order-status-rejected,.order-status-cancelled,.order-status-refunded{background:#fff0f2;color:#a9263a}.managed-label{font-size:11px;color:var(--muted);font-weight:750}.settings-card hr{border:0;border-top:1px solid var(--line);margin:8px 0}.admin-table a strong{color:var(--accent)}
@media(max-width:1000px){.upgrade-layout{grid-template-columns:1fr}.commerce-stats{grid-template-columns:1fr 1fr}}@media(max-width:720px){.upgrade-hero-card,.upgrade-features{padding:28px 22px;border-radius:20px}.commerce-stats{grid-template-columns:1fr}.one-time-alerts a:after{display:none}.filter-bar>span{display:none}}

/* FR Builder 1.2 */
.flash{position:fixed;z-index:1000;top:18px;left:50%;margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 18px 55px #0002;animation:flash-enter .38s cubic-bezier(.2,.8,.2,1) var(--flash-delay,0ms) both}.flash button{border:0;background:transparent;color:inherit;font-size:21px;line-height:1;cursor:pointer;opacity:.65}.flash-leaving{animation:flash-exit .35s ease both!important;pointer-events:none}@keyframes flash-enter{from{opacity:0;transform:translate(-50%,-22px) scale(.97)}to{opacity:1;transform:translate(-50%,0) scale(1)}}@keyframes flash-exit{to{opacity:0;transform:translate(-50%,-16px) scale(.97)}}.password-field{position:relative;display:flex}.password-field input{padding-right:72px!important}.password-field button{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;border-radius:8px;padding:7px 9px;background:var(--soft);color:var(--ink);font-size:11px;font-weight:800;cursor:pointer}.billing-switch{width:max-content;max-width:100%;margin:0 auto 32px;padding:5px;border:1px solid var(--line);border-radius:15px;background:var(--soft);display:flex}.billing-switch label{cursor:pointer}.billing-switch input{position:absolute;opacity:0;pointer-events:none}.billing-switch span{display:block;padding:12px 18px;border-radius:10px;font-size:13px;font-weight:800}.billing-switch b{margin-left:7px;color:var(--green);font-size:10px}.billing-switch input:checked+span{background:#fff;box-shadow:0 4px 16px #0001}.cycle-price[data-cycle-price=annual]{display:none}body[data-billing-cycle=annual] .cycle-price[data-cycle-price=monthly]{display:none}body[data-billing-cycle=annual] .cycle-price[data-cycle-price=annual]{display:block}.saving{margin:-14px 0 20px!important;min-height:0!important;color:var(--green)!important;font-size:12px;font-weight:800}.price-setting{padding:18px;border:1px solid var(--line);border-radius:15px}.price-setting h3{margin:0 0 14px}.price-setting>small{display:block;color:var(--muted);margin-top:10px}.connection-card{display:flex;align-items:center;gap:14px;padding:18px 20px;margin-bottom:22px;border:1px solid #bdebd6;background:#effbf6;border-radius:16px}.connection-card>div{display:grid}.connection-card small{color:var(--muted);margin-top:4px}.connection-dot{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--green);color:#fff;font-weight:900}.copy-value{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:11px;overflow:hidden}.copy-value code{flex:1;padding:12px;overflow-wrap:anywhere}.copy-value button{border:0;border-left:1px solid var(--line);padding:0 13px;background:#fff;font-weight:800;cursor:pointer}.inline-plan-form{display:grid;grid-template-columns:1fr 90px auto;gap:5px}.inline-plan-form select{min-width:0;border:1px solid var(--line);border-radius:8px;padding:7px;font-size:11px;background:#fff}.inline-plan-form button{border:0;border-radius:8px;padding:7px 9px;background:#111;color:#fff;font-size:11px;font-weight:800;cursor:pointer}.one-time-alerts [data-transient-alert]{position:relative;animation:transient-enter .35s ease both;transition:.3s}.one-time-alerts [data-dismiss-transient]{margin-left:auto;border:0;background:transparent;font-size:20px;color:var(--muted);cursor:pointer}.one-time-alerts a:after{display:none}@keyframes transient-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media(max-width:720px){.billing-switch{width:100%}.billing-switch label{flex:1;text-align:center}.billing-switch span{padding:11px 8px}.inline-plan-form{grid-template-columns:1fr}.flash{top:10px}.settings-card{padding:23px}}
.one-time-alerts .flash-leaving{animation:transient-exit .35s ease both!important}@keyframes transient-exit{to{opacity:0;transform:translateY(-8px);max-height:0;padding-block:0;margin:0;border-width:0}}
.project-type-options label{transition:border-color .18s,box-shadow .18s,background .18s}.project-type-options label:has(input:checked){border-color:#6d5dfb;box-shadow:0 8px 24px #6d5dfb1f;background:#faf9ff}.project-type-options label.recommended-plan{border-width:2px;border-color:#6d5dfb;background:#faf9ff}.project-type-options strong b{margin-left:6px;color:#5544ca;font-size:9px;letter-spacing:.08em}

/* Checkout price hierarchy: keep currency, amount and billing period readable on every width. */
.plan-price{display:flex;align-items:flex-start;gap:9px;min-height:76px;margin:24px 0 20px;letter-spacing:-.06em}
.plan-price .price-currency{padding-top:7px;font-size:18px;font-weight:850;letter-spacing:-.02em;color:var(--muted)}
.plan-price strong{font-size:clamp(42px,4vw,54px);font-weight:850;line-height:.92;white-space:nowrap}
.plan-price .price-period{align-self:flex-end;padding-bottom:3px;font-size:11px;font-weight:700;line-height:1.25;letter-spacing:0;color:var(--muted);white-space:nowrap}
.plan-price .price-period b{font-size:10px;color:var(--ink)}
.plan-card.featured .plan-price .price-currency,.plan-card.featured .plan-price .price-period{color:#bdb8d6}
.plan-card.featured .plan-price .price-period b{color:#fff}
@media(max-width:420px){.plan-price{gap:7px}.plan-price strong{font-size:40px}.plan-price .price-currency{font-size:16px}.plan-price .price-period{font-size:10px}}

.profile-page{padding-top:64px;padding-bottom:100px}.profile-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start}.profile-card{padding:30px}.profile-heading{display:flex;align-items:center;gap:18px;margin-bottom:28px}.profile-heading h2{margin:0 0 6px;font-size:25px}.profile-heading p{margin:0;color:var(--muted);font-size:13px}.profile-avatar,.user-avatar{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(145deg,#16161a,#5544ca);color:#fff;font-weight:900}.profile-avatar{width:86px;height:86px;font-size:25px;flex:0 0 86px}.profile-avatar img,.user-avatar img{width:100%;height:100%;object-fit:cover}.profile-card>p{color:var(--muted);font-size:13px}.optional{color:var(--muted);font-size:11px;font-weight:600}.profile-errors{position:relative;margin-bottom:14px}.users-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.user-card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:22px;box-shadow:0 12px 35px #00000009}.user-card-head{display:flex;align-items:center;gap:13px;margin-bottom:20px}.user-avatar{width:54px;height:54px;flex:0 0 54px;font-size:16px}.user-card h2{font-size:18px;margin:0 0 7px;overflow-wrap:anywhere}.user-card .role-badge{display:inline-block}.user-card dl{display:grid;gap:12px;margin:0}.user-card dl>div{display:grid;gap:2px}.user-card dt{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.user-card dd{margin:0;font-size:13px;overflow-wrap:anywhere}.user-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.user-search{display:flex;gap:9px;max-width:700px;margin-bottom:24px}.user-search input{flex:1;min-width:0;border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fff}.table-empty{padding:30px;color:var(--muted)}
@media(max-width:1000px){.users-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-layout{grid-template-columns:1fr}}
@media(max-width:560px){.users-grid{grid-template-columns:1fr}.profile-page{padding-top:44px}.profile-card{padding:22px}.profile-heading{align-items:flex-start}.profile-heading h2{font-size:21px}.user-search{display:grid;grid-template-columns:1fr}.user-search .button{width:100%}}

.user-card-actions form{margin:0}.user-card-actions .danger{background:#fff0f2;color:#a9263a;border:1px solid #ffd6dc}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:30px 0 70px;color:var(--muted);font-size:13px;font-weight:700}.pagination-summary{text-align:center;color:var(--muted);font-size:13px;margin:30px 0 70px}
.inline-payment-card{max-width:780px;margin:26px auto;padding:28px}.inline-payment-card h2{margin:0 0 8px}.inline-payment-card>p{color:var(--muted);font-size:13px}.mp-field{min-height:52px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:12px 14px;margin:10px 0}.inline-payment-card label{display:grid;gap:7px;margin-top:12px}.inline-payment-card select,.inline-payment-card input{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fff}.mp-card-error{padding:12px 14px;border-radius:10px;background:#fff0f2;color:#a9263a;border:1px solid #ffd6dc;font-size:13px}
.payment-section{margin:38px 0 26px;padding:30px clamp(18px,4vw,52px);border:1px solid #e1e0eb;border-radius:26px;background:linear-gradient(145deg,#fafaff 0%,#f3f2fa 100%)}.payment-section-head{max-width:680px;margin:0 auto 22px;text-align:center}.payment-section-head .label{margin-bottom:8px}.payment-section-head h2{margin:0 0 9px;font-size:32px;letter-spacing:-.045em}.payment-section-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.payment-section .inline-payment-card{max-width:720px;margin:0 auto;background:#fff;box-shadow:0 14px 35px rgba(20,18,40,.08)}.payment-section .inline-payment-card>p:first-child{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:var(--soft);font-size:12px}.payment-section .form-grid{gap:12px}
.payment-next-step{margin:34px auto 22px;max-width:760px;padding:26px 30px;text-align:center;border:1px solid #e5e3f4;border-radius:20px;background:linear-gradient(135deg,#fbfaff,#f5f3ff)}.payment-next-step .label{margin-bottom:8px}.payment-next-step h2{margin:0 0 8px;font-size:25px;letter-spacing:-.035em}.payment-next-step p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.payment-page{width:min(720px,calc(100% - 48px));padding:46px 0 80px}.payment-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.secure-label{font-size:11px;font-weight:850;letter-spacing:.15em;color:var(--green)}.payment-hero{text-align:center;margin:0 auto 26px;max-width:610px}.payment-hero .label{margin-bottom:9px}.payment-hero h1{margin:0 0 10px;font-size:clamp(37px,6vw,58px);line-height:.95;letter-spacing:-.06em}.payment-hero p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.payment-summary{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;padding:16px 18px;margin-bottom:18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(20,18,40,.05)}.payment-summary div{display:grid;gap:4px;min-width:0}.payment-summary span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-weight:800}.payment-summary strong{font-size:13px;overflow-wrap:anywhere}.payment-summary .summary-total{justify-items:end;text-align:right;padding-left:12px;border-left:1px solid var(--line)}.payment-summary .summary-total strong{font-size:23px;letter-spacing:-.04em}.payment-summary small{font-size:10px;color:var(--muted)}.payment-card{padding:28px 30px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 55px rgba(20,18,40,.09)}.payment-card-head{text-align:center;margin-bottom:18px}.payment-card-head h2{margin:0 0 7px;font-size:24px;letter-spacing:-.04em}.payment-card-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.payment-card label{display:grid;gap:7px;margin-top:12px;font-size:13px;font-weight:700}.payment-card select,.payment-card input{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fff}.payment-card .form-grid{gap:12px}.payment-card .mp-field{margin:9px 0}.payment-card .form-help{margin:0 0 10px;padding:10px 12px;border-radius:10px;background:var(--soft);color:var(--muted);font-size:12px}.payment-card .button{margin-top:17px}.payment-footnote{text-align:center;color:var(--muted);font-size:11px;margin:18px 0 0}

/* Profile forms use the same visual system as the rest of the Builder. */
.profile-card label{display:grid;gap:8px;margin:0 0 18px;font-size:13px;font-weight:700}
.profile-card input{width:100%;min-height:46px;border:1px solid #dcdce1;border-radius:11px;padding:12px 14px;background:#fff;color:var(--ink);outline:none;transition:border-color .18s,box-shadow .18s}
.profile-card input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(109,93,251,.1)}
.profile-card input[type=file]{padding:9px 11px;font-size:12px;cursor:pointer}
.profile-card input[type=checkbox]{width:auto;min-height:0;padding:0;accent-color:var(--accent)}
@media(max-width:720px){.payment-section{margin:28px 0 20px;padding:22px 14px;border-radius:20px}.payment-section-head h2{font-size:27px}.payment-section .inline-payment-card{padding:20px 16px}.payment-section .form-grid{grid-template-columns:1fr;gap:0}}
@media(max-width:720px){.payment-page{width:calc(100% - 28px);padding:28px 0 55px}.payment-topbar{margin-bottom:28px}.payment-hero h1{font-size:42px}.payment-summary{grid-template-columns:1fr 1fr;gap:14px}.payment-summary .summary-total{justify-items:start;text-align:left;padding-left:0;border-left:0}.payment-card{padding:22px 16px;border-radius:18px}.payment-card .form-grid{grid-template-columns:1fr;gap:0}}
.profile-card .check-row{display:flex;align-items:center;gap:9px;margin-top:2px;margin-bottom:0}
.profile-card .form-grid{margin-bottom:0}
.profile-card .password-field{width:100%}
.profile-card .password-field input{padding-right:72px}
.profile-card .button-block{margin-top:10px}
.profile-card small{display:block;color:var(--muted);font-size:11px;font-weight:500;line-height:1.4}
.profile-card .optional{display:inline;color:var(--muted)}
.profile-page{width:min(1160px,calc(100% - 48px))}
@media(max-width:720px){.profile-page{width:calc(100% - 28px)}}
.payment-page{margin-left:auto;margin-right:auto}
.payment-card .mp-field{height:58px;min-height:58px;padding:0 12px;overflow:hidden}
.payment-card .mp-field iframe{height:58px!important;min-height:58px!important}
.sandbox-test-data{margin-top:22px}.sandbox-test-data h2{margin-bottom:8px}.sandbox-test-data>p{max-width:820px}.sandbox-table-wrap{overflow:auto;margin:18px 0}.sandbox-table{min-width:700px}.sandbox-table td code{font-size:12px;white-space:nowrap}.sandbox-note{padding:9px 12px!important;margin:10px 0 0!important;background:#fff8df!important;border:1px solid #f0dfa1;border-radius:10px;color:#8a6800!important;font-size:12px!important}
.integration-mode-note{margin:-20px auto 24px;max-width:900px;text-align:center;color:var(--muted);font-size:13px}
.dns-guide{margin:18px 0;padding:18px 20px;border:1px solid #dcd8ff;border-radius:16px;background:linear-gradient(135deg,#f7f5ff,#fff);color:var(--ink)}.dns-guide strong{display:block;font-size:14px;margin-bottom:8px}.dns-guide ol{margin:0;padding-left:20px;color:var(--muted);font-size:12px;line-height:1.7}.dns-guide code{font-size:11px}.cpanel-tutorial{background:linear-gradient(135deg,#f7f5ff,#fff);border-color:#dcd8ff}.cpanel-tutorial ol{margin:12px 0 0;padding-left:20px;color:var(--muted);font-size:12px;line-height:1.7}
:root{--fr-subscription-danger:#a9263a}
.button-danger{background:#fff0f2;color:var(--fr-subscription-danger);border:1px solid #ffd4dc}.project-actions form:has(.button-danger){display:none!important}.admin-table .quiet-deactivate{display:none!important}
.billing-profile-card{grid-column:1 / -1;margin:36px 0 22px;padding:30px}.billing-profile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.billing-profile-heading h2{margin:5px 0 6px;font-size:26px;letter-spacing:-.04em}.billing-profile-heading p{margin:0;color:var(--muted);font-size:13px}.billing-profile-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#111;color:#fff;font-size:15px;font-weight:900}.billing-project-list{display:grid;gap:16px}.billing-project{padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#fff,#fafafd)}.billing-project-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:17px}.billing-project-head h3{margin:0 0 5px;font-size:18px}.billing-project-head p{margin:0;color:var(--muted);font-size:12px}.billing-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.billing-facts>div{padding:13px;border-radius:12px;background:var(--soft)}.billing-facts span{display:block;margin-bottom:6px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.billing-facts strong{font-size:16px;letter-spacing:-.02em}.billing-history{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.billing-history summary,.subscription-manage summary{cursor:pointer;color:var(--ink);font-size:12px;font-weight:850}.billing-history-table{display:grid;gap:6px;margin-top:12px;overflow:auto}.billing-history-row{display:grid;grid-template-columns:1.2fr .8fr 1fr .7fr;gap:10px;align-items:center;padding:9px 10px;border-radius:9px;background:#f8f8fb;font-size:11px}.billing-history-head{background:transparent;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.payment-approved{color:#07814e;font-weight:800}.subscription-manage{margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.subscription-manage p{margin:10px 0;color:var(--muted);font-size:12px}.billing-empty{margin:0;color:var(--muted)}
@media(max-width:720px){.billing-profile-card{margin-top:28px;padding:22px}.billing-profile-heading{gap:12px}.billing-profile-heading h2{font-size:22px}.billing-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-history-row{grid-template-columns:1fr 1fr 1fr 1fr;min-width:480px}}
.profile-page{display:flex;flex-direction:column}.profile-page>.page-heading{order:1}.profile-page>.profile-errors{order:2}.profile-page>.profile-layout{order:3}.profile-page>.billing-profile-card{order:4}.billing-project-head .status.status-awaiting_payment,.billing-project .managed-label{display:none}
.active-users-panel{margin-bottom:26px;padding:28px}.active-users-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.active-users-heading h2{margin:4px 0 6px;font-size:24px;letter-spacing:-.04em}.active-users-heading p{margin:0;color:var(--muted);font-size:13px}.active-users-count{display:grid;place-items:center;min-width:44px;height:44px;border-radius:14px;background:#e5f9ef;color:#07814e;font-size:18px}.active-users-list{display:grid;gap:9px}.active-user-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:#fafafd}.active-user-row>div{display:grid;gap:3px}.active-user-row strong{font-size:14px}.active-user-row b{font-size:13px}.active-user-row small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.active-user-row .status{justify-self:end}
@media(max-width:720px){.active-users-panel{padding:22px}.active-users-heading{gap:12px}.active-users-heading h2{font-size:21px}.active-user-row{grid-template-columns:1fr;gap:10px}.active-user-row .status{justify-self:start}}
.editor-sidebar,.editor-canvas{overflow-anchor:none}
.editor,.editor-sidebar,.editor-canvas,.editor-canvas iframe{scroll-behavior:auto!important}
.preview-shell.preview-refreshing iframe{visibility:hidden}
.device-switch button{display:grid;place-items:center;color:var(--muted)}
.device-switch button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.device-switch button:hover{color:var(--ink)}
.device-switch button.active{color:var(--ink)}
.app-cookie-banner{position:fixed;z-index:10000;right:18px;bottom:18px;width:min(430px,calc(100% - 36px));padding:20px;border:1px solid #ffffff22;border-radius:18px;background:#15151a;color:#fff;box-shadow:0 22px 60px #0005}.app-cookie-banner[hidden]{display:none}.app-cookie-banner strong{display:block;margin-bottom:6px;font-size:15px}.app-cookie-banner p{margin:0;color:#ffffffb8;font-size:12px;line-height:1.55}.app-cookie-banner a{color:#fff;text-decoration:underline}.app-cookie-banner>div{display:flex;gap:9px;margin-top:14px}.app-cookie-banner button{flex:1;min-height:40px;padding:0 13px;border:1px solid #ffffff33;border-radius:999px;background:transparent;color:#fff;font-weight:800;cursor:pointer}.app-cookie-banner button.accept{border-color:var(--accent);background:var(--accent)}@media(max-width:520px){.app-cookie-banner{right:10px;bottom:10px;width:calc(100% - 20px)}.app-cookie-banner>div{display:grid}}
.modal-draft-warning{margin:0 0 18px!important;padding:12px 14px;border:1px solid #eadfae;border-radius:12px;background:#fffaf0;color:#6f5812!important;font-size:11px!important;line-height:1.5!important}.editor-draft-notice{display:grid;gap:3px;margin:12px 12px 0;padding:11px 12px;border:1px solid #eadfae;border-radius:11px;background:#fffaf0;color:#6f5812}.editor-draft-notice strong{font-size:11px;color:#4a3900}.editor-draft-notice span{font-size:10px;line-height:1.4}
.live-presence-panel{margin:0 0 26px;padding:24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#fff,#fafafd)}.live-presence-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.live-presence-head h2{margin:4px 0 5px;font-size:24px;letter-spacing:-.04em}.live-presence-head p{margin:0;color:var(--muted);font-size:12px}.live-presence-head>strong{display:grid;place-items:center;min-width:48px;height:48px;border-radius:15px;background:#e8f9f1;color:#07814e;font-size:20px}.live-presence-list{display:grid;gap:8px}.live-presence-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;align-items:center;gap:18px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fff}.live-presence-identity,.live-presence-context{display:grid;gap:3px;min-width:0}.live-presence-identity a,.live-presence-context strong{color:var(--ink);font-size:13px;font-weight:850;overflow-wrap:anywhere}.live-presence-identity a:hover{text-decoration:underline}.live-presence-row small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.live-presence-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#e8f9f1;color:#07814e;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.live-presence-status i{width:7px;height:7px;border-radius:50%;background:#13ad6b;box-shadow:0 0 0 4px #13ad6b20}.live-presence-status.is-editing{background:#efedff;color:#5545d5}.live-presence-status.is-editing i{background:#6d5dfb;box-shadow:0 0 0 4px #6d5dfb20}.live-presence-empty{margin:0;padding:18px;border:1px dashed var(--line);border-radius:13px;color:var(--muted);font-size:12px;text-align:center}.live-presence-empty[hidden]{display:none}@media(max-width:720px){.live-presence-panel{padding:19px}.live-presence-head{align-items:flex-start}.live-presence-head h2{font-size:21px}.live-presence-row{grid-template-columns:1fr;gap:9px}.live-presence-status{justify-self:start}}
.admin-presence-menu{position:relative}.admin-presence-toggle{height:38px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:11px;font-weight:850;cursor:pointer}.admin-presence-toggle>i{width:8px;height:8px;border-radius:50%;background:#14a66b;box-shadow:0 0 0 4px #14a66b18}.admin-presence-toggle b{min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#e8f9f1;color:#07814e;font-size:10px}.admin-presence-popover{display:none;position:absolute;z-index:120;top:calc(100% + 12px);right:0;width:min(430px,calc(100vw - 28px));max-height:min(540px,calc(100vh - 95px));padding:14px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 22px 65px #18182824;overflow:auto}.admin-presence-menu.is-open .admin-presence-popover{display:block}.admin-presence-popover-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:4px 3px 13px}.admin-presence-popover-head strong{font-size:14px}.admin-presence-popover-head small{color:var(--muted);font-size:10px}.admin-presence-popover .live-presence-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px}.admin-presence-popover .live-presence-context{grid-column:1}.admin-presence-popover .live-presence-status{grid-column:2;grid-row:1/3}.admin-presence-popover .live-presence-empty{padding:22px 12px}@media(max-width:720px){.admin-presence-toggle{padding:0 9px}.admin-presence-toggle>span{display:none}.admin-presence-popover{position:fixed;top:72px;right:10px;max-height:calc(100vh - 84px)}.admin-presence-popover .live-presence-row{grid-template-columns:minmax(0,1fr) auto}.admin-presence-popover .live-presence-status{justify-self:end}}
.topbar-logout{margin:0}.topbar-logout button{white-space:nowrap}
.user-card dl{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.user-card dl>div:first-child{grid-column:1/-1}.user-card dd a{color:var(--accent);font-weight:700}@media(max-width:560px){.user-card dl{grid-template-columns:1fr}.user-card dl>div:first-child{grid-column:auto}}

/* 1.58.9 · Estado visual de secciones */
.content-visibility-note{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:14px 14px 8px;
    padding:12px 13px;
    border:1px solid #e8e8ed;
    border-radius:13px;
    background:#fafafd;
}
.content-visibility-dot{
    flex:0 0 auto;
    width:9px;
    height:9px;
    margin-top:4px;
    border-radius:50%;
    background:#a7a8b0;
    box-shadow:0 0 0 4px #eeeeF2;
}
.content-visibility-note p{display:grid;gap:2px;margin:0;min-width:0}
.content-visibility-note strong{font-size:11px;color:#44454d}
.content-visibility-note small{font-size:10px;line-height:1.45;color:#858690}
.editor-sidebar details[data-editor-section]{transition:background .18s,border-color .18s}
.editor-sidebar details[data-editor-section] > summary{transition:background .18s,color .18s}
.editor-sidebar details[data-editor-section].is-section-disabled > summary{
    background:#f7f7f9;
    color:#8d8e96;
}
.editor-sidebar details[data-editor-section].is-section-disabled > summary:hover{
    background:#f2f2f5;
    color:#696a72;
}
.editor-sidebar details[data-editor-section].is-section-disabled[open] > summary{
    background:#f4f4f7;
    color:#6f7078;
}
.editor-sidebar details[data-editor-section].is-section-disabled > .panel-fields{
    border-left:3px solid #e3e3e8;
}
.content-section-status{
    margin-left:auto;
    margin-right:10px;
    padding:4px 8px;
    border:1px solid #dedfe4;
    border-radius:999px;
    background:#ececf0;
    color:#777983;
    font-size:9px;
    font-weight:850;
    line-height:1;
    letter-spacing:.02em;
    white-space:nowrap;
}
.content-section-status[hidden]{display:none!important}
.section-row{transition:background .18s,border-color .18s}
.section-row.is-section-disabled{
    background:#f7f7f9;
    border-color:#e3e3e8;
}
.section-row.is-section-disabled .drag,
.section-row.is-section-disabled strong{color:#93949c}
.section-row-state{
    flex:0 0 auto;
    padding:4px 7px;
    border-radius:999px;
    background:#ececf0;
    color:#777983;
    font-size:9px;
    line-height:1;
    font-weight:850;
    white-space:nowrap;
}
.section-row-state[hidden]{display:none!important}
@media(max-width:720px){
    .content-visibility-note{margin:12px 12px 6px}
    .content-section-status{margin-right:8px;font-size:8px}
}

/* 1.58.10 · Galería hasta 12 fotos */
.gallery-editor-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:4px 0 2px;
}
.gallery-editor-head strong{
    font-size:12px;
    color:#262735;
}
.gallery-editor-head span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:52px;
    padding:4px 8px;
    border-radius:999px;
    background:#f0efff;
    color:#6557e8;
    font-size:10px;
    font-weight:850;
}
#gallery-fields{
    display:grid;
    gap:9px;
}
.gallery-editor-item{
    padding:11px;
    border:1px solid #e5e5eb;
    border-radius:13px;
    background:#fafafd;
}
.gallery-editor-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:7px;
}
.gallery-editor-title strong{
    font-size:10px;
    color:#656670;
}
#add-gallery-image:disabled{
    opacity:.55;
    cursor:not-allowed;
}



/* 1.58.11 · Selector de plantillas */
.template-picker{display:grid;gap:12px}
.template-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.template-picker-head h3{margin-bottom:4px}
.template-picker-head .hint{margin:0;max-width:420px}
.template-picker-count{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#f0efff;color:#6557e8;font-size:9px;font-weight:850;white-space:nowrap}
.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.template-option{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:11px;min-height:88px;padding:9px;border:1px solid #e4e4ea;border-radius:15px;background:#fff;color:#242530;text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s,background .18s}
.template-option:hover{transform:translateY(-1px);border-color:#cbc9df;box-shadow:0 9px 24px #0000000b}
.template-option.is-selected{border-color:#6d5dfb;background:#faf9ff;box-shadow:0 0 0 3px #6d5dfb12}
.template-option-copy{display:grid;gap:3px;min-width:0;padding-right:17px}
.template-option-copy strong{font-size:11px;color:#20212c}
.template-option-copy small{font-size:9px;line-height:1.35;color:#858691}
.template-selected{position:absolute;top:8px;right:8px;display:none;width:18px;height:18px;place-items:center;border-radius:50%;background:#6d5dfb;color:#fff;font-size:9px;font-weight:900}
.template-option.is-selected .template-selected{display:grid}
.template-preview{position:relative;display:block;width:82px;height:66px;overflow:hidden;border:1px solid #dedee6;background:#fff}
.template-preview i{position:absolute;display:block}
.template-preview .tp-nav{left:6px;right:6px;top:6px;height:5px;background:#d8d8e2}
.template-preview .tp-copy{left:7px;top:20px;width:29px;height:20px;background:linear-gradient(#3e3e49 0 4px,transparent 4px 8px,#b7b7c0 8px 11px,transparent 11px 15px,#b7b7c0 15px 18px,transparent 18px)}
.template-preview .tp-media{right:7px;top:18px;width:32px;height:27px;background:linear-gradient(145deg,#6d5dfb,#a69dfd)}
.template-preview .tp-cards{left:7px;right:7px;bottom:6px;height:9px;background:repeating-linear-gradient(90deg,#ededf2 0 19px,transparent 19px 23px)}
.template-preview-essential{border-radius:10px}
.template-preview-essential .tp-media{border-radius:7px}
.template-preview-editorial{border-radius:1px;background:#fbfaf7}.template-preview-editorial .tp-nav{height:2px;background:#393842}.template-preview-editorial .tp-copy{top:17px;width:34px;height:26px;background:linear-gradient(#34333a 0 7px,transparent 7px 12px,#aaa8a4 12px 14px,transparent 14px 19px,#aaa8a4 19px 21px,transparent 21px)}.template-preview-editorial .tp-media{top:15px;height:32px;border-radius:0}.template-preview-editorial .tp-cards{height:7px;background:repeating-linear-gradient(90deg,#dedcd8 0 20px,transparent 20px 21px)}
.template-preview-studio{border-radius:13px;background:#faf9ff}.template-preview-studio:after{content:'';position:absolute;inset:13px 5px 5px;border-radius:10px;background:#fff;box-shadow:0 3px 10px #0000000d}.template-preview-studio i{z-index:1}.template-preview-studio .tp-nav{border-radius:999px}.template-preview-studio .tp-media{border-radius:9px}.template-preview-studio .tp-cards{border-radius:5px;background:repeating-linear-gradient(90deg,#e7e4ff 0 19px,transparent 19px 23px)}
.template-preview-prestige{border-radius:0;background:#fdfcf9}.template-preview-prestige .tp-copy{left:16px;right:16px;top:20px;width:auto;height:14px;background:linear-gradient(#39383d 0 4px,transparent 4px 8px,#bbb9b4 8px 10px,transparent 10px);}.template-preview-prestige .tp-media{left:12px;right:12px;top:38px;width:auto;height:15px;border-radius:0;background:linear-gradient(145deg,#9a91e8,#d8d4ff)}.template-preview-prestige .tp-cards{display:none}
.template-preview-impact{border:2px solid #292933;border-radius:0}.template-preview-impact .tp-nav{left:5px;right:5px;top:5px;height:4px;background:#292933}.template-preview-impact .tp-copy{left:6px;top:18px;width:31px;height:22px;background:linear-gradient(#292933 0 7px,transparent 7px 11px,#777782 11px 14px,transparent 14px 18px,#777782 18px 21px)}.template-preview-impact .tp-media{right:6px;top:17px;width:31px;height:25px;border:2px solid #292933;border-radius:0;box-shadow:3px 3px 0 #292933}.template-preview-impact .tp-cards{bottom:5px;border:1px solid #292933;background:repeating-linear-gradient(90deg,#dad6ff 0 18px,#292933 18px 20px,transparent 20px 23px)}
.template-preview-horizon{border-radius:8px;background:#fbfbfd}.template-preview-horizon .tp-copy{left:6px;top:18px;width:25px;height:25px}.template-preview-horizon .tp-media{left:35px;right:5px;top:16px;width:auto;height:31px;border-radius:5px}.template-preview-horizon .tp-cards{left:6px;right:6px;bottom:5px;height:7px}
.template-preview-boutique{border-radius:12px;background:#fdfaf8}.template-preview-boutique .tp-nav{left:10px;right:10px;height:3px;background:#a7a09d}.template-preview-boutique .tp-copy{left:9px;top:20px;width:30px}.template-preview-boutique .tp-media{right:9px;top:17px;width:28px;height:31px;border-radius:15px 15px 5px 5px;background:linear-gradient(145deg,#8077d9,#c7c1ff)}.template-preview-boutique .tp-cards{left:10px;right:10px;background:repeating-linear-gradient(90deg,#ebe4e0 0 17px,transparent 17px 22px)}
.template-preview-neo{border-radius:9px;background:#12121a;border-color:#2e2e3e}.template-preview-neo .tp-nav{background:#44445a}.template-preview-neo .tp-copy{background:linear-gradient(#f3f3f8 0 4px,transparent 4px 8px,#6d6d83 8px 11px,transparent 11px 15px,#6d6d83 15px 18px,transparent 18px)}.template-preview-neo .tp-media{border:1px solid #8f82ff;border-radius:6px;background:linear-gradient(145deg,#28233e,#6d5dfb);box-shadow:0 0 8px #6d5dfb88}.template-preview-neo .tp-cards{background:repeating-linear-gradient(90deg,#27273a 0 19px,transparent 19px 23px)}
.template-preview-portfolio{border-radius:3px;background:#f6f6f6}.template-preview-portfolio .tp-nav{height:3px;background:#303038}.template-preview-portfolio .tp-media{left:6px;right:6px;top:16px;width:auto;height:35px;border-radius:1px}.template-preview-portfolio .tp-copy{z-index:2;left:10px;top:29px;width:30px;height:20px;padding:0;background:linear-gradient(#fff 0 5px,transparent 5px 9px,#eee 9px 12px,transparent 12px);box-shadow:0 0 0 5px #2c2c35}.template-preview-portfolio .tp-cards{bottom:4px;height:6px;background:repeating-linear-gradient(90deg,#d9d9df 0 13px,transparent 13px 16px)}

.design-divider{height:1px;margin:7px 0 3px;background:#ececf0}
@media(max-width:1080px){.template-grid{grid-template-columns:1fr}}
@media(max-width:720px){.template-grid{grid-template-columns:1fr 1fr}.template-option{grid-template-columns:72px minmax(0,1fr)}.template-preview{width:72px}}
@media(max-width:500px){.template-grid{grid-template-columns:1fr}.template-option{grid-template-columns:82px minmax(0,1fr)}.template-preview{width:82px}}

/* 1.58.12 · nueve plantillas: selector más cómodo en el sidebar */
.template-grid{grid-template-columns:1fr}
.template-option{min-height:80px}
@media(max-width:720px){.template-grid{grid-template-columns:1fr 1fr}}
@media(max-width:500px){.template-grid{grid-template-columns:1fr}}

/* =========================================================
   FR Builder 1.59.0 · Professional editor polish
   ========================================================= */
.editor-bar{
    box-shadow:0 1px 0 rgba(20,20,28,.04);
}
.editor-title small.save-state{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:2px;
    font-weight:700;
}
.editor-title small.save-state::before{
    content:'';
    width:7px;
    height:7px;
    border-radius:50%;
    background:#35a667;
    box-shadow:0 0 0 3px #35a66718;
}
.editor-title small.save-state.is-pending::before{background:#d49a2f;box-shadow:0 0 0 3px #d49a2f18}
.editor-title small.save-state.is-saving::before{background:#6d5dfb;box-shadow:0 0 0 3px #6d5dfb18;animation:fr-status-pulse .9s infinite alternate}
.editor-title small.save-state.is-error::before{background:#d84a4a;box-shadow:0 0 0 3px #d84a4a18}
@keyframes fr-status-pulse{to{opacity:.38}}
.editor-history{
    display:flex;
    gap:4px;
    padding:3px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fafafd;
}
.editor-history button{
    width:32px;
    height:30px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#3f4050;
    font-size:18px;
    line-height:1;
    cursor:pointer;
}
.editor-history button:hover:not(:disabled){background:#fff;box-shadow:0 2px 7px #0000000d}
.editor-history button:disabled{opacity:.28;cursor:not-allowed}
.device-switch{gap:2px}
.device-switch button{
    width:62px;
    height:36px;
    gap:1px;
    align-content:center;
}
.device-switch button small{
    display:block;
    font-size:7px;
    font-weight:800;
    letter-spacing:.01em;
    line-height:1;
}
.device-switch button svg{margin:auto}
.preview-shell{
    position:relative;
    min-height:680px;
    border:1px solid #dddde3;
}
.preview-shell.desktop{width:min(100%,1440px)}
.preview-shell.tablet{width:768px}
.preview-shell.mobile{width:390px}
.preview-size-label{
    position:absolute;
    z-index:3;
    top:8px;
    left:50%;
    transform:translate(-50%,-6px);
    padding:5px 9px;
    border-radius:999px;
    background:#15151bd9;
    color:#fff;
    font-size:9px;
    font-weight:800;
    pointer-events:none;
    opacity:0;
    visibility:hidden;
    transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;
}
.preview-size-label.show{
    opacity:.82;
    visibility:visible;
    transform:translate(-50%,0);
    transition:opacity .18s ease,transform .18s ease,visibility 0s;
}
.preview-shell iframe{padding-top:0}
.design-pro-group{
    display:grid;
    gap:15px;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid var(--line);
}
.design-group-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.design-group-head h3{margin:0!important}
.design-group-head .hint{margin-top:4px}
.pro-chip{
    flex:0 0 auto;
    padding:5px 7px;
    border-radius:999px;
    background:#f0efff;
    color:#5e50d9;
    font-size:8px;
    font-weight:900;
    letter-spacing:.08em;
}
.brand-identity-grid,.variant-controls{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.palette-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.palette-card{
    display:grid;
    gap:8px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:var(--ink);
    text-align:left;
    cursor:pointer;
    transition:border-color .18s,transform .18s,box-shadow .18s;
}
.palette-card:hover{
    transform:translateY(-1px);
    border-color:#cac8f7;
    box-shadow:0 8px 24px #0000000b;
}
.palette-card strong{font-size:10px}
.palette-swatches{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    height:24px;
    overflow:hidden;
    border-radius:8px;
    border:1px solid #0000000a;
}
.palette-swatches i{display:block}
.section-style-controls{
    display:grid;
    gap:13px;
    padding:13px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fafafd;
}
.section-style-color-fields{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}
.section-style-color-fields label{
    min-width:0;
    font-size:10px;
}
.section-style-color-fields .color-control{
    gap:6px;
}
.section-style-color-fields .color-control input{
    width:38px;
    height:38px;
}
.section-style-color-fields .color-control span{
    font-size:9px;
    overflow:hidden;
    text-overflow:ellipsis;
}
.section-manager-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:flex-start;
}
.section-manager-head h3{margin:0!important}
.section-library{
    padding:13px;
    border:1px solid #dddde7;
    border-radius:14px;
    background:#fafafd;
}
.section-library>strong{font-size:12px}
.section-library-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:11px;
}
.section-library-grid button{
    display:grid;
    gap:3px;
    min-height:58px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#fff;
    text-align:left;
    cursor:pointer;
}
.section-library-grid button span{font-size:11px;font-weight:800;color:#282936}
.section-library-grid button small{font-size:9px;color:#6d5dfb;font-weight:800}
.section-library-grid button.is-active{opacity:.48}
.section-library-grid button.is-active small{color:#858690}
.mini-action{
    border:0;
    background:transparent;
    color:#6254df;
    font-size:9px;
    font-weight:850;
    cursor:pointer;
    padding:4px 6px;
}
.link-head>span{display:flex;gap:2px;align-items:center}
.browser-tab-preview{
    display:grid;
    grid-template-columns:18px minmax(0,1fr) 14px;
    gap:8px;
    align-items:center;
    min-height:38px;
    padding:8px 10px;
    border:1px solid #e5e5eb;
    border-radius:11px 11px 4px 4px;
    background:#f4f4f7;
    color:#4b4c55;
    font-size:10px;
}
.browser-tab-preview>span:nth-child(2){
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.browser-tab-preview i{
    font-style:normal;
    color:#999ba5;
    font-size:13px;
}
.browser-tab-favicon{
    width:16px;
    height:16px;
    border-radius:4px;
    background:#d8d8df center/cover no-repeat;
}
.seo-length-good{color:#278a57!important;font-weight:800}
.seo-length-warning{color:#b06a23!important;font-weight:800}
.template-option{
    transition:transform .18s,box-shadow .18s,border-color .18s;
}
.template-option:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px #0000000d;
}
.template-option.is-selected{
    box-shadow:0 0 0 3px #6d5dfb12,0 10px 28px #0000000d;
}
.publish-success-modal{
    width:min(480px,calc(100vw - 28px));
    padding:32px;
    border:0;
    border-radius:24px;
    background:#fff;
    box-shadow:0 30px 90px #0004;
    text-align:center;
}
.publish-success-modal::backdrop{background:#17171e70;backdrop-filter:blur(5px)}
.publish-success-modal .modal-close{
    position:absolute;
    right:14px;
    top:14px;
}
.publish-success-icon{
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    margin:0 auto 16px;
    border-radius:50%;
    background:#e9f8ef;
    color:#238652;
    font-size:24px;
    font-weight:900;
}
.publish-success-modal h2{
    margin:8px 0 8px;
    font-size:28px;
    letter-spacing:-.035em;
}
.publish-success-modal p{
    margin:0 auto 18px;
    max-width:360px;
    color:var(--muted);
    font-size:13px;
}
.publish-url{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    padding:8px 8px 8px 12px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fafafd;
    text-align:left;
}
.publish-url span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
    color:#575866;
}
.publish-url button{
    border:0;
    border-radius:8px;
    background:#eceafb;
    color:#5e50d9;
    padding:8px 10px;
    font-size:10px;
    font-weight:850;
    cursor:pointer;
}
.publish-success-actions{
    display:flex;
    justify-content:center;
    gap:9px;
    margin-top:18px;
}
.project-duplicate-form{display:inline-flex;margin:0}
#new-project select{
    width:100%;
    min-height:46px;
    margin:0;
}
@media(max-width:1100px){
    .editor-bar{gap:12px}
    .device-switch button{width:48px}
    .device-switch button small{display:none}
    .brand-identity-grid,.variant-controls{grid-template-columns:1fr}
}
@media(max-width:720px){
    .editor-history{display:none}
    .preview-size-label{display:none}
    .brand-identity-grid,.variant-controls,.palette-grid,.section-library-grid,.section-style-color-fields{grid-template-columns:1fr}
    .section-manager-head{display:grid}
    .publish-success-modal{padding:28px 18px}
    .publish-success-actions{display:grid}
    .publish-success-actions .button{width:100%}
}

.section-duplicate-button{
    flex:0 0 auto;
    border:0;
    border-radius:8px;
    background:#f0efff;
    color:#6154dc;
    padding:6px 8px;
    font-size:8px;
    font-weight:850;
    cursor:pointer;
}
.section-duplicate-button:hover{background:#e8e5ff}
.section-row.is-section-disabled .section-duplicate-button{opacity:.7}
.empty-inline-state{
    padding:16px;
    border:1px dashed #d8d8e0;
    border-radius:12px;
    background:#fafafd;
    color:#858690;
    font-size:11px;
    line-height:1.5;
}
.custom-block-card{
    background:#fbfbfe;
    border:1px solid #e8e8ef;
}

#new-project .np-blank-start{
    display:grid!important;
    grid-template-columns:auto 1fr;
    gap:10px;
    align-items:flex-start;
    padding:11px 12px;
    border:1px solid #e5e5ec;
    border-radius:12px;
    background:#fafafd;
    cursor:pointer;
}
#new-project .np-blank-start input{
    width:16px!important;
    height:16px!important;
    margin-top:2px!important;
}
#new-project .np-blank-start span{display:grid;gap:2px}
#new-project .np-blank-start strong{font-size:11px;color:#2c2d38}
#new-project .np-blank-start small{font-size:9px;color:#7c7e89;line-height:1.4}



/* 1.59.4 · Selects, historial y fuentes */
.editor-sidebar select{
    -webkit-appearance:none;
    appearance:none;
    padding-right:52px!important;
    background-color:#fff!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232d2e38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-position:right 18px center!important;
    background-size:17px 17px!important;
    cursor:pointer;
}
.editor-sidebar select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(109,93,251,.1);outline:none}
.editor-history{gap:5px;padding:4px;border-radius:12px;background:#f7f7fa}
.editor-history button{
    width:auto;min-width:86px;height:34px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;
    border:1px solid transparent;border-radius:9px;background:transparent;color:#31323c;font-size:11px;font-weight:800;line-height:1
}
.editor-history .history-icon{font-size:18px;line-height:1;transform:translateY(-1px)}
.editor-history .history-text{white-space:nowrap}
.editor-history button:hover:not(:disabled){background:#fff;border-color:#e8e8ee;box-shadow:0 3px 10px #0000000d;transform:none}
.editor-history button:active:not(:disabled){background:#f1f0ff;border-color:#dcd8ff}
.editor-history button:disabled{opacity:.34;background:transparent}
@media(max-width:1180px){
    .editor-history button{min-width:38px;width:38px;padding:0}
    .editor-history .history-text{display:none}
}


/* 1.59.5 · Biblioteca de secciones más sutil */
.section-library-trigger{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:28px;
    padding:4px 8px;
    border:1px solid #e5e5eb;
    border-radius:8px;
    background:#fff;
    color:#666873;
    font-size:10px;
    font-weight:800;
    line-height:1;
    cursor:pointer;
    box-shadow:none;
    transition:background .16s,border-color .16s,color .16s;
}
.section-library-trigger span{
    display:grid;
    place-items:center;
    width:14px;
    height:14px;
    border-radius:4px;
    background:#f1f0ff;
    color:#6d5dfb;
    font-size:12px;
    line-height:1;
}
.section-library-trigger:hover{
    background:#fafafe;
    border-color:#dcd9ff;
    color:#4f45bd;
}
.section-library-trigger:focus-visible{
    outline:2px solid rgba(109,93,251,.24);
    outline-offset:2px;
}
@media(max-width:720px){
    .section-library-trigger{
        min-height:27px;
        padding:4px 7px;
        font-size:9px;
    }
}


/* 1.59.6 · Historial limpio + panel Secciones simplificado */
.editor-history .history-icon{
    width:18px;
    height:18px;
    display:inline-grid;
    place-items:center;
    transform:none;
}
.editor-history .history-icon svg{
    width:18px;
    height:18px;
    display:block;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.editor-history button{
    min-width:92px;
}
.editor-history button:not(:disabled){
    color:#2f3038;
}
.editor-history button:disabled .history-icon{
    opacity:.58;
}
.section-sorter-only{
    padding-top:12px!important;
}
.section-sorter-only #section-sorter{
    margin-top:0;
}
@media(max-width:1180px){
    .editor-history button{
        min-width:38px;
        width:38px;
    }
}


/* 1.59.8 · Eliminar junto al estado */
.project-status-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:6px;
}
.project-delete-inline{
    margin:0!important;
    display:block!important;
}
.project-delete-icon{
    width:28px;
    height:28px;
    padding:0;
    display:grid;
    place-items:center;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#a4a5ad;
    cursor:pointer;
    transition:color .16s ease,background .16s ease,transform .16s ease;
}
.project-delete-icon svg{
    width:16px;
    height:16px;
    fill:currentColor;
    display:block;
}
.project-delete-icon:hover{
    color:#e63752;
    background:#fff4f6;
}
.project-delete-icon:active{
    transform:scale(.94);
}
.project-delete-icon:focus-visible{
    outline:2px solid rgba(230,55,82,.22);
    outline-offset:2px;
}
@media(max-width:620px){
    .project-info{
        align-items:flex-start;
    }
    .project-status-actions{
        gap:3px;
    }
    .project-delete-icon{
        width:26px;
        height:26px;
    }
}


/* 1.59.11 · Clientes destacados en el header */
.homepage-client-stack{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    padding-left:8px;
    margin-right:1px;
}
.homepage-client-avatar{
    --client-i:0;
    position:relative;
    width:35px;
    height:35px;
    flex:0 0 35px;
    display:grid;
    place-items:center;
    margin-left:-9px;
    border:2px solid #fff;
    border-radius:50%;
    background:#f0efff;
    color:#5648cf;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(20,20,30,.12);
    font-size:10px;
    font-weight:900;
    letter-spacing:-.02em;
    opacity:0;
    transform:translateX(-15px) scale(.55) rotate(-8deg);
    animation:homepage-client-casino .46s cubic-bezier(.18,.88,.34,1.25) forwards;
    animation-delay:calc(90ms + (var(--client-i) * 72ms));
}
.homepage-client-avatar:first-child{margin-left:0}
.homepage-client-avatar img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:#fff;
}
a.homepage-client-avatar{
    transition:transform .18s ease,box-shadow .18s ease,z-index 0s;
}
a.homepage-client-avatar:hover{
    z-index:10;
    transform:translateY(-3px) scale(1.08)!important;
    box-shadow:0 8px 18px rgba(20,20,35,.18);
}
.homepage-client-more{
    z-index:7;
    background:#18181d;
    color:#fff;
    border-color:#fff;
}
@keyframes homepage-client-casino{
    0%{opacity:0;transform:translateX(-16px) scale(.5) rotate(-10deg)}
    62%{opacity:1;transform:translateX(3px) scale(1.08) rotate(2deg)}
    100%{opacity:1;transform:translateX(0) scale(1) rotate(0)}
}
@media(prefers-reduced-motion:reduce){
    .homepage-client-avatar{animation:none;opacity:1;transform:none}
}
@media(max-width:720px){
    .topbar nav{gap:8px}
    .homepage-client-stack{padding-left:2px;margin-right:0}
    .homepage-client-avatar{
        width:30px;height:30px;flex-basis:30px;margin-left:-8px;border-width:2px;font-size:9px
    }
    .homepage-client-mobile-extra{display:none}
    .topbar-create-link{min-height:40px;padding:0 13px;font-size:12px}
}
@media(max-width:420px){
    .homepage-client-person:nth-child(n+3){display:none}
    .homepage-client-avatar{width:29px;height:29px;flex-basis:29px}
    .topbar-create-link{padding:0 11px;font-size:11px}
}
@media(max-width:350px){
    .homepage-client-person:nth-child(n+2){display:none}
    .topbar .brand-word{display:none!important}
}

/* Administración de clientes de portada */
.homepage-clients-admin{padding-top:56px;padding-bottom:90px}
.homepage-clients-settings{
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);
    gap:18px;
    margin-bottom:18px;
}
.homepage-clients-preview-card,.homepage-counter-form,.homepage-client-create{
    border:1px solid var(--line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 34px rgba(20,20,30,.05);
}
.homepage-clients-preview-card{
    min-height:150px;
    padding:24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.homepage-clients-preview-card h2,.homepage-client-create h2{margin:0 0 6px;font-size:22px}
.homepage-clients-preview-card p,.homepage-client-create p{margin:0;color:var(--muted);font-size:12px}
.homepage-client-stack.is-admin-preview{padding:0 0 0 10px}
.homepage-counter-form{
    padding:22px;
    display:grid;
    align-content:center;
    gap:8px;
}
.homepage-counter-form label,.homepage-client-create label,.homepage-client-admin-form label{
    display:grid;
    gap:7px;
    font-size:12px;
    font-weight:800;
}
.homepage-counter-form small{color:var(--muted);font-size:10px;line-height:1.4}
.homepage-counter-control{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px}
.homepage-counter-control>span{font-size:20px;font-weight:900;color:var(--muted)}
.homepage-counter-control input,.homepage-client-create input,.homepage-client-admin-form input{
    width:100%;
    min-width:0;
    border:1px solid #dcdce1;
    border-radius:11px;
    padding:11px 12px;
    background:#fff;
}
.homepage-client-create{
    padding:24px;
    display:grid;
    grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);
    gap:28px;
    align-items:start;
    margin-bottom:18px;
}
.homepage-client-create form{
    display:grid;
    grid-template-columns:1fr 1.35fr 1fr auto;
    gap:12px;
    align-items:end;
}
.homepage-clients-list{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.homepage-client-admin-card{
    position:relative;
    display:grid;
    grid-template-columns:76px 1fr;
    gap:14px;
    padding:16px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
}
.homepage-client-admin-card.is-inactive{opacity:.58;background:#fafafd}
.homepage-client-admin-image{
    width:76px;height:76px;border-radius:50%;overflow:hidden;border:1px solid var(--line);background:#f5f5f7
}
.homepage-client-admin-image img{width:100%;height:100%;object-fit:cover;display:block}
.homepage-client-admin-form{display:grid;gap:9px}
.homepage-client-admin-form .button{justify-self:start}
.homepage-client-active{display:flex!important;align-items:center;gap:7px!important;color:var(--muted)}
.homepage-client-active input{width:auto!important}
.homepage-client-delete{
    position:absolute;
    top:10px;
    right:10px;
    margin:0!important;
}
.homepage-client-delete button{
    width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:#aaaab2;display:grid;place-items:center;cursor:pointer
}
.homepage-client-delete button:hover{color:#e03952;background:#fff1f4}
.homepage-client-delete svg{width:15px;height:15px;fill:currentColor}
@media(max-width:1050px){
    .homepage-clients-list{grid-template-columns:repeat(2,minmax(0,1fr))}
    .homepage-client-create form{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
    .homepage-clients-settings,.homepage-client-create{grid-template-columns:1fr}
    .homepage-clients-list{grid-template-columns:1fr}
    .homepage-client-create form{grid-template-columns:1fr}
    .homepage-clients-preview-card{align-items:flex-start;flex-direction:column}
}


/* 1.59.12 · Orden visual de Contenido */
#content-brand-details > summary{
    display:flex;
    align-items:center;
    gap:8px;
}
.content-first-badge{
    display:inline-flex;
    align-items:center;
    min-height:19px;
    padding:3px 7px;
    border-radius:999px;
    background:#f0efff;
    color:#6657e8;
    font-size:8px;
    line-height:1;
    font-weight:850;
    letter-spacing:.02em;
    text-transform:uppercase;
}


/* 1.59.13 · Identidad / Shorts / anuncio visual */
.content-first-badge{
    transition:opacity .22s ease,transform .22s ease;
}
.content-first-badge.is-leaving{
    opacity:0;
    transform:translateX(-5px);
}
.content-first-badge[hidden]{display:none!important}
.shorts-editor-divider{
    height:1px;
    margin:18px 0;
    background:#ececf1;
}
.shorts-editor-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0!important;
}
.shorts-editor-title span{
    color:#8a8b94;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.short-editor-card{
    border-left:3px solid #eeeaff;
}
.client-popup-ad-editor>summary{
    color:inherit;
}
.popup-ad-editor-card{
    border-left:3px solid #ddd8ff;
}


/* 1.59.15 · Anuncio completo compacto */
.popup-ad-editor-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:4px;
}
.popup-ad-editor-head>strong{
    color:inherit;
    font-size:12px;
}
.popup-ad-editor-head>span{
    color:#90919a;
    font-size:9px;
    font-weight:800;
}
.client-popup-ad-editor>summary{
    color:inherit!important;
}
.popup-ad-editor-card{
    border-left:0;
}


/* 1.59.17 · Editor compacto y ordenado */
.repeat-list-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:18px 0 10px;
    padding-top:14px;
    border-top:1px solid #ececf1;
}
.repeat-list-head strong{
    font-size:11px;
    color:#202027;
}
.repeat-list-head span{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:0 8px;
    border-radius:999px;
    background:#f4f4f7;
    color:#85858e;
    font-size:9px;
    font-weight:800;
}
.panel-fields > .button[id^="add-"]{
    margin-top:4px;
}
.short-editor-card{
    border-left:0;
}


/* 1.59.18 · Estado del Anuncio completo */
.popup-ad-editing-note{
    display:grid;
    gap:4px;
    margin:2px 0 4px;
    padding:11px 12px;
    border:1px solid #dedafc;
    border-radius:12px;
    background:#f8f7ff;
    color:#4c466f;
}
.popup-ad-editing-note[hidden]{
    display:none!important;
}
.popup-ad-editing-note strong{
    font-size:10px;
    color:#262333;
}
.popup-ad-editing-note span{
    font-size:10px;
    line-height:1.45;
}
.popup-ad-editing-note.is-warning{
    border-color:#f1d6b7;
    background:#fff9f1;
    color:#775838;
}
.popup-ad-editing-note.is-warning strong{
    color:#5d4025;
}


/* 1.59.22 · Dashboard más arriba */
.dashboard-page{
    padding-top:34px!important;
}
.dashboard-page .page-heading{
    margin-top:0!important;
}
@media(max-width:720px){
    .dashboard-page{
        padding-top:24px!important;
    }
}


/* 1.59.23 · Un solo plan público */
.public-price-grid.is-single-plan{
    grid-template-columns:minmax(0,820px);
    justify-content:center;
}
.public-price-single{width:100%}
.public-price-single .plan-feature-groups{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.plan-grid.plan-grid-single{
    grid-template-columns:minmax(0,760px);
    justify-content:center;
}
.plan-card-static{cursor:default}
@media(max-width:760px){
    .public-price-single .plan-feature-groups{grid-template-columns:1fr}
}


/* 1.59.25 · Área privada más compacta y checkout ordenado */
.dashboard,
.admin,
.checkout,
.profile-page,
.domain-page,
.notifications-page{
    padding-top:34px!important;
}

.homepage-clients-admin{
    padding-top:34px!important;
}

.payment-page{
    padding-top:30px!important;
}

.checkout > .page-heading,
.profile-page > .page-heading,
.admin > .page-heading,
.domain-page > .page-heading,
.notifications-page > .page-heading{
    margin-top:0!important;
}

.checkout-plan-grid{
    margin-bottom:30px;
}

.checkout-publish-card{
    margin-top:0!important;
}

.checkout .plan-card.plan-card-static > h2{
    margin-bottom:18px;
}

.checkout .plan-card.plan-card-static > .cycle-price{
    margin-top:0;
}

@media(max-width:720px){
    .dashboard,
    .admin,
    .checkout,
    .profile-page,
    .domain-page,
    .notifications-page,
    .homepage-clients-admin{
        padding-top:24px!important;
    }

    .payment-page{
        padding-top:22px!important;
    }

    .checkout-plan-grid{
        margin-bottom:22px;
    }
}

/* 1.59.42 · Separación uniforme para TODOS los bloques dinámicos del editor */
#slider-slide-fields,
#service-item-fields,
#testimonial-fields,
#gallery-fields,
#video-fields,
#short-fields,
#product-fields,
#popup-ad-items,
#custom-block-fields,
#faq-fields,
#team-fields,
#plan-fields,
#social-fields,
#link-fields{
    display:grid;
    gap:12px;
    align-items:stretch;
}

/* Respaldo para cualquier lista repetible nueva que use las tarjetas estándar. */
.repeat-card + .repeat-card{
    margin-top:0;
}

/* Las fotos usan una tarjeta distinta, pero deben conservar la misma separación. */
#gallery-fields{
    gap:12px;
}

.homepage-client-random{z-index:7;padding:0;appearance:none;-webkit-appearance:none;cursor:pointer;background:#18181d!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 3px 10px rgba(20,20,30,.12);line-height:0;font-size:0;display:grid;place-items:center}
.homepage-client-random svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.homepage-client-random:hover{z-index:10;transform:translateY(-3px) scale(1.08)!important;box-shadow:0 8px 18px rgba(20,20,35,.18)}
.homepage-client-random:focus-visible{outline:2px solid #6d5dfb;outline-offset:2px}
@media(max-width:720px){.homepage-client-random svg{width:14px;height:14px}}

.payment-mobile-bar{display:none}
@media(max-width:720px){
    .payment-page{padding-bottom:120px!important}
    #form-checkout__submit{display:none}
    .payment-mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:block;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#fff}
    .payment-mobile-bar .button{width:100%}
}
@media(max-width:560px){.pricing-button{display:inline-flex;align-items:center;justify-content:center;width:100%}}

/* 1.59.46 · Random exactamente circular y del mismo tamaño que +99 */
.homepage-client-random{
    width:35px!important;
    height:35px!important;
    min-width:35px!important;
    max-width:35px!important;
    min-height:35px!important;
    max-height:35px!important;
    flex:0 0 35px!important;
    aspect-ratio:1 / 1!important;
    padding:0!important;
    margin-left:-9px!important;
    border:2px solid #fff!important;
    border-radius:50%!important;
    background:#18181d!important;
    color:#fff!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    display:grid!important;
    place-items:center!important;
    line-height:1!important;
}
.homepage-client-random svg{
    display:block!important;
    width:14px!important;
    height:14px!important;
    flex:0 0 14px!important;
}
@media(max-width:720px){
    .homepage-client-random{
        width:30px!important;
        height:30px!important;
        min-width:30px!important;
        max-width:30px!important;
        min-height:30px!important;
        max-height:30px!important;
        flex-basis:30px!important;
        margin-left:-8px!important;
    }
    .homepage-client-random svg{width:12px!important;height:12px!important;flex-basis:12px!important}
}
@media(max-width:420px){
    .homepage-client-random{
        width:29px!important;
        height:29px!important;
        min-width:29px!important;
        max-width:29px!important;
        min-height:29px!important;
        max-height:29px!important;
        flex-basis:29px!important;
    }
}

/* Acceso centrado dentro del pie de la portada. */
.app-footer.app-footer-with-book{padding-top:0}
.builder-claim-book-entry{display:flex;justify-content:center;align-items:center;width:100%;margin:0 auto;padding:14px 0}
.builder-claim-book-entry a{display:block;line-height:0;border-radius:7px}
.builder-claim-book-entry a:focus-visible{outline:3px solid #6d5dfb;outline-offset:4px}
.builder-claim-book-entry img{display:block;width:140px;max-width:100%;height:auto}
.app-footer-copy{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px 10px;line-height:1.65}
.app-footer-legal{display:inline-flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px 12px}
.app-footer-legal::before{content:"·";margin-right:-2px}
.app-footer-legal a{text-underline-offset:3px}
.app-footer-legal a:hover{text-decoration:underline}
.app-footer-payment-methods{display:flex;justify-content:center;align-items:center;width:100%;margin:18px auto 0}
.app-footer-payment-methods img{display:block;width:246px;max-width:calc(100vw - 56px);height:auto}
.homepage-client-random svg{width:17px!important;height:17px!important;flex:0 0 17px!important;fill:currentColor!important;stroke:none!important}
@media(max-width:720px){.homepage-client-random svg{width:15px!important;height:15px!important;flex-basis:15px!important}.builder-claim-book-entry img{width:140px}.app-footer-copy{gap:7px}.app-footer-legal{flex-basis:100%}.app-footer-legal::before{display:none}.app-footer-payment-methods{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.builder-claim-book-entry a{transition:none}}

/* El acceso al pago sigue visible en el editor móvil. */
@media(max-width:720px){
.editor:has(.editor-payment-link){padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
.editor-actions .editor-payment-link{display:flex!important;position:fixed;left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:100;min-height:48px;justify-content:center;background:#17171b;color:#fff;border:1px solid #17171b;border-radius:12px;box-shadow:0 5px 20px #0002}
.payment-mobile-bar .button,#form-checkout__submit{white-space:normal;line-height:1.4;height:auto;min-height:54px;padding:0 26px}
}

#form-checkout .payment-field-invalid{border:1px solid #c43845!important;box-shadow:0 0 0 2px #c4384515!important}
#mp-card-error{scroll-margin-block:100px;line-height:1.6}
#mp-card-error:focus{outline:2px solid #c43845;outline-offset:4px}
.auth-terms-check,.payment-terms-check{align-items:flex-start!important;gap:7px!important;padding:2px 0;border:0;background:transparent;font-size:10px!important;line-height:1.4;font-weight:500!important;color:var(--muted)}
.auth-terms-check input[type=checkbox],.payment-terms-check input[type=checkbox]{-webkit-appearance:checkbox;appearance:auto;flex:0 0 14px;width:14px!important;height:14px!important;min-height:14px!important;margin:0!important;padding:0!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;outline:none!important;accent-color:var(--black)}
.auth-terms-check input[type=checkbox]:focus,.payment-terms-check input[type=checkbox]:focus{border:0!important;box-shadow:none!important;outline:none!important}
.auth-terms-check input[type=checkbox]:focus-visible,.payment-terms-check input[type=checkbox]:focus-visible{outline:1px solid var(--accent)!important;outline-offset:2px!important}
.auth-terms-check a,.payment-terms-check a,.auth-provider-notice a{text-decoration:underline;text-underline-offset:2px;font-weight:700;color:var(--ink)}
.auth-provider-notice{margin:9px 0 18px;color:var(--muted);font-size:10px;line-height:1.45;text-align:center}
.payment-terms-check{margin-top:16px!important;color:var(--ink)}
.payment-terms-check+.mp-card-error{margin-top:12px}
.legal-provider{max-width:850px;line-height:1.65}
.legal-version{font-size:12px!important;color:var(--muted)}

/* Tutorial de la portada */
.homepage-tutorial-trigger{position:fixed;right:22px;bottom:22px;z-index:9999;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:transform .18s ease}
.homepage-tutorial-trigger:hover{transform:translateY(-3px)}
.homepage-tutorial-trigger:focus-visible{outline:3px solid var(--accent);outline-offset:5px;border-radius:18px}
.homepage-tutorial-icon{display:grid;place-items:center;width:64px;height:64px;border:1px solid #ffffff1f;border-radius:50%;background:#0b0b0d;box-shadow:0 12px 32px #0004;transition:transform .18s ease,box-shadow .18s ease}
.homepage-tutorial-trigger:hover .homepage-tutorial-icon{transform:scale(1.03);box-shadow:0 16px 38px #0005}
.homepage-tutorial-icon svg{display:block;width:31px;height:31px;fill:#fff}
.homepage-tutorial-modal{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:28px;background:#11131b66;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);animation:homepage-tutorial-fade .22s ease-out}
.homepage-tutorial-modal[hidden]{display:none}
.homepage-tutorial-dialog{position:relative;width:min(960px,100%);border-radius:20px;background:#09090b;box-shadow:0 30px 100px #0008;animation:homepage-tutorial-enter .25s ease-out}
.homepage-tutorial-video{overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:20px;background:#000}
.homepage-tutorial-video iframe{display:block;width:100%;height:100%;border:0}
.homepage-tutorial-close{position:absolute;right:-13px;top:-13px;z-index:2;display:grid;place-items:center;width:42px;height:42px;padding:0;border:2px solid #fff;border-radius:50%;background:#0b0b0d;color:#fff;font:700 25px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 8px 24px #0005}
.homepage-tutorial-close:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

/* Controles circulares: conserva una proporción 1:1 incluso dentro de flex y en móviles. */
.modal-close,.homepage-tutorial-close,.flash [data-dismiss-flash],.one-time-alerts [data-dismiss-transient]{box-sizing:border-box!important;display:grid!important;place-items:center!important;aspect-ratio:1/1!important;padding:0!important;border-radius:50%!important;line-height:1!important;flex-shrink:0!important}
.modal-close{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important}
.homepage-tutorial-close{width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important}
.flash [data-dismiss-flash],.one-time-alerts [data-dismiss-transient]{width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;background:#0000000a}
.modal-close,.homepage-tutorial-close,.flash [data-dismiss-flash],.one-time-alerts [data-dismiss-transient]{font-size:0!important}
.flash [data-dismiss-flash],.one-time-alerts [data-dismiss-transient]{position:relative!important}
.modal-close::before,.modal-close::after,.homepage-tutorial-close::before,.homepage-tutorial-close::after,.flash [data-dismiss-flash]::before,.flash [data-dismiss-flash]::after,.one-time-alerts [data-dismiss-transient]::before,.one-time-alerts [data-dismiss-transient]::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;border-radius:2px;background:currentColor;transform-origin:center}
.modal-close::before,.homepage-tutorial-close::before,.flash [data-dismiss-flash]::before,.one-time-alerts [data-dismiss-transient]::before{transform:translate(-50%,-50%) rotate(45deg)}
.modal-close::after,.homepage-tutorial-close::after,.flash [data-dismiss-flash]::after,.one-time-alerts [data-dismiss-transient]::after{transform:translate(-50%,-50%) rotate(-45deg)}

/* Botones de contraseña con el mismo espacio vertical a ambos lados. */
.password-field button{top:6px!important;right:6px!important;bottom:6px!important;display:grid!important;place-items:center!important;width:auto!important;min-width:56px!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 10px!important;line-height:1!important;transform:none!important;box-sizing:border-box!important}
.password-field input{padding-right:76px!important}
html.homepage-tutorial-open,html.homepage-tutorial-open body{overflow:hidden}
@keyframes homepage-tutorial-fade{from{opacity:0}to{opacity:1}}
@keyframes homepage-tutorial-enter{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.homepage-tutorial-trigger{right:14px;bottom:14px}.homepage-tutorial-icon{width:56px;height:56px}.homepage-tutorial-icon svg{width:28px;height:28px}.homepage-tutorial-modal{padding:16px}.homepage-tutorial-dialog,.homepage-tutorial-video{border-radius:14px}.homepage-tutorial-close{right:-5px;top:-48px}}
@media(prefers-reduced-motion:reduce){.homepage-tutorial-trigger,.homepage-tutorial-modal,.homepage-tutorial-dialog{animation:none;transition:none}}

/* Link Tree editor tabs */
.linktree-tabs{position:sticky;top:52px;z-index:2;background:#fff;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}
.linktree-tabs button{height:46px;border:0;background:#fff;font-size:11px;font-weight:750;color:var(--muted);border-bottom:2px solid transparent;cursor:pointer;padding:0 6px}
.linktree-tabs button.active{color:var(--ink);border-bottom-color:var(--ink)}
.linktree-subpane{display:none}
.linktree-subpane.active{display:block}
.linktree-subpane>.panel-fields{padding-top:18px}
@media(max-width:420px){.linktree-tabs button{font-size:10px;padding:0 3px}}


/* 1.59.94 · Check de verificación exclusivamente administrativo + controles cuadrados estables */
.admin-verification-form{display:flex!important;align-items:center!important;margin:0!important}
.admin-verification-checkbox{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;margin:0!important;padding:0!important;cursor:pointer!important}
.admin-verification-checkbox input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.admin-verification-checkbox span{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;aspect-ratio:1/1!important;border:1.5px solid #cfcfd7!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important;transition:background .14s,border-color .14s,box-shadow .14s!important}
.admin-verification-checkbox input:checked+span{border-color:#1d9bf0!important;background:#1d9bf0!important}
.admin-verification-checkbox input:checked+span::after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg)}
.admin-verification-checkbox:hover span{border-color:#9c9ca8!important}
.admin-verification-checkbox input:focus-visible+span{outline:2px solid rgba(109,93,251,.32)!important;outline-offset:2px!important}

/* Los checkbox del editor conservan siempre proporción cuadrada al tocar/focalizar. */
.check-row input[type="checkbox"]{-webkit-appearance:checkbox!important;appearance:auto!important;box-sizing:border-box!important;flex:0 0 16px!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;margin:0!important;padding:0!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;transform:none!important;accent-color:var(--accent)}
.check-row input[type="checkbox"]:focus,.check-row input[type="checkbox"]:active{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;padding:0!important;transform:none!important}
.check-row input[type="checkbox"]:focus-visible{outline:2px solid rgba(109,93,251,.28)!important;outline-offset:2px!important}

/* Controles de icono que son cuadrados no cambian de proporción en hover, focus o active. */
.device-switch button,.project-delete-icon,.homepage-client-delete,.homepage-client-random{box-sizing:border-box!important;flex-shrink:0!important;transform:none}
.device-switch button{width:38px!important;min-width:38px!important;max-width:38px!important;height:32px!important;min-height:32px!important;max-height:32px!important}
.project-delete-icon,.homepage-client-delete{width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
.device-switch button:active,.device-switch button:focus,.project-delete-icon:active,.project-delete-icon:focus,.homepage-client-delete:active,.homepage-client-delete:focus,.homepage-client-random:active,.homepage-client-random:focus{transform:none!important}
@media(max-width:1180px){.editor-history button{box-sizing:border-box!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;transform:none!important}}

/* Admin: filtros y paginación de páginas de clientes */
.admin-filter-bar{display:grid;grid-template-columns:minmax(240px,1.6fr) repeat(4,minmax(140px,.72fr)) auto auto;gap:10px;align-items:end;margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}
.admin-filter-bar>div{display:grid;gap:6px;min-width:0}.admin-filter-bar label{font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.admin-filter-bar input,.admin-filter-bar select{width:100%;min-width:0;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;color:var(--ink);outline:none}.admin-filter-bar input:focus,.admin-filter-bar select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(109,93,251,.09)}.admin-filter-bar .button{height:42px;margin:0;white-space:nowrap}.admin-pagination{margin-top:22px}
@media(max-width:1280px){.admin-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-filter-search{grid-column:span 2}.admin-filter-bar .button{width:100%}}
@media(max-width:760px){.admin-filter-bar{grid-template-columns:1fr 1fr}.admin-filter-search{grid-column:1/-1}}
@media(max-width:560px){.admin-filter-bar{grid-template-columns:1fr}.admin-filter-search{grid-column:auto}}

/* Usuarios: bloque de planes activos retraído por defecto */
.active-users-details{padding:0;overflow:hidden}.active-users-summary{list-style:none;cursor:pointer;padding:28px}.active-users-summary::-webkit-details-marker{display:none}.active-users-details .active-users-heading{margin:0}.active-users-summary-side{display:flex;align-items:center;gap:12px}.active-users-chevron{width:10px;height:10px;border-right:2px solid #777;border-bottom:2px solid #777;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}.active-users-details[open] .active-users-chevron{transform:rotate(225deg) translate(-2px,-2px)}.active-users-content{padding:0 28px 26px;border-top:1px solid var(--line)}.active-users-content .active-users-list{padding-top:20px}.active-users-pagination{margin:22px 0 0}.active-users-summary-count{margin:20px 0 0}.active-users-summary:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:18px}
@media(max-width:720px){.active-users-summary{padding:22px}.active-users-content{padding:0 22px 22px}.active-users-summary-side{gap:9px}.active-users-count{min-width:40px;height:40px}.active-users-pagination{flex-wrap:wrap}}


/* 1.60.02 · En móviles se muestran 4 fotos de Clientes portada. */
@media(max-width:720px){
    .homepage-client-person:not(.homepage-client-mobile-extra){display:grid!important}
    .homepage-client-mobile-extra{display:none!important}
}

/* 1.61.00 · Lienzo con IA */
.ai-canvas-app{min-height:100vh;background:#f5f5f7;color:#111;display:flex;flex-direction:column}.ai-canvas-topbar{min-height:72px;background:#fff;border-bottom:1px solid #e7e7eb;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 20px;position:sticky;top:0;z-index:20}.ai-canvas-topbar-left,.ai-canvas-topbar-actions{display:flex;align-items:center;gap:12px}.ai-canvas-topbar-left>div{display:flex;flex-direction:column;gap:2px}.ai-canvas-topbar-left small{color:#777}.ai-canvas-mode{font-size:12px;font-weight:700;color:#666;background:#f0f0f2;border-radius:999px;padding:7px 10px}.ai-canvas-mode.is-active{background:#111;color:#fff}.ai-canvas-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:0}.ai-canvas-chat{background:#fff;border-right:1px solid #e7e7eb;padding:24px;display:flex;flex-direction:column;min-height:calc(100vh - 72px);max-height:calc(100vh - 72px)}.ai-canvas-chat-head h1{font-size:28px;line-height:1.05;margin:9px 0 10px}.ai-canvas-chat-head p{margin:0;color:#666;line-height:1.5}.ai-canvas-thread{flex:1;min-height:150px;overflow:auto;margin:22px -4px 16px;padding:0 4px;display:flex;flex-direction:column;gap:10px}.ai-message{border-radius:16px;padding:12px 14px;max-width:94%;font-size:14px;line-height:1.45}.ai-message strong{display:block;font-size:12px;margin-bottom:4px}.ai-message p{margin:0;white-space:pre-wrap}.ai-message.is-system,.ai-message.is-assistant{align-self:flex-start;background:#f3f3f5;color:#222}.ai-message.is-user{align-self:flex-end;background:#111;color:#fff}.ai-canvas-composer{border:1px solid #dcdce2;border-radius:18px;padding:10px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.05)}.ai-canvas-composer textarea{width:100%;border:0;resize:none;outline:0;min-height:96px;padding:6px;background:transparent;font:inherit;color:#111}.ai-canvas-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eee;padding-top:9px}.ai-canvas-composer-foot small{color:#777;line-height:1.25}.ai-canvas-controls{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.ai-canvas-reset{color:#8a2c2c}.ai-canvas-note{font-size:11px;color:#8a8a91;line-height:1.45;margin:12px 2px 0}.ai-canvas-warning{margin-top:18px;padding:14px;border:1px solid #eed9b6;background:#fff8e9;border-radius:14px;display:flex;flex-direction:column;gap:6px}.ai-canvas-warning span{font-size:13px;color:#745d34}.ai-canvas-warning .button{margin-top:6px;align-self:flex-start}.ai-canvas-preview-panel{min-width:0;min-height:calc(100vh - 72px);display:flex;flex-direction:column}.ai-canvas-preview-toolbar{height:48px;display:flex;align-items:center;gap:12px;padding:0 16px;background:#fafafa;border-bottom:1px solid #e7e7eb}.ai-canvas-preview-toolbar strong{font-size:13px}.ai-canvas-preview-toolbar span{font-size:12px;color:#777}.ai-canvas-preview-toolbar a{margin-left:auto;font-size:12px;color:#111;text-decoration:none}.ai-canvas-frame-wrap{flex:1;padding:18px;background:#ededf0;min-height:0}.ai-canvas-frame-wrap iframe{width:100%;height:100%;min-height:calc(100vh - 156px);border:0;border-radius:14px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.08)}
@media(max-width:900px){.ai-canvas-topbar{position:relative;align-items:flex-start}.ai-canvas-topbar-actions{flex-wrap:wrap;justify-content:flex-end}.ai-canvas-layout{grid-template-columns:1fr}.ai-canvas-chat{min-height:auto;max-height:none;border-right:0;border-bottom:1px solid #e7e7eb}.ai-canvas-thread{max-height:300px}.ai-canvas-preview-panel{min-height:70vh}.ai-canvas-frame-wrap iframe{min-height:65vh}}
@media(max-width:600px){.ai-canvas-topbar{padding:10px 12px;gap:10px;flex-direction:column}.ai-canvas-topbar-left,.ai-canvas-topbar-actions{width:100%}.ai-canvas-topbar-actions{justify-content:flex-start}.ai-canvas-mode{order:3}.ai-canvas-chat{padding:18px 14px}.ai-canvas-chat-head h1{font-size:24px}.ai-canvas-composer-foot{align-items:flex-end}.ai-canvas-frame-wrap{padding:8px}.ai-canvas-frame-wrap iframe{border-radius:10px}}

/* 1.61.02 · Cada usuario conecta su propia cuenta de OpenAI */
.ai-connect-card{margin-top:18px;border:1px solid #dedee4;border-radius:16px;background:#fafafa;overflow:hidden}.ai-connect-card summary{list-style:none;cursor:pointer;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.ai-connect-card summary::-webkit-details-marker{display:none}.ai-connect-card summary>span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.ai-connect-card summary strong{font-size:13px}.ai-connect-card summary small{font-size:11px;color:#777}.ai-connect-card.is-connected{border-color:#d6e6d8;background:#f7fbf7}.ai-connect-action{font-size:11px;font-weight:800;color:#111;white-space:nowrap}.ai-connect-body{padding:0 15px 15px;border-top:1px solid rgba(0,0,0,.06)}.ai-connect-body>p{font-size:12px;line-height:1.45;color:#666;margin:13px 0}.ai-connect-form{display:grid;gap:10px}.ai-connect-form label{display:grid;gap:6px;font-size:12px;font-weight:700}.ai-connect-form input{width:100%;height:42px;border:1px solid #dcdce2;border-radius:11px;padding:0 12px;background:#fff;color:#111;outline:0;font-size:16px}.ai-connect-form input:focus{border-color:#6c5dfb;box-shadow:0 0 0 3px rgba(108,93,251,.09)}.ai-connect-buttons{display:flex;gap:8px;flex-wrap:wrap}.ai-connect-form>small{font-size:11px;line-height:1.4;color:#777}.ai-disconnect-button{color:#8a2c2c}
@media(max-width:600px){.ai-connect-card summary{padding:13px}.ai-connect-body{padding:0 13px 13px}.ai-connect-buttons .button{flex:1 1 auto}}

/* Crea con IA · conexión OpenAI compacta */
.ai-connect-strip{width:100%;margin-top:16px;flex:0 0 auto;border:1px solid #dedee4;border-radius:14px;background:#fafafa;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;color:#111;cursor:pointer;font:inherit;appearance:none}.ai-connect-strip>span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.ai-connect-strip strong{font-size:13px;line-height:1.2}.ai-connect-strip small{font-size:11px;line-height:1.25;color:#777}.ai-connect-strip-action{font-size:11px;font-weight:800;white-space:nowrap}.ai-connect-strip.is-connected{background:#f7fbf7;border-color:#d7e6d9}.ai-connect-strip:hover{border-color:#c9c9d1}.ai-connect-modal[hidden]{display:none!important}.ai-connect-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px}.ai-connect-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.42);backdrop-filter:blur(3px)}.ai-connect-modal-card{position:relative;z-index:1;width:min(460px,100%);background:#fff;border-radius:20px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.22)}.ai-connect-modal-card h2{margin:8px 0 8px;font-size:25px;line-height:1.1}.ai-connect-modal-card>p{margin:0 0 20px;color:#666;line-height:1.45}.ai-connect-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f1f3;color:#111;font-size:24px;line-height:1;cursor:pointer}.ai-connect-form{display:grid;gap:12px}.ai-connect-form label{display:grid;gap:7px;font-size:12px;font-weight:700}.ai-connect-form input{width:100%;height:46px;border:1px solid #dcdce2;border-radius:12px;padding:0 13px;background:#fff;color:#111;outline:0;font-size:16px}.ai-connect-form input:focus{border-color:#6c5dfb;box-shadow:0 0 0 3px rgba(108,93,251,.09)}.ai-connect-buttons{display:flex;gap:8px;flex-wrap:wrap}.ai-connect-form>small{font-size:11px;line-height:1.4;color:#777}.ai-connect-disconnect{margin-top:16px;border:0;background:transparent;color:#8a2c2c;font:inherit;font-size:12px;font-weight:700;padding:0;cursor:pointer}.ai-modal-open{overflow:hidden}.ai-canvas-chat-head,.ai-canvas-composer,.ai-canvas-controls,.ai-canvas-note{flex-shrink:0}.ai-canvas-thread{min-height:90px}
@media(max-width:600px){.ai-connect-modal{padding:12px}.ai-connect-modal-card{padding:20px 16px;border-radius:18px}.ai-connect-buttons .button{flex:1 1 auto}.ai-connect-strip{margin-top:12px;padding:11px 12px}}

/* 1.62.00 · Crea con ChatGPT */
.chatgpt-builder-panel{gap:0}.chatgpt-builder-panel .ai-canvas-chat-head{padding-bottom:20px;border-bottom:1px solid #ececf0}.chatgpt-builder-panel .ai-canvas-chat-head h1{max-width:330px}.chatgpt-sync-card{margin-top:20px;padding:16px;border:1px solid #e0e0e5;border-radius:18px;background:#fafafa;display:grid;gap:14px;box-shadow:0 8px 24px rgba(0,0,0,.035)}.chatgpt-sync-card.is-connected{background:#f7faf7;border-color:#d9e7db}.chatgpt-sync-head{display:flex;align-items:flex-start;gap:11px}.chatgpt-sync-head>div{display:grid;gap:3px;min-width:0}.chatgpt-sync-head strong{font-size:14px;line-height:1.25}.chatgpt-sync-head small{font-size:12px;line-height:1.4;color:#777}.chatgpt-sync-dot{width:9px;height:9px;border-radius:50%;background:#b7b7bf;flex:0 0 auto;margin-top:4px;box-shadow:0 0 0 4px rgba(183,183,191,.12)}.chatgpt-sync-card.is-connected .chatgpt-sync-dot,.chatgpt-sync-state .chatgpt-sync-dot{background:#36a269;box-shadow:0 0 0 4px rgba(54,162,105,.12)}.chatgpt-open-button{width:100%;min-height:44px;justify-content:center;text-align:center}.chatgpt-disconnect-link{justify-self:center;border:0;background:transparent;color:#777;font:inherit;font-size:11px;font-weight:750;cursor:pointer;padding:0}.chatgpt-disconnect-link:hover{color:#111}.chatgpt-start-card{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;margin-top:12px;padding:13px 14px;border:1px solid #ececf0;border-radius:15px;background:#fff}.chatgpt-step-number{width:28px;height:28px;border-radius:9px;background:#111;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:850}.chatgpt-start-card strong{font-size:13px}.chatgpt-start-card p{margin:3px 0 0;color:#777;font-size:11px;line-height:1.35}.chatgpt-prompt-card{width:100%;margin-top:12px;border:1px solid #e3e3e8;border-radius:15px;background:#f7f7f9;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;color:#111;cursor:pointer;font:inherit}.chatgpt-prompt-card>span{display:grid;gap:4px;min-width:0}.chatgpt-prompt-card strong{font-size:12px}.chatgpt-prompt-card small{font-size:11px;line-height:1.35;color:#777;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chatgpt-prompt-card b{font-size:11px;white-space:nowrap}.chatgpt-sync-state{display:flex;align-items:center;gap:9px;margin-top:auto;padding:16px 2px 10px;color:#777;font-size:11px;line-height:1.35}.chatgpt-sync-state .chatgpt-sync-dot{margin-top:0}.chatgpt-builder-controls{margin-top:0;display:grid;grid-template-columns:1fr 1fr}.chatgpt-builder-controls .button{min-height:40px}.chatgpt-builder-panel .ai-canvas-note{text-align:center;margin-top:10px}
.copy-field{display:flex;gap:8px;align-items:center}.copy-field input{min-width:0;flex:1}.copy-field .button{flex:0 0 auto}
.chatgpt-oauth-shell{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f4f4f6}.chatgpt-oauth-card{width:min(520px,100%);background:#fff;border:1px solid #e5e5e9;border-radius:24px;padding:30px;box-shadow:0 24px 80px rgba(0,0,0,.09)}.chatgpt-oauth-brand{display:inline-flex;margin-bottom:28px}.chatgpt-oauth-card h1{font-size:32px;line-height:1.04;margin:10px 0 12px;letter-spacing:-.025em}.chatgpt-oauth-card>p{margin:0;color:#666;line-height:1.55}.chatgpt-oauth-account{margin:24px 0 14px;padding:14px;border:1px solid #e8e8ec;border-radius:16px;display:flex;align-items:center;gap:12px}.chatgpt-oauth-account>span{width:42px;height:42px;border-radius:13px;background:#111;color:#fff;display:grid;place-items:center;font-weight:850}.chatgpt-oauth-account>div{display:grid;gap:2px}.chatgpt-oauth-account strong{font-size:13px}.chatgpt-oauth-account small{font-size:11px;color:#777}.chatgpt-oauth-permissions{border:1px solid #e8e8ec;border-radius:16px;overflow:hidden}.chatgpt-oauth-permissions>div{padding:14px 15px;display:grid;gap:3px}.chatgpt-oauth-permissions>div+div{border-top:1px solid #ececf0}.chatgpt-oauth-permissions b{font-size:13px}.chatgpt-oauth-permissions span{font-size:11px;color:#777;line-height:1.4}.chatgpt-oauth-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.chatgpt-oauth-actions .button{min-height:46px}.chatgpt-oauth-note{display:block;margin-top:14px;text-align:center;color:#8a8a91;font-size:10px;line-height:1.4}
@media(max-width:600px){.chatgpt-builder-controls{grid-template-columns:1fr}.chatgpt-start-card{padding:12px}.chatgpt-oauth-shell{padding:14px}.chatgpt-oauth-card{padding:22px 18px;border-radius:20px}.chatgpt-oauth-card h1{font-size:27px}.chatgpt-oauth-actions{grid-template-columns:1fr}.copy-field{align-items:stretch;flex-direction:column}.copy-field .button{width:100%}}

/* Crea con ChatGPT · conexión directa */
.chatgpt-connected-content{display:grid;gap:0}
.chatgpt-not-connected-note{margin-top:14px;padding:14px 15px;border:1px dashed #dedee4;border-radius:15px;background:#fafafa;display:grid;gap:4px;text-align:center}
.chatgpt-not-connected-note strong{font-size:12px}
.chatgpt-not-connected-note span{font-size:11px;line-height:1.4;color:#777}
.chatgpt-setup-open{overflow:hidden}
.chatgpt-setup-modal[hidden]{display:none!important}
.chatgpt-setup-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px}
.chatgpt-setup-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.46);backdrop-filter:blur(4px);cursor:pointer}
.chatgpt-setup-card{position:relative;z-index:1;width:min(520px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;background:#fff;border:1px solid #e8e8ed;border-radius:24px;padding:26px;box-shadow:0 30px 100px rgba(0,0,0,.24)}
.chatgpt-setup-card h2{margin:9px 42px 8px 0;font-size:27px;line-height:1.08;letter-spacing:-.03em}
.chatgpt-setup-card>p{margin:0 0 18px;color:#666;line-height:1.5;font-size:14px}
.chatgpt-setup-close{position:absolute;right:15px;top:14px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f1f3;color:#111;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center}
.chatgpt-setup-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.chatgpt-setup-steps li{display:grid;grid-template-columns:32px 1fr;gap:11px;align-items:start;padding:12px;border:1px solid #ececf0;border-radius:15px;background:#fafafa}
.chatgpt-setup-steps li>span{width:30px;height:30px;border-radius:10px;background:#111;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:850}
.chatgpt-setup-steps li>div{display:grid;gap:3px;min-width:0}
.chatgpt-setup-steps strong{font-size:13px}
.chatgpt-setup-steps small{font-size:11px;line-height:1.4;color:#777}
.chatgpt-setup-steps-final{margin-top:10px}
.chatgpt-mcp-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}
.chatgpt-mcp-copy-row input{width:100%;height:42px;border:1px solid #dedee4;border-radius:12px;padding:0 12px;background:#fff;color:#555;font:inherit;font-size:12px;outline:0}
.chatgpt-setup-primary,.chatgpt-setup-check{width:100%;justify-content:center;text-align:center;margin-top:14px;min-height:44px}
.chatgpt-setup-check{margin-top:8px}
.chatgpt-setup-foot{display:block;margin-top:12px;text-align:center;font-size:10.5px;line-height:1.4;color:#8a8a91}
@media(max-width:600px){.chatgpt-setup-modal{padding:12px}.chatgpt-setup-card{padding:22px 16px;border-radius:20px;max-height:calc(100vh - 24px)}.chatgpt-setup-card h2{font-size:24px}.chatgpt-mcp-copy-row{grid-template-columns:1fr}.chatgpt-mcp-copy-row .button{width:100%}}

.chatgpt-connected-content[hidden],.chatgpt-not-connected-note[hidden],[data-chatgpt-setup][hidden],[data-chatgpt-create][hidden]{display:none!important}

/* 1.62.05 · Crea con ChatGPT alineado visualmente con el editor */
.chatgpt-builder-app .ai-canvas-topbar{min-height:64px;padding:0 18px;gap:26px;box-shadow:0 1px 0 rgba(20,20,28,.04)}
.chatgpt-builder-app .ai-canvas-topbar-left{gap:14px;min-width:0}
.chatgpt-builder-app .ai-canvas-editor-title{min-width:150px}
.chatgpt-builder-app .ai-canvas-editor-title strong{font-size:14px}
.chatgpt-builder-app .ai-canvas-topbar-actions{gap:8px;flex:0 0 auto}
.chatgpt-builder-app .ai-canvas-device-switch{margin:auto}
.chatgpt-builder-app .ai-canvas-chat{min-height:calc(100vh - 64px);max-height:calc(100vh - 64px)}
.chatgpt-builder-app .ai-canvas-preview-panel{min-height:calc(100vh - 64px)}
.chatgpt-builder-panel .ai-canvas-chat-head{padding-bottom:20px}
.chatgpt-builder-panel .ai-canvas-chat-head h1{margin-top:0}
.chatgpt-builder-app .ai-canvas-preview-toolbar{height:52px;padding:0 16px;gap:10px;background:#fff}
.chatgpt-builder-app .ai-canvas-preview-toolbar .ai-preview-open{margin-left:auto;min-height:34px;padding:0 14px;font-size:11px}
.chatgpt-builder-app .ai-canvas-frame-wrap{display:flex;justify-content:center;align-items:flex-start;overflow:auto;padding:22px;background:#ededf0}
.chatgpt-builder-app .ai-preview-shell{position:relative;height:100%;min-height:680px;background:#fff;border:1px solid #dddde3;border-radius:7px;overflow:hidden;box-shadow:0 8px 35px rgba(0,0,0,.1);transition:width .3s}
.chatgpt-builder-app .ai-preview-shell.desktop{width:min(100%,1440px)}
.chatgpt-builder-app .ai-preview-shell.tablet{width:768px;max-width:100%}
.chatgpt-builder-app .ai-preview-shell.mobile{width:390px;max-width:100%}
.chatgpt-builder-app .ai-preview-shell iframe{display:block;width:100%;height:100%;min-height:calc(100vh - 162px);border:0;border-radius:0;background:#fff;box-shadow:none}
.chatgpt-builder-app .ai-preview-shell .preview-size-label{top:8px}
.chatgpt-builder-app .ai-canvas-reset{color:inherit}
.chatgpt-builder-app .chatgpt-sync-card{margin-top:18px}
@media(max-width:1100px){.chatgpt-builder-app .ai-canvas-topbar{gap:12px}.chatgpt-builder-app .ai-canvas-topbar-actions{gap:6px}.chatgpt-builder-app .ai-canvas-topbar-actions .button{padding-left:11px;padding-right:11px}}
@media(max-width:900px){.chatgpt-builder-app .ai-canvas-topbar{position:relative;align-items:center;flex-wrap:wrap;padding:10px 12px}.chatgpt-builder-app .ai-canvas-topbar-left{flex:1 1 250px}.chatgpt-builder-app .ai-canvas-topbar-actions{margin-left:auto}.chatgpt-builder-app .ai-canvas-chat{min-height:auto;max-height:none}.chatgpt-builder-app .ai-canvas-preview-panel{min-height:70vh}.chatgpt-builder-app .ai-preview-shell iframe{min-height:65vh}}
@media(max-width:720px){.chatgpt-builder-app .ai-canvas-device-switch{display:none}.chatgpt-builder-app .ai-canvas-topbar-actions .button-ghost{display:none}.chatgpt-builder-app .ai-canvas-topbar-actions{margin-left:auto}.chatgpt-builder-app .ai-canvas-frame-wrap{padding:12px}.chatgpt-builder-app .ai-preview-shell.desktop,.chatgpt-builder-app .ai-preview-shell.tablet,.chatgpt-builder-app .ai-preview-shell.mobile{width:100%}}
@media(max-width:600px){.chatgpt-builder-app .ai-canvas-topbar{flex-direction:row}.chatgpt-builder-app .ai-canvas-topbar-left{width:auto}.chatgpt-builder-app .ai-canvas-topbar-actions{width:auto;justify-content:flex-end}.chatgpt-builder-app .ai-canvas-frame-wrap{padding:8px}.chatgpt-builder-app .ai-preview-shell{border-radius:7px}}

/* 1.62.06 · Crea con ChatGPT ocupa exactamente el viewport, sin bloque vacío lateral */
@media(min-width:901px){
  .chatgpt-builder-app{
    height:100vh;
    min-height:100vh;
    overflow:hidden;
  }
  .chatgpt-builder-app .ai-canvas-layout{
    height:calc(100vh - 64px);
    min-height:0;
    overflow:hidden;
  }
  .chatgpt-builder-app .ai-canvas-chat{
    height:100%;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    box-sizing:border-box;
  }
  .chatgpt-builder-app .ai-canvas-preview-panel{
    height:100%;
    min-height:0;
    overflow:hidden;
  }
  .chatgpt-builder-app .ai-canvas-frame-wrap{
    min-height:0;
    overflow:auto;
  }
  .chatgpt-builder-app .ai-preview-shell{
    height:100%;
    min-height:0;
  }
  .chatgpt-builder-app .ai-preview-shell iframe{
    height:100%;
    min-height:100%;
  }
}


/* 1.62.07 · Preview de ChatGPT igual al Builder + previews reales del dashboard */
.chatgpt-builder-app .ai-canvas-chat-head{padding-bottom:18px}
.chatgpt-builder-app .ai-canvas-chat-head h1{margin-bottom:0}
.chatgpt-builder-app .ai-canvas-preview-panel.editor-canvas{
  min-width:0;
  min-height:0;
  height:100%;
  padding:28px;
  overflow:auto;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  background:#ededf0;
}
.chatgpt-builder-app .ai-canvas-preview-panel .ai-preview-shell{
  height:100%;
  min-height:680px;
  border:1px solid #dddde3;
}
.chatgpt-builder-app .ai-canvas-preview-panel .ai-preview-shell iframe{
  width:100%;
  height:100%;
  min-height:100%;
  border:0;
}
.project-preview-live{
  --dashboard-preview-scale:.28;
  --dashboard-preview-height:252px;
  position:relative;
  display:block;
  height:245px;
  padding:0;
  overflow:hidden;
  background:#f3f3f5;
  isolation:isolate;
}
.project-preview-live iframe{
  position:absolute;
  top:0;
  left:0;
  width:1440px;
  height:820px;
  border:0;
  background:#fff;
  transform:scale(var(--dashboard-preview-scale));
  transform-origin:0 0;
  pointer-events:none;
}
.project-preview-hit{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  cursor:pointer;
}
.project-preview-live::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(17,17,20,.04);
}
.project-actions{flex-wrap:wrap}
.project-plan-payment{white-space:nowrap}
#facturacion{scroll-margin-top:90px}
@media(max-width:720px){
  .chatgpt-builder-app .ai-canvas-preview-panel.editor-canvas{height:600px;padding:12px}
  .chatgpt-builder-app .ai-canvas-preview-panel .ai-preview-shell{min-height:576px}
}


/* 1.62.09 · almacenamiento retraído + miniaturas reales estables */
.project-preview-live iframe{opacity:0;transition:opacity .18s ease}
.project-preview-live iframe[src]{opacity:1}
.editor-storage.is-collapsed{padding-bottom:0}

/* 1.62.12 · barra compacta + almacenamiento compartido */
.editor-preview-menu{position:relative;display:flex;align-items:center;gap:10px}
.editor-preview-menu-trigger,.editor-fr-links-button{min-width:96px;justify-content:center;white-space:nowrap}
.editor-fr-links-button{background:#f5f4ff;border-color:#dcd8ff;color:#5447dd}
.editor-fr-links-button:hover,.editor-fr-links-button:focus-visible{background:#ebe8ff;border-color:#c9c2ff;color:#4739d2;outline:none}
.editor-use-classic{white-space:nowrap}
.editor-use-classic[disabled]{opacity:.42;cursor:default}
.editor-storage-clear{width:100%;min-height:36px;border:1px solid #ead5d7;border-radius:9px;background:#fff;color:#a33b45;font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}
.editor-storage-clear:hover{background:#fff7f8;border-color:#dcbfc3}
.editor-storage-clear:disabled{opacity:.55;cursor:wait}
.chatgpt-builder-app .ai-canvas-topbar-actions>[data-ai-toggle]+.editor-payment-link{margin-left:0}
@media(max-width:720px){.editor-preview-menu{display:none}.editor-use-classic{display:none!important}}
