/* VastuIQ — /vastu-compass-error-map/ (Dec 2026). Builds on why.css (wy-) and method.css (mt-); also used alone by /embed/. */
.cem-tool{background:#fff;border:1px solid var(--ln,#E8DCC4);border-radius:16px;padding:1rem;margin:1rem 0;}
.cem-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;}
.cem-lab{font-weight:700;color:var(--g,#1F4D3A);font-size:.9rem;}
.cem-bar input{flex:1 1 200px;min-width:0;padding:.65rem .8rem;border:1px solid #CDBB98;border-radius:10px;font-size:1rem;background:#FFFDF8;}
.cem-b{padding:.65rem 1rem;border:0;border-radius:10px;background:var(--g,#1F4D3A);color:#fff;font-weight:700;font-size:.95rem;cursor:pointer;}
.cem-b2{background:#fff;color:var(--g,#1F4D3A);border:1px solid var(--g,#1F4D3A);}
.cem-b:disabled{opacity:.6;cursor:wait;}
.cem-hint{font-size:.8rem!important;color:var(--tm,#5A3E28);margin:.45rem 0 .6rem!important;}
.cem-mapbox{border-radius:12px;overflow:hidden;border:1px solid #DCE6EE;}
.cem-map{display:block;width:100%;height:auto;cursor:crosshair;}
.cem-sea{fill:#EAF2F7;}
.cem-land{fill:#F4EEDF;}
.cem-coast{fill:none;stroke:#B9A57E;stroke-width:.6;}
.cem-eq{stroke:#B7C9D6;stroke-width:.6;stroke-dasharray:4 4;}
.cem-dot{stroke:#fff;stroke-width:1.4;cursor:pointer;transition:r .15s;}
.cem-dot:hover{r:7;}
.cem-pin{fill:none;stroke:#1E1206;stroke-width:2.2;pointer-events:none;}
.cem-legend{display:flex;flex-wrap:wrap;gap:.35rem .9rem;font-size:.78rem!important;color:var(--tm,#5A3E28);margin:.55rem 0 0!important;}
.cem-legend i{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:.3rem;vertical-align:-1px;}
.cem-out{margin-top:1rem;border-top:1px solid var(--ln,#E8DCC4);padding-top:1rem;min-height:3rem;}
.cem-out p{margin:0 0 .7rem;}
.cem-empty{color:var(--tm,#5A3E28);}
.cem-res-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.3rem 1rem;}
.cem-place{font-weight:700;font-size:1.1rem;color:var(--g,#1F4D3A);}
.cem-big{font-size:2.3rem;font-weight:800;line-height:1;margin:0 0 .6rem!important;}
.cem-big span{font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;}
.cem-key{font-size:1.08rem;background:#FFF6E5;border-left:3px solid var(--gold,#C8962E);padding:.55rem .8rem;border-radius:6px;}
.cem-fix{background:#EEF5F0;border-radius:8px;padding:.55rem .8rem;}
.cem-wheel-box{max-width:250px;margin:.4rem auto .8rem;}
.cem-wheel{width:100%;height:auto;display:block;}
.cem-s1{fill:#FBF5E6;stroke:#E3D3B0;stroke-width:.6;}
.cem-s2{fill:#F4EAD3;stroke:#E3D3B0;stroke-width:.6;}
.cem-hit{fill:#F5C9A8;stroke:#C0392B;stroke-width:1.2;}
.cem-zl{font-size:8.2px;font-weight:700;fill:#5A3E28;text-anchor:middle;font-family:inherit;}
.cem-zm{font-size:6.4px;font-weight:600;fill:#8B6A4A;}
.cem-tn{stroke:#1F4D3A;stroke-width:3.2;stroke-linecap:round;}
.cem-mn{stroke:#C0392B;stroke-width:3.2;stroke-linecap:round;stroke-dasharray:6 3;}
.cem-wkey{font-size:.78rem!important;text-align:center;color:var(--tm,#5A3E28);}
.cem-wkey span::before{content:"";display:inline-block;width:16px;height:3px;margin-right:.3rem;vertical-align:3px;}
.cem-k-tn::before{background:#1F4D3A;}
.cem-k-mn{margin-left:.7rem;}
.cem-k-mn::before{background:repeating-linear-gradient(90deg,#C0392B 0 5px,transparent 5px 8px);}
.cem-acts .wy-btn{margin:.25rem .3rem .25rem 0;}
.cem-btn2{background:#fff!important;color:var(--g,#1F4D3A)!important;border:1px solid var(--g,#1F4D3A);}
.cem-small{font-size:.76rem!important;color:var(--tm,#5A3E28);}
.cem-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem;margin:1rem 0;}
.cem-stat{background:#fff;border:1px solid var(--ln,#E8DCC4);border-radius:12px;padding:.7rem;text-align:center;}
.cem-stat b{display:block;font-size:1.6rem;line-height:1.1;}
.cem-stat span{font-size:.8rem;color:var(--tm,#5A3E28);}
.cem-table td,.cem-table th{white-space:nowrap;}
.cem-table a[data-cem-city]{font-weight:600;}
.cem-sw{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:.35rem;}
.cem-faq{border-bottom:1px solid var(--ln,#E8DCC4);padding:.3rem 0;}
.cem-faq summary,.cem-all summary{cursor:pointer;font-weight:600;color:var(--g,#1F4D3A);padding:.5rem 0;}
.cem-faq p{margin:.3rem 0 .8rem;}
.cem-code{width:100%;font-family:monospace;font-size:.8rem;padding:.6rem;border:1px solid #CDBB98;border-radius:8px;background:#FFFDF8;}
@media (max-width:560px){.cem-big{font-size:1.9rem;}.cem-b{flex:1 1 auto;}}
.cem-fig{margin:1.2rem 0 0;}
.cem-fig img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--ln,#E8DCC4);}
.cem-fig figcaption{font-size:.8rem;color:var(--tm,#5A3E28);margin-top:.4rem;}
