/* CASA MOLDOVA Market Debates 2.0 – scoped to Website-module content. */
.estate-debates{--cm-blue:#003899;--cm-link:#075cc8;--cm-light:#f2f9ff;--cm-border:#cfe4f2;--cm-green:#087a5a;--cm-red:#b00020;--cm-gold:#ad7300;max-width:1460px;margin:auto;padding:0 16px 42px;color:#132f52;font-family:inherit;font-size:15px}
.estate-debates[hidden]{display:none!important}.estate-debates *{box-sizing:border-box}.estate-debates a{color:var(--cm-blue)}
.estate-debates-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 -16px;background:linear-gradient(105deg,#053967ed,#0352a9e0),url('/map-assets/img/home-hero-moldova.jpg') center/cover;padding:22px 34px;color:white;min-height:148px}
.estate-debates-hero>div{min-width:0}.estate-debates-hero h1{font-size:36px;line-height:1.15;margin:5px 0}.estate-debates-hero p{font-size:17px;font-weight:650;margin:5px 0}.estate-debates-hero small{font-size:13px;color:#dfeeff}.estate-debates-eyebrow{font-size:13px;font-weight:700}.estate-debates-hero aside{flex:0 0 320px;display:grid;gap:6px;border-radius:12px;background:#f4f9ff;color:#06437a;padding:17px 22px}.estate-debates-hero aside strong{font-size:17px;line-height:1.3}.estate-debates-hero aside span{font-size:13px}
.estate-debates-tabs{display:flex;align-items:center;gap:8px;min-height:55px;margin:0 -16px 15px;padding:0 17px;background:white;border-bottom:1px solid var(--cm-border);overflow:auto}
.estate-debates-tabs>a{display:inline-flex;align-items:center;white-space:nowrap;min-height:48px;text-decoration:none;padding:11px 13px;border-bottom:3px solid transparent;font-weight:650}.estate-debates-tabs>a.is-active{border-color:#0877ff;color:var(--cm-blue)}.estate-debates-tabs>.estate-debates-primary{margin-left:auto;min-height:auto;border:0;border-radius:8px;background:#075cc8;color:white;padding:11px 16px}.estate-debates-tabs>.estate-debates-primary.is-active{color:white}
.estate-debates-feedback{padding:12px;margin:8px 0;border-radius:8px}.estate-debates-feedback.is-error{background:#fff3f4;border:1px solid #e6b1b5;color:#a20b1d}.estate-debates-feedback.is-success{background:#eefaf5;border:1px solid #95d5b7;color:#087a5a}
.estate-debates-view{min-height:180px}.estate-debates-loading{border:1px solid var(--cm-border);border-radius:12px;background:white;padding:50px 12px;text-align:center;color:#62788e}
.estate-debates-dashboard,.estate-debate-detail-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(295px,.95fr);align-items:start;gap:16px}
.estate-debates-dashboard>main,.estate-debate-detail-layout>main{min-width:0;display:grid;gap:13px}.estate-debate-sidebar{display:grid;gap:15px;align-content:start;min-width:0}
.estate-debate-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.estate-debate-section-heading h2{font-size:22px;color:#082f70;margin:12px 0}.estate-debate-section-heading a{text-decoration:none;font-weight:650}
.estate-debate-list-item{display:flex;align-items:center;gap:16px;background:white;border:1px solid var(--cm-border);border-radius:12px;box-shadow:0 3px 12px #1739570c;padding:16px;min-height:156px}
.estate-debate-card-main{min-width:0;flex:1 1 45%}.estate-debate-card-main h3{font-size:18px;line-height:1.28;margin:6px 0}.estate-debate-card-main h3 a{text-decoration:none}.estate-debate-card-main p{font-size:14px;line-height:1.5;margin:6px 0}.estate-debate-card-main small{color:#6c8194}.estate-debate-topic,.estate-debate-status{display:inline-flex;font-size:12px;font-weight:750;border-radius:20px;background:#e3f1ff;color:#0754a5;padding:4px 9px;margin-right:6px}.estate-debate-status{background:#e3f6ea;color:#087a5a}
.estate-debate-metrics{display:grid;grid-template-columns:repeat(4,minmax(52px,1fr));gap:6px;min-width:225px;max-width:350px;width:35%}.estate-debate-metric{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:10px;background:#f3f7fb;padding:9px 4px;min-height:70px;text-align:center}.estate-debate-metric i{font-style:normal;font-size:17px}.estate-debate-metric b{font-size:19px}.estate-debate-metric small{font-size:10px;font-weight:700}.estate-debate-metric-pro{color:var(--cm-green);background:#eaf7ee}.estate-debate-metric-contra{color:var(--cm-red);background:#fff0f1}.estate-debate-metric-open{color:var(--cm-gold);background:#fff6e7}.estate-debate-metric-fact{color:var(--cm-blue);background:#eaf3ff}
.estate-button,.estate-outline-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 15px;border-radius:9px;border:1px solid #075cc8;background:#075cc8;color:white!important;text-decoration:none!important;font:inherit;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}.estate-outline-button{background:white;color:var(--cm-blue)!important}.estate-button:hover{background:#00469f}.estate-outline-button:hover{background:#f1f7ff}.estate-debates button:disabled{opacity:.55;cursor:not-allowed}
.estate-debate-knowledge,.estate-debate-guide,.estate-debate-evidence,.estate-debate-detail,.estate-debate-story,.estate-debate-contribute,.estate-debate-discussion,.estate-debate-social,.estate-debates-form-card,.estate-debates-list,.estate-debate-cta{background:#fff;border:1px solid var(--cm-border);border-radius:13px;box-shadow:0 3px 12px #1739570a;padding:17px}
.estate-debate-knowledge{background:linear-gradient(170deg,#eef7ff,#fff 63%)}.estate-debate-knowledge h3,.estate-debate-guide h3,.estate-debate-evidence h3,.estate-debate-cta h3{color:var(--cm-blue);font-size:19px;line-height:1.25;margin:2px 0 6px}.estate-debate-knowledge-intro{font-size:12px;color:#6a7d8d;margin:0 0 14px}.estate-debate-knowledge-row{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:12px;background:white;border:1px solid #e5edf6;border-radius:9px;margin-bottom:7px;padding:9px}.estate-debate-knowledge-row strong{font-size:12px;white-space:nowrap}.estate-debate-knowledge-row span{font-size:13px;line-height:1.35}.estate-debate-knowledge-row.is-pro strong{color:var(--cm-green)}.estate-debate-knowledge-row.is-contra strong{color:var(--cm-red)}.estate-debate-knowledge-row.is-fact strong{color:var(--cm-blue)}.estate-debate-knowledge-row.is-open strong{color:var(--cm-gold)}.estate-debate-knowledge-rule{font-size:12px;color:#255487;background:#e5f2ff;border-radius:8px;padding:10px}.estate-debate-knowledge-steps{border-top:1px solid var(--cm-border);padding-top:10px}.estate-debate-knowledge-steps b{font-size:12px}.estate-debate-knowledge-steps ol,.estate-debate-guide ol{margin:10px 0 12px;padding-left:25px}.estate-debate-knowledge-steps li,.estate-debate-guide li{padding:4px 0 4px 3px;font-size:13px;line-height:1.45}.estate-debate-guide{background:#f4f9ff}.estate-debate-guide .estate-button{display:flex;width:100%}.estate-debate-cta{display:grid;gap:8px}.estate-debate-cta p{margin:0}.estate-debate-cta .estate-button{justify-self:start}
.estate-debate-ad-banner,.estate-debate-ad-slot{overflow:hidden;border-radius:12px;background:#e5f3ff}.estate-debate-ad-banner a,.estate-debate-ad-slot a{display:flex;gap:12px;align-items:center;min-height:105px;color:#083b81;text-decoration:none}.estate-debate-ad-banner a img{width:42%;max-height:165px;object-fit:cover}.estate-debate-ad-slot a{display:grid}.estate-debate-ad-slot a img{width:100%;max-height:200px;object-fit:cover}.estate-debate-ad-banner a>span,.estate-debate-ad-slot a>span{display:grid;gap:5px;padding:12px}.estate-debate-ad-banner small,.estate-debate-ad-slot small{font-size:11px;color:#365673}.estate-debate-ad-banner strong,.estate-debate-ad-slot strong{font-size:17px}.estate-debate-ad-banner span span,.estate-debate-ad-slot span span{font-size:13px}
.estate-debates-form-card{max-width:880px;margin:18px auto}.estate-debates-form-card h2{color:var(--cm-blue)}.estate-debates-form-card form{display:grid;gap:13px}.estate-debates-form-card label{display:grid;gap:5px;font-weight:650}.estate-debates-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.estate-debates-checks{display:flex;gap:18px;flex-wrap:wrap}.estate-debates-checks label{display:flex;align-items:center;gap:7px}
.estate-debates input:not([type=checkbox]):not([type=radio]):not([type=file]),.estate-debates select,.estate-debates textarea{width:100%;border:1px solid #caddeb;background:white;border-radius:8px;padding:10px 12px;font:inherit;color:#172f4a}.estate-debates input[type=checkbox],.estate-debates input[type=radio]{accent-color:var(--cm-blue)}.estate-debates textarea{resize:vertical}.estate-debates input:focus-visible,.estate-debates select:focus-visible,.estate-debates textarea:focus-visible,.estate-debates button:focus-visible,.estate-debates a:focus-visible{outline:3px solid #88b8f7;outline-offset:2px}.estate-debates-filter{display:flex;gap:9px;align-items:center;margin-bottom:14px}.estate-debates-filter input{flex:1}
.estate-debates-back{display:inline-block;text-decoration:none;font-size:13px;margin-bottom:10px}.estate-debate-detail-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,32%);gap:18px;align-items:center}.estate-debate-detail-head h2{font-size:25px;line-height:1.25;color:var(--cm-blue);margin:9px 0}.estate-debate-detail-head p{line-height:1.55;margin:7px 0}.estate-debate-detail-head small{color:#67809a}.estate-debate-detail-head .estate-debate-metrics{min-width:0;max-width:none;width:100%}.estate-debate-source{display:block;margin-top:8px}
.estate-debate-story details>summary,.estate-debate-evidence-forms>summary,.estate-debate-social>summary{font-weight:750;color:var(--cm-blue);cursor:pointer}.estate-debate-story details[open]>summary{margin-bottom:16px}.estate-debate-article h3{font-size:20px;margin:0 0 12px;color:var(--cm-blue)}.estate-debate-article-body{font-size:15px;line-height:1.7;overflow-wrap:anywhere}.estate-debate-article-body p{margin:0 0 14px}.estate-debate-article-body h2,.estate-debate-article-body h3,.estate-debate-article-body h4{color:#073b75;line-height:1.3;margin:20px 0 8px}.estate-debate-article-body ul,.estate-debate-article-body ol{padding-left:22px}
.estate-debate-contribute-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.estate-debate-contribute-head h3{font-size:19px;color:var(--cm-blue);margin:3px 0}.estate-debate-contribute-head span{font-size:12px;color:#6b8296}.estate-debate-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.estate-debate-tag{position:relative;cursor:pointer}.estate-debate-tag input{position:absolute;opacity:0;width:1px;height:1px}.estate-debate-tag span{display:inline-block;border:1px solid #c8dae9;background:#f8fafc;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:750;color:#48647d}.estate-debate-tag.is-pro span{background:#eff8f1;color:#087a5a;border-color:#bbe5cf}.estate-debate-tag.is-contra span{background:#fff2f2;color:#b00020;border-color:#f0c9cf}.estate-debate-tag.is-fact span{background:#eff7ff;color:#003899;border-color:#c8ddf8}.estate-debate-tag.is-question span{background:#fff7e8;color:#a16b00;border-color:#f4deae}.estate-debate-tag input:checked+span{outline:2px solid currentColor;outline-offset:1px}.estate-debate-tag input:focus-visible+span{outline:3px solid #438ee6}.estate-debate-contribute textarea{display:block;min-height:90px}.estate-debate-contribute-bottom{display:flex;align-items:start;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:10px}.estate-debate-source-controls{flex:1;min-width:170px}.estate-debate-source-input{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0}.estate-debate-source-input label{display:grid;gap:5px;font-size:13px}.estate-debate-post-status{font-size:12px;color:var(--cm-blue);background:#edf6ff;padding:10px;border-radius:8px}
.estate-debate-discussion{padding:15px}.estate-debate-discussion .estate-debate-section-heading{flex-wrap:wrap}.estate-debate-discussion .estate-debate-section-heading h2{font-size:20px}.estate-debate-discussion .estate-debate-section-heading label{display:flex;align-items:center;gap:8px;font-size:12px}.estate-debate-discussion select{width:auto}.estate-debate-comments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.estate-debate-comment{border:1px solid #e1eaf4;border-radius:10px;background:white;min-width:0;padding:13px;border-left:4px solid #aac5e6;display:flex;flex-direction:column;gap:8px}.estate-debate-comment.is-pro{border-left-color:#139260}.estate-debate-comment.is-contra{border-left-color:#cc3945}.estate-debate-comment.is-question{border-left-color:#dea037}.estate-debate-comment.is-fact{border-left-color:#075cc8}.estate-debate-comment header{display:flex;gap:10px;align-items:flex-start}.estate-debate-comment header>div{display:grid;flex:1}.estate-debate-comment header strong{font-size:13px}.estate-debate-comment header small,.estate-debate-comment header time{font-size:11px;color:#637d93}.estate-debate-comment h4{margin:0}.estate-debate-comment p{font-size:13px;line-height:1.55;margin:0;white-space:normal;overflow-wrap:anywhere;flex:1}.estate-debate-comment-tag{border-radius:6px;padding:5px;font-size:11px;font-weight:750;color:var(--cm-blue);background:#eef5ff;white-space:nowrap}.estate-debate-comment.is-pro .estate-debate-comment-tag{color:var(--cm-green);background:#e6f7ee}.estate-debate-comment.is-contra .estate-debate-comment-tag{color:var(--cm-red);background:#ffedf0}.estate-debate-comment.is-question .estate-debate-comment-tag{color:var(--cm-gold);background:#fff5dd}.estate-debate-comment footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}.estate-debate-comment footer button{font-size:12px;color:#466a8f;background:transparent;border:0;padding:4px;cursor:pointer}.estate-debate-comment footer button.is-selected{background:#dcedff;border-radius:5px;color:var(--cm-blue);font-weight:750}.estate-debate-replies{display:grid;gap:8px;margin-top:8px}.estate-debate-comment.is-reply{background:#fafcff;border-width:1px;border-left:3px solid #9abbdf;padding:10px}.estate-debate-comment.is-reply header{display:flex}.estate-debate-inline-reply{margin-top:8px}.estate-debate-inline-reply .estate-debate-contribute{padding:10px;border:0;box-shadow:none;background:#f7fbff}.estate-debate-inline-reply .estate-debate-contribute-head h3{font-size:14px}.estate-debate-argument-source{font-size:11px;background:#eaf4ff;border-radius:6px;padding:6px;overflow-wrap:anywhere}
.estate-debate-evidence h3{margin:0 0 10px}.estate-debate-source-item{display:flex;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f7}.estate-debate-source-item>div{flex:1;min-width:0;display:grid;gap:3px}.estate-debate-source-item strong{font-size:12px;overflow-wrap:anywhere}.estate-debate-source-item small{font-size:11px;color:#7890a4}.estate-debate-filetype{background:#e8f3ff;border-radius:7px;padding:8px;color:var(--cm-blue);font-size:11px;font-weight:800}.estate-debate-source-item button{border:0;background:white;color:var(--cm-blue);cursor:pointer}.estate-debate-evidence-forms{margin-top:15px}.estate-debate-evidence-form-grid{display:grid;gap:10px;margin-top:12px}.estate-debate-evidence-forms form{display:grid;gap:8px;border:1px solid #e5eef6;border-radius:8px;padding:10px}.estate-debate-evidence-forms form h4{margin:2px}.estate-debate-social summary{font-size:16px}.estate-debate-social form{display:grid;gap:11px}.estate-debate-social label{display:grid;gap:5px}.estate-debate-social-actions{display:flex;flex-wrap:wrap;gap:8px}.estate-debate-social small,.estate-debate-empty{color:#6c8599;font-size:13px}.estate-debate-social p{line-height:1.5}
@media(max-width:1150px){.estate-debate-list-item{flex-wrap:wrap}.estate-debate-list-item>.estate-debate-metrics{width:auto;flex:1}.estate-debate-list-item>.estate-outline-button{margin-left:auto}.estate-debate-comments{grid-template-columns:1fr}}
@media(max-width:920px){.estate-debates-dashboard,.estate-debate-detail-layout{grid-template-columns:1fr}.estate-debates-hero aside{display:none}.estate-debate-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-debate-ad-slot{grid-column:1/-1}}
@media(max-width:680px){.estate-debates{padding:0 10px 25px}.estate-debates-hero{margin:0 -10px;padding:16px 14px;min-height:115px}.estate-debates-hero h1{font-size:26px}.estate-debates-hero p{font-size:14px}.estate-debates-hero small{display:none}.estate-debates-tabs{margin:0 -10px 12px;padding:0 8px}.estate-debates-tabs a{font-size:12px;padding:9px}.estate-debate-sidebar{grid-template-columns:1fr}.estate-debate-list-item{padding:12px}.estate-debate-list-item>.estate-debate-metrics{min-width:100%;max-width:none}.estate-debate-detail-head{grid-template-columns:1fr}.estate-debate-detail-head .estate-debate-metrics{max-width:none}.estate-debate-metrics{grid-template-columns:repeat(4,1fr)}.estate-debate-comments{grid-template-columns:1fr}.estate-debates-form-grid{grid-template-columns:1fr}.estate-debates-filter{flex-wrap:wrap}.estate-debates-filter input{flex:1 1 100%}.estate-debates .estate-button,.estate-debates .estate-outline-button{white-space:normal}.estate-debate-contribute-bottom>.estate-button{width:100%}.estate-debate-knowledge-row{grid-template-columns:86px 1fr;gap:5px}}

/* 1.7.8.5.13: author-owned comment edit/share, not a social draft editor. */
.estate-debate-owner-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}
.estate-debate-owner-actions button{border:1px solid #cfe4f2;background:#f2f9ff;color:#003899;border-radius:7px;padding:7px 10px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.estate-debate-share-options{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:10px;border:1px solid #cfe4f2;background:#fbfdff;border-radius:8px}
.estate-debate-share-options[hidden],.estate-debate-edit-inline[hidden]{display:none}
.estate-debate-share-options span{flex-basis:100%;font-size:12px;color:#496c86}
.estate-debate-share-options a,.estate-debate-share-options button{font:inherit;font-size:12px;border:1px solid #cfe4f2;padding:7px 9px;border-radius:6px;background:white;color:#003899;text-decoration:none;cursor:pointer}
.estate-debate-edit-inline{padding:9px;border:1px solid #cfe4f2;border-radius:8px;background:#f5f9ff}
.estate-debate-edit-inline label{display:grid;gap:5px;font-size:13px;font-weight:650}
.estate-debate-edit-inline textarea{margin:7px 0;min-height:90px}
.estate-debate-edit-buttons{display:flex;gap:8px;flex-wrap:wrap}
.estate-debate-comment:target{outline:3px solid #97c6f5;scroll-margin-top:90px}

/* 1.7.8.5.14: Editorial, localized knowledge cards (never marked as advertising). */
.estate-debate-managed-list{display:grid;gap:10px;margin:12px 0 0}
.estate-debate-managed-card{background:#fff;border:1px solid #dce9f4;border-radius:10px;padding:12px;min-width:0}
.estate-debate-managed-card h4{margin:0 0 5px;font-size:14px;line-height:1.3;color:#173c70}
.estate-debate-managed-card p{margin:6px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-line}
.estate-debate-managed-card small{color:#526c82}
.estate-debate-managed-card a{font-size:13px;font-weight:600;color:var(--cm-blue);overflow-wrap:anywhere}
.estate-debate-guide[data-has-managed-guide="1"] [data-guide-default]{display:none}
.estate-debate-knowledge[data-has-managed-knowledge="1"] [data-knowledge-default]{display:none}
.estate-debate-ad-slot [data-ad-campaign-id]{min-height:105px}

/* 1.7.8.5.16: Accessible, editable social share text before leaving CASA MOLDOVA. */
.estate-debate-share-options{display:block;padding:16px;margin-top:8px;border-radius:12px;background:#f4f8ff;border:1px solid #bcd5ee}
.estate-debate-share-options[hidden]{display:none}
.estate-debate-share-title{display:block;font-size:15px;color:#063a76}
.estate-debate-share-options .estate-debate-share-help,.estate-debate-share-options .estate-debate-share-notice{font-size:13px;line-height:1.5;color:#3f617e;margin:7px 0 10px}
.estate-debate-share-options .estate-debate-share-label{display:block;font-size:13px;font-weight:700;margin-bottom:6px;color:#164269}
.estate-debate-share-options textarea{display:block;width:100%;max-width:100%;min-height:150px;resize:vertical;padding:12px;border:1px solid #a9c7e0;background:#fff;color:#153653;border-radius:8px;font:inherit;line-height:1.5}
.estate-debate-share-options .estate-debate-share-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px}
.estate-debate-share-options .estate-debate-share-links button,.estate-debate-share-options .estate-debate-share-links a{font-size:13px;font-weight:700;padding:10px 14px}
.estate-debate-share-options .estate-debate-share-links button:first-child{color:#fff;background:#075fce;border-color:#075fce}
.estate-debate-share-options :is(button,a,textarea):focus-visible{outline:3px solid #f4a300;outline-offset:2px}
@media(max-width:640px){.estate-debate-share-options{padding:12px}.estate-debate-share-options .estate-debate-share-links>*{flex:1 1 45%;text-align:center}}

/* 1.7.8.7.5: website-module weighted community polls */
.estate-debate-polls{display:grid;gap:20px;margin:18px 0;scroll-margin-top:90px}
.estate-debate-polls[hidden]{display:none}
.estate-poll-card{background:#fff;border:1px solid #d8e6f3;border-radius:15px;padding:clamp(15px,3vw,25px);box-shadow:0 6px 24px rgba(10,60,113,.06)}
.estate-poll-card header h3{font-size:clamp(18px,2vw,22px);line-height:1.35;margin:0 0 6px;color:#143e71}
.estate-poll-card header p{font-size:14px;color:#526d85;line-height:1.6;margin:0 0 18px}
.estate-poll-factors{display:grid;gap:16px}.estate-poll-factor{min-width:0}
.estate-poll-factor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:14px}
.estate-poll-factor-head label{font-weight:650;color:#224767}.estate-poll-factor-head output{font-variant-numeric:tabular-nums;font-weight:750;color:#075fce;white-space:nowrap}
.estate-debates .estate-poll-factor input[type=range]{display:block;width:100%;accent-color:#075fce;cursor:pointer;min-height:26px;border:0;padding:0;background:transparent;border-radius:0}
.estate-poll-factor input[type=range]:focus-visible{outline:3px solid #f4a300;outline-offset:4px}
.estate-poll-scale{display:flex;justify-content:space-between;gap:10px;color:#698095;font-size:12px;margin:8px 0 12px}
.estate-poll-hint,.estate-poll-note{font-size:13px;color:#627b90;line-height:1.55}
.estate-market-role{border:1px solid #c6def7;border-radius:10px;padding:14px;margin:16px 0;min-width:0;background:#f4f8fc}
.estate-market-role legend{font-weight:600;color:#073b75;white-space:normal}
.estate-market-role p,.estate-debate-discussion-prompt{font-size:14px;line-height:1.5;margin:8px 0;color:#35546d}
.estate-market-role select{display:block;width:100%;max-width:100%;min-width:0;padding:10px;border:1px solid #b9cfe2;border-radius:6px;background:white;color:#173b58}
.estate-influence-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:12px 0;color:#35546d}
.estate-influence-scale span{text-align:center;border-top:3px solid #8ab2d7;padding:6px 2px;overflow-wrap:anywhere;min-width:0}
.estate-influence-scale b,.estate-influence-scale small{display:block}
.estate-influence-label{display:block;color:#165487;font-weight:600;text-align:right}
.estate-poll-horizontal .estate-influence-label{grid-column:1/-1}
.estate-research-question label{display:flex;align-items:flex-start;gap:8px;margin:8px 0;flex-wrap:wrap}
.estate-research-question textarea{width:100%;box-sizing:border-box}
@media(max-width:420px){.estate-influence-scale small{font-size:10px}.estate-influence-scale{gap:2px}}
.estate-debate-discussion-prompt{background:#e8f2ff;padding:14px;border-radius:10px}
.estate-magazine-actions a[data-poll-jump]:not([hidden]){background:#075bbb;color:#fff;border-color:#075bbb}
.estate-poll-feedback{font-size:13px;margin:9px 0 0;color:#335c80}.estate-poll-feedback[hidden]{display:none}
.estate-poll-feedback.is-error,.estate-poll-error{color:#a42e39}
.estate-poll-results{border-top:1px solid #dce7f3;margin-top:20px;padding-top:15px}
.estate-poll-results h4{margin:0 0 8px;color:#164575;font-size:17px}.estate-poll-participants{font-size:13px}
.estate-poll-table-wrap{max-width:100%;overflow-x:auto}.estate-poll-results table{width:100%;border-collapse:collapse;font-size:13px}
.estate-poll-results th,.estate-poll-results td{padding:10px;border-bottom:1px solid #e4edf5;text-align:left}
.estate-poll-results th{color:#23486b}.estate-poll-results td{font-variant-numeric:tabular-nums;white-space:nowrap}
.estate-poll-error{background:#fff7f7;padding:16px;border:1px solid #f0c4c4;border-radius:12px}
.estate-poll-compact .estate-poll-factors{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.estate-poll-compact.estate-poll-cols-1 .estate-poll-factors{grid-template-columns:minmax(0,1fr)}
.estate-poll-compact.estate-poll-cols-3 .estate-poll-factors{grid-template-columns:repeat(3,minmax(0,1fr))}
.estate-poll-compact .estate-poll-factor{background:#f4f8fc;border:1px solid #dce7f3;border-radius:10px;padding:10px 12px}
.estate-poll-compact .estate-poll-factor-head{margin-bottom:3px;align-items:flex-start}
.estate-poll-group{grid-column:1/-1;color:#164575;font-size:15px;margin:8px 0 0;background:#eaf1f8;padding:12px;border-radius:6px}
.estate-poll-group-icon{display:inline-block;min-width:1.5em;margin-inline-end:.45em;text-align:center;font-size:1.15em}
.estate-poll-results .estate-poll-group-row th{background:#eaf1f8;color:#164575;font-size:15px;padding:12px 10px}
.estate-poll-horizontal .estate-poll-factors{grid-template-columns:minmax(0,1fr)!important;gap:5px}
.estate-poll-horizontal .estate-poll-factor{display:grid;grid-template-columns:minmax(140px,2fr) minmax(0,3fr);gap:14px;align-items:center;padding:6px 10px}
.estate-poll-horizontal .estate-poll-factor-head{margin:0;align-items:center}
.estate-poll-edit{margin-top:14px;padding-top:12px;border-top:1px solid #dce7f3}
.estate-poll-edit>summary{cursor:pointer;color:#075fce;font-weight:700}
.estate-poll-edit[open]>summary{margin-bottom:12px}
.estate-poll-jump{display:inline-block;margin-top:14px}
.estate-poll-jump[hidden]{display:none}
#debate-polls{scroll-margin-top:100px}
.estate-poll-impulse{background:#edf7f3;border-left:4px solid #087c69;padding:12px;border-radius:6px}
.estate-debate-challenge-info{padding:18px;background:#edf7f3;border:1px solid #c6e5da;border-radius:14px;margin-bottom:14px}
.estate-debate-challenge-info small{color:#087c69;font-weight:750}
.estate-debate-challenge-info h3{margin:8px 0;color:#164575;font-size:19px}
.estate-debate-challenge-info p{margin:8px 0 12px;line-height:1.5}
.estate-debate-article-body{max-width:76ch;margin-inline:auto;font-size:16px;line-height:1.75}
.estate-debate-article-body h2{font-size:clamp(20px,2vw,25px);margin-top:26px}
.estate-debate-article-body li{margin:5px 0}
.estate-magazine-actions,.estate-magazine-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.estate-magazine-actions a{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:12px;background:#e8f2ff;color:#073b75;text-decoration:none;border:1px solid #c6def7}
.estate-magazine-actions a:nth-child(2){background:#e5f5ed;border-color:#b8dfd1;color:#075b4b}
.estate-magazine-actions a:nth-child(3){background:#fff3df;border-color:#f2d8ab;color:#744709}
.estate-magazine-actions a[hidden]{display:none}
.estate-magazine-actions a:hover,.estate-magazine-actions a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.estate-magazine-actions span{font-size:13px;line-height:1.4}
.estate-magazine-metric,.estate-magazine-highlight,.estate-magazine-source,.estate-magazine-image{background:#fff;border:1px solid #d0e0f0;border-radius:12px;padding:20px;margin:0 0 16px;overflow-wrap:anywhere}
.estate-magazine-metric{margin:0;display:flex;flex-direction:column;gap:8px}
.estate-magazine-metric h3,.estate-magazine-highlight h3,.estate-magazine-source h3{font-size:17px;color:#103c65;margin:0}
.estate-magazine-metric strong{font-size:clamp(20px,2.5vw,30px);color:#075bc6}
.estate-magazine-metric p,.estate-magazine-highlight p,.estate-magazine-source p{white-space:pre-line;margin:8px 0 0;line-height:1.55}
.estate-magazine-highlight{background:#eef5ff;border-left:5px solid #075bc6}
.estate-magazine-image img{width:100%;max-height:460px;object-fit:contain;border-radius:8px}
.estate-magazine-image figcaption{font-size:13px;color:#47647d;margin-top:8px}
.estate-magazine-group{background:#fff;border:1px solid #d0e0f0;border-radius:12px;padding:20px;margin:0 0 16px;overflow-wrap:anywhere}
.estate-magazine-group>h3{color:#103c65;margin:0;font-size:20px}
.estate-magazine-group>p{font-size:13px;color:#47647d;white-space:pre-line;margin:0}
#debate-polls,#debate-join,#debate-analysis{scroll-margin-top:100px}
@media(max-width:680px){.estate-magazine-actions,.estate-magazine-metrics{grid-template-columns:1fr}}
@media(max-width:600px){.estate-poll-horizontal .estate-poll-factor{grid-template-columns:minmax(0,1fr);gap:2px}}
.estate-poll-result-bar{height:7px;background:#e4edf5;border-radius:5px;overflow:hidden;min-width:50px;margin-bottom:4px}
.estate-poll-result-bar span{display:block;height:100%;background:#075fce;border-radius:5px}
.estate-poll-result-bar.is-community span{background:#087c69}
@media(max-width:900px){.estate-poll-compact.estate-poll-cols-3 .estate-poll-factors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.estate-poll-compact .estate-poll-factors,.estate-poll-compact.estate-poll-cols-3 .estate-poll-factors{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){.estate-poll-results th,.estate-poll-results td{padding:7px;font-size:12px}.estate-poll-factor-head{font-size:13px}}
.estate-comparison-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.estate-comparison-grid > section { min-width:0;overflow-wrap:anywhere; }
.estate-comparison-actions { display:flex;flex-wrap:wrap;gap:8px 16px;border-top:1px solid #d5dce4;margin-top:12px;padding-top:12px; }
.estate-comparison-actions a { padding:6px 0; }
.estate-debates [data-comparison-vote] textarea { display:block;width:100%;box-sizing:border-box;margin-top:8px; }
.estate-debates [data-comparison-card] progress { width:100%;accent-color:#176dad; }
@media(max-width:600px){.estate-comparison-grid{grid-template-columns:1fr;}}
.estate-comparison-workspace{padding:clamp(12px,2vw,28px);background:#f6f9fc;border:1px solid #d7e3ef;border-radius:16px}
.estate-comparison-mode .estate-debates-hero{display:none}
.estate-comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.estate-comparison-heading h2{margin:0}.estate-comparison-heading label{display:flex;align-items:center;gap:8px}
.estate-comparison-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.estate-comparison-progress>div{background:white;border:1px solid #d7e3ef;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px}
.estate-comparison-progress strong{font-size:24px;color:#123c68}.estate-comparison-progress span{font-size:13px}
.estate-comparison-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:16px 0}
.estate-comparison-filters label{display:grid;gap:5px;font-weight:600}
.estate-comparison-card{padding:clamp(10px,2vw,24px)}
.estate-comparison-property{--comparison-color:#1767bc;min-width:0;background:#fff;border:1px solid #d5e3ef;border-top:4px solid var(--comparison-color);border-radius:14px;overflow:hidden;overflow-wrap:anywhere}
.estate-comparison-property.is-b,.estate-comparison-bar.is-b{--comparison-color:#a85b14}
.estate-comparison-summary{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px}
.estate-comparison-summary>div:last-child{flex:1;min-width:0}
.estate-comparison-photo{flex:0 0 clamp(76px,18vw,148px);height:clamp(76px,18vw,118px);overflow:hidden;border-radius:9px}
.estate-comparison-photo[hidden]{display:none}
.estate-comparison-photo img{width:100%;height:100%;object-fit:cover;display:block}
.estate-comparison-badge{display:inline-block;background:var(--comparison-color);color:white;border-radius:5px;padding:3px 8px;margin-bottom:6px;font-size:12px;font-weight:bold}
.estate-comparison-property-body{padding:clamp(12px,2vw,24px)}
.estate-comparison-property-body h3{font-size:clamp(18px,2vw,24px);color:var(--comparison-color);margin:3px 0 0}
.estate-comparison-property-body h4{font-size:18px;margin:0 0 8px}
.estate-comparison-original{font-size:12px;color:#52677d;margin:4px 0}
.estate-comparison-property dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.estate-comparison-property dl>div{padding:10px;background:#f5f8fb;border-radius:8px;min-width:0}
.estate-comparison-property dl>div.is-primary{background:#eaf2f9;border-left:3px solid var(--comparison-color)}
.estate-comparison-property dt{font-size:12px;color:#52677d}.estate-comparison-property dd{margin:4px 0 0;font-weight:700;font-size:16px}
.estate-comparison-links{display:flex;flex-wrap:wrap;gap:8px 16px;font-weight:600}
.estate-comparison-panel{padding:16px;border:1px solid #d7e3ef;border-radius:12px;margin-top:16px;background:#fff}
.estate-comparison-panel h4{margin:0 0 12px}
.estate-comparison-map{height:340px;width:100%;border-radius:10px;overflow:hidden}
.estate-comparison-map[hidden],.estate-comparison-links [hidden]{display:none}
.estate-comparison-marker{background:#1767bc;color:white;border:2px solid white;border-radius:50%;width:34px;height:34px;box-shadow:0 2px 6px #0005;font-weight:bold}
.estate-comparison-marker.is-b{background:#a85b14}
.estate-comparison-bar{--comparison-color:#1767bc;margin:12px 0}.estate-comparison-bar>div{height:12px;background:#ebf0f5;border-radius:5px;overflow:hidden;margin-top:6px}.estate-comparison-bar i{display:block;height:100%;background:var(--comparison-color)}
.estate-comparison-decision form>p:has(input[type=radio]){border:1px solid #d7e3ef;border-radius:9px;margin:8px 0}
.estate-comparison-decision form>p:has(input[type=radio]) label{display:flex;align-items:center;gap:10px;padding:13px;cursor:pointer}
.estate-comparison-decision form>p:has(input:checked){background:#e9f3ff;border-color:#1767bc}
@media(max-width:680px){.estate-comparison-filters{grid-template-columns:1fr 1fr}.estate-comparison-filters button{grid-column:1/-1}.estate-comparison-progress{gap:6px}.estate-comparison-progress>div{padding:8px}.estate-comparison-map{height:270px}.estate-comparison-property dl{grid-template-columns:1fr 1fr}}

/* Compact comparison dashboard: independent of the discussion page layout. */
.estate-debates.estate-comparison-mode{max-width:1740px}
.estate-comparison-workspace{padding:12px 16px}
.estate-comparison-heading h2{font-size:20px}
.estate-comparison-progress,.estate-comparison-filters{margin:8px 0}
.estate-compare-plus-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px}
.estate-compare-plus-filters [data-comparison-favorite-wrap]{grid-column:1/-1}
.estate-compare-plus-filters [hidden]{display:none}
.estate-compare-plus-filters select{min-width:0;width:100%}
.estate-compare-plus-note{grid-column:1/-1;font-size:.8rem;color:#087b63}
@media(max-width:680px){.estate-compare-plus-filters{grid-template-columns:1fr 1fr}.estate-compare-plus-filters label:first-child{grid-column:1/-1}}
.estate-comparison-progress>div{padding:6px 10px;flex-direction:row;align-items:center;gap:8px}
.estate-comparison-progress strong{font-size:18px}
.estate-poll-card.estate-comparison-card{padding:12px;line-height:1.4}
.estate-comparison-card>h3,.estate-comparison-card>p{margin:0 0 8px}
.estate-comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.estate-comparison-property-body{padding:10px}
.estate-comparison-summary{gap:9px;margin-bottom:8px}
.estate-comparison-photo{flex-basis:clamp(68px,7vw,110px);height:88px}
.estate-comparison-property-body h4{font-size:15px;margin:0 0 3px}
.estate-comparison-property-body h3{font-size:21px}
.estate-comparison-property dl{gap:5px}
.estate-comparison-property dl>div{padding:6px 8px}
.estate-comparison-property dd{font-size:14px;margin:2px 0 0}
.estate-comparison-property p[data-comparison-checked]{margin:7px 0;font-size:12px}
.estate-comparison-links,.estate-comparison-actions{gap:4px 10px;font-size:13px}
.estate-comparison-actions{margin-top:6px;padding-top:5px}
.estate-comparison-actions a{padding:2px 0}
.estate-comparison-property-body>small{display:block;font-size:11px;line-height:1.3;margin-top:2px}
.estate-comparison-panel{padding:10px;margin-top:0}
.estate-comparison-panel h4{margin:0 0 6px}
.estate-comparison-location{grid-column:1/-1}
.estate-comparison-map{height:300px}
.estate-comparison-location p{margin:6px 0 0;font-size:13px}
.estate-comparison-marker{width:28px;height:28px;border-radius:5px 5px 5px 0}
.estate-comparison-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;margin-top:10px}
.estate-comparison-bar{display:grid;grid-template-columns:14px minmax(0,1fr);gap:7px;align-items:center;margin:4px 0;font-size:12px}
.estate-comparison-bar>div{height:9px;margin:0}
.estate-comparison-prices h4:not(:first-child){margin-top:8px}
.estate-comparison-prices p{margin:8px 0 0}
.estate-comparison-decision form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
.estate-comparison-decision form>p:has(input[type=radio]){margin:0}
.estate-comparison-decision form>p:has(input[type=radio]) label{padding:7px;font-size:13px}
.estate-comparison-decision form>label,.estate-comparison-decision form>[data-comparison-feedback]{grid-column:1/-1}
.estate-comparison-decision textarea{min-height:48px;height:54px;resize:vertical}
.estate-comparison-decision form>p{margin:0}
.estate-comparison-decision fieldset[data-comparison-criteria]{grid-column:1/-1;border:1px solid #d2e0ed;border-radius:8px;padding:8px;min-width:0;margin:4px 0}
.estate-comparison-decision fieldset[hidden]{display:none!important}
.estate-comparison-criteria-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:5px;margin:4px 0 8px}
.estate-comparison-criteria-list label{display:flex;gap:5px;align-items:center;font-size:13px;padding:5px;background:#f4f7fa;border-radius:5px}
.estate-comparison-milestone{grid-column:1/-1;flex-wrap:wrap}
.estate-comparison-milestone-badge{color:#00765b;background:#e7f5ef;border-radius:20px;padding:4px 9px;font-weight:700}
.estate-market-profile{display:grid;gap:14px;max-width:1200px;margin:auto;padding:12px}
.estate-market-profile>header,.estate-market-profile-panel{background:#fff;border:1px solid #d5e2ee;border-radius:12px;padding:16px;min-width:0}
.estate-market-profile>header h2,.estate-market-profile-panel h3{color:#123c68;margin:0 0 8px}
.estate-market-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.estate-market-profile-kpis>div{background:#f5f9fd;border:1px solid #d5e2ee;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}
.estate-market-profile-kpis strong{font-size:25px;color:#123c68}
.estate-market-profile-kpis span{font-size:13px}
.estate-market-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.estate-market-profile-bar{display:grid;grid-template-columns:1fr auto;gap:4px 8px;margin:10px 0;font-size:13px}
.estate-market-profile-bar progress{grid-column:1/-1}
.estate-market-profile progress{width:100%;height:9px;accent-color:#1767bc}
.estate-market-profile-note{font-size:13px;color:#52657c}
@media(max-width:680px){.estate-market-profile-grid{grid-template-columns:1fr}.estate-market-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-market-profile{padding:4px}}
.estate-comparison-card>.estate-poll-note{margin:7px 0 0}
@media(min-width:1150px){.estate-comparison-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr)}.estate-comparison-location{grid-column:auto}.estate-comparison-map{height:290px}}
@media(max-width:680px){.estate-comparison-grid,.estate-comparison-bottom,.estate-comparison-decision form{grid-template-columns:1fr}.estate-comparison-progress>div{flex-direction:column;align-items:flex-start}.estate-comparison-workspace{padding:8px}.estate-comparison-map{height:260px}}
.estate-achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.estate-achievement-stage{padding:12px;border:1px solid #cbdde9;border-radius:10px;background:#f7fafc;min-width:0}
.estate-achievement-stage.is-earned{border-color:#9bcfc1;background:#edf8f4}
.estate-achievement-stage summary{font-weight:700;cursor:pointer}
.estate-achievement-requirement{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:8px 0;border-bottom:1px solid #e2e9ef;font-size:.9rem}
.estate-achievement-requirement progress{flex-basis:100%;width:100%;height:10px;accent-color:#1767bc}
.estate-comparison-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;margin-top:12px}
.estate-comparison-decision>p{margin:8px 0}
.estate-comparison-decision>p>progress{height:8px;accent-color:#1767bc}
@media(max-width:680px){.estate-achievement-grid{grid-template-columns:1fr}.estate-comparison-actions{justify-content:stretch}.estate-comparison-actions>*{width:100%;text-align:center}}
.estate-comparison-bottom{grid-template-columns:minmax(0,1fr);margin-top:6px}
.estate-comparison-local{margin-top:8px;padding:7px 8px;border:1px solid #d7e3ef;border-radius:8px;background:#f8fafc}
.estate-comparison-local h5{font-size:12px;margin:0 0 4px;color:#52677d}
.estate-comparison-local>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 6px;padding:3px 0;align-items:baseline;font-size:12px}
.estate-comparison-local>div strong{text-align:right;font-size:13px;overflow-wrap:anywhere}
.estate-comparison-local small{grid-column:1/-1;color:#52677d;font-size:11px}
.estate-comparison-local .estate-comparison-deviation{font-weight:600;color:#234d73}
.estate-comparison-heart{flex:0 0 auto;border:1px solid #c6d7e8;background:#fff;color:#0058b5;border-radius:50%;width:38px;height:38px;font-size:24px;line-height:1;cursor:pointer}
.estate-comparison-heart.is-active{color:#b4233c;background:#fff1f2;border-color:#e7a5af}
.estate-comparison-heart:disabled{opacity:.55;cursor:wait}
.estate-comparison-favorite-feedback{display:block;color:#a12436;font-size:12px}
.estate-comparison-favorite-feedback:empty{display:none}
.estate-comparison-summary>div:not(.estate-comparison-photo){flex:1;min-width:0}
.estate-comparison-geo-warning{margin:4px 0;color:#825315;font-size:12px;line-height:1.4}
.estate-comparison-quality{margin-top:12px;padding:10px;border:1px dashed #a0bdb6;border-radius:9px;background:#f1f8f5;color:#28493e}
.estate-comparison-quality-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:13px}
.estate-comparison-quality-reward{background:#dcefe4;color:#175a3e;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700}
.estate-comparison-quality p{font-size:12px;line-height:1.35;margin:6px 0}
.estate-comparison-quality-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}
.estate-comparison-quality-actions a{border:1px solid #91b7a6;background:white;color:#16583e;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:600;text-decoration:none}
.estate-comparison-quality-actions a:hover,.estate-comparison-quality-actions a:focus-visible{background:#deefe5}
.estate-comparison-quality small{display:block;font-size:11px;color:#52685e;line-height:1.4}
.estate-comparison-progress{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(280px,2fr);align-items:start}
.estate-comparison-rewards{grid-column:4;grid-row:1 / span 2;background:#f1f9f5;border:1px solid #b9dacf;border-radius:13px;padding:12px;color:#087a5a;display:grid;gap:7px}
.estate-comparison-rewards>strong{font-size:13px;text-transform:uppercase;color:#087a5a}
.estate-reward-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.estate-reward-kpis>div{background:white;border:1px solid #d5e8df;border-radius:8px;padding:6px;overflow-wrap:anywhere}
.estate-reward-kpis small,.estate-comparison-earned small{display:block}
.estate-comparison-rewards progress{width:100%;accent-color:#087a5a}
.estate-comparison-earned{background:#f1f9f5;color:#087a5a;padding:10px;border-radius:8px;grid-column:1/-1}
@media(max-width:900px){.estate-comparison-progress{grid-template-columns:repeat(3,minmax(0,1fr))}.estate-comparison-rewards{grid-column:1/-1;grid-row:auto}}
.estate-achievement-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:start}
.estate-achievement-medal{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;padding:6px;color:#64748b}
.estate-achievement-medal>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #c8d5e0;border-radius:50%;background:#f2f6fa;font-size:19px}
.estate-achievement-medal.is-earned>span{background:#e0f3e8;border-color:#6eaf8e;color:#14613d}
.estate-achievement-medal.is-current>span{background:#124c85;border-color:#124c85;color:white;box-shadow:0 0 0 3px #dfebf7}
.estate-achievement-medal strong{font-size:12px;overflow-wrap:anywhere}
.estate-achievement-medal small{font-size:11px}
.estate-achievement-next{padding:10px 12px;background:#f5f9fd;border-radius:8px;margin-top:10px}
.estate-achievement-next h4,.estate-achievement-details h4{margin:0 0 4px}
.estate-achievement-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.estate-achievement-details{margin-top:8px}
.estate-achievement-details summary{cursor:pointer;font-size:13px;color:#165d9b}
.estate-achievement-details[open] h4{margin-top:12px}
.estate-learning-table{width:100%;border-collapse:collapse;font-size:13px}
.estate-learning-table th,.estate-learning-table td{padding:7px 5px;border-bottom:1px solid #e2e9ef;text-align:right}
.estate-learning-table th:first-child{text-align:left}
.estate-learning-table thead th{color:#52657c;font-weight:600;font-size:12px}
.estate-market-profile-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.estate-market-profile-header p{margin:0}
.estate-learning-goals{display:flex;flex-wrap:wrap;gap:6px}
.estate-learning-goal{border:1px solid #d3dfe9;border-radius:999px;padding:4px 8px;font-size:12px;background:#f5f8fb}
.estate-learning-goal.is-earned{border-color:#8fbda6;color:#175a3e;background:#e7f5ec}
@media(max-width:680px){.estate-achievement-track{grid-template-columns:repeat(3,minmax(0,1fr))}.estate-achievement-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-comparison-quality-actions a{flex:1;text-align:center}.estate-learning-table{font-size:12px}}

/* 1.7.9.11.8: shared compact progress language across portal surfaces. */
.estate-progress-compact{box-sizing:border-box;display:grid;gap:5px;min-width:0;background:#f1f9f5;border:1px solid #b9dacf;border-radius:12px;padding:10px 12px;color:#087a5a}
.estate-progress-compact .estate-progress-row{display:flex;align-items:center;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;min-width:0}
.estate-progress-compact .estate-progress-row>strong{font-size:.78rem;letter-spacing:.025em;text-transform:uppercase;margin:0;color:#087a5a}
.estate-progress-compact .estate-progress-trust{display:inline-block;background:#dcefe4;color:#175a3e;border-radius:20px;padding:3px 8px;font-size:.75rem;font-weight:700;white-space:normal;overflow-wrap:normal}
.estate-progress-compact .estate-progress-points{font-size:1.35rem;color:#087a5a;font-variant-numeric:tabular-nums}
.estate-progress-compact small{font-size:.75rem;line-height:1.4;color:#365b50;white-space:normal;overflow-wrap:normal}
.estate-progress-compact .estate-progress-goal{border-top:1px solid #d8e8df;padding-top:5px;font-size:.8rem}
.estate-progress-compact progress{height:8px;width:100%;accent-color:#087a5a;margin:0}
.estate-progress-compact .estate-progress-details{font-size:.75rem;color:#145f4a;min-width:0}
.estate-progress-compact .estate-progress-details summary{cursor:pointer;font-weight:600}
.estate-progress-compact .estate-progress-details table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:5px;font-size:.75rem}
.estate-progress-compact .estate-progress-details th,.estate-progress-compact .estate-progress-details td{padding:4px;border-bottom:1px solid #d8e8df;text-align:right;overflow-wrap:anywhere}
.estate-progress-compact .estate-progress-details th:first-child{text-align:left;width:44%}
.estate-progress-compact .estate-progress-details h5{margin:8px 0 4px}
.estate-progress-compact .estate-progress-history{max-height:180px;overflow:auto}

.estate-comparison-progress{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:12px}
.estate-comparison-progress>.estate-comparison-rewards{grid-column:auto;grid-row:auto}
.estate-comparison-activity{min-width:0;background:white;border:1px solid #d7e3ef;border-radius:12px;padding:10px 12px;display:grid;gap:7px;align-content:start}
.estate-comparison-activity h3{margin:0;font-size:.78rem;text-transform:uppercase;color:#52657c}
.estate-comparison-activity-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.estate-comparison-activity-kpis>div{display:grid;gap:2px;min-width:0}
.estate-comparison-activity-kpis strong{font-size:1.3rem}
.estate-comparison-activity-kpis span,.estate-comparison-activity>small{font-size:.75rem;overflow-wrap:anywhere}
.estate-comparison-activity-links{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;border-top:1px solid #e2e9ef;padding-top:5px;font-size:.78rem}
.estate-comparison-activity-links a:last-child{margin-left:auto}
@media(max-width:850px){.estate-comparison-progress{grid-template-columns:minmax(0,1fr)}}

/* 1.8.3.7: translated labels wrap within their own grid track. */
.estate-debate-knowledge-row{grid-template-columns:minmax(0, 1fr) minmax(0, 2fr);align-items:start;gap:8px 12px}
.estate-debate-knowledge-row strong,.estate-debate-knowledge-row span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.estate-debate-card-main,.estate-debate-detail-head>div,.estate-debate-metric,.estate-magazine-actions>a{min-width:0;overflow-wrap:anywhere}
.estate-magazine-actions>a b,.estate-magazine-actions>a span{white-space:normal;overflow-wrap:anywhere}
@media(max-width:680px){.estate-debate-knowledge-row{grid-template-columns:minmax(0,1fr);gap:4px}}

/* 1.8.3.8: fit translated cards, controls and feedback at narrow widths. */
.estate-debates-load-error{display:grid;justify-items:start;gap:12px;background:#fff;border:1px solid var(--cm-border);border-radius:12px;padding:20px;overflow-wrap:anywhere}
.estate-debates-load-error p{margin:0;line-height:1.5}
.estate-debate-original-note{display:block;margin:6px 0;line-height:1.4;overflow-wrap:anywhere}
.estate-debate-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.estate-debate-metric small{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
.estate-debate-comment header>div{min-width:0;overflow-wrap:anywhere}
.estate-debate-comment header{flex-wrap:wrap}
.estate-debate-comment-tag{white-space:normal;overflow-wrap:anywhere;max-width:100%}
.estate-debate-section-heading{flex-wrap:wrap}
.estate-debate-list-item>.estate-outline-button{max-width:100%;white-space:normal;text-align:center}
@media(max-width:680px){
    .estate-debate-card-main{flex-basis:100%}
    .estate-debate-list-item>.estate-outline-button{width:100%;margin:0}
    .estate-debate-detail-head{gap:12px}
    .estate-debate-knowledge-row strong{line-height:1.35}
}

.estate-debate-preview-body { margin: 0; background: #fff; }
.estate-debate-preview-body > .estate-debates { margin-inline: auto; }
.estate-survey-item{border:1px solid #c5d8ef;border-radius:12px;padding:14px;margin:12px 0;background:#fff;min-width:0}
.estate-survey-item[hidden]{display:none!important}
.estate-survey-item legend{font-weight:700;padding:0 6px;color:#12385e}
.estate-survey-item input[type=range]{width:100%;accent-color:#175794}
.estate-survey-item output{display:block;font-weight:600;margin-bottom:8px}
.estate-survey-item label{display:block;margin:8px 0;cursor:pointer}
.estate-survey-anchors,.estate-survey-options{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.85rem}
.estate-survey-anchors span{flex:1}.estate-survey-anchors span:nth-child(2){text-align:center}.estate-survey-anchors span:last-child{text-align:right}
.estate-survey-options{margin-top:12px;justify-content:flex-start}
.estate-survey-item button{border:1px solid #b6cce5;border-radius:8px;background:#f5f9ff;padding:8px;color:#12385e;cursor:pointer}
.estate-survey-item button[aria-pressed=true]{background:#175794;color:white}
.estate-survey-result{border-bottom:1px solid #dbe5ef;padding:10px 0}.estate-survey-result p{margin:4px 0}


.estate-debates .estate-poll-thanks {
    display: grid;
    gap: .35rem;
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    border: 1px solid #c8e4d8;
    border-radius: .7rem;
    background: #edf8f3;
    color: #155e48;
}
.estate-debates .estate-poll-thanks a { color: #155e48; text-decoration: underline; }

/* Visible loading / retry state: keep controls and workspace understandable. */
.estate-comparison-status { padding:14px 16px; margin:12px 0 0; border:1px solid #d3e3f1; border-radius:9px; background:#f5f9fd; color:#26475e; }
