.stop-search { width: min(300px, 100%); }
.readonly-note { display: flex; gap: 8px; align-items: center; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px; background: var(--warning-50); color: #92400e; font-size: 13px; }
.route-line { list-style: none; margin: 0; padding: 22px 22px 22px 18px; position: relative; }
.route-line::before { content: ""; position: absolute; left: 46px; top: 34px; bottom: 34px; width: 4px; border-radius: 4px; background: linear-gradient(var(--primary), #2563eb); }
.stop-item { position: relative; display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 12px; transition: background .2s; animation: rowIn .4s var(--ease) both; }
.stop-item:hover { background: var(--primary-50); }
.stop-dot { justify-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--primary); font-weight: 700; font-size: 12.5px; color: var(--primary-700); z-index: 1; transition: transform .3s var(--ease-spring); }
.stop-item:hover .stop-dot { transform: scale(1.12); background: var(--primary); color: #fff; }
.stop-item.terminal .stop-dot { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }
.stop-name { font-weight: 600; font-size: 14px; }
.stop-meta { display: flex; align-items: center; gap: 8px; }
.fare { font-family: var(--font-heading); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 20px; background: var(--success-50); color: #047857; white-space: nowrap; }
.fare.free { background: var(--secondary-50); color: var(--muted); }
.stop-actions { display: flex; gap: 2px; opacity: 0; transition: opacity .2s; }
.stop-item:hover .stop-actions { opacity: 1; }
.code-json { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: #0f172a; color: #e2e8f0; }
.code-json:focus { background: #0f172a; color: #e2e8f0; }
.bulk-preview { margin-top: 12px; font-size: 13px; }
.json-drop { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 12px; border: 2px dashed var(--border, #cbd5e1); border-radius: 14px; background: var(--primary-50); cursor: pointer; transition: border-color .2s, background .2s; }
.json-drop:hover, .json-drop.dragging { border-color: var(--primary); background: var(--surface); }
.json-drop > i { font-size: 28px; color: var(--primary); }
.json-drop span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.json-drop small { color: var(--muted); font-size: 12.5px; }
.bulk-sync { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; }
.bulk-sync .form-check-input { margin: 0; }
.bulk-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bulk-count { padding: 4px 10px; border-radius: 20px; background: var(--secondary-50); color: var(--muted); font-weight: 600; font-size: 12.5px; }
.bulk-count.changed { background: var(--primary-50); color: var(--primary-700); }
.bulk-count.added { background: var(--success-50); color: #047857; }
.bulk-count.removed { background: var(--danger-50, #fef2f2); color: #b91c1c; }
.bulk-changes { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; border: 1px solid var(--border, #e2e8f0); border-radius: 12px; }
.bulk-changes li { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border, #e2e8f0); }
.bulk-changes li:first-child { border-top: 0; }
.bulk-changes .kind { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 1px; }
.bulk-changes .kind.changed { color: var(--primary-700); }
.bulk-changes .kind.added { color: #047857; }
.bulk-changes .kind.removed { color: #b91c1c; }
.bulk-changes del { color: var(--muted); }
.bulk-changes ins { text-decoration: none; font-weight: 600; }
.bulk-errors { margin: 0; padding: 10px 12px 10px 28px; border-radius: 12px; background: var(--danger-50, #fef2f2); color: #b91c1c; }
.poster-options { margin-bottom: 14px; }
.poster-effective { display: flex; gap: 8px; }
.poster-effective .btn { flex: none; }
.poster-options small { display: block; margin-top: 6px; font-size: 12.5px; }
.poster-preview { display: grid; place-items: center; min-height: 320px; border-radius: 14px; background: #e9eefa; overflow: hidden; }
.poster-preview canvas { display: block; width: 100%; height: auto; }
.poster-preview .text-muted { padding: 24px; text-align: center; }
.poster-actions { flex-wrap: wrap; }
@media (hover: none) { .stop-actions { opacity: 1; } }
