.article-body .im-tool{margin:1rem 0 1.5rem}.article-body .im-areas{gap:4px;margin-bottom:6px;display:flex}.article-body .im-area{border:1px solid var(--border);background:var(--card);color:var(--muted-foreground);cursor:pointer;border-radius:6px;flex:1;padding:8px 6px;font-size:.875rem;font-weight:700}.article-body .im-area[aria-pressed=true]{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground)}.article-body .im-map-wrap{isolation:isolate;position:relative}.article-body .im-map{aspect-ratio:1;border:1px solid var(--border);background:var(--muted);z-index:0;border-radius:8px;width:100%;max-height:min(78vh,680px)}.article-body .im-map img{border-radius:0;max-width:none;margin:0}.article-body .im-loading{color:var(--muted-foreground);pointer-events:none;place-items:center;margin:0;font-size:.875rem;display:grid;position:absolute;inset:0}.article-body .im-detail{z-index:1000;border:1px solid var(--border);background:var(--card);max-width:360px;max-height:calc(100% - 16px);color:var(--card-foreground);border-radius:8px;padding:10px;position:absolute;bottom:8px;left:8px;right:8px;overflow-y:auto;box-shadow:0 4px 16px #00000040}.article-body .im-detail-head{align-items:center;gap:8px;display:flex}.article-body .im-detail-head img{flex:none;margin:0}.article-body .im-detail-head>div{flex:1;min-width:0}.article-body .im-detail-title{margin:0;font-weight:700;line-height:1.3}.article-body .im-detail-sub{color:var(--muted-foreground);margin:0;font-size:.8125rem}.article-body .im-close{width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:none;font-size:1.25rem;line-height:1}.article-body .im-close:hover{background:var(--muted)}.article-body .im-detail-note{margin:8px 0 0;font-size:.875rem}.article-body .im-detail-img{border-radius:6px;width:100%;height:auto;margin:8px 0 0;display:block}.article-body .im-check{cursor:pointer;align-items:center;gap:6px;font-size:.875rem;display:inline-flex}.article-body .im-check input{width:18px;height:18px;accent-color:var(--primary)}.article-body .im-found{margin-top:10px;font-weight:700}.article-body .im-options{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-top:8px;display:flex}.article-body .im-text-button{color:var(--primary);cursor:pointer;background:0 0;border:none;padding:4px 6px;font-size:.8125rem;font-weight:700}.article-body .im-text-button:hover{text-decoration:underline}.article-body .im-saved{color:var(--muted-foreground);margin:4px 0 0;font-size:.75rem}.article-body .im-layers{gap:10px;margin-top:12px;display:grid}.article-body .im-layer{border:1px solid var(--border);background:var(--card);border-radius:8px;padding:8px}.article-body .im-layer-head{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.article-body .im-layer-head h3{border:none;margin:0;padding:0;font-size:.9375rem}.article-body .im-types{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;display:grid}.article-body .im-type{border:1px solid var(--border);background:var(--background);min-height:44px;color:var(--foreground);text-align:left;cursor:pointer;opacity:.45;border-radius:6px;align-items:center;gap:6px;padding:4px 6px;display:flex}.article-body .im-type[aria-pressed=true]{border-color:var(--primary);opacity:1}.article-body .im-type img{flex:none;margin:0}.article-body .im-type-label{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.8125rem;line-height:1.25}.article-body .im-type-count{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex:none;font-size:.75rem}.article-body .im-type-list{color:var(--muted-foreground);font-size:.8125rem}.article-body .im-map-placeholder{margin-top:46px}
