:root{--navy:#143c72;--navyd:#0f315e;--blue:#234f80;--orange:#fb682b;--text:#202d40;--muted:#78879b;--line:#e5eaf0;--bg:#f6f8fb;--white:#fff;--shadow:0 12px 35px rgba(29,49,76,.05)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text)}body{background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a9c8eb;outline-offset:2px}.boot{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted)}.spinner{width:29px;height:29px;border:3px solid #dae1e8;border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-shell{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:30px;background:radial-gradient(circle at 80% 0%,#e7eef9,transparent 50%),#f8fafc}.auth-card{background:#fff;width:min(100%,475px);border:1px solid #e7ecf2;border-radius:19px;box-shadow:0 30px 90px #163b671a;padding:43px}.auth-logo{display:flex;align-items:center;gap:10px;color:var(--navy);font-size:21px;margin-bottom:38px}.auth-logo:first-letter{color:var(--orange)}.auth-kicker{font-size:10px;color:var(--orange);font-weight:850;letter-spacing:2px}.auth-card h1{font-size:33px;letter-spacing:-1.5px;line-height:1.12;margin:12px 0}.auth-card p{font-size:14px;line-height:1.65;color:#77859b;margin:0 0 26px}.auth-tabs{display:flex;border-radius:10px;background:#f1f4f9;padding:4px;margin:0 0 18px}.auth-tabs button{border:0;border-radius:7px;padding:11px 13px;background:transparent;flex:1;font-size:13px;color:#60738a;font-weight:700}.auth-tabs button.selected{background:white;box-shadow:0 2px 7px #142b4d18;color:var(--navy)}.auth-card form label{display:block;color:#41546d;font-size:12px;font-weight:700;margin:19px 0}.auth-card form input{display:block;width:100%;border:1px solid #dce4ed;border-radius:8px;padding:14px;margin-top:8px;font-size:14px}.auth-card .primary{width:100%;margin-top:10px}.auth-note{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;color:#8996a8;font-size:12px;line-height:1.6}.auth-note code{background:#eef2f7;padding:2px}.success-mark{width:60px;height:60px;background:#ebf7ef;color:#318456;display:flex;align-items:center;justify-content:center;border-radius:100%;font-size:35px;margin-bottom:12px}.clientcode{letter-spacing:1.8px;word-break:break-word;font-size:17px;font-weight:750;color:var(--navy);padding:20px;border:1px dashed #9eb4ce;background:#f0f5fb;margin:15px 0;border-radius:10px}
.primary{display:inline-flex;gap:12px;justify-content:center;align-items:center;border:0;border-radius:8px;background:var(--orange);color:white;padding:13px 18px;font-size:13px;font-weight:800;box-shadow:0 5px 12px #fa682b19;transition:background .15s}.primary:hover{background:#e65c20}.primary span{margin-left:auto}.secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce5ee;background:#fff;border-radius:8px;color:var(--navy);font-size:13px;font-weight:750;padding:12px 18px}.secondary:hover{background:#f1f5f8}
.workspace{min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:0 28px}.brand{display:flex;align-items:center;gap:12px}.brandicon{background:#e8f0fb;border-radius:11px;color:var(--orange);font-size:29px;width:39px;height:39px;display:flex;justify-content:center;align-items:center}.brand b{font-size:20px;letter-spacing:-.65px;color:var(--navy)}.brand b span{color:var(--orange)}.brand small{display:block;color:#8996a4;font-weight:500;font-size:10px;letter-spacing:.2px;margin-top:1px}.top-actions{display:flex;align-items:center;gap:15px}.save-status{font-size:12px;color:#39825c;font-weight:750}.save-status.pending{color:#ad8028}.role-pill{background:#edf3fa;color:#5a7796;padding:7px 11px;font-size:11px;border-radius:30px;font-weight:700}.icon-btn{border:0;background:transparent;padding:8px 6px;color:#6e7e92;font-size:12px;font-weight:750}.icon-btn:hover{color:var(--orange)}
.workspace-body{display:grid;grid-template-columns:232px minmax(390px,1fr) minmax(420px,45%);min-height:calc(100vh - 72px);max-width:1920px;margin:auto}.sidebar{border-right:1px solid var(--line);background:#fff;position:sticky;top:72px;height:calc(100vh - 72px);overflow:auto;display:flex;flex-direction:column}.sidebar-head{padding:32px 21px 19px}.sidebar-head>span{font-size:10px;color:var(--muted);letter-spacing:1.2px;font-weight:900;display:block;margin-bottom:13px}.sidebar-head strong{font-size:12px;color:#3a5571}.meter{height:5px;border-radius:10px;background:#edf1f5;margin-top:12px;overflow:hidden}.meter>div{height:100%;background:var(--orange);border-radius:10px;transition:width .25s}.step{background:transparent;border:0;border-left:3px solid transparent;text-align:left;padding:13px 13px 13px 18px;width:100%;display:flex;gap:11px;align-items:flex-start;transition:background .12s}.step:hover{background:#f6f8fb}.step.active{background:#eef4fc;border-left-color:var(--orange)}.step-icon{border:1px solid #e0e6ef;color:#6b7f93;border-radius:8px;display:flex;flex:0 0 29px;width:29px;height:29px;align-items:center;justify-content:center;font-size:17px;background:#fff}.step.active .step-icon{background:var(--navy);color:#fff;border-color:var(--navy)}.step-content{min-width:0}.step-content b{font-size:12px;display:block;color:#334862;line-height:1.4}.step-content small{display:block;font-size:10px;color:#9aa7b7;margin-top:3px;line-height:1.45}.complete{font-size:11px;color:#299768;align-self:center}.sidebar-bottom{margin-top:auto;padding:20px}.step-hint{font-size:11px;color:#9aa5b3;line-height:1.6}
.editor{min-width:0;height:calc(100vh - 72px);overflow-y:auto;overscroll-behavior:contain}.editor-inner{max-width:740px;margin:0 auto;padding:42px 36px 70px}.section-head{margin-bottom:29px}.eyebrow{font-size:10px;letter-spacing:1.45px;color:var(--orange);font-weight:850}.section-head h1{font-size:clamp(25px,2.6vw,33px);letter-spacing:-1.1px;margin:13px 0 8px;color:#203d5d}.section-head p{font-size:13px;color:#8794a6;line-height:1.5;margin:0}.form-section{background:#fff;border:1px solid #e6ebf1;border-radius:13px;padding:25px;margin:0 0 20px;box-shadow:var(--shadow)}.form-section h2{font-size:16px;color:#224263;letter-spacing:-.25px;margin:0 0 8px}.group-head{margin-bottom:22px}.group-head p,.plain{font-size:12px;color:#8290a2;line-height:1.6;margin:5px 0 0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 16px}.field{min-width:0}.field.full{grid-column:1/-1}.input-label{display:block;color:#39526d;font-size:11.5px;font-weight:800;line-height:1.5;margin-bottom:7px}.required{color:var(--orange)}.field input,.field textarea,.field select{width:100%;background:#fbfcfe;border:1px solid #dfe7ef;border-radius:8px;outline:0;font-size:12.5px;color:#283b52;padding:12px 12px;min-height:44px;transition:border-color .15s,box-shadow .15s}.field textarea{resize:vertical;min-height:83px;line-height:1.6}.field input::placeholder,.field textarea::placeholder{color:#adb8c7}.field input:focus,.field textarea:focus,.field select:focus{border-color:#7aa5d4;box-shadow:0 0 0 3px #dceaf9}.field-hint{font-size:11px;color:#96a3b3;line-height:1.6;margin-top:7px}.minor-title{font-size:10px;color:#8092a5;letter-spacing:1.2px;font-weight:850;margin:23px 0 12px}.upload-list{margin-top:19px}.upload-item{border:1px dashed #d6e1ec;background:#fcfdff;border-radius:9px;display:flex;gap:13px;align-items:center;padding:11px;margin:0 0 10px}.upload-preview{width:82px;height:65px;background:#eef3f8;border-radius:7px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 82px}.upload-preview img{width:100%;height:100%;object-fit:cover}.placeholder-photo,.doc-symbol{font-size:26px;color:#b4c6d8}.upload-info{min-width:0;flex:1}.upload-info>b{display:block;font-size:12px;color:#3b5068}.upload-info>small{display:block;font-size:10px;color:#8d9eb0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 9px;max-width:310px}.upload-actions{display:flex;gap:13px;align-items:center}.upload-btn{border:1px solid #cbd9e8;background:#fff;color:var(--navy);border-radius:6px;padding:7px 11px;font-size:11px;font-weight:850;display:inline-flex;cursor:pointer}.upload-btn:hover{border-color:var(--blue);background:#f1f6fc}.remove-btn{border:0;background:transparent;color:#b26464;font-size:11px;font-weight:750;padding:7px 4px}.editor-footer{display:flex;justify-content:space-between;gap:20px;margin-top:23px}.editor-footer .primary{min-width:175px}
.collection-top{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#8090a2;font-size:12px;margin-bottom:17px}.add-btn{border:0;background:var(--navy);padding:10px 12px;color:#fff;border-radius:7px;font-size:11px;font-weight:800}.empty-state{text-align:center;border:1px dashed #dae4ee;border-radius:12px;background:#fafcff;padding:25px 16px;margin:10px 0}.empty-state>div{color:#b2c3d6;font-size:33px;margin-bottom:8px}.empty-state b{font-size:14px;color:#49627e}.empty-state p{font-size:12px;color:#8b9aaa;line-height:1.55;margin:8px auto;max-width:300px}.collection-card{border:1px solid #e1eaf3;background:#fcfdff;padding:19px;border-radius:11px;margin:17px 0}.collection-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:19px}.collection-index{font-size:9px;letter-spacing:1px;color:var(--orange);font-weight:900}.collection-header h3{font-size:15px;margin:5px 0 0;color:#2a496b}.collection-card .upload-item{background:#fff}.collection-card .minor-title{margin-top:14px}
.review-hero{text-align:center;padding:20px 0 30px}.review-count{font-size:58px;line-height:1.3;letter-spacing:-3px;color:var(--navy);font-weight:850}.review-hero h2{font-size:22px;margin:4px 0;color:#214060}.review-hero p{font-size:13px;color:#8492a6;line-height:1.6;max-width:390px;margin:10px auto}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.stat-grid>div{background:#f3f7fb;border-radius:8px;padding:16px}.stat-grid b{font-size:21px;color:var(--navy);display:block}.stat-grid small{font-size:11px;color:#8b9aaa}.unfilled,.filled-note,.info-note{border-radius:8px;background:#fff8eb;color:#927034;padding:13px;font-size:12px;line-height:1.6}.filled-note{background:#ecf8f0;color:#3a8659}.info-note{background:#ecf4fd;color:#416a92}.checklist{margin:17px 0}.checklist>div{display:flex;gap:12px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #eef2f6;font-size:12px;color:#637890;line-height:1.5}.checklist>div span{color:var(--orange);font-size:19px;line-height:1}.wide-button{width:100%;margin:15px 0 6px}
.preview-panel{border-left:1px solid #dde6ee;background:#edf2f7;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column;min-width:0}.preview-top{display:flex;align-items:center;justify-content:space-between;padding:25px 26px 14px}.preview-kicker{font-size:10px;font-weight:900;letter-spacing:1.1px;color:#45617e}.live-dot{display:inline-block;border-radius:50%;width:7px;height:7px;background:#37a874;margin-right:5px;box-shadow:0 0 0 3px #d8eee4}.preview-top p{font-size:12px;color:#91a1b3;margin:6px 0 0}.help-icon{width:25px;height:25px;border:1px solid #d0dfed;color:#7c91a9;border-radius:50%;background:transparent}.preview-toolbar{display:flex;gap:10px;padding:0 26px 12px;align-items:center;justify-content:space-between}.preview-toolbar select{background:#fff;border:1px solid #d7e2eb;border-radius:7px;font-size:12px;font-weight:700;color:#385572;padding:10px;width:185px}.view-actions{display:flex;padding:3px;background:#e1e9f1;border-radius:7px}.view-actions button{border:0;background:transparent;color:#70849b;border-radius:5px;padding:6px 10px;font-size:17px;line-height:1}.view-actions button.active{background:white;color:var(--navy);box-shadow:0 1px 4px #22364a1a}.preview-tabs{display:flex;border-bottom:1px solid #d6e0eb;padding:0 26px;margin-bottom:13px;gap:25px}.preview-tabs button{padding:13px 0;background:transparent;border:0;border-bottom:2px solid transparent;color:#8b9bad;font-size:12px;font-weight:750}.preview-tabs button.active{border-bottom-color:var(--orange);color:var(--navy)}.preview-outer{margin:0 16px 14px;border-radius:9px;flex:1;min-height:0;overflow:auto;background:#e2e9f1;border:1px solid #d5e0eb;box-shadow:0 4px 18px #23395910}.preview-scroll{min-height:100%;display:flex;flex-direction:column;align-items:center;padding:16px}.preview-bottom{text-align:center;font-size:10.5px;color:#8b9cae;line-height:1.5;padding:0 20px 17px}.mini-site{background:white;width:100%;max-width:900px;box-shadow:0 8px 25px #1837581d;font-family:Arial,system-ui,sans-serif;overflow:hidden}.preview-scroll.narrow-preview .mini-site{width:330px;max-width:100%;}.reference-note{background:#fff;border:1px solid #dde7f0;padding:14px;border-radius:6px;font-size:12px;color:#44607e;margin-bottom:15px}.reference-note p{font-size:11px;color:#8192a4;line-height:1.45;margin-bottom:0}.original-view{width:100%}.original-view img{display:block;width:100%;height:auto;margin-bottom:12px;box-shadow:0 3px 12px #21395617}.toast{position:fixed;bottom:24px;left:50%;z-index:50;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(500px,90vw);padding:13px 18px;border-radius:9px;background:#173f71;color:white;font-size:12px;box-shadow:0 9px 40px #111e3444;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#a3483e}
/* Miniatura web en HTML: estas áreas reflejan textos y fotos subidos. */
.mini-site .web-nav{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 10%;font-size:8px;color:#23436b}.web-nav .web-logo{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--orange)}.web-nav .web-logo img{max-height:25px;max-width:100px;object-fit:contain}.logo-house{font-size:21px;color:var(--navy)}.web-nav em{font-size:7px;font-style:normal;color:white;background:var(--orange);padding:6px 10px;border-radius:3px}.mini-site .web-container{padding-left:12%;padding-right:12%}.mini-site section small{font-size:7px;font-weight:900;letter-spacing:1px;display:block;margin-bottom:10px;color:var(--orange)}.mini-site section h1{font-size:27px;letter-spacing:-1.1px;line-height:1.12;margin:0 0 14px}.mini-site section h2{font-size:19px;line-height:1.16;letter-spacing:-.5px;margin:0 0 13px}.mini-site section h3{font-size:12px;line-height:1.2;margin:8px 0}.mini-site section p{font-size:9px;line-height:1.55;margin:0 0 13px}.mini-site section button{background:var(--orange);border:0;border-radius:4px;color:#fff;padding:10px 14px;font-size:8px;font-weight:800}.mini-site .web-hero{background:linear-gradient(105deg,#153e73,#173f70);color:#fff;position:relative;border-bottom:3px solid var(--orange)}.web-hero-inner{max-width:1050px;margin:auto;padding:47px 12%;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:22px}.web-hero-inner small{color:#ff8b59!important}.web-hero-inner p{max-width:265px;color:#edf4fd}.hero-photo img{width:100%;aspect-ratio:1.08;object-fit:cover;display:block;border-radius:13px}.web-search{background:#edf3fa;padding:26px 0;text-align:left}.web-search h2{color:var(--navy)}.web-searchbar{display:flex;align-items:center;gap:9px;justify-content:space-between;background:white;padding:6px 8px 6px 13px;border-radius:7px;font-size:8px;color:#8999ab;box-shadow:0 5px 15px #163a6810}.web-searchbar span{border-left:1px solid #e2e7ee;flex:1;padding-left:9px}.web-searchbar button{padding:8px 13px!important}.web-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:24px;padding-bottom:24px}.web-card-photo img{width:100%;height:115px;object-fit:cover;border-radius:8px}.web-cards article small{margin-top:10px;font-size:7px}.web-cards h3{color:var(--navy)}.web-cards p{color:#75869a;font-size:8px!important;min-height:38px}.web-cards button,.web-blog-short button,.web-featured button{background:var(--navy)!important}.web-featured{background:#edf3fb;padding-top:30px;padding-bottom:33px}.web-featured h2{color:var(--navy)}.web-property,.property-tile{max-width:230px;background:#fff;border:1px solid #e0e6ee;border-radius:9px;overflow:hidden;margin-bottom:14px}.web-property>img{width:100%;height:160px;object-fit:cover;display:block}.property-pad{padding:13px}.property-pad span{font-size:8px;font-weight:bold;color:var(--orange)}.property-pad strong{display:block;font-size:17px;color:#123961;margin:6px 0}.property-pad h3{color:#173f6d;margin:4px 0 7px}.property-pad p{color:#8897a7!important}.web-service-strip{background:var(--navy);color:#fff}.web-service-strip .web-container,.web-legal-strip .web-container{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;padding-top:33px;padding-bottom:33px}.strip-image img{height:190px;width:100%;object-fit:cover;border-radius:10px}.web-service-strip p{color:#deebfa}.web-service-strip button{background:var(--orange)}.web-blog-short{padding-top:35px;padding-bottom:35px}.web-blog-short h2{color:var(--navy)}.blog-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.blog-tile{background:#fff;border:1px solid #e2e8ef;border-radius:9px;overflow:hidden;max-width:220px}.blog-cover img{width:100%;height:110px;object-fit:cover}.blog-tile b{font-size:8px;color:var(--navy)}.web-cta{padding:38px 12%;background:var(--orange);color:var(--navy);display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:25px}.web-cta small{color:#123b72!important}.web-cta button{background:var(--navy)!important}.cta-photo img{width:100%;height:150px;object-fit:cover;border-radius:9px}.web-footer{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:15px;background:#f7f9fc;padding:27px 12% 16px;color:var(--navy)}.web-footer h3{font-size:12px;margin:0 0 11px}.web-footer p,.web-footer small{font-size:8px;line-height:1.6;color:#7c8c9f}.web-footer b{font-size:9px}.web-footer p{margin:9px 0}.web-newsletter{display:flex;align-items:center;justify-content:space-between;border:1px solid #e2e8f0;background:white;border-radius:5px;font-size:8px;padding-left:7px}.web-newsletter em{font-style:normal;color:#fff;background:var(--navy);padding:9px}.web-copyright{grid-column:1/-1;border-top:1px solid #e3e9f1;text-align:center;font-size:8px;color:#93a1af;padding-top:13px}.web-service-list{display:grid;grid-template-columns:1fr 1.2fr;gap:25px;align-items:center;padding-top:34px;padding-bottom:34px}.web-service-list h2,.web-legal-strip h2{color:var(--navy)}.web-service-list p,.web-legal-strip p{color:#6b829a}.web-service-list img{width:100%;max-height:190px;object-fit:cover;border-radius:9px}.web-service-list ul{padding:0;list-style:none;font-size:9px;line-height:2;color:#536b84}.web-service-list li:before{content:'✓';color:var(--orange);margin-right:7px}.web-legal-strip{background:#eaf2fa}.web-steps{background:var(--navy);color:#fff;padding:39px 0;text-align:center}.steps-grid{display:flex;justify-content:space-between;gap:15px;margin-top:22px}.steps-grid>div{flex:1}.steps-grid i{display:flex;margin:0 auto 11px;width:35px;height:35px;border-radius:100%;background:#fff;color:var(--navy);font-size:16px;font-weight:900;align-items:center;justify-content:center;font-style:normal}.steps-grid b{font-size:11px}.steps-grid p{color:#d5e5f6;margin-top:7px!important}.web-contact{background:#ecf3fa}.web-contact>.web-container{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-top:35px;padding-bottom:37px}.web-contact h2{color:var(--navy)}.web-contact-form{background:white;border-radius:9px;padding:17px}.web-contact-form b{font-size:12px;color:var(--navy)}.web-contact-form label{display:block;font-size:8px;color:var(--navy);margin-top:11px;font-weight:bold}.web-contact-form input,.web-contact-form textarea{width:100%;border:1px solid #e4ebf2;border-radius:4px;background:#f9fbfe;padding:7px;font-size:8px;display:block;margin-top:4px}.web-contact-form textarea{height:42px}.web-contact-form small{font-size:7px!important;color:#899cad!important}.web-contact-form button{width:100%;margin:8px 0}.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.property-tile{max-width:none}.property-image{position:relative}.property-image img{width:100%;height:150px;object-fit:cover}.property-image span{position:absolute;top:10px;left:10px;background:var(--navy);color:#fff;font-size:8px;padding:5px;border-radius:3px}.preview-empty{padding:25px;text-align:center;background:#fff;border-radius:8px;color:#889aac;font-size:12px;grid-column:1/-1}
/* Vista mini móvil */
.narrow-preview .web-nav{padding:0 5%;height:37px}.narrow-preview .web-nav>div{font-size:0}.narrow-preview .web-nav>div:after{content:'☰';font-size:15px;color:var(--navy)}.narrow-preview .web-hero-inner{grid-template-columns:1fr;padding:27px 9%;gap:13px}.narrow-preview section h1{font-size:27px}.narrow-preview .hero-photo img{height:185px;aspect-ratio:auto}.narrow-preview .web-container{padding-left:8%;padding-right:8%}.narrow-preview .web-cards{grid-template-columns:1fr}.narrow-preview .web-card-photo img{height:160px}.narrow-preview .web-searchbar{font-size:8px}.narrow-preview .web-searchbar span{display:none}.narrow-preview .web-service-strip .web-container,.narrow-preview .web-legal-strip .web-container,.narrow-preview .web-service-list,.narrow-preview .web-contact>.web-container,.narrow-preview .web-cta{grid-template-columns:1fr;gap:15px}.narrow-preview .web-cta{padding:23px 8%}.narrow-preview .property-grid,.narrow-preview .blog-card-grid{grid-template-columns:1fr}.narrow-preview .web-footer{padding:25px 8%;grid-template-columns:1fr 1fr}.narrow-preview .steps-grid{flex-direction:column}.narrow-preview .web-hero-inner p{max-width:none}
@media(max-width:1400px){.workspace-body{grid-template-columns:210px minmax(350px,1fr) minmax(370px,42%)}.editor-inner{padding:36px 26px 60px}.preview-top{padding-left:18px;padding-right:18px}.preview-toolbar,.preview-tabs{padding-left:18px;padding-right:18px}}
@media(max-width:1050px){.workspace-body{grid-template-columns:220px minmax(0,1fr)}.sidebar{height:calc(100vh - 72px)}.editor{height:auto;min-height:calc(100vh - 72px);overflow:visible}.preview-panel{position:relative;top:0;height:700px;grid-column:2;grid-row:2;min-width:0;border-top:1px solid var(--line)}.workspace-body{align-items:start}.editor-inner{max-width:750px}.preview-scroll{padding:20px}.mini-site{max-width:680px}}
@media(max-width:720px){.topbar{height:64px;padding:0 14px}.brand b{font-size:16px}.brand small{font-size:9px}.top-actions{gap:9px}.role-pill{display:none}.save-status{font-size:10px}.workspace-body{display:flex;flex-direction:column}.sidebar{position:static;width:100%;height:auto;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar-head{padding:13px 15px 10px}.sidebar-head>span{display:none}.sidebar-head strong{font-size:10px}.meter{margin-top:8px}.sidebar-bottom{display:none}#steps{display:flex;overflow:auto;padding:0 9px 8px}.step{flex:0 0 130px;padding:9px 8px;border-left:0;border-bottom:2px solid transparent;gap:6px}.step.active{border-bottom-color:var(--orange)}.step-icon{width:25px;height:25px;flex-basis:25px;font-size:14px}.step-content b{font-size:10px}.step-content small{display:none}.complete{display:none}.editor{width:100%;height:auto;min-height:0}.editor-inner{padding:25px 14px 40px}.section-head{margin-bottom:20px}.section-head h1{font-size:26px}.form-section{padding:17px}.fields{grid-template-columns:1fr;gap:14px}.field.full{grid-column:1}.editor-footer .primary{min-width:0}.preview-panel{width:100%;height:720px;position:relative;grid-column:auto;grid-row:auto}.preview-top{padding:18px 15px 10px}.preview-toolbar,.preview-tabs{padding-left:15px;padding-right:15px}.preview-outer{margin:0 9px 11px}.preview-scroll{padding:9px}.auth-card{padding:28px}.auth-card h1{font-size:29px}}
.extra-gallery{padding:15px 0 4px}.gallery-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.gallery-row>b{font-size:11.5px;color:#3f5670}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.gallery-thumb{position:relative;height:70px;border-radius:6px;overflow:hidden;background:#edf2f6}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.gallery-thumb button{position:absolute;top:2px;right:3px;background:#102f56cc;border:0;color:white;border-radius:50%;width:21px;height:21px}.web-tile-gallery{display:flex;gap:5px;margin-top:8px}.web-tile-gallery img{width:28%;height:40px;object-fit:cover;border-radius:4px}

/* V1.1 · Contacto con fotografía junto al formulario (diseño real). */
.web-contact .web-container{align-items:start;gap:24px;padding-top:35px;padding-bottom:40px}
.web-contact-left h2{max-width:255px}.web-contact-left>p{color:#6f849c;max-width:350px;line-height:1.6;margin-top:15px!important}
.web-contact-photo{margin-top:19px}.web-contact-photo img{width:100%;height:155px;object-fit:cover;border-radius:12px;display:block;object-position:center}
.web-contact-left p.web-contact-footnote{margin-top:12px!important;line-height:1.65;max-width:330px}
.web-contact-form{border:1px solid #d9e5f0;border-radius:10px;padding:20px 18px 16px}
.web-contact-form>b{display:block;font-size:14px;line-height:1.3;margin-bottom:14px}
.web-contact-form label{font-size:9px;margin-top:9px}.web-contact-form input,.web-contact-form textarea{background:#fafcff;border:1px solid #d6e3ef;border-radius:5px;min-height:29px;font-size:9px;padding:8px}
.web-contact-form textarea{min-height:66px;resize:none}
.web-contact .web-privacy-line{display:flex;align-items:flex-start;gap:6px;color:#607e9e;font-size:8px;line-height:1.4;margin:12px 0}
.web-privacy-line .checkbox-dummy{font-size:13px;line-height:1}
.web-contact-form .web-privacy-line button{display:inline;padding:0;margin:0;color:#164676;background:transparent;font-size:inherit;text-decoration:underline}
.web-contact-form .web-submit{width:100%;font-size:9px;padding:12px 10px;background:#ff671f}
.web-contact-form .web-form-mock-note{display:block;color:#9aacbf!important;font-size:8px!important;letter-spacing:0;line-height:1.4;margin-bottom:0}
/* Páginas legales editables */
.legal-progress{border:1px solid #dce6f1;border-radius:11px;padding:19px;background:#f8fbfe;margin-bottom:20px}
.legal-progress>b{color:#16416f;font-size:15px}.legal-progress>p{font-size:12px;color:#71869b;line-height:1.6}
.legal-checks{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.legal-checks>div{font-size:11px;color:#6c8095;display:flex;gap:8px;align-items:center}.legal-checks span{border:1px solid #c8d6e4;color:#9bb0c5;border-radius:50%;width:18px;height:18px;display:flex;align-items:center;justify-content:center}.legal-checks .is-complete{background:#e5f5ed;color:#27825a;border-color:#bcdfd0}
.legal-warning{border-left:3px solid #ef9434;background:#fff9ef;border-radius:6px;padding:13px 15px;margin:14px 0;color:#775739}.legal-warning>b{font-size:12px}.legal-warning p{font-size:11px;line-height:1.6;margin:6px 0 0}
.legal-editor-card{border:1px solid #d9e5f0;border-radius:11px;padding:18px;margin:18px 0;background:white}
.legal-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.legal-card-top small{color:#ff681e;font-size:9px;font-weight:800;letter-spacing:1px}.legal-card-top h3{font-size:16px;color:#153d6e;margin:5px 0}.legal-draft-tag{background:#eef3f9;border-radius:100px;color:#637e9b;padding:6px 9px;font-size:10px;white-space:nowrap}.legal-editor-card>p{font-size:11px;color:#7890a7;line-height:1.5}.legal-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}
.legal-buttons button{min-height:34px;padding:8px 12px;font-size:11px}
.legal-editor-card .field{width:100%}.legal-editor-card textarea{min-height:250px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11.5px;line-height:1.65}
.web-footer-legal{color:inherit!important;background:transparent!important;font-size:inherit!important;font-weight:inherit!important;border:none!important;padding:0!important;cursor:pointer!important;text-align:left!important}.web-footer-legal:hover{text-decoration:underline}
.web-policy-hero{background:linear-gradient(100deg,#123c6c,#214d80);color:white;border-bottom:3px solid #ff6d2a}.web-policy-hero>.web-container{padding-top:32px;padding-bottom:30px}.web-policy-hero h1{font-size:26px!important}.web-policy-hero p{color:#e3effc}
.web-policy{background:#f6f9fc}.web-policy>.web-container{padding-top:24px;padding-bottom:35px}.policy-note{font-size:9px;color:#7b5832;background:#fff5e8;border-left:3px solid #ffa03a;border-radius:3px;padding:10px;margin-bottom:14px;line-height:1.5}.policy-content{background:#fff;border:1px solid #dde7ef;border-radius:7px;padding:19px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:10px;color:#264363}.policy-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.policy-links button{background:white!important;color:#134173!important;border:1px solid #dce7f2!important}
.narrow-preview .web-contact>.web-container{grid-template-columns:1fr;gap:18px}.narrow-preview .web-contact-photo img{height:125px}
@media(max-width:660px){.legal-checks{grid-template-columns:1fr}.legal-card-top{align-items:flex-start}.legal-buttons button{flex:1}}

.web-basic-privacy{margin-top:10px;padding:7px 9px;border:1px solid #dde7f1;border-radius:5px;color:#58728f;font-size:8px;line-height:1.6}.web-basic-privacy summary{cursor:pointer;font-weight:700}.web-basic-privacy div{margin-top:6px}.web-basic-privacy b{font-weight:750;color:#274d78}

/* v1.3 · Configurador de campos del back (NO crea inmuebles). */
.back-info{background:#edf4fc;border:1px solid #d6e6f6;border-radius:10px;padding:16px 18px;color:#224a76;margin:0 0 16px}.back-info b{font-size:13px}.back-info p{font-size:12px;line-height:1.6;color:#5d7894;margin:5px 0 0}.back-tip{margin-top:20px;background:#fafcfe}
.back-stat-row{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:14px}.back-stat-row span{flex:1 1 110px;border:1px solid #e0e8f0;border-radius:9px;background:#f9fbfd;padding:11px;font-size:10px;color:#7288a0}.back-stat-row b{display:block;color:#153b68;font-size:22px;margin-bottom:2px}
.back-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 23px}.back-actions button{font-size:11px;flex:1 1 165px;min-height:38px}
.back-heading{margin:25px 0 13px}.back-heading h3{font-size:15px;color:#19416d;margin:0 0 5px}.back-heading p{font-size:11px;line-height:1.55;color:#8094a9;margin:0}
.back-option-card,.back-field-card{border:1px solid #e0e8f1;border-radius:10px;background:#fff;margin:0 0 10px;overflow:hidden}.back-option-card>summary,.back-field-card>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px}.back-option-card>summary::-webkit-details-marker,.back-field-card>summary::-webkit-details-marker{display:none}.back-option-card>summary:before,.back-field-card>summary:before{content:'▸';color:#8198b2}.back-option-card[open]>summary:before,.back-field-card[open]>summary:before{content:'▾'}.back-option-card>summary>span:first-of-type{flex:1}.back-option-card summary b,.back-field-card summary b{color:#254766;font-size:12px;display:block}.back-option-card summary small,.back-field-card summary small{color:#95a5b6;font-size:10px;line-height:1.5;display:block;margin-top:3px}.back-count{white-space:nowrap;border:1px solid #dfe9f3;background:#f5f9fd;padding:5px 7px;border-radius:7px;color:#597796;font-size:10px}.back-option-content{padding:4px 13px 14px;border-top:1px solid #edf1f6}.back-pill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:12px}.back-chip{display:flex;align-items:center;gap:7px;min-width:0;background:#fafbfd;border:1px solid #e4eaf1;border-radius:7px;padding:8px 9px;color:#60728b;font-size:11px;line-height:1.35;cursor:pointer}.back-chip.is-checked{background:#edf5ff;border-color:#aac8e7;color:#173e6e;font-weight:700}.back-chip input{accent-color:#1c4f85;flex:0 0 auto;width:15px;height:15px;margin:0}.back-chip span{flex:1;overflow-wrap:anywhere}.back-chip-delete{background:none;border:0;font-size:18px;color:#be6f71;padding:0 2px;line-height:1}.back-add{display:flex;gap:9px;margin-top:12px}.back-add input{flex:1;min-width:0;border:1px solid #dbe4ee;border-radius:7px;padding:10px;font-size:12px}.back-add button{white-space:nowrap;padding:9px 12px;font-size:11px}.back-field-rows{padding:0 12px 11px}.back-field-row{border-top:1px solid #eef2f7;padding:9px 0;display:flex;align-items:center;justify-content:space-between;gap:9px}.back-field-row>span{font-size:11px;line-height:1.4;color:#4c627a;flex:1}.back-field-row>select{border:1px solid #dce5ef;padding:7px;border-radius:7px;color:#285077;font-size:10px;width:127px;background:#f9fbfd}
.back-mock{background:#f5f7fa;padding:20px 18px;color:#1d3d68;min-height:500px}.back-mock-top{padding:8px 0 20px}.back-mock-top>small{font-size:8px;color:#8498ae;letter-spacing:1.2px;font-weight:800}.back-mock-top>h1{font-size:25px;line-height:1.17;max-width:270px;margin:10px 0;color:#163d69;letter-spacing:-.8px}.back-mock-top>p{font-size:11px;line-height:1.55;color:#7b8ea5}.back-mock-top>span{font-size:9px;color:#7b8ca1}.back-mock-card{background:#fff;border:1px solid #dce5ee;border-radius:11px;padding:15px 13px;margin-bottom:12px}.back-mock-card h2{font-size:13px;color:#214672;margin:0 0 14px}.back-mock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.back-mock-field{font-size:9px;font-weight:800;color:#59718f;min-width:0;display:flex;flex-direction:column;gap:5px}.back-mock-field em,.back-mock-card h2 em{color:#ef7036;font-style:normal;margin-left:3px}.back-mock-field input,.back-mock-field select{font-size:10px;width:100%;border:1px solid #dbe5f0;border-radius:6px;padding:8px 7px;min-width:0;background:#f8fafc;color:#8398ab;opacity:1}.back-mock-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 5px}.back-mock-checks label{display:flex;gap:6px;align-items:center;font-size:9px;color:#57708a}.back-mock-checks input{accent-color:#163d69;width:12px}.back-mock-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:16px 0}.back-mock-bottom span{color:#94a4b7;font-size:9px}.back-mock-bottom button{background:#ff6927;border:0;border-radius:7px;color:#fff;font-size:10px;padding:10px 12px}
.narrow-preview .back-mock-grid,.narrow-preview .back-mock-checks{grid-template-columns:1fr}
@media(max-width:540px){.back-pill-grid{grid-template-columns:1fr}.back-field-row>select{width:118px}.back-add{flex-wrap:wrap}}
/* v1.4 · Entrega validada, avisos y revisión administrativa. */
.workflow-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:13px 16px;border-radius:10px;font-size:12px;line-height:1.55;color:#183c6b;background:#edf4fc;border:1px solid #d9e6f4}
.workflow-banner.locked{background:#fff6eb;border-color:#f1ddc5;color:#76502c}
.workflow-banner button{border:1px solid #c6d5e4;background:white;padding:7px 12px;border-radius:7px;color:#143c72;white-space:nowrap;font-weight:650}
.form-is-locked input:disabled,.form-is-locked select:disabled,.form-is-locked textarea:disabled{opacity:1;color:#687c93;background:#f7f9fb}
.form-is-locked .upload-btn{pointer-events:none;opacity:.45}
.workflow-hero{background:linear-gradient(125deg,#f0f6fe,#fff);border:1px solid #dce8f4;border-radius:13px;padding:20px 22px;margin:0 0 18px}
.workflow-hero-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.workflow-hero small{font-size:10px;color:#ff6b29;letter-spacing:1px;font-weight:850}
.workflow-hero h2{font-size:22px;color:#143b6e;margin:6px 0}
.workflow-hero p{font-size:12px;line-height:1.65;color:#5f7893;margin:10px 0 0}
.workflow-status{border-radius:40px;background:#e8edf5;color:#314f75;padding:8px 11px;font-size:11px;font-weight:750}
.workflow-status.submitted,.workflow-status.in_review{background:#fff3de;color:#986128}
.workflow-status.approved{background:#e1f6ed;color:#227551}
.workflow-status.reopened{background:#e7f1ff;color:#275a99}
.workflow-info{background:#fff;border-left:3px solid #e78341;color:#566f85;padding:12px;margin:13px 0;border-radius:5px;font-size:12px;line-height:1.55}
.review-rows{display:flex;flex-direction:column;border:1px solid #e0eaf3;border-radius:10px;overflow:hidden;margin:15px 0}
.review-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;border-bottom:1px solid #edf1f5;background:white}
.review-row:last-child{border-bottom:none}
.review-row>div{flex:1;min-width:0}
.review-row b{display:block;font-size:12px;color:#244369;margin-bottom:3px}
.review-row small{display:block;color:#8a9cae;font-size:10px;line-height:1.5}
.review-row select{width:min(250px,52%);min-width:135px;border:1px solid #d4e0ec;border-radius:7px;padding:9px;color:#244e80;background:#f8fbff;font-size:11px}
.review-state{font-size:10px;color:#597493;text-align:right;max-width:48%}
.workflow-submit>p{margin:8px 0 17px}
.workflow-confirm{display:flex;align-items:flex-start;gap:10px;padding:13px 11px;margin:10px 0;border:1px solid #e1eaf2;border-radius:9px;background:#f8fbfe;font-size:12px;line-height:1.65;color:#415873;cursor:pointer}
.workflow-confirm input{margin-top:4px;accent-color:#184d85;width:17px;height:17px;flex:none}
.workflow-submit .wide-button{margin-top:16px;min-height:45px}
.workflow-admin-alert{background:#fff8eb;border:1px solid #efdfc3;padding:12px;margin:12px 0;border-radius:8px;color:#845a29;font-size:12px;line-height:1.6}
.admin-review>textarea{width:100%;min-height:84px;padding:12px;border-radius:8px;border:1px solid #d8e3ee;font-size:12px;resize:vertical}
.workflow-admin-actions{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0}
.workflow-admin-actions button{flex:1 1 140px;font-size:11px;min-height:42px}
.workflow-email-form>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.workflow-email-form input{flex:1 1 190px;border:1px solid #d6e4ef;border-radius:7px;padding:11px;font-size:12px;min-width:0}
.workflow-email-form button{white-space:nowrap}
.workflow-history{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-height:320px;overflow:auto}
.workflow-history>div{padding:12px;background:#f7fafd;border:1px solid #e3edf5;border-radius:8px}
.workflow-history span{font-size:10px;color:#8597a8;display:block}.workflow-history b{font-size:12px;color:#214c79;margin:3px 8px 0 0}
.workflow-history small{font-size:10px;color:#7e91a5}.workflow-history p{margin:6px 0 0;color:#59718b;font-size:11px;line-height:1.6}
@media(max-width:630px){.review-row{align-items:stretch;flex-direction:column}.review-row select{width:100%}.workflow-banner{align-items:flex-start;flex-direction:column}}

.workflow-top-alert{font-size:10px;background:#fff2dd;color:#88571e;border-radius:30px;padding:7px 10px;font-weight:800;white-space:nowrap}
