:root { --bg: #f6f8fb; --panel: #ffffff; --panel2: #f2f5fb; --text: #0f172a; --muted: #64748b; --border: rgba(15, 23, 42, 0.12); --accent: #2563eb; --accent2: #10b981; --danger: #ef4444; --shadow: 0 8px 20px rgba(15, 23, 42, 0.08); --shadow2: 0 14px 36px rgba(15, 23, 42, 0.10); } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; background: var(--bg); color: var(--text); } .shell { display: grid; grid-template-columns: auto 1fr; min-height: 100vh; height: 100vh; overflow: hidden; } /* —— MiR 3-column navigation (rail + flyout + content) —— */ .mirNavShell { display: flex; height: 100vh; position: sticky; top: 0; z-index: 35; flex-shrink: 0; } .mirNavShell--flyout-collapsed .mirNavFlyout { width: 0; min-width: 0; padding: 0; border: none; overflow: hidden; opacity: 0; pointer-events: none; } .mirNavRail { width: 76px; flex-shrink: 0; display: flex; flex-direction: column; align-items: stretch; background: linear-gradient(180deg, #1a3d66 0%, #122d4f 55%, #0f2744 100%); color: rgba(255, 255, 255, 0.92); border-right: 1px solid rgba(0, 0, 0, 0.28); box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06); } .mirNavBackBtn { flex-shrink: 0; margin: 8px 8px 4px; height: 32px; width: 32px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; } .mirNavBackBtn:hover { background: rgba(255, 255, 255, 0.14); } .mirNavRailItems { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; overflow-y: auto; } .mirNavRailFooter { padding: 8px 6px 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); } .mirNavRailItem { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 68px; padding: 8px 4px; border: none; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, 0.78); cursor: pointer; text-align: center; } .mirNavRailItem:hover { background: rgba(255, 255, 255, 0.08); color: #fff; } .mirNavRailItem.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); } .mirNavRailIcon { display: block; flex-shrink: 0; margin: 0 auto; } .mirNavRailLabel { font-size: 10px; line-height: 1.15; letter-spacing: 0.01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .mirNavRailItem--logout { color: rgba(255, 200, 200, 0.9); } .mirNavRailItem--logout:hover { color: #fff; background: rgba(239, 68, 68, 0.22); } .mirNavFlyout { width: 248px; flex-shrink: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #5a94cf 0%, #4a7fbe 45%, #3d6fa8 100%); color: #fff; border-right: 1px solid rgba(0, 0, 0, 0.18); box-shadow: 4px 0 18px rgba(15, 23, 42, 0.12); transition: width 0.18s ease, opacity 0.18s ease; overflow: hidden; } .mirNavFlyoutHeader { padding: 14px 16px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); } .mirNavFlyoutTitle { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; } .mirNavFlyoutList { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; overflow-y: auto; } .mirNavFlyoutItem { display: block; width: 100%; text-align: left; padding: 11px 14px; border: none; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, 0.88); font-size: 14px; cursor: pointer; } .mirNavFlyoutItem:hover { background: rgba(255, 255, 255, 0.12); color: #fff; } .mirNavFlyoutItem.is-active { background: rgba(255, 255, 255, 0.22); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 #fff; } .mirNavFlyoutFooter { display: flex; align-items: center; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: rgba(255, 255, 255, 0.85); } .mirNavStatusLed { width: 8px; height: 8px; border-radius: 999px; background: rgba(16, 185, 129, 0.9); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); flex-shrink: 0; } .mirNavStatusText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .body { display: grid; grid-template-rows: auto 1fr; min-width: 0; min-height: 0; overflow: hidden; background: var(--bg); box-shadow: -2px 0 12px rgba(15, 23, 42, 0.06); } /* —— MiR-style top bar —— */ .mirTopbar { background: linear-gradient(180deg, #4d7fbe 0%, #2f5f9e 48%, #254f87 100%); color: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.22); position: relative; z-index: 40; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); } .mirTopbarInner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 10px 0 14px; overflow-x: auto; overscroll-behavior: contain; } .mirTopbarLeft { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; } .mirTopbarRight { display: flex; align-items: stretch; flex-shrink: 0; margin-left: auto; } .mirRobotId { font-size: 22px; font-weight: 800; letter-spacing: 0.02em; color: #fff; padding-right: 6px; flex-shrink: 0; } .mirPauseBtn { appearance: none; border: 1px solid rgba(0, 0, 0, 0.28); background: rgba(16, 42, 82, 0.72); border-radius: 6px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 0; cursor: pointer; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); } .mirPauseBtn:hover:not(:disabled) { background: rgba(16, 42, 82, 0.9); } .mirPauseBtn:disabled { opacity: 0.5; cursor: not-allowed; } .mirPauseBtnIcon { display: block; flex-shrink: 0; } .mirPauseBtnIcon[hidden] { display: none !important; } .mirMissionStrip { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 auto; min-width: 0; max-width: 520px; padding: 7px 8px 7px 16px; border-radius: 999px; background: rgba(14, 36, 72, 0.72); border: 1px solid rgba(0, 0, 0, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); } .mirMissionMsg { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .mirStatePill { flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; background: #e67e22; color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15); } .mirStatePill.is-running { background: #3dba6a; } .mirStatePill.is-paused { background: #e67e22; } .mirStatePill.is-error { background: #c0392b; } .mirSegment { appearance: none; border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, 0.18); cursor: pointer; font: inherit; white-space: nowrap; flex-shrink: 0; min-height: 52px; } .mirTopbarRight > .mirPanel { top: 100%; } .mirSegment:disabled { opacity: 0.55; cursor: not-allowed; } .mirSegment:hover:not(:disabled) { background: rgba(255, 255, 255, 0.07); } .mirSegment--battery { cursor: default; border-left: 1px solid rgba(255, 255, 255, 0.18); } .mirSegment--battery:hover { background: transparent; } .mirSegment--joystick.is-active { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); } .mirSegment--status.is-error { background: rgba(192, 57, 43, 0.35); } .mirSvgIcon { display: block; flex-shrink: 0; color: #fff; } .mirStatusSvg.is-ok { color: #6ee7a0; } .mirStatusSvg.is-error { color: #ff8a8a; } .mirFlag { font-size: 16px; line-height: 1; } .mirSegmentLabel { font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; } .mirBatteryPct { font-size: 12px; letter-spacing: 0.02em; text-transform: none; font-weight: 700; } .mirCaret { font-size: 9px; opacity: 0.85; margin-left: 2px; line-height: 1; } .mirPanel { position: absolute; top: calc(100% - 2px); min-width: 280px; background: #ececec; color: #1f2937; border: 1px solid #c5c5c5; border-radius: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); z-index: 50; } .mirPanel[hidden] { display: none !important; } .mirPanel--status { right: 280px; left: auto; } .mirPanel--locale { right: 140px; left: auto; } .mirPanel--user { right: 8px; left: auto; } .mirPanelBody { padding: 14px 16px; font-size: 13px; } .mirStatusOkTitle, .mirStatusErrorTitle { font-weight: 800; margin-bottom: 8px; letter-spacing: 0.04em; } .mirStatusErrorTitle { color: #c0392b; } .mirStatusDesc { color: #4b5563; line-height: 1.45; } .mirStatusRow { font-size: 12px; margin-bottom: 4px; } .mirStatusMeta { margin-top: 8px; font-size: 12px; color: #6b7280; } .mirPanelFooter { padding: 0 16px 14px; display: flex; justify-content: flex-end; } .mirPanel--locale { flex-direction: column; padding: 6px; min-width: 200px; } .mirPanel--locale:not([hidden]) { display: flex; } .mirLocaleOption { appearance: none; border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: 4px; cursor: pointer; font-size: 13px; } .mirLocaleOption:hover { background: rgba(0, 0, 0, 0.06); } .mirUserPanelHeader { display: flex; gap: 12px; align-items: center; padding: 14px 16px 8px; } .mirUserPanelAvatar { width: 42px; height: 42px; border-radius: 999px; background: #d1d5db; display: grid; place-items: center; font-size: 20px; } .mirUserPanelRole { font-weight: 800; letter-spacing: 0.05em; } .mirProfileField { display: grid; gap: 6px; padding: 0 16px 10px; font-size: 12px; color: #4b5563; } .mirProfileField input { border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; font-size: 13px; } .mirPanel--user .mirBtn { margin: 0 16px 8px; width: calc(100% - 32px); } .mirBtn { appearance: none; border: 0; border-radius: 4px; padding: 10px 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; cursor: pointer; } .mirBtn--primary { background: #2980b9; color: #fff; } .mirBtn--primary.subtle { background: #5dade2; } .mirBtn--danger { background: #c0392b; color: #fff; } .mirBtn--reset { background: #7f8c8d; color: #fff; min-width: 96px; } .mirBatteryIcon { width: 28px; height: 13px; border: 2px solid rgba(255, 255, 255, 0.95); border-radius: 2px; position: relative; padding: 1px; box-sizing: border-box; flex-shrink: 0; } .mirBatteryIcon::after { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 6px; background: rgba(255, 255, 255, 0.9); border-radius: 0 2px 2px 0; } .mirBatteryLevel { display: block; height: 100%; width: 54%; background: #fff; border-radius: 1px; } .mirSegment--battery.is-low .mirBatteryLevel { background: #ffb4b4; } .mirSegment--battery.is-mid .mirBatteryLevel { background: #ffe08a; } .configPageActions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; } .joystickOverlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); z-index: 80; display: grid; place-items: center; padding: 20px; } .joystickOverlay[hidden], body.auth-logged-out .joystickOverlay { display: none !important; pointer-events: none !important; } .joystickOverlayCard { background: #fff; border-radius: 16px; padding: 18px; width: min(360px, 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); } .joystickOverlayHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .joystickPadWrap { display: grid; place-items: center; padding: 8px 0 14px; } .joystickPad { width: 200px; height: 200px; border-radius: 999px; background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #e2e8f0 100%); border: 2px solid #cbd5e1; position: relative; touch-action: none; } .joystickStick { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 999px; background: linear-gradient(180deg, #3b82f6, #1d4ed8); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35); } .joystickOverlayActions { display: flex; gap: 10px; align-items: end; justify-content: space-between; } .joystickSpeedSelect { display: grid; gap: 4px; font-size: 12px; color: var(--muted); } .joystickSpeedSelect select { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); } .mirTopbar--no-missions .mirTopbarLeft { visibility: hidden; width: 0; overflow: hidden; flex: 0; padding: 0; } .mirTopbar--no-missions .mirTopbarRight .mirSegment--joystick, .mirTopbar--no-missions .mirTopbarRight .mirSegment--battery { display: none; } .content { padding: 18px; display: grid; gap: 16px; align-items: start; height: 100%; min-height: 0; } .contentLeft { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-height: 100%; overflow: auto; overscroll-behavior: contain; } .contentRight { min-width: 0; max-height: 100%; } .splitter { align-self: stretch; width: 10px; margin: 0 -16px; /* overlap gap a bit for easier grab */ cursor: col-resize; border-radius: 10px; background: rgba(15, 23, 42, 0.04); border: 1px solid rgba(15, 23, 42, 0.08); } .splitter:hover, .splitter.dragging { background: rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.25); } .modelForm { display: grid; gap: 10px; } .modelParams { display: grid; gap: 10px; } .modelParams[hidden] { display: none; } .modelForm .rowWide { grid-template-columns: 1fr; gap: 6px; align-items: stretch; } .modelForm .rowWide label { line-height: 1.3; } .inputUnit { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; } .inputUnit input { min-width: 0; } .inputUnit .unit { font-size: 12px; color: var(--muted); white-space: nowrap; } .acc { border: 1px solid var(--border); border-radius: 10px; background: var(--panel2); overflow: hidden; } .acc > summary { padding: 10px 12px; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; user-select: none; } .acc > summary::-webkit-details-marker { display: none; } .acc > summary::after { content: ""; float: right; width: 8px; height: 8px; margin-top: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s ease; } .acc[open] > summary::after { transform: rotate(-135deg); margin-top: 7px; } .accBody { padding: 0 12px 12px; display: grid; gap: 10px; } .accNested { margin-top: 4px; } .validation { margin: 0; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.35; background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.35); color: #92400e; } .validation.error { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.35); color: #b91c1c; } .yamlPreview { margin: 0; padding: 10px 12px; max-height: 220px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; line-height: 1.45; background: #0f172a; color: #e2e8f0; border-radius: 10px; border: 1px solid var(--border); white-space: pre-wrap; word-break: break-word; } .btnBlock { width: 100%; justify-content: center; } .mutedNote { margin: 0; font-size: 12px; color: var(--muted); } .mutedNote .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; } .mutedNote a { color: rgba(37, 99, 235, 0.9); } .layoutManagerActions { display: flex; gap: 8px; margin-top: 4px; } .layoutManagerActions .btn { flex: 1; justify-content: center; } #layoutSelect { width: 100%; } .motorWheels { display: grid; gap: 12px; } .wheelMotorBlock { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: #fff; } .wheelMotorTitle { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); } .wheelMotorMeta { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.35; } .wheelMotorBlock .rowWide { margin-bottom: 6px; } .wheelMotorBlock .rowWide:last-child { margin-bottom: 0; } .wheelMotorBlock input[type="checkbox"] { width: auto; margin-right: 6px; } .checkRow { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); } .robotDiffSummary { width: 100%; font-size: 12px; color: rgba(37, 99, 235, 0.95); } .card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; } .cardHeader { padding: 14px 16px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), transparent 70%); } .cardHeaderToggle { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; cursor: pointer; user-select: none; } .cardHeaderToggle:hover { background: linear-gradient(180deg, rgba(37, 99, 235, 0.10), transparent 70%); } .cardChevron { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel2); position: relative; margin-top: 2px; transition: transform 0.2s ease; } .cardChevron::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translate(-50%, -65%) rotate(45deg); } .card.collapsed .cardChevron { transform: rotate(-90deg); } .card.collapsed .cardBody { display: none; } .card.collapsed .cardHeader { border-bottom: none; } .cardTitle { font-size: 14px; font-weight: 800; letter-spacing: 0.2px; } .cardSub { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; } .cardBody { padding: 14px 16px; } .form { display: grid; gap: 10px; margin-bottom: 12px; } .formHint { margin: 0; font-size: 12px; line-height: 1.35; color: #b91c1c; } .formHint[hidden] { display: none; } .row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; } label { color: var(--muted); font-size: 12px; } input, select { width: 100%; padding: 10px 10px; background: var(--panel2); border: 1px solid var(--border); color: var(--text); border-radius: 10px; outline: none; } input:focus, select:focus { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); } .actions { display: flex; gap: 10px; } .btn, button { cursor: pointer; border: 1px solid var(--border); background: var(--panel2); color: var(--text); padding: 9px 12px; border-radius: 10px; font-weight: 600; } .btn.primary { background: rgba(37, 99, 235, 0.92); border-color: rgba(37, 99, 235, 0.92); color: #fff; } .btn.primary:hover { background: rgba(37, 99, 235, 1); } .btn.subtle { background: var(--panel2); } .btn.danger { color: var(--danger); border-color: rgba(239, 68, 68, 0.35); } .btn:active, button:active { transform: translateY(1px); } .btn.active, button.active { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.55); } .list { display: grid; gap: 10px; } .item { border: 1px solid var(--border); background: #ffffff; border-radius: 12px; padding: 10px; } .itemTop { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .itemMain { flex: 1; min-width: 0; } .itemToggle { flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px; margin-right: 8px; padding: 0; border-radius: 8px; border: 1px solid var(--border); background: var(--panel2); cursor: pointer; position: relative; } .itemToggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translate(-50%, -65%) rotate(45deg); transition: transform 0.2s ease; } .item.collapsed .itemToggle::before { transform: translate(-50%, -35%) rotate(-135deg); } .item.collapsed .itemBody { display: none; } .itemTopRow { display: flex; align-items: flex-start; } .itemName { font-weight: 700; } .itemMeta { color: var(--muted); font-size: 12px; margin-top: 4px; } .itemBtns { display: flex; gap: 8px; } .poseRow { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .poseField { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center; } .poseLabel { color: var(--muted); font-size: 12px; text-align: right; } .poseInput { padding: 8px 9px; border-radius: 10px; background: var(--panel2); } .pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(16, 185, 129, 0.10); border: 1px solid rgba(16, 185, 129, 0.22); color: rgba(16, 185, 129, 1); padding: 2px 8px; border-radius: 999px; font-size: 12px; } .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 10px; } .tool { display: grid; gap: 6px; } .tool label { font-size: 12px; } .tool input { width: 120px; } .toolGroup { display: flex; gap: 10px; align-items: end; } .toolGroup[hidden] { display: none; } .tool select { width: 170px; } .toolGroup .tool input { width: 110px; } .canvasWrap { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; height: min(72vh, 680px); min-height: 420px; } canvas { display: block; width: 100%; height: 100%; border-radius: 10px; background: #0b1220; touch-action: none; } .canvasWrap.panning canvas { cursor: grabbing; } .canvasWrap.shift-pan canvas { cursor: grab; } .metaBar { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px 14px; color: var(--muted); font-size: 12px; } .fpHint { color: rgba(37, 99, 235, 0.95); margin-top: 8px; font-size: 12px; line-height: 1.4; } .footprintPresetPanel { display: grid; gap: 8px; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #f8fafc; } .footprintPresetPanel .fpShapeParams { display: grid; gap: 6px; } .footprintPresetPanel.hidden { display: none; } .footprintCustomPanel { display: grid; gap: 8px; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #f8fafc; } .footprintCustomPanel.hidden { display: none; } .fpVertexRow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; font-size: 12px; } .fpVertexLabel strong { color: var(--text); } .fpSelectedVertex { font-size: 11px; } .fpVertexActions { display: flex; gap: 8px; } .fpVertexActions .btn { flex: 1; justify-content: center; font-size: 12px; padding: 6px 10px; } .viewHint { color: var(--muted); font-size: 12px; width: 100%; } .canvasWrap canvas.edit-footprint { cursor: crosshair; } .content.content--missions, .content.content--integrations { grid-template-columns: minmax(0, 1fr); max-width: 1100px; } .content.content--maps { grid-template-columns: minmax(0, 1fr); align-items: stretch; align-content: stretch; max-width: none; width: 100%; padding: 0; overflow: hidden; background: #fff; } .content.content--maps > #pageMaps { width: 100%; min-width: 0; min-height: 0; height: 100%; } .content.content--dashboard { grid-template-columns: minmax(0, 1fr); max-width: none; align-items: stretch; align-content: stretch; padding: 16px; overflow: hidden; } .content.content--dashboard > #pageOverview { display: flex; flex-direction: column; min-height: 0; height: 100%; width: 100%; } .content.content--config { grid-template-columns: var(--leftPaneW, 460px) 10px 1fr; } .missionsPage { min-width: 0; width: 100%; } .missionList { display: grid; gap: 10px; } .missionListItem { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel2); cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .missionListItem:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow); } .missionListItemTitle { font-weight: 700; font-size: 14px; } .missionListItemMeta { font-size: 12px; color: var(--muted); margin-top: 4px; } .missionListItemActions { display: flex; gap: 8px; align-items: center; } .missionListItemActions .btn { padding: 6px 10px; font-size: 12px; } .missionQueueBtn { font-size: 15px; font-weight: 700; color: var(--accent); line-height: 1; } .missionQueueBtn:hover { border-color: rgba(37, 99, 235, 0.35); background: #eff6ff; } .missionQueueList { display: grid; gap: 8px; margin-top: 12px; } .missionQueueItem { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff; } .missionQueueItem.status-executing { border-color: rgba(37, 99, 235, 0.45); background: #eff6ff; } .missionQueueItem.status-completed { opacity: 0.72; } .missionQueueItem.status-failed { border-color: rgba(239, 68, 68, 0.35); background: #fef2f2; } .missionQueueOrder { display: flex; flex-direction: column; gap: 4px; } .missionQueueOrder .iconBtn { width: 28px; height: 28px; font-size: 12px; } .missionQueueItemTitle { font-weight: 700; font-size: 13px; } .missionQueueItemMeta { font-size: 12px; color: var(--muted); margin-top: 4px; } .missionQueueItemParams { font-size: 12px; margin-top: 6px; } .missionQueueParamVar { color: var(--accent); font-weight: 600; } .missionQueueStatus { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 999px; background: #f1f5f9; color: var(--muted); white-space: nowrap; } .missionQueueStatus.executing { background: #dbeafe; color: #1d4ed8; } .missionQueueStatus.completed { background: #d1fae5; color: #047857; } .missionQueueStatus.failed { background: #fee2e2; color: #b91c1c; } .missionQueueStatus.cancelled { background: #f3f4f6; color: #6b7280; } .missionQueueItem.status-cancelled { opacity: 0.72; } .missionQueueCardActions { display: flex; gap: 8px; flex-wrap: wrap; } .missionQueueRunner { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel2); font-size: 12px; margin-bottom: 10px; } .missionQueueRunner.running { border-color: rgba(37, 99, 235, 0.35); background: #eff6ff; color: #1e3a8a; } .missionVarHint { font-size: 11px; color: var(--muted); margin-top: 4px; } .missionEditorCard { overflow: hidden; } .missionEditorTop { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, #f8fafc); } .missionEditorTitleWrap { display: flex; gap: 12px; align-items: flex-start; min-width: 0; } .missionBackBtn { padding: 8px 12px; flex-shrink: 0; } .missionEditorKicker { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; } .missionEditorTitleRow { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .missionEditorTitle { margin: 0; font-size: 18px; font-weight: 800; } .missionEditorMeta { font-size: 12px; color: var(--muted); margin-top: 6px; } .missionEditorTopActions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } .missionDirtyBadge { font-size: 11px; font-weight: 700; color: #b45309; background: #fef3c7; border: 1px solid #fcd34d; padding: 4px 8px; border-radius: 999px; } .missionActionBar { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: #0f172a; } .missionGroupTab { position: relative; } .missionGroupTabBtn { appearance: none; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: #e2e8f0; border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer; } .missionGroupTabBtn:hover, .missionGroupTabBtn.open { background: rgba(37, 99, 235, 0.35); border-color: rgba(37, 99, 235, 0.5); color: #fff; } .missionGroupMenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; max-height: 280px; overflow: auto; z-index: 20; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow2); padding: 6px; } .missionGroupMenu[hidden] { display: none; } .missionPaletteItem { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: none; background: transparent; border-radius: 8px; padding: 8px 10px; font-size: 13px; cursor: pointer; color: var(--text); } .missionPaletteItem:hover { background: #eff6ff; } .missionPaletteItem.dragging { opacity: 0.45; } .missionPaletteItem.missionRef .missionActionIcon { background: rgba(16, 185, 129, 0.15); color: #059669; } .missionEditorBody { padding: 16px 18px 20px; } .missionFlowHint { margin: 0 0 12px; font-size: 12px; color: var(--muted); } .missionActionList { display: grid; gap: 8px; min-height: 48px; } .missionActionListEmpty { padding: 24px; text-align: center; border: 1px dashed var(--border); border-radius: 12px; } .missionActionListEmpty[hidden], .missionActionList:not(:empty) + .missionActionListEmpty { display: none; } .missionActionRow { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04); } .missionActionTop { grid-column: 2; display: flex; align-items: flex-start; gap: 8px; min-width: 0; } .missionActionBtns { display: flex; gap: 6px; flex-shrink: 0; position: relative; z-index: 2; } .missionLoopBlock { grid-column: 2; margin-top: 0; border-radius: 10px; border: 1px dashed rgba(124, 58, 237, 0.35); background: rgba(124, 58, 237, 0.04); padding: 10px; } .missionActionRow.dragging { opacity: 0.45; } .missionActionRow.dropBefore { box-shadow: inset 0 3px 0 var(--accent); } .missionActionRow.dropAfter { box-shadow: inset 0 -3px 0 var(--accent); } .missionDragHandle { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: #f8fafc; color: var(--muted); cursor: grab; display: grid; place-items: center; font-size: 14px; user-select: none; } .missionDragHandle:active { cursor: grabbing; } .missionActionMain { min-width: 0; } .missionActionLabelRow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .missionActionLabel { font-weight: 700; font-size: 13px; } .missionActionSummary { font-size: 12px; color: var(--muted); margin-top: 4px; } .missionActionIcon { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(37, 99, 235, 0.12); color: var(--accent); flex-shrink: 0; } .missionActionIcon.kind-mission { background: rgba(16, 185, 129, 0.15); color: #059669; } .missionActionIcon.kind-loop { background: rgba(139, 92, 246, 0.15); color: #7c3aed; } .iconBtn { appearance: none; border: 1px solid var(--border); background: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 16px; line-height: 1; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; padding: 0; text-align: center; } .iconBtn:hover { border-color: rgba(37, 99, 235, 0.35); color: var(--accent); background: #eff6ff; } .iconBtn.danger:hover { border-color: rgba(239, 68, 68, 0.35); color: var(--danger); background: #fef2f2; } .missionLoopLabel { font-size: 11px; font-weight: 700; color: #7c3aed; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; } .missionLoopDrop { display: grid; gap: 8px; min-height: 44px; border-radius: 8px; padding: 4px; transition: background 0.15s ease; } .missionLoopDrop.dragOver { background: rgba(37, 99, 235, 0.08); outline: 2px dashed rgba(37, 99, 235, 0.35); outline-offset: 2px; } .missionLoopEmpty { font-size: 12px; color: var(--muted); text-align: center; padding: 10px; } .missionDialog { border: none; border-radius: 16px; padding: 0; width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow2); } .missionDialogWide { width: min(560px, calc(100vw - 32px)); } .missionDialog::backdrop { background: rgba(15, 23, 42, 0.45); } .missionDialogForm { display: grid; } .missionDialogHeader { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); } .missionDialogHeader h3 { margin: 0; font-size: 16px; } .missionDialogBody { padding: 16px 18px; display: grid; gap: 12px; } .missionDialogBody textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; } .missionDialogFooter { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--border); background: #f8fafc; } .missionConfigGrid { display: grid; gap: 12px; } .missionConfigGrid .rowWide { grid-template-columns: 1fr; gap: 6px; } .dashboardShell { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; width: 100%; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; } .dashboardContent { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 20px 24px 24px; } .dashboardListView, .dashboardCreateView { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; height: 100%; overflow-y: auto; } .dashboardDesignerView { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; height: 100%; overflow: hidden; } .dashboardListView[hidden], .dashboardCreateView[hidden], .dashboardDesignerView[hidden] { display: none !important; } .dashboardListHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; flex-shrink: 0; } .dashboardListTitle { margin: 0; font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; } .dashboardListSub { margin: 6px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; } .dashboardListHelp { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 10px; font-weight: 700; color: var(--muted); } .dashboardListHeaderActions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .dashboardCreateBtn { font-weight: 700; } .dashboardCreateHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; flex-shrink: 0; } .dashboardCreateTitle { margin: 0; font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; } .dashboardCreateSub { margin: 6px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; } .dashboardCreateBackBtn { white-space: nowrap; } .dashboardCreateForm { flex: 0 0 auto; display: flex; flex-direction: column; align-self: stretch; } .dashboardCreatePanel { border: 1px solid #c8d4e0; background: #fff; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 24px; } .dashboardCreateField { display: grid; gap: 8px; } .dashboardCreateField label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #334155; } .dashboardCreateField input { width: 100%; padding: 9px 12px; border: 1px solid #c8d4e0; border-radius: 4px; font: inherit; font-size: 14px; background: #fff; box-sizing: border-box; color: #64748b; } .dashboardCreateField input:focus { outline: none; border-color: #64748b; color: #0f172a; } .dashboardCreateActions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .dashboardMirBtn { border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; border: 1px solid #c8d4e0; background: #f8fafc; color: #334155; } .dashboardMirBtn:hover { background: #f1f5f9; border-color: #94a3b8; } .dashboardCreateSubmitBtn, .dashboardPermissionsApplyBtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: #22a06b !important; border-color: #1a8f5c !important; color: #fff !important; } .dashboardCreateSubmitBtn:hover, .dashboardPermissionsApplyBtn:hover { background: #1a8f5c !important; border-color: #178052 !important; } .dashboardCreateSubmitIcon { display: inline-grid; place-items: center; width: 16px; height: 16px; font-size: 11px; font-weight: 800; line-height: 1; } .dashboardCreateCancelBtn { display: inline-flex; align-items: center; gap: 6px; } .dashboardCreateCancelIcon { font-size: 13px; line-height: 1; } .dashboardPermissionsDialog .missionDialogBody { display: grid; gap: 14px; } .dashboardPermissionsIntro { margin: 0; font-size: 13px; font-weight: 600; color: #334155; line-height: 1.45; } .dashboardPermissionsList { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .dashboardPermissionsList label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #0f172a; cursor: pointer; width: auto; } .dashboardPermissionsList input[type="checkbox"] { width: 16px !important; height: 16px; min-width: 16px; padding: 0; margin: 0; flex: 0 0 auto; border-radius: 3px; accent-color: #2563eb; } .dashboardListBar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); flex-shrink: 0; } .dashboardFilter { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 240px; } .dashboardFilterLabel { font-size: 13px; color: var(--muted); white-space: nowrap; } .dashboardFilterInput { flex: 1; min-width: 200px; max-width: none; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: #fff; } .dashboardListCount { font-size: 13px; color: var(--muted); white-space: nowrap; } .dashboardPagination { display: flex; align-items: center; gap: 4px; margin-left: auto; } .dashboardPageLabel { font-size: 13px; color: var(--muted); padding: 0 8px; white-space: nowrap; } .dashboardPageBtn:disabled { opacity: 0.35; cursor: not-allowed; } .dashboardTableWrap { flex: 0 0 auto; width: 100%; align-self: stretch; overflow: visible; border: 1px solid #c8d4e0; border-radius: 0; background: #fff; } .dashboardTable { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; } .dashboardTable thead { background: #eef2f6; } .dashboardTable th, .dashboardTable td { padding: 0 16px; height: 52px; text-align: left; vertical-align: middle; border-bottom: 1px solid #d8e0e8; border-right: 1px solid #d8e0e8; } .dashboardTable th:last-child, .dashboardTable td:last-child { border-right: none; } .dashboardTable th { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #334155; } .dashboardTableStatusCol { width: 56px; text-align: center; padding: 0 8px; } .dashboardTable th.dashboardTableStatusCol { width: 56px; } .dashboardTableNameCell { width: auto; font-weight: 600; color: #0f172a; } .dashboardTableCreatedCell { width: 24%; color: #334155; } .dashboardTableFuncCol { width: 168px; } .dashboardTable tbody tr:last-child td { border-bottom: none; } .dashboardTable tbody tr:hover:not(.dashboardTableEmptyRow) { background: #f8fafc; } .dashboardTableRow.is-default .dashboardTableNameCell, .dashboardTableRow.is-default .dashboardTableCreatedCell { color: #94a3b8; } .dashboardTableRow.is-active .dashboardTableNameCell { color: #0f172a; } .dashboardTableEmptyRow td { height: 120px; text-align: center; color: var(--muted); font-size: 13px; } .dashboardActiveMark { width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center; background: #22a06b; color: #fff; font-size: 14px; font-weight: 800; line-height: 1; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); } .dashboardActiveMark--placeholder { visibility: hidden; background: transparent; box-shadow: none; } .dashboardFuncBtns { display: flex; gap: 8px; align-items: center; justify-content: flex-start; } .dashboardFuncBtn { appearance: none; width: 34px; height: 34px; border: 1px solid #c8d4e0; border-radius: 6px; background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 0; } .dashboardFuncBtn:hover:not(:disabled) { border-color: #94a3b8; background: #f8fafc; } .dashboardFuncBtn:disabled { opacity: 0.28; cursor: not-allowed; } .dashboardFuncIcon { width: 18px; height: 18px; display: block; flex-shrink: 0; background: currentColor; color: #64748b; mask-repeat: no-repeat; mask-position: center; mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; } .dashboardFuncBtn:hover:not(:disabled) .dashboardFuncIcon { color: #334155; } .dashboardFuncIcon--design { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c-1.5 2.4-3.6 4.5-6 6 1.5 1.5 3.6 3.6 6 6 1.5-2.4 3.6-4.5 6-6-2.4-1.5-4.5-3.6-6-6zm0 3.8c.9 1.1 2 2.2 3.2 3.2-1.2 1-2.3 2.1-3.2 3.2-.9-1.1-2-2.2-3.2-3.2 1.2-1 2.3-2.1 3.2-3.2z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c-1.5 2.4-3.6 4.5-6 6 1.5 1.5 3.6 3.6 6 6 1.5-2.4 3.6-4.5 6-6-2.4-1.5-4.5-3.6-6-6zm0 3.8c.9 1.1 2 2.2 3.2 3.2-1.2 1-2.3 2.1-3.2 3.2-.9-1.1-2-2.2-3.2-3.2 1.2-1 2.3-2.1 3.2-3.2z'/%3E%3C/svg%3E") center / contain no-repeat; } .dashboardFuncIcon--edit { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.5V20h2.5L17 9.5 14.5 7 4 17.5zm14.7-9.8a1 1 0 0 0 0-1.4l-1.8-1.8a1 1 0 0 0-1.4 0l-1.3 1.3 3.2 3.2 1.3-1.3z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.5V20h2.5L17 9.5 14.5 7 4 17.5zm14.7-9.8a1 1 0 0 0 0-1.4l-1.8-1.8a1 1 0 0 0-1.4 0l-1.3 1.3 3.2 3.2 1.3-1.3z'/%3E%3C/svg%3E") center / contain no-repeat; } .dashboardFuncIcon--delete { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; } .dashboardTableWrap.is-empty .dashboardTable thead { display: none; } .dashboardShell--designer { background: transparent; border: none; border-radius: 0; box-shadow: none; } .dashboardShell--designer .dashboardContent { padding: 0; } .dashboardDesignerView { --mir-blue: #3d6cb3; --mir-blue-dark: #2f5a9a; --mir-green: #5cb85c; --mir-green-hover: #4cae4c; --mir-tab-inactive: #c8c8c8; --mir-canvas: #b5b5b5; font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; } .dashboardMirDesignerBar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--mir-blue); color: #fff; flex-shrink: 0; flex-wrap: wrap; } .dashboardMirDesignerTitle { margin: 0; font-size: 17px; font-weight: 700; flex: 1; min-width: 120px; letter-spacing: -0.01em; } .dashboardMirDesignerBarActions { display: flex; align-items: center; gap: 8px; margin-left: auto; } .dashboardMirBarBtn { appearance: none; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12); color: #fff; border-radius: 4px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; } .dashboardMirBarBtn:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.5); } .dashboardMirBarBtn--edit[aria-pressed="true"] { background: #fff; color: var(--mir-blue-dark); border-color: #fff; } .dashboardMirSaveBtn { appearance: none; border: none; border-radius: 4px; padding: 8px 20px; font-size: 13px; font-weight: 700; cursor: pointer; background: var(--mir-green); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); } .dashboardMirSaveBtn:hover { background: var(--mir-green-hover); } .dashboardMirSaveBtn.is-saved { background: #3a8f3a; } .dashboardMirWidgetBar { flex-shrink: 0; background: var(--mir-blue); } .dashboardMirWidgetBar[hidden] { display: none !important; } .dashboardMirWidgetTabs { display: flex; align-items: flex-end; gap: 3px; padding: 0 12px; overflow-x: auto; } .dashboardMirWidgetTab { appearance: none; border: none; cursor: pointer; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 4px 4px 0 0; background: var(--mir-tab-inactive); color: #333; white-space: nowrap; transition: background 0.12s ease; } .dashboardMirWidgetTab:hover:not(.is-active) { background: #d8d8d8; } .dashboardMirWidgetTab.is-active { background: #fff; color: #111; padding-bottom: 11px; } .dashboardMirWidgetPanels { background: #fff; border-bottom: 1px solid #d0d0d0; } .dashboardMirWidgetPanel { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; align-items: center; } .dashboardMirWidgetPanel[hidden] { display: none !important; } .dashboardMirWidgetPick { appearance: none; border: 1px solid #d0d0d0; border-radius: 3px; background: #f7f7f7; color: #222; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; } .dashboardMirWidgetPick:hover { background: #eef3fb; border-color: var(--mir-blue); color: var(--mir-blue-dark); } .dashboardMirWidgetPanelNote { margin: 0; font-size: 13px; color: #666; font-style: italic; } .dashboardMirCanvasWrap { flex: 1; min-height: 0; overflow: auto; padding: 16px; background-color: var(--mir-canvas); background-image: linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px); background-size: 24px 24px; } .dashboardMirCanvasEmpty { margin: 48px auto 0; max-width: 420px; text-align: center; font-size: 14px; color: #444; background: rgba(255, 255, 255, 0.65); padding: 16px 20px; border-radius: 4px; } .dashboardMirCanvasEmpty[hidden] { display: none !important; } .dashboardDesignerHeader { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); flex-shrink: 0; flex-wrap: wrap; } .dashboardDesignerHeaderActions { margin-left: auto; } .dashboardDesignerTitle { margin: 0; font-size: 18px; font-weight: 800; flex: 1; min-width: 120px; } .dashboardDesignerToolbar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel2); flex-shrink: 0; } .dashboardDesignerToolbar[hidden] { display: none !important; } .dashboardWidgetMenu { position: relative; } .dashboardWidgetMenu > summary { list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 700; color: var(--text); user-select: none; } .dashboardWidgetMenu > summary::-webkit-details-marker { display: none; } .dashboardWidgetMenu[open] > summary { border-color: rgba(37, 99, 235, 0.35); background: #eff6ff; color: #1e3a8a; } .dashboardWidgetMenuPanel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 220px; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 4px; } .dashboardWidgetMenuItem { appearance: none; border: none; background: transparent; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text); } .dashboardWidgetMenuItem:hover { background: #f1f5f9; } .dashboardDesignerBody { flex: 1; min-height: 0; overflow: auto; } .dashboardDesignerEmpty { text-align: center; padding: 24px 0; } .dashboardPage { display: grid; gap: 0; min-width: 0; width: 100%; } .dashboardMain { min-width: 0; } .dashboardGrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 52px; gap: 10px; align-content: start; } .dashboardMirGrid { min-height: 200px; } .dashboardGrid--edit .dashboardWidget { outline: 2px dashed rgba(61, 108, 179, 0.35); outline-offset: 0; } .dashboardWidget { border: 1px solid #c8c8c8; border-radius: 2px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); overflow: hidden; min-height: 0; display: flex; flex-direction: column; position: relative; grid-column: span var(--dw, 4); grid-row: span var(--dh, 3); } .dashboardWidget--operate .dashboardWidgetBody { padding: 0; display: flex; flex-direction: column; flex: 1; min-height: 0; } .dashboardWidget--operate.dashboardWidget--mission_button .dashboardMissionBtn, .dashboardWidget--operate.dashboardWidget--pause_continue .dashboardMirToggleBtn, .dashboardWidget--operate.dashboardWidget--logout_button .dashboardLogoutBtn { flex: 1; min-height: 100%; border: none; border-radius: 0; box-shadow: none; } .dashboardWidget--operate.dashboardWidget--mission_button .dashboardMissionBtn { background: var(--mir-green, #5cb85c); color: #fff; font-size: 16px; font-weight: 700; } .dashboardWidget--operate.dashboardWidget--mission_button .dashboardMissionBtn:hover { background: var(--mir-green-hover, #4cae4c); } .dashboardWidget--operate.dashboardWidget--mission_button .dashboardMissionBtnIcon { background: rgba(255, 255, 255, 0.25); color: #fff; } .dashboardWidget--operate.dashboardWidget--mission_group .dashboardWidgetBody { padding: 8px; gap: 6px; } .dashboardWidget--operate.dashboardWidget--mission_group .dashboardMissionGroupBtn { background: var(--mir-green, #5cb85c); color: #fff; border: none; border-radius: 2px; } .dashboardWidget--operate.dashboardWidget--mission_group .dashboardMissionGroupBtn:hover { background: var(--mir-green-hover, #4cae4c); } .dashboardWidget--operate.dashboardWidget--mission_group .dashboardMissionBtnIcon { background: rgba(255, 255, 255, 0.25); color: #fff; } .dashboardWidget--operate.dashboardWidget--logout_button .dashboardLogoutBtn { background: #d9534f; color: #fff; border: none; } .dashboardWidget--operate.dashboardWidget--logout_button .dashboardLogoutBtn:hover { background: #c9302c; } .dashboardWidget--operate.dashboardWidget--mission_queue .dashboardWidgetBody, .dashboardWidget--operate.dashboardWidget--mission_action_log .dashboardWidgetBody, .dashboardWidget--operate.dashboardWidget--map .dashboardWidgetBody, .dashboardWidget--operate.dashboardWidget--map_locked .dashboardWidgetBody, .dashboardWidget--operate.dashboardWidget--robot_summary .dashboardWidgetBody { padding: 10px; } .dashboardWidget.is-dragging { opacity: 0.72; z-index: 12; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); } body.dashboard-widget-dragging { cursor: grabbing !important; user-select: none; } body.dashboard-widget-dragging .dashboardWidgetHeader { cursor: grabbing !important; } .dashboardWidget.is-drop-target { outline: 2px solid rgba(37, 99, 235, 0.55); outline-offset: 2px; } .dashboardWidgetHeader { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #d8d8d8; background: #f0f0f0; cursor: default; } .dashboardGrid--edit .dashboardWidgetHeader { cursor: grab; } .dashboardGrid--edit .dashboardWidgetHeader:active { cursor: grabbing; } .dashboardWidgetDragHint { font-size: 14px; color: #888; line-height: 1; user-select: none; } .dashboardWidgetPen { position: absolute; left: 6px; bottom: 6px; z-index: 2; width: 28px; height: 28px; border-radius: 2px; border: 1px solid #bbb; background: #fff; color: var(--mir-blue, #3d6cb3); font-size: 14px; line-height: 1; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); display: inline-flex; align-items: center; justify-content: center; padding: 0; } .dashboardWidgetPen:hover { background: #eef3fb; border-color: var(--mir-blue, #3d6cb3); } .dashboardWidgetResize { position: absolute; right: 2px; bottom: 2px; z-index: 2; width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px; color: #888; cursor: nwse-resize; user-select: none; } .dashboardWidgetResize:hover { color: var(--mir-blue, #3d6cb3); } .dashboardWidgetPen[hidden], .dashboardWidgetResize[hidden] { display: none !important; } .dashboardWidgetTitle { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #666; } .dashboardWidgetBody { padding: 10px 10px 36px; display: grid; gap: 8px; flex: 1; align-content: start; overflow: auto; min-height: 0; } .dashboardWidgetHint { margin: 0; font-size: 11px; } .dashboardActionLogList { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 100%; overflow: auto; } .dashboardActionLogItem { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: #f8fafc; font-size: 12px; line-height: 1.35; } .dashboardActionLogItem.is-current { background: #eff6ff; border-color: rgba(37, 99, 235, 0.3); color: #1e3a8a; font-weight: 700; } .dashboardMirToggleBtn { appearance: none; width: 100%; flex: 1; min-height: 100%; border: none; border-radius: 0; font-size: 17px; font-weight: 700; cursor: pointer; color: #fff; } .dashboardMirToggleBtn.is-pause { background: #f0ad4e; } .dashboardMirToggleBtn.is-pause:hover:not(:disabled) { background: #ec971f; } .dashboardMirToggleBtn.is-continue { background: var(--mir-green, #5cb85c); } .dashboardMirToggleBtn.is-continue:hover:not(:disabled) { background: var(--mir-green-hover, #4cae4c); } .dashboardMirToggleBtn:disabled { opacity: 0.45; cursor: not-allowed; background: #aaa; } .dashboardMapViewport { position: relative; flex: 1; min-height: 120px; height: 100%; overflow: hidden; background: #d8dde4; border-radius: 0; } .dashboardWidget--operate.dashboardWidget--map .dashboardWidgetBody, .dashboardWidget--operate.dashboardWidget--map_locked .dashboardWidgetBody { padding: 0; display: flex; flex-direction: column; } .dashboardMapLayer { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; } .dashboardMapLayer--grid { position: relative; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px); background-size: 20px 20px; background-color: #e8edf2; } .dashboardMapImage { display: block; width: 100%; height: 100%; user-select: none; pointer-events: none; } .dashboardMapMarker { position: absolute; z-index: 3; width: 18px; height: 18px; margin: 0; pointer-events: none; } .dashboardMapMarker::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--mir-blue, #3d6cb3); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); } .dashboardMapMarker::after { content: ""; position: absolute; left: 50%; top: -2px; width: 0; height: 0; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 10px solid var(--mir-blue, #3d6cb3); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); } .dashboardMapViewport--locked { background: linear-gradient(180deg, #dfe8f4 0%, #c8d8ec 100%); } .dashboardMapGridFallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 12px; text-align: center; } .dashboardMapGridTitle { font-size: 13px; font-weight: 700; color: #333; } .dashboardMapEmpty, .dashboardMapLoading { display: grid; place-items: center; min-height: 120px; padding: 16px; text-align: center; font-size: 13px; } .dashboardMapPlaceholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; background: #e8e8e8; border: 1px dashed #bbb; border-radius: 2px; text-align: center; padding: 12px; } .dashboardMapPlaceholder--locked { background: linear-gradient(180deg, #dfe8f4 0%, #c8d8ec 100%); } .dashboardMapPlaceholderRobot { font-size: 28px; color: var(--mir-blue, #3d6cb3); line-height: 1; } .dashboardMapPlaceholderLabel { font-size: 13px; font-weight: 700; color: #333; } .dashboardMapPlaceholderHint { font-size: 11px; color: #666; } .dashboardRobotSummary { display: flex; align-items: center; gap: 12px; padding: 4px 0; } .dashboardRobotSummaryIcon { width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; background: var(--mir-blue, #3d6cb3); color: #fff; font-size: 20px; } .dashboardRobotSummaryName { font-size: 15px; font-weight: 700; color: #222; } .dashboardRobotSummarySub { font-size: 12px; margin-top: 2px; } .dashboardLogoutBtn { appearance: none; width: 100%; min-height: 56px; border: 1px solid rgba(239, 68, 68, 0.35); border-radius: 12px; background: linear-gradient(180deg, #fef2f2, #fee2e2); color: #991b1b; font-size: 15px; font-weight: 800; cursor: pointer; } .dashboardLogoutBtn:hover { border-color: rgba(239, 68, 68, 0.55); box-shadow: var(--shadow); } .dashboardMissionBtn, .dashboardMissionGroupBtn { appearance: none; width: 100%; border: 1px solid rgba(37, 99, 235, 0.25); background: linear-gradient(180deg, #eff6ff, #dbeafe); color: #1e3a8a; border-radius: 12px; padding: 14px 12px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; } .dashboardMissionBtn:hover, .dashboardMissionGroupBtn:hover { border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--shadow); } .dashboardMissionBtnIcon { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: rgba(37, 99, 235, 0.15); font-size: 12px; } .dashboardMissionGroupList { display: grid; gap: 8px; max-height: 220px; overflow: auto; } .dashboardMissionGroupBtn { padding: 10px 12px; font-size: 13px; justify-content: flex-start; } .dashboardQueueRunner { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: #f8fafc; font-size: 12px; } .dashboardQueueRunner.running { background: #eff6ff; border-color: rgba(37, 99, 235, 0.25); color: #1e3a8a; } .dashboardQueueRunner.paused { background: #fef3c7; border-color: #fcd34d; color: #92400e; } .dashboardQueueList { display: grid; gap: 6px; max-height: 180px; overflow: auto; } .missionQueueItem.compact { grid-template-columns: 1fr auto; padding: 8px 10px; } .missionQueueWidgetActions { display: flex; align-items: center; } .dashboardPauseBtn { appearance: none; width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 16px; font-size: 16px; font-weight: 800; cursor: pointer; background: #fff7ed; color: #9a3412; } .dashboardPauseBtn.is-paused { background: #ecfdf5; color: #047857; } .dashboardPauseBtn:disabled { opacity: 0.45; cursor: not-allowed; } .dashboardRunnerControls { display: grid; gap: 8px; } .dashboardCancelBtn { appearance: none; width: 100%; border: 1px solid rgba(239, 68, 68, 0.35); border-radius: 12px; padding: 12px; font-size: 14px; font-weight: 700; cursor: pointer; background: #fef2f2; color: #b91c1c; } .dashboardCancelBtn:hover:not(:disabled) { background: #fee2e2; } .dashboardCancelBtn:disabled { opacity: 0.45; cursor: not-allowed; } .dashboardEmpty { text-align: center; padding: 12px 0 0; } @media (max-width: 1100px) { .mirMissionStrip { max-width: 280px; } .mirPanel--status { right: 8px; left: 8px; } .mirPanel--locale { right: 8px; left: 8px; } .mirPanel--user { right: 8px; left: auto; } } @media (max-width: 980px) { .shell { grid-template-columns: auto 1fr; } .mirNavShell { height: auto; position: relative; } .mirNavShell--flyout-collapsed .mirNavFlyout { display: none; } .mirNavFlyout { width: 200px; } .body { grid-template-rows: auto 1fr; } .content { grid-template-columns: 1fr; height: auto; } .splitter { display: none; } .contentLeft { max-height: none; overflow: visible; } } .integrationsPage { min-width: 0; width: 100%; display: grid; gap: 16px; } .integrationRow { cursor: default; } .integrationHeaderActions { display: flex; gap: 8px; flex-wrap: wrap; } .integrationCoilSection { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); } .integrationSectionLabel { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; } .integrationCoilGrid { display: flex; flex-wrap: wrap; gap: 8px; } .integrationCoilChip { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel2); color: var(--text); cursor: pointer; } .integrationCoilChip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--panel2)); } .integrationCoilChip:hover { border-color: var(--accent); } .integrationApiBody { display: grid; gap: 14px; } .integrationApiBlock { display: grid; gap: 6px; } .integrationPre { margin: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel2); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; word-break: break-all; } .integrationCode { font-size: 13px; word-break: break-all; } .integrationTestRow .integrationTestActions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .integrationTestRow select { min-width: 220px; } /* --- Auth / Sign in (MiR §2.1) --- */ .shell.auth-locked { display: none !important; } .loginScreen[hidden] { display: none !important; } .loginForm[hidden] { display: none !important; } .loginHelp[hidden] { display: none !important; } .loginError[hidden] { display: none !important; } .loginPanel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px 40px 40px; } .loginPanel--pin { align-items: start; } .loginPanel[hidden] { display: none !important; } .loginScreen { --mir-blue: #3d6cb3; --mir-blue-dark: #2f5a9a; --mir-green: #5cb85c; --mir-green-hover: #4cae4c; --mir-tab-inactive: #c8c8c8; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 24px; background: var(--mir-blue); font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; } .loginFrame { width: min(920px, 100%); } .loginHeader { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 0 8px 0 4px; margin-bottom: -1px; } .loginHeaderBrand { color: #fff; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; padding-bottom: 12px; } .loginHeaderRight { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-left: auto; padding-bottom: 8px; } .loginHeaderPrompt { color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; padding-bottom: 10px; } .loginTabs { display: flex; align-items: flex-end; gap: 4px; } .loginTab { border: none; cursor: pointer; font-size: 14px; font-weight: 600; padding: 12px 18px; border-radius: 6px 6px 0 0; background: var(--mir-tab-inactive); color: #333; transition: background 0.15s ease; white-space: nowrap; } .loginTab:hover:not(.active) { background: #d8d8d8; } .loginTab.active { background: #fff; color: #111; padding-bottom: 13px; } .loginCard { background: #fff; border-radius: 0 8px 8px 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); min-height: 320px; } .loginHelpNote { font-size: 13px; color: #888; font-style: italic; } .loginPinLeft { display: flex; flex-direction: column; gap: 0; } .loginPinBoxes { display: flex; gap: 14px; margin-top: 28px; } .loginPinCell { width: 54px; height: 54px; border: 2px solid #c8c8c8; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; line-height: 1; color: #111; transition: border-color 0.15s ease; } .loginPinCell.filled::after { content: "•"; font-weight: 700; } .loginPinCell.active { border-color: var(--mir-blue); box-shadow: 0 0 0 2px rgba(61, 108, 179, 0.2); } .loginPinError { margin-top: 16px; } .loginKeypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(100%, 300px); margin: 0 auto; align-self: center; } .loginKey { border: none; border-radius: 12px; background: var(--mir-green); color: #fff; font-size: 26px; font-weight: 600; line-height: 1; padding: 20px 0; cursor: pointer; user-select: none; transition: background 0.12s ease, transform 0.08s ease; min-height: 64px; } .loginKey:hover { background: var(--mir-green-hover); } .loginKey:active { transform: scale(0.97); } .loginKey--wide { grid-column: span 2; } .loginKey--back { background: #3a3a3a; font-size: 22px; font-weight: 700; line-height: 1; } .loginKey--back:hover { background: #2a2a2a; } .loginScreen.is-loading .loginKey { opacity: 0.55; pointer-events: none; } .loginHelp { color: #666; font-size: 14px; line-height: 1.55; } .loginHelpTitle { margin: 0 0 16px; color: #222; font-size: 1.35rem; font-weight: 700; line-height: 1.3; } .loginHelp p { margin: 0 0 14px; } .loginHelp p:last-child { margin-bottom: 0; } .loginForms { display: flex; flex-direction: column; justify-content: center; min-height: 220px; } .loginForm { display: grid; gap: 18px; } .loginField { display: grid; gap: 8px; } .loginFieldLabel { font-size: 14px; font-weight: 700; color: #222; } .loginField input { width: 100%; padding: 10px 12px; font-size: 15px; border: 1px solid #c5c5c5; border-radius: 4px; background: #fff; color: #111; box-sizing: border-box; } .loginField input:focus { outline: 2px solid rgba(61, 108, 179, 0.35); border-color: var(--mir-blue); } .loginField input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff8d6 inset; box-shadow: 0 0 0 1000px #fff8d6 inset; } .loginSubmit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; margin-top: 4px; padding: 10px 22px; border: none; border-radius: 6px; background: var(--mir-green); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.15s ease; } .loginSubmit:hover { background: var(--mir-green-hover); } .loginSubmit:active { transform: translateY(1px); } .loginSubmitIcon { flex-shrink: 0; opacity: 0.95; } .loginScreen.is-loading .loginSubmit { opacity: 0.75; pointer-events: none; } .loginError { color: #b42318; font-size: 13px; margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.25); } @media (max-width: 768px) { .loginHeader { flex-direction: column; align-items: stretch; } .loginHeaderRight { flex-direction: column; align-items: stretch; margin-left: 0; } .loginHeaderPrompt { padding-bottom: 0; } .loginTabs { width: 100%; } .loginTab { flex: 1; text-align: center; border-radius: 6px 6px 0 0; white-space: normal; font-size: 13px; padding: 10px 8px; } .loginPanel { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px 28px; } .loginKeypad { width: 100%; max-width: 320px; } .loginCard { border-radius: 8px; } } .userMenuWrap { position: relative; } .userMenuBtn { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .userMenuPanel { position: absolute; top: calc(100% + 6px); right: 0; min-width: 220px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow2); padding: 8px; z-index: 50; } .userMenuHeader { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; } .userMenuName { font-weight: 600; } .userMenuGroup { font-size: 12px; } .userMenuItem { display: block; width: 100%; text-align: left; border: none; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; } .userMenuItem:hover { background: var(--panel2); } .userMenuItemDanger { color: var(--danger); } body.auth-readonly-config #saveLayoutBtn, body.auth-readonly-config .btn.primary[data-write-config] { display: none !important; } body.auth-readonly-missions .missionToolbar .btn.primary, body.auth-readonly-missions #missionCreateBtn { pointer-events: none; opacity: 0.45; } body.auth-readonly-integrations .integrationToolbar .btn.primary { pointer-events: none; opacity: 0.45; } .page[hidden] { display: none !important; } /* --- Maps (MiR §4.2) --- */ #pageMaps { position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden; } #mapsListView[hidden], #mapsCreateView[hidden], #mapEditorView[hidden] { display: none !important; } #mapEditorView:not([hidden]) { position: absolute; inset: 0; z-index: 5; } .mapsMirPage { --mir-green: #5cb85c; --mir-green-hover: #4cae4c; --mir-blue: #337ab7; --mir-blue-hover: #286090; width: 100%; min-width: 0; flex: 1; min-height: 0; padding: 24px 32px 32px; font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; background: #fff; overflow: auto; box-sizing: border-box; } .mapsMirCreatePage { --mir-green: #5cb85c; --mir-green-hover: #4cae4c; width: 100%; min-width: 0; flex: 1; min-height: 0; padding: 24px 32px 40px; font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; background: #fff; overflow: auto; box-sizing: border-box; } .mapsMirCreateHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; width: 100%; } .mapsMirCreateTitle { margin: 0; font-size: 32px; font-weight: 400; color: #222; letter-spacing: -0.02em; line-height: 1.15; } .mapsMirCreateSubtitle { margin: 6px 0 0; font-size: 15px; color: #555; display: flex; align-items: center; gap: 8px; } .mapsMirGoBackBtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #ccc; border-radius: 4px; background: #f5f5f5; color: #444; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; } .mapsMirGoBackBtn:hover { background: #ececec; } .mapsMirCreateForm { width: 100%; max-width: none; } .mapsMirCreatePanel { border: 1px solid #ddd; background: #fff; padding: 24px 28px 28px; display: grid; gap: 22px; max-width: 100%; box-sizing: border-box; } .mapsMirCreateField { display: grid; gap: 8px; } .mapsMirCreateFieldLabel { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #333; } .mapsMirFieldHelpBtn { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 1px solid #bbb; border-radius: 50%; background: #fff; color: #666; font-size: 10px; font-weight: 700; line-height: 1; cursor: help; } .mapsMirCreateField input, .mapsMirCreateField select { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 3px; font-size: 14px; box-sizing: border-box; background: #fff; } .mapsMirCreateField input:focus, .mapsMirCreateField select:focus { outline: 2px solid rgba(51, 122, 183, 0.25); border-color: var(--mir-blue); } .mapsMirSitePicker { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; } .mapsMirSitePicker select { flex: 1 1 240px; min-width: 200px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 3px; font-size: 14px; background: #fff; } .mapsMirSiteManageBtn { flex: 0 0 auto; padding: 10px 16px; border: 1px solid #ccc; border-radius: 3px; background: #f5f5f5; color: #444; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; } .mapsMirSiteManageBtn:hover { background: #ececec; } .mapsMirCreateActions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 8px; } .mapsMirCreateSubmitBtn, .mapsMirCreateCancelBtn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border: none; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1.2; } .mapsMirCreateSubmitBtn { background: var(--mir-green); color: #fff; } .mapsMirCreateSubmitBtn:hover { background: var(--mir-green-hover); } .mapsMirCreateCancelBtn { background: #e8e8e8; color: #444; } .mapsMirCreateCancelBtn:hover { background: #ddd; } .mapsMirCircleIcon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, 0.18); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; flex-shrink: 0; } .mapsMirCircleIcon--ok { background: rgba(255, 255, 255, 0.25); } .mapsMirHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; width: 100%; } .mapsMirTitle { margin: 0; font-size: 32px; font-weight: 400; color: #222; letter-spacing: -0.02em; line-height: 1.15; } .mapsMirSubtitle { margin: 6px 0 0; font-size: 15px; color: #555; display: flex; align-items: center; gap: 8px; } .mapsMirHelpBtn { display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: #444; cursor: pointer; padding: 2px; border-radius: 50%; } .mapsMirHelpBtn:hover { color: #111; } .mapsMirHeaderActions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .mapsMirBtn { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 4px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.12s ease; line-height: 1.2; } .mapsMirBtn svg { flex-shrink: 0; } .mapsMirBtn--green { background: var(--mir-green, #5cb85c); color: #fff; } .mapsMirBtn--green:hover { background: var(--mir-green-hover, #4cae4c); } .mapsMirBtn--outline { background: #fff; color: #555; border: 1px solid #ccc; } .mapsMirBtn--outline:hover { background: #f5f5f5; } .mapsMirActiveHint { margin-bottom: 12px; padding: 8px 12px; background: #eef8ee; border: 1px solid #c8e6c8; border-radius: 4px; font-size: 13px; color: #2d6a2d; } .mapsMirFilterBar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%; padding: 12px 16px; background: #f0f0f0; border: 1px solid #ddd; border-bottom: none; font-size: 14px; box-sizing: border-box; } .mapsMirFilterLabel { font-weight: 600; color: #333; white-space: nowrap; } .mapsMirFilterInput { flex: 1 1 280px; min-width: 200px; max-width: none; padding: 8px 12px; border: 1px solid #ccc; border-radius: 3px; font-size: 14px; } .mapsMirFilterCount { color: #666; white-space: nowrap; } .mapsMirPager { display: flex; align-items: center; gap: 4px; margin-left: auto; } .mapsMirPageBtn { min-width: 28px; height: 28px; padding: 0 6px; border: 1px solid var(--mir-blue); background: var(--mir-blue); color: #fff; border-radius: 3px; cursor: pointer; font-size: 14px; line-height: 1; } .mapsMirPageBtn:hover:not(:disabled) { background: var(--mir-blue-hover); } .mapsMirPageBtn:disabled { opacity: 0.45; cursor: default; } .mapsMirPageLabel { padding: 0 8px; color: #444; font-size: 13px; } .mapsMirTableWrap { width: 100%; align-self: stretch; border: 1px solid #ddd; background: #fff; box-sizing: border-box; } .mapsMirTable { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; } .mapsMirTable thead th { text-align: left; padding: 12px 16px; font-weight: 600; font-size: 13px; color: #333; border-bottom: 1px solid #ddd; background: #fafafa; } .mapsMirTable thead th:first-child { width: auto; } .mapsMirTable thead th:nth-child(2) { width: 22%; } .mapsMirThFunctions { width: 148px; text-align: right !important; } .mapsMirSiteRow td { padding: 12px 16px 8px; font-weight: 700; font-size: 15px; color: #222; background: #fff; border-top: 1px solid #eee; } .mapsMirSiteRow:first-child td { border-top: none; } .mapsMirRow td { padding: 10px 16px; border-top: 1px solid #f0f0f0; vertical-align: middle; height: 48px; } .mapsMirRow:hover { background: #f9fbff; } .mapsMirNameCell { display: flex; align-items: center; gap: 8px; padding-left: 8px; } .mapsMirMapIcon { color: #888; flex-shrink: 0; } .mapsMirNameLink { border: none; background: transparent; padding: 0; font: inherit; color: #337ab7; cursor: pointer; text-align: left; } .mapsMirNameLink:hover { text-decoration: underline; } .mapsActiveBadge { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; border-radius: 3px; background: var(--mir-green); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; vertical-align: middle; } .mapsMirCellCreatedBy { color: #555; } .mapsMirCellActions { text-align: right; } .mapsMirRowActions { display: inline-flex; gap: 4px; justify-content: flex-end; } .mapsMirIconBtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #ccc; border-radius: 3px; background: #f8f8f8; color: #555; cursor: pointer; } .mapsMirIconBtn:hover { background: #eee; color: #222; } .mapsMirIconBtn--danger:hover { background: #fdecea; border-color: #e0b4b4; color: #a94442; } .mapsMirEmpty { padding: 32px 16px; text-align: center; color: #888; font-size: 14px; } .mapsMirDialog { --mir-green: #5cb85c; --mir-green-hover: #4cae4c; border: none; border-radius: 6px; padding: 0; max-width: 420px; width: min(420px, 92vw); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2); } .mapsMirDialog::backdrop { background: rgba(0, 0, 0, 0.35); } .mapsMirDialog form, .mapsMirDialog--menu, .mapsMirDialogPanel { padding: 20px 22px; } .mapsMirDialog--mapMenu { max-width: 720px; width: min(720px, 94vw); padding: 24px 28px 20px; border: 1px solid #333; border-radius: 4px; } .mapsMirMapMenuTitle { margin-bottom: 22px; font-size: 17px; font-weight: 700; color: #1a1a1a; } .mapsMirMapMenuGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; } .mapsMirMapMenuAction { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 0; border: none; background: transparent; text-align: left; cursor: pointer; border-radius: 4px; } .mapsMirMapMenuAction:hover:not(:disabled) .mapsMirMapMenuIcon { background: #e8e8e8; border-color: #ccc; } .mapsMirMapMenuAction:disabled { cursor: default; opacity: 0.45; } .mapsMirMapMenuIcon { display: flex; align-items: center; justify-content: center; flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid #d5d5d5; border-radius: 4px; background: #f0f0f0; } .mapsMirMapMenuText { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; min-width: 0; } .mapsMirMapMenuLabel { font-size: 14px; font-weight: 700; color: #222; line-height: 1.3; } .mapsMirMapMenuDesc { font-size: 12px; color: #888; line-height: 1.45; } .mapsMirMapMenuFooter { margin-top: 28px; padding-top: 4px; } .mapsMirMapMenuCancelBtn { background: var(--mir-green, #5cb85c); color: #fff; min-width: 96px; } .mapsMirMapMenuCancelBtn:hover { background: var(--mir-green-hover, #4cae4c); } body.auth-readonly-maps-page .mapsMirMapMenuCancelBtn { display: inline-flex !important; } @media (max-width: 640px) { .mapsMirMapMenuGrid { grid-template-columns: 1fr; } } .mapsMirDialogTitle { margin: 0 0 16px; font-size: 18px; font-weight: 600; color: #222; } .mapsMirDialogText { margin: 0 0 16px; font-size: 14px; color: #444; line-height: 1.5; } .mapsMirField { display: grid; gap: 6px; margin-bottom: 14px; } .mapsMirFieldRow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .mapsMirFieldLabel { font-size: 13px; font-weight: 600; color: #333; } .mapsMirField input, .mapsMirField select, .mapsMirField textarea { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 3px; font-size: 14px; box-sizing: border-box; } .mapsMirLinkBtn { border: none; background: transparent; color: #337ab7; font-size: 13px; cursor: pointer; padding: 0; margin: -6px 0 12px; text-align: left; } .mapsMirLinkBtn:hover { text-decoration: underline; } .mapsMirDialogFooter { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; } .mapsMirDialogFooter--inline { justify-content: flex-start; margin-top: 8px; } .mapsMirField--checkbox { display: flex; align-items: center; gap: 8px; } .mapsMirField--checkbox input { width: auto; } .mapsMirMenuList { list-style: none; margin: 0; padding: 0; } .mapsMirMenuItem { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; border: none; background: transparent; padding: 10px 4px; font-size: 14px; cursor: pointer; border-radius: 4px; } .mapsMirMenuItem:hover:not(:disabled) { background: #f0f4f8; } .mapsMirMenuItem--disabled, .mapsMirMenuItem:disabled { opacity: 0.55; cursor: default; } .mapsMirMenuHint { font-size: 11px; color: #888; margin-left: 8px; } .mapsMirMenuDivider { height: 1px; background: #e0e0e0; margin: 6px 0; } /* Map editor — MiR §4.2.3 Mapping tools */ .mapEditorPage { --mir-green: #5cb85c; --mir-green-hover: #4cae4c; display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fff; font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif; } .mapEditorHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 28px 12px; background: #fff; flex-shrink: 0; } .mapEditorHeaderIntro { min-width: 0; flex: 1; } .mapEditorTitleRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .mapEditorTitle { margin: 0; font-size: 32px; font-weight: 400; color: #222; letter-spacing: -0.02em; line-height: 1.15; } .mapEditorGearBtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: 4px; background: transparent; color: #555; cursor: pointer; } .mapEditorGearBtn:hover { background: #f0f0f0; color: #222; } .mapEditorSubtitle { margin: 6px 0 0; font-size: 15px; color: #555; display: flex; align-items: center; gap: 8px; } .mapEditorGoBackBtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #ccc; border-radius: 4px; background: #f5f5f5; color: #444; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; } .mapEditorGoBackBtn:hover { background: #ececec; } .mapEditorDirtyBadge { font-size: 12px; padding: 3px 8px; border-radius: 4px; background: #fff3cd; color: #856404; border: 1px solid #ffc107; } /* §4.2.3 horizontal mapping toolbar (MiR-style) */ .mapEditorMappingBar { display: flex; align-items: stretch; flex-wrap: nowrap; padding: 0; background: linear-gradient(180deg, #ececec 0%, #d8d8d8 100%); border-top: 1px solid #b8b8b8; border-bottom: 1px solid #b0b0b0; flex-shrink: 0; min-height: 40px; overflow-x: auto; position: relative; z-index: 20; } .mapEditorObjectTypePicker.is-open { z-index: 210; } .mapEditorMappingBarSpacer { flex: 0 0 44px; width: 44px; min-height: 40px; border-right: 1px solid #c4c4c4; background: linear-gradient(180deg, #ececec 0%, #d8d8d8 100%); } .mapEditorMapTool { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: none; border-right: 1px solid #c4c4c4; border-radius: 0; background: transparent; color: #3a3a3a; cursor: pointer; } .mapEditorMapTool:hover:not(:disabled) { background: rgba(255, 255, 255, 0.45); } .mapEditorMapTool:disabled { color: #b0b0b0; cursor: default; } .mapEditorMapTool.is-active { background: rgba(255, 255, 255, 0.35); color: var(--mir-green, #5cb85c); } .mapEditorMapTool.is-active:hover { background: rgba(255, 255, 255, 0.5); } .mapEditorObjectTypePicker { position: relative; flex: 1 1 220px; min-width: 180px; max-width: none; border-right: 1px solid #c4c4c4; } .mapEditorObjectTypeBtn { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 28px 0 10px; border: none; border-radius: 0; background: #fff; color: #555; font-size: 13px; text-align: left; cursor: pointer; } .mapEditorObjectTypeBtn:hover:not(:disabled) { background: #fafafa; } .mapEditorObjectTypeBtn:disabled { color: #b0b0b0; cursor: not-allowed; background: #f5f5f5; } .mapEditorObjectTypeBtn[aria-expanded="true"] { background: #fafafa; } .mapEditorObjectTypeIcon, .mapEditorObjectTypeOptionIcon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #666; } .mapEditorObjectTypeIcon { width: 20px; height: 20px; } .mapEditorObjectTypeOptionIcon { width: 22px; height: 22px; } .mapEditorObjectTypeOptionIcon--wall { color: #1a1a1a; } .mapEditorObjectTypeOptionIcon--floor { color: #666; } .mapEditorObjectTypeOptionIcon--position { color: #2980b9; } .mapEditorObjectTypeOptionIcon--forbidden { color: #c0392b; } .mapEditorObjectTypeOptionIcon--preferred { color: #27ae60; } .mapEditorObjectTypeOptionIcon--unpreferred { color: #8e44ad; } .mapEditorObjectTypeOptionIcon--speed { color: #e67e22; } .mapEditorObjectTypeOptionIcon--sound { color: #3498db; } .mapEditorObjectTypeOptionIcon--directional { color: #16a085; } .mapEditorObjectTypeOptionIcon--directionalLine { color: #1abc9c; } .mapEditorObjectTypeOptionIcon--planner { color: #7f8c8d; } .mapEditorObjectTypeOptionIcon--io { color: #566573; } .mapEditorObjectTypeLabel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mapEditorObjectTypeChevron { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #666; pointer-events: none; } .mapEditorObjectTypeMenu { position: fixed; z-index: 200; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #c4c4c4; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); } .mapEditorObjectTypeMenu[hidden] { display: none !important; } .mapEditorObjectTypeOption { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; color: #444; cursor: pointer; } .mapEditorObjectTypeOption:hover, .mapEditorObjectTypeOption.is-selected { background: rgba(92, 184, 92, 0.12); } .mapEditorObjectTypeOption.is-selected { color: var(--mir-green, #5cb85c); font-weight: 600; } .mapEditorCanvasWrap { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #b8b8b8; display: flex; flex-direction: column; border-radius: 0; } .mapEditorCanvasWrap.is-panning { cursor: grabbing; } .mapEditorCanvasWrap.is-pan-tool { cursor: grab; } .mapEditorCanvasTip { position: absolute; top: 16px; left: 16px; z-index: 10; max-width: min(420px, calc(100% - 32px)); padding: 10px 14px; border-radius: 4px; background: rgba(50, 50, 50, 0.92); color: #fff; font-size: 13px; line-height: 1.45; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); pointer-events: none; } .mapEditorCanvasTip[hidden] { display: none !important; } .mapEditorViewport { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 0; } .mapEditorCanvasInner { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; } /* Layer 2 — image / floor plan space (1 CSS px = 1 image px). */ .mapEditorImageLayer { position: relative; transform-origin: 0 0; user-select: none; } .mapEditorSheet { position: relative; min-width: 480px; min-height: 360px; background: transparent; user-select: none; border-radius: 0; } .mapEditorSheet--blank { background: #fafafa; } .mapEditorSheet--hasImage { background: transparent; min-width: 0; min-height: 0; box-shadow: none; } .mapEditorSheetGrid { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.45; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px), linear-gradient(to right, rgba(0, 0, 0, 0.18) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 1px, transparent 1px); background-size: var(--map-grid-minor, 20px) var(--map-grid-minor, 20px), var(--map-grid-minor, 20px) var(--map-grid-minor, 20px), var(--map-grid-major, 100px) var(--map-grid-major, 100px), var(--map-grid-major, 100px) var(--map-grid-major, 100px); } .mapEditorOrigin { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 3; } .mapEditorOriginAxis { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; } .mapEditorOriginAxis--x { width: 36px; height: 2px; top: -1px; left: 0; background: #e74c3c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); } .mapEditorOriginAxis--z { width: 2px; height: 36px; left: -1px; top: -36px; background: #27ae60; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); } .mapEditorOriginDot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #e67e22; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); pointer-events: none; } .mapEditorOriginHit { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; padding: 0; margin: 0; border: none; border-radius: 50%; background: transparent; pointer-events: none; cursor: inherit; z-index: 5; appearance: none; font: inherit; color: inherit; } .mapEditorOriginHit:focus { outline: none; } .mapEditorOriginHit:focus-visible { outline: 2px solid rgba(230, 126, 34, 0.85); outline-offset: 2px; } .mapEditorOriginLabel { position: absolute; left: 8px; top: -48px; padding: 2px 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(230, 126, 34, 0.55); color: #c0392b; font-size: 11px; font-weight: 600; white-space: nowrap; line-height: 1.3; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); pointer-events: none; visibility: hidden; opacity: 0; transition: opacity 0.12s ease; } .mapEditorOrigin:has(.mapEditorOriginHit:hover) .mapEditorOriginLabel, .mapEditorOrigin:has(.mapEditorOriginHit:focus-visible) .mapEditorOriginLabel, .mapEditorOrigin.mapEditorOrigin--showLabel .mapEditorOriginLabel { visibility: visible; opacity: 1; } .mapEditorOrigin--offMap .mapEditorOriginLabel { color: #888; border-color: #ccc; } .mapEditorImageLoader { position: absolute; width: 0; height: 0; opacity: 0; visibility: hidden; pointer-events: none; } .mapEditorOccupancyCanvas { display: block; position: relative; z-index: 1; width: 100%; height: 100%; max-width: none; border-radius: 0; background: transparent; image-rendering: pixelated; image-rendering: crisp-edges; user-select: none; pointer-events: none; } .mapEditorObjectsSvg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; } .mapEditorObjectsSvg .mapObjWall { stroke: #1a1a1a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg .mapObjWall--selected { stroke: #e67e22; stroke-width: 4; } .mapEditorObjectsSvg .mapObjWall--draft { stroke: #3498db; stroke-dasharray: 6 4; } .mapEditorObjectsSvg .mapObjFloor { fill: rgba(255, 255, 255, 0.82); stroke: none; vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg .mapObjFloor--selected { fill: rgba(230, 126, 34, 0.25); } .mapEditorObjectsSvg .mapObjFloor--draft { fill: rgba(52, 152, 219, 0.2); } .mapEditorObjectsSvg .mapObjDraftLine { stroke: #3498db; stroke-width: 2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg .mapObjVertex { fill: #3498db; stroke: #fff; stroke-width: 1; } .mapEditorObjectsSvg .mapObjCloseHint { fill: none; stroke: #27ae60; stroke-width: 2; vector-effect: non-scaling-stroke; } /* Zone colours: polygon = fill only, polyline = stroke (same colour). */ .mapEditorObjectsSvg .mapObjForbidden { --map-obj-color: rgba(231, 76, 60, 0.28); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjForbidden { stroke: none; } .mapEditorObjectsSvg polyline.mapObjForbidden { fill: none; stroke-linecap: round; stroke-linejoin: round; } .mapEditorObjectsSvg .mapObjForbidden--selected { --map-obj-color: rgba(231, 76, 60, 0.42); } .mapEditorObjectsSvg .mapObjForbidden--draft { --map-obj-color: rgba(231, 76, 60, 0.18); } .mapEditorObjectsSvg polyline.mapObjForbidden--draft { stroke-dasharray: 6 4; } .mapEditorObjectsSvg .mapObjPreferred { --map-obj-color: rgba(92, 184, 92, 0.28); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjPreferred { stroke: none; } .mapEditorObjectsSvg polyline.mapObjPreferred { fill: none; stroke-linecap: round; stroke-linejoin: round; } .mapEditorObjectsSvg .mapObjPreferred--selected { --map-obj-color: rgba(92, 184, 92, 0.42); } .mapEditorObjectsSvg .mapObjPreferred--draft { --map-obj-color: rgba(92, 184, 92, 0.18); } .mapEditorObjectsSvg polyline.mapObjPreferred--draft { stroke-dasharray: 6 4; } .mapEditorObjectsSvg .mapObjUnpreferred { --map-obj-color: rgba(155, 89, 182, 0.24); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjUnpreferred { stroke: none; } .mapEditorObjectsSvg polyline.mapObjUnpreferred { fill: none; stroke-linecap: round; stroke-linejoin: round; } .mapEditorObjectsSvg .mapObjUnpreferred--selected { --map-obj-color: rgba(155, 89, 182, 0.38); } .mapEditorObjectsSvg .mapObjUnpreferred--draft { --map-obj-color: rgba(155, 89, 182, 0.16); } .mapEditorObjectsSvg polyline.mapObjUnpreferred--draft { stroke-dasharray: 6 4; } .mapEditorObjectsSvg .mapObjSpeed { --map-obj-color: rgba(243, 156, 18, 0.28); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjSpeed { stroke: none; } .mapEditorObjectsSvg .mapObjSpeed--selected { --map-obj-color: rgba(243, 156, 18, 0.42); } .mapEditorObjectsSvg .mapObjSpeed--draft { --map-obj-color: rgba(243, 156, 18, 0.18); } .mapEditorObjectsSvg .mapObjSound { --map-obj-color: rgba(52, 152, 219, 0.24); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjSound { stroke: none; } .mapEditorObjectsSvg .mapObjSound--selected { --map-obj-color: rgba(52, 152, 219, 0.38); } .mapEditorObjectsSvg .mapObjSound--draft { --map-obj-color: rgba(52, 152, 219, 0.16); } .mapEditorObjectsSvg .mapObjDirectional { --map-obj-color: rgba(26, 188, 156, 0.22); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjDirectional { stroke: none; } .mapEditorObjectsSvg polyline.mapObjDirectional { fill: none; stroke-linecap: round; stroke-linejoin: round; } .mapEditorObjectsSvg .mapObjDirectional--selected { --map-obj-color: rgba(26, 188, 156, 0.36); } .mapEditorObjectsSvg .mapObjDirectional--draft { --map-obj-color: rgba(26, 188, 156, 0.14); } .mapEditorObjectsSvg polyline.mapObjDirectional--draft { stroke-dasharray: 6 4; } .mapEditorObjectsSvg .mapObjDirectionArrow { pointer-events: none; } .mapEditorObjectsSvg .mapObjDirectionShaft { stroke: #117a65; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg .mapObjDirectionHead { fill: #117a65; stroke: none; } .mapEditorObjectsSvg .mapObjDirectionArrow--selected .mapObjDirectionShaft { stroke: #0e6655; } .mapEditorObjectsSvg .mapObjDirectionArrow--selected .mapObjDirectionHead { fill: #0e6655; } .mapEditorObjectsSvg .mapObjPlannerSettings { --map-obj-color: rgba(127, 140, 141, 0.22); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjPlannerSettings { stroke: none; } .mapEditorObjectsSvg polyline.mapObjPlannerSettings { fill: none; stroke-linecap: round; stroke-linejoin: round; } .mapEditorObjectsSvg .mapObjPlannerSettings--selected { --map-obj-color: rgba(127, 140, 141, 0.34); } .mapEditorObjectsSvg .mapObjPlannerSettings--draft { --map-obj-color: rgba(127, 140, 141, 0.14); } .mapEditorObjectsSvg polyline.mapObjPlannerSettings--draft { stroke-dasharray: 6 4; } .mapEditorObjectsSvg .mapObjIo { --map-obj-color: rgba(86, 101, 115, 0.24); fill: var(--map-obj-color); stroke: var(--map-obj-color); vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg polygon.mapObjIo { stroke: none; } .mapEditorObjectsSvg .mapObjIo--selected { --map-obj-color: rgba(86, 101, 115, 0.38); } .mapEditorObjectsSvg .mapObjIo--draft { --map-obj-color: rgba(86, 101, 115, 0.16); } .mapEditorObjectsSvg .mapObjVertex--handle { fill: #e67e22; stroke: #fff; stroke-width: 1.5; cursor: grab; } .mapEditorObjectsSvg .mapObjSelectionRect { fill: rgba(231, 76, 60, 0.12); stroke: #e74c3c; stroke-width: 1.5; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg .mapObjPositionShaft { stroke: #2980b9; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; } .mapEditorObjectsSvg .mapObjPositionHead { fill: #2980b9; stroke: none; } .mapEditorObjectsSvg .mapObjPositionDot { fill: #fff; stroke: #2980b9; stroke-width: 2; } .mapEditorObjectsSvg .mapObjPosition--selected .mapObjPositionShaft { stroke: #e67e22; } .mapEditorObjectsSvg .mapObjPosition--selected .mapObjPositionHead { fill: #e67e22; } .mapEditorObjectsSvg .mapObjPosition--selected .mapObjPositionDot { stroke: #e67e22; } .mapEditorCanvasWrap.is-erase-selection-tool { cursor: crosshair; } .mapEditorCanvasWrap.is-erase-selection-tool .mapEditorViewport { cursor: crosshair; } .mapEditorCanvasWrap.is-draw-tool { cursor: crosshair; } .mapEditorCanvasWrap.is-draw-tool .mapEditorViewport { cursor: crosshair; } .mapEditorCanvasWrap.is-eraser-tool { cursor: cell; } .mapEditorCanvasWrap.is-eraser-tool .mapEditorViewport { cursor: cell; } .mapEditorSourceCanvas { position: absolute; width: 0; height: 0; opacity: 0; visibility: hidden; pointer-events: none; } .mapEditorBaseCanvas { position: absolute; width: 0; height: 0; opacity: 0; visibility: hidden; pointer-events: none; } .mapEditorStatusBar { flex-shrink: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px 12px; background: rgba(32, 32, 32, 0.94); color: #ddd; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; border-top: 1px solid rgba(255, 255, 255, 0.08); } .mapEditorStatusItem { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mapEditorStatusItem--view::before { content: "View · "; color: #8ab4f8; font-weight: 600; } .mapEditorStatusItem--image::before { content: "Image · "; color: #81c995; font-weight: 600; } .mapEditorStatusItem--world::before { content: "World · "; color: #f9ab00; font-weight: 600; } .mapEditorEmpty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; color: #888; font-size: 14px; text-align: center; pointer-events: none; } .mapEditorEmpty[hidden] { display: none !important; } body.auth-readonly-maps-page #mapsListView .mapsMirBtn--green, body.auth-readonly-maps-page #mapsCreateView .mapsMirBtn--green, body.auth-readonly-maps-page .mapsMirIconBtn[data-edit], body.auth-readonly-maps-page .mapsMirIconBtn[data-delete], body.auth-readonly-maps-page #mapsCreateOpenBtn, body.auth-readonly-maps-page #mapsImportSiteBtn { display: none !important; } /* Sites management dialog (MiR §4.2.2) */ .mapsMirSitesDialog { border: none; border-radius: 0; padding: 0; max-width: min(720px, 94vw); width: 720px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28); background: transparent; } .mapsMirSitesDialog::backdrop { background: rgba(0, 0, 0, 0.45); } .mapsMirSitesDialogInner { background: #fff; padding: 22px 26px 24px; } .mapsMirSitesHeader { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .mapsMirSitesTitle { margin: 0; font-size: 28px; font-weight: 400; color: #222; letter-spacing: -0.02em; } .mapsMirSitesCreateBtn { border: none; border-radius: 4px; padding: 9px 16px; background: #337ab7; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; } .mapsMirSitesCreateBtn:hover { background: #286090; } .mapsMirSitesHelp { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #444; } .mapsMirSitesDivider { height: 1px; background: #ddd; margin-bottom: 0; } .mapsMirSitesList { list-style: none; margin: 0; padding: 0; max-height: min(360px, 50vh); overflow-y: auto; } .mapsMirSitesEmpty { padding: 24px 4px; color: #888; font-size: 14px; } .mapsMirSitesItem { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eee; min-height: 48px; } .mapsMirSitesItem.is-selected { background: #f0f6fc; } .mapsMirSitesItemMain { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; border: none; background: transparent; padding: 12px 4px; text-align: left; cursor: pointer; font: inherit; color: #222; } .mapsMirSitesItemMain:hover { color: #337ab7; } .mapsMirSitesChevron { display: inline-flex; color: #888; flex-shrink: 0; } .mapsMirSitesItemName { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mapsMirSitesItemActions { display: flex; gap: 6px; flex-shrink: 0; padding-right: 4px; } .mapsMirSitesIconBtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #ccc; border-radius: 3px; background: #f8f8f8; color: #555; cursor: pointer; } .mapsMirSitesIconBtn:hover { background: #eee; color: #222; } .mapsMirSitesIconBtn--danger:hover { background: #fdecea; border-color: #e0b4b4; color: #a94442; } .mapsMirSitesFooter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; padding-top: 4px; } .mapsMirSitesOkBtn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border: none; border-radius: 4px; background: var(--mir-green, #5cb85c); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; } .mapsMirSitesOkBtn:hover { background: var(--mir-green-hover, #4cae4c); } .mapsMirSitesCancelBtn { padding: 10px 18px; border: none; border-radius: 4px; background: #e8e8e8; color: #444; font-size: 14px; font-weight: 600; cursor: pointer; } .mapsMirSitesCancelBtn:hover { background: #ddd; }