/* Every device and status stays visible. Only the label position may change. */
#app .fp-sheet .fp-pin-label{display:block;visibility:visible;box-sizing:border-box;max-width:132px;padding:3px 7px;background:#fff;border:1px solid #c9d2d9;border-radius:6px;box-shadow:0 2px 6px #17242d1f;color:#1f2a33;font-size:12px;line-height:1.25;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .fp-sheet .fp-pin-label small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:11px;line-height:1.3;font-weight:500;color:#4d5862}
@media(max-width:760px){#app .fp-sheet .fp-pin-label{top:100%;max-width:86px;padding:2px 5px;font-size:11px;line-height:1.15}#app .fp-sheet .fp-pin-label small{font-size:11px;line-height:1.15}}
/* The compact tag exists only on the mobile home map; desktop, editing and the other maps never paint it. */
.fp-pin-tag{display:none}
/* Read-only mobile home map: each pin is a pill. Round tone icon on the left, short state on the right. */
@media(max-width:760px){
 #app .home-map .fp-sheet .fp-pin-readonly{width:auto;height:26px;min-width:0;min-height:0;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;padding:0 8px 0 2px;border:0;border-radius:13px;background:#fffffff2;color:#3d4750;box-shadow:0 1px 5px #17242d33;white-space:nowrap;overflow:visible;text-align:left;font-size:11px;font-weight:700}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-idle{background:#fffffff2;color:#4d5862;opacity:.8;font-weight:500}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-on{background:#fffffff2;color:#a85500}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-hit{background:#fffffff2;color:#1c6b3c}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-temp{background:#fffffff2;color:#6b3fa0}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-open{background:#fffffff2;color:#a83a46}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-alert{background:#fffaf0f2;color:#7d5410;border:1.5px dashed #b7892a}
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-symbol{margin:0;width:22px;height:22px;min-width:22px;flex:none;border-radius:50%;background:#e9ecef;box-shadow:none;color:#59636f;overflow:visible}
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-symbol .mdi-icon{width:14px;height:14px;display:block}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-on .fp-pin-symbol{background:#e08a2e;color:#fff}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-hit .fp-pin-symbol{background:#2f8a55;color:#fff}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-temp .fp-pin-symbol{background:#8b63bd;color:#fff}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-open .fp-pin-symbol{background:#b0454f;color:#fff}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-alert .fp-pin-symbol{background:#b7892a;color:#fff}
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-tag{display:flex;align-items:center;line-height:1;text-align:left}
 /* The type text stays in the markup for assistive tech and the card; the pill shows only the state. */
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-tag-kind{display:none}
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-tag-state{font-size:11px;font-weight:700;line-height:1;color:inherit;max-width:96px;overflow:hidden;text-overflow:ellipsis}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-tag-idle .fp-pin-tag-state{font-weight:500}
 /* The full name and full status stay in aria-label, title and the pin card; the tag replaces only the on-map label. */
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-label{display:none}
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-name{display:none}
 #app .home-map .fp-sheet .fp-pin-readonly.fp-pin-mobile-hub{display:none}
 /* Selection and focus ring the tag itself, without moving or resizing it. */
 #app .home-map .fp-sheet .fp-pin-readonly.selected{box-shadow:0 0 0 2px #477589,0 1px 4px #17242d2e}
 #app .home-map .fp-sheet .fp-pin-readonly.selected .fp-pin-symbol{outline:none}
 #app .home-map .fp-sheet .fp-pin-readonly:focus-visible{outline:2px solid #c17a38;outline-offset:3px}
 /* The amber tag already says "확인 필요"; the 15px badge would cover the short type text. */
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-symbol::after{content:none}
 /* Detection feedback keeps its ring around the small icon, not the whole tag. */
 #app .home-map .fp-sheet .fp-pin-readonly .fp-pin-symbol.detection-arrived::after{content:'';inset:-3px;border-radius:50%}
 @media(prefers-reduced-motion:reduce){#app .home-map .fp-sheet .fp-pin-readonly .fp-pin-symbol.detection-arrived::after{content:none;display:none;animation:none}}
 /* Nudge lane: overlap correction moves the tag without touching transform or the saved coordinates. */
 #app .home-map .fp-sheet .fp-pin-readonly[data-fp-nudged]{margin-left:var(--fp-nudge-x,0px);margin-top:var(--fp-nudge-y,0px)}
}
/* The equipment map page and the embedded preview keep their previous 44px icon presentation. */
@media(max-width:760px){
 #app :is(.fp-page,.fp-preview) .fp-sheet .fp-pin-readonly{width:44px;height:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
 #app :is(.fp-page,.fp-preview) .fp-sheet .fp-pin-readonly .fp-pin-label{display:none}
 #app :is(.fp-page,.fp-preview) .fp-sheet .fp-pin-readonly.fp-pin-status .fp-pin-label{display:block;top:100%;max-width:112px;padding:2px 5px;font-size:11px;line-height:1.15;text-align:center}
 /* space-tools.css hides this sub-line on the mobile home map, but it holds the whole attention status. */
 #app :is(.fp-page,.fp-preview) .fp-sheet .fp-pin-readonly.fp-pin-status .fp-pin-label small{display:block}
 #app :is(.fp-page,.fp-preview) .fp-sheet .fp-pin-readonly.fp-pin-status .fp-pin-name{display:none}
 #app :is(.fp-page,.fp-preview) .fp-sheet .fp-pin-readonly.fp-pin-mobile-hub{display:none}
}
#app .fp-preview .fp-sheet .fp-pin-label{max-width:104px;padding:2px 6px;font-size:11px;line-height:1.2}
#app .fp-preview .fp-sheet .fp-pin-label small{font-size:11px;line-height:1.2}
#app .fp-pin:is(.selected,:focus-visible,:hover){z-index:5}
