.kwboe-wrap{--kw-red:#c7152b;--kw-ink:#1c1c1c;--kw-muted:#666;--kw-edge:#e7e5e4;font:inherit;color:var(--kw-ink);max-width:1240px;margin:24px auto 70px;padding:clamp(16px,3vw,38px);background:#fff;box-sizing:border-box}.kwboe-wrap *{box-sizing:border-box}.kwboe-wrap a{color:var(--kw-red);text-decoration:none}.kwboe-kicker{font-size:14px;color:var(--kw-red);font-weight:750;letter-spacing:.14em}.kwboe-head{display:flex;align-items:flex-start;justify-content:space-between;gap:26px}.kwboe-wrap h1{font-size:clamp(28px,3.5vw,45px);line-height:1.14;margin:14px 0 13px;font-weight:760}.kwboe-wrap h2{font-size:22px;margin:0 0 13px}.kwboe-wrap h3{font-size:23px;margin:0 0 17px}.kwboe-head p,.kwboe-wrap p{font-size:16px;line-height:1.7}.kwboe-profile{min-width:170px;font-size:15px;font-weight:700;padding:14px 17px;border:1px solid var(--kw-edge);border-radius:10px}.kwboe-profile span,.kwboe-profile a{display:block;font-size:14px;font-weight:400;margin-top:5px}.kwboe-filters{display:grid;grid-template-columns:1fr 1.15fr 1fr 1.25fr auto;gap:14px;align-items:end;margin:28px 0;padding:18px;background:#f7f6f5;border:1px solid var(--kw-edge);border-radius:12px}.kwboe-filters label{font-size:14px;font-weight:700;display:block}.kwboe-filters select,.kwboe-filters input{margin-top:7px;display:block;width:100%;height:46px;min-width:0;background:white;border:1px solid #d6d2ce;border-radius:7px;padding:8px 12px;font:inherit;font-size:16px;color:var(--kw-ink)}.kwboe-filters button,.kwboe-primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:var(--kw-red)!important;color:white!important;border:0;border-radius:7px;padding:12px 18px;line-height:1.3;text-decoration:none!important;font:inherit;font-weight:700;font-size:15px;cursor:pointer}.kwboe-filters button:hover,.kwboe-primary:hover{background:#a41022!important}.kwboe-count{padding:0 0 16px;font-size:19px;font-weight:650}.kwboe-count span{font-size:14px;font-weight:400;color:var(--kw-muted);margin-left:9px}.kwboe-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kwboe-item{border:1px solid var(--kw-edge);border-radius:12px;padding:20px;display:flex;flex-direction:column;min-width:0;background:#fff}.kwboe-item-top{display:flex;justify-content:space-between;gap:12px;color:var(--kw-red);font-weight:730;font-size:14px;margin-bottom:18px}.kwboe-item-top small{font-size:14px;font-weight:500;color:var(--kw-muted)}.kwboe-address{font-size:16px!important;line-height:1.6!important;color:var(--kw-muted);overflow-wrap:anywhere}.kwboe-item dl{margin:10px 0 20px}.kwboe-item dl>div{padding:8px 0;border-top:1px solid var(--kw-edge)}.kwboe-item dt{font-size:13px;color:var(--kw-muted)}.kwboe-item dd{margin:3px 0 0;font-weight:600;font-size:14px;overflow-wrap:anywhere}.kwboe-actions{margin-top:auto}.kwboe-actions a{width:100%}.kwboe-pagination{display:flex;justify-content:center;gap:8px;margin:24px}.kwboe-pagination a{padding:8px 13px;border:1px solid #ddd;border-radius:6px}.kwboe-pagination .is-current{background:#181818;color:white}.kwboe-disclaimer{border-top:1px solid var(--kw-edge);margin-top:34px;padding-top:17px;color:#555;font-size:15px!important}.kwboe-empty,.kwboe-panel{border:1px solid var(--kw-edge);background:#fff;border-radius:12px;padding:23px;margin:20px 0}.kwboe-panel h3{color:#181818}.kwboe-detail-title{font-size:clamp(25px,3vw,36px)!important}.kwboe-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 24px}.kwboe-data>div{border-bottom:1px solid var(--kw-edge);padding:10px 0}.kwboe-data dt{font-size:14px;color:#666}.kwboe-data dd{margin:7px 0 0;font-size:16px;line-height:1.6;font-weight:650;overflow-wrap:anywhere}.kwboe-description{white-space:normal;overflow-wrap:anywhere;font-size:17px!important;line-height:1.9!important}.kwboe-back{font-size:15px}.kwboe-login{max-width:520px;margin:50px auto;padding:34px;border:1px solid var(--kw-edge);border-radius:14px}.kwboe-login input[type=text],.kwboe-login input[type=password]{width:100%;font-size:17px;padding:10px}.kwboe-login input[type=submit]{background:var(--kw-red);color:#fff;border:0;padding:12px 18px;border-radius:5px}.kwboe-login label{font-weight:600}@media(max-width:900px){.kwboe-results{grid-template-columns:repeat(2,minmax(0,1fr))}.kwboe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.kwboe-wrap{padding:16px}.kwboe-head{flex-direction:column}.kwboe-results,.kwboe-filters,.kwboe-data{grid-template-columns:1fr}.kwboe-profile{width:100%}.kwboe-count span{display:block;margin-left:0}}

.kwboe-filters select:disabled{background:#f0eeeb;color:#686868;cursor:not-allowed}.kwboe-filter-status{grid-column:1/-1;font-size:13px;color:#69625d;min-height:0}.kwboe-filter-status:empty{display:none}.kwboe-filters label{min-width:0}
@media(max-width:1100px){.kwboe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.kwboe-filters{grid-template-columns:1fr}}

.kwboe-internal{border:2px solid #cfc9c5;background:#f8f7f6}.kwboe-internal h3{color:#a20d23}.kwboe-internal>p{color:#4a4542}

/* Análisis provincial y seguimiento de operaciones. */
.kwboe-wrap .kwboe-detail-nav,.kwboe-wrap .kwboe-report-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.kwboe-wrap .kwboe-detail-nav a{padding:8px 13px;border:1px solid var(--kw-edge);border-radius:7px;font-size:15px}
.kwboe-wrap a:focus-visible,.kwboe-wrap button:focus-visible,.kwboe-wrap input:focus-visible,.kwboe-wrap select:focus-visible,.kwboe-wrap textarea:focus-visible,.kwboe-wrap summary:focus-visible{outline:3px solid #2255a4;outline-offset:3px}
.kwboe-secondary{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:12px 18px;border:1px solid #9c2635;border-radius:7px;font-weight:700;font-size:15px}
.kwboe-editor fieldset{border:1px solid #ddd7d2;border-radius:9px;margin:22px 0;padding:20px;min-width:0}
.kwboe-editor legend{font-size:18px;font-weight:750;color:#2b2523;padding:0 7px;width:auto;margin:0;border:0}
.kwboe-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.kwboe-field{min-width:0}.kwboe-field>label,.kwboe-field>span{display:block;font-size:15px;font-weight:700;margin:0 0 8px}
.kwboe-wrap .kwboe-field input,.kwboe-wrap .kwboe-field select,.kwboe-wrap .kwboe-field textarea{width:100%;max-width:100%;height:auto;min-height:45px;margin:0;padding:10px 12px;border:1px solid #bab2ac;border-radius:6px;background:#fff;color:#242020;font:inherit;font-size:16px;box-shadow:none;box-sizing:border-box}
.kwboe-field small,.kwboe-metrics small,.kwboe-help,.kwboe-source{display:block;font-size:13px!important;line-height:1.65!important;color:#57504d;margin-top:7px}
.kwboe-metrics{margin:0}.kwboe-metrics dd,.kwboe-fees{font-size:22px!important;line-height:1.5;font-weight:750}
.kwboe-fees{display:block;color:#8b1021;margin-top:10px}.kwboe-form-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.kwboe-checkbox{display:flex!important;align-items:center;gap:9px;font-size:14px!important;line-height:1.5;margin-top:16px}
.kwboe-wrap .kwboe-checkbox input[type=checkbox]{width:18px;height:18px;min-width:18px;margin:0;display:inline-block;accent-color:#b01429}
.kwboe-notice{padding:12px 16px;border:1px solid #88ac8b;border-radius:7px;background:#f0f7f0;color:#234c28!important}.kwboe-error{border-color:#ba4959;background:#fff2f3;color:#90172a!important}
.kwboe-interest-editor{margin-top:23px;border-top:1px solid #ddd;padding-top:16px}.kwboe-interest-editor>summary{cursor:pointer;font-size:18px;font-weight:750;margin-bottom:18px}
.kwboe-table-scroll{width:100%;overflow:auto;border:1px solid #ddd;border-radius:8px}
.kwboe-followup{border-collapse:collapse;width:100%;min-width:780px;font-size:14px;line-height:1.5;background:#fff;margin:0}
.kwboe-followup td,.kwboe-followup th{padding:12px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #e5e0dc}
.kwboe-followup th{background:#efebe7;font-size:13px}.kwboe-followup small{display:block;margin-top:5px;overflow-wrap:anywhere}.kwboe-followup td:first-child{max-width:230px;overflow-wrap:anywhere}
.kwboe-tag{display:block;width:fit-content;padding:2px 7px;font-size:12px;font-weight:700;border-radius:4px;background:#f6dee3;color:#7c1221;margin:6px 0}
.kwboe-archive-form{margin:8px 0 0}.kwboe-wrap .kwboe-text-button{border:0;background:none;color:#8d2537;text-decoration:underline;font:inherit;cursor:pointer;padding:2px 0;min-height:24px}
.kwboe-interest-notes td{font-size:13px;background:#faf9f7;overflow-wrap:anywhere;max-width:100%;white-space:normal}
.kwboe-event{padding:14px 0;border-bottom:1px solid var(--kw-edge)}.kwboe-event summary{font-size:14px;line-height:1.6;cursor:pointer}.kwboe-event dd{font-size:14px;font-weight:400;white-space:pre-line}
.kwboe-wrap section[id],.kwboe-wrap details[id]{scroll-margin-top:110px}
@media(max-width:650px){.kwboe-form-grid{grid-template-columns:1fr}.kwboe-editor fieldset{padding:15px}.kwboe-panel{padding:16px}.kwboe-report-actions>a{width:100%}.kwboe-metrics dd{font-size:20px!important}}

/* Informes comerciales y acceso catastral por inmueble. */
.kwboe-wrap .kwboe-actions .kwboe-catastro-card{display:block;margin-top:13px;font-size:14px;text-align:center;text-decoration:underline}
.kwboe-wrap .kwboe-report-actions button.kwboe-secondary{background:#fff;color:#862130;font:inherit;font-weight:700;font-size:15px;cursor:pointer;line-height:1.4}
.kwboe-wrap .kwboe-report-actions button.kwboe-cristina-report{border-color:#d3b793;background:#fffaf3;color:#1f3f53}
.kwboe-wrap .kwboe-report-actions button:disabled{opacity:.65;cursor:wait}
@media(max-width:650px){.kwboe-wrap .kwboe-report-actions button{width:100%}}


/* V1.3.0 · autenticación y administración totalmente independientes de WP */
.kwboe-auth-form{display:grid;gap:16px;margin:22px 0;max-width:780px}
.kwboe-auth-form>label{display:grid;gap:7px;font-size:16px;line-height:1.5;font-weight:650;color:#202020}
.kwboe-wrap .kwboe-auth-form input:not([type=checkbox]):not([type=hidden]),
.kwboe-wrap .kwboe-auth-form select{display:block;width:100%;max-width:100%;min-height:46px;padding:10px 12px;border:1px solid #aaa4a0;border-radius:7px;background:#fff;color:#1b1b1b;font-size:16px;line-height:1.4}
.kwboe-auth-form .kwboe-primary{justify-self:start}
.kwboe-login{width:min(100% - 24px,560px)}
.kwboe-login .kwboe-auth-form{max-width:none}
.kwboe-user-admin{max-width:1100px}
.kwboe-user-detail{padding:18px 20px;margin:14px 0;border:1px solid #d4d0cc;border-radius:10px;background:#fbfaf9}
.kwboe-user-detail>summary{font-size:17px;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}
.kwboe-user-detail .kwboe-auth-form{max-width:none}
.kwboe-user-detail .kwboe-auth-form>div{margin:8px 0}
.kwboe-user-resend{margin:15px 0}
.kwboe-user-detail label{font-size:15px;line-height:1.55}
.kwboe-user-detail input[type=checkbox]{accent-color:#b01429;width:19px;height:19px;vertical-align:middle}
@media(max-width:650px){.kwboe-user-detail{padding:14px}.kwboe-auth-form .kwboe-primary{width:100%}}

.kwboe-sync{margin:18px 0;padding:16px;border:1px solid #d7dce2;border-radius:10px;background:#f8fafc;color:#202733;font-size:16px;line-height:1.6}.kwboe-sync summary{font-weight:700;cursor:pointer}.kwboe-sync-scroll{overflow-x:auto;margin-top:12px}.kwboe-sync table{width:100%;border-collapse:collapse;text-align:left;font-size:15px}.kwboe-sync th,.kwboe-sync td{padding:10px 12px;border-bottom:1px solid #d7dce2;vertical-align:top}.kwboe-sync th{background:#e9eef3}.kwboe-sync small{display:block;max-width:650px;font-size:14px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.kwboe-sync .kwboe-help{font-size:15px;line-height:1.6;margin:10px 0 0}
.kwboe-sync .kwboe-notice{background:#fff6e5;border-color:#ad7925;color:#614007}@media(max-width:700px){.kwboe-sync table,.kwboe-sync tbody,.kwboe-sync tr,.kwboe-sync td{display:block;width:100%;box-sizing:border-box}.kwboe-sync thead{display:none}.kwboe-sync tr{padding:8px 0 14px;border-bottom:1px solid #d7dce2}.kwboe-sync td{border:0;padding:7px 0;font-size:16px;overflow-wrap:anywhere}.kwboe-sync td::before{content:attr(data-label);display:block;font-size:15px;font-weight:700}.kwboe-sync small{font-size:15px}}

/* V1.5.0 · favoritos, agentes externos y solicitudes de análisis */
.kwboe-main-nav,.kwboe-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}
.kwboe-main-nav .kwboe-secondary.is-current{background:#1f1f1f;color:#fff;border-color:#1f1f1f}
.kwboe-inline-form{display:inline-flex;margin:0}
.kwboe-actions .kwboe-inline-form{display:flex;width:100%;margin-top:10px}
.kwboe-favorite-button,.kwboe-analysis-request{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:7px;padding:10px 15px;font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.kwboe-favorite-button{width:100%;border:1px solid #b78f2c;background:#fffdf5;color:#5f480f}
.kwboe-favorite-button.is-favorite{background:#fff3bf;border-color:#95721e;color:#493505}
.kwboe-analysis-request{border:1px solid #163b52;background:#163b52;color:#fff}
.kwboe-analysis-request:hover{background:#0e2c3f}
.kwboe-detail-actions .kwboe-favorite-button{width:auto}
@media(max-width:650px){.kwboe-main-nav,.kwboe-detail-actions{align-items:stretch}.kwboe-main-nav a,.kwboe-detail-actions .kwboe-inline-form,.kwboe-detail-actions button{width:100%}}
