html, body, #root { height: 100%; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #f5f5f5; } .app-logo { height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; } .app-logo-icon { font-size: 22px; flex-shrink: 0; } .app-logo-text { overflow: hidden; text-overflow: ellipsis; } .app-header { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); height: 56px; line-height: normal; } .header-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .header-trigger { font-size: 18px; flex-shrink: 0; } .header-user { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: background 0.2s; flex-shrink: 0; } .header-user:hover { background: rgba(0, 0, 0, 0.04); } .header-username { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .app-content { padding: 24px; background: #f5f5f5; } .page-card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); } .login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%); padding: 16px; } .login-card { width: 100%; max-width: 400px; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); } .login-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; font-size: 22px; font-weight: 600; color: #1668dc; } /* mobile adjustments */ @media (max-width: 768px) { .app-content { padding: 12px; } .page-card { padding: 16px; } .header-username { max-width: 90px; } .header-title { display: none; } } /* === Node editor (Flows) === */ .flow-editor { display: flex; flex-direction: column; height: calc(100vh - 104px); min-height: 480px; gap: 12px; } .flow-editor__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: 8px; padding: 12px 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); flex-shrink: 0; } .flow-editor__body { display: flex; gap: 12px; flex: 1; min-height: 0; } .flow-palette { width: 240px; flex-shrink: 0; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); display: flex; flex-direction: column; overflow: hidden; } .flow-palette__header { padding: 12px 16px; font-weight: 600; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; } .flow-palette__scroll { flex: 1; overflow-y: auto; padding: 8px; } .flow-palette__footer { padding: 8px 12px; font-size: 12px; color: #999; border-top: 1px solid #f0f0f0; flex-shrink: 0; } .flow-palette__group-title { font-size: 12px; font-weight: 600; text-transform: uppercase; color: #8c8c8c; padding: 8px 6px 4px; } .flow-palette__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; margin-bottom: 4px; border: 1px solid #e8e8e8; border-radius: 6px; cursor: grab; background: #fafafa; transition: border-color 0.2s, background 0.2s; } .flow-palette__item:hover { border-color: #1668dc; background: #fff; } .flow-palette__item:active { cursor: grabbing; } .flow-palette__item-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .flow-palette__item-ports { display: flex; gap: 4px; flex-shrink: 0; } .flow-palette__item-ports span { font-size: 11px; color: #1668dc; background: rgba(22, 104, 220, 0.08); border-radius: 4px; padding: 1px 5px; } .flow-editor__canvas { flex: 1; min-width: 0; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); overflow: hidden; } .flow-node { background: #fff; border: 1.5px solid #d9d9d9; border-radius: 8px; padding: 12px 26px; min-width: 200px; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); font-size: 13px; } .flow-node--selected { border-color: #1668dc; box-shadow: 0 0 0 2px rgba(22, 104, 220, 0.2); } .flow-node__settings { position: absolute; top: 2px; right: 2px; color: #bfbfbf; } .flow-node__settings:hover { color: #1668dc; } .flow-settings__table { width: 100%; } .flow-settings__row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; } .flow-settings__row--head { font-weight: 600; font-size: 12px; text-transform: uppercase; color: #8c8c8c; padding-top: 0; } .flow-settings__row:last-child { border-bottom: none; } .flow-settings__param { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; } .flow-settings__param > span { font-weight: 500; } .flow-node__title { font-weight: 600; white-space: nowrap; } .flow-node__sub { font-size: 11px; color: #8c8c8c; margin-top: 2px; text-transform: uppercase; } .flow-node__handle { width: 10px; height: 10px; background: #1668dc; border: 2px solid #fff; } .flow-node__handle:hover { width: 14px; height: 14px; transition: width 0.15s, height 0.15s; } .flow-node__port-label { position: absolute; transform: translateY(-50%); font-size: 10px; line-height: 1; color: #8c8c8c; white-space: nowrap; pointer-events: none; } .flow-node__port-label--in { left: 10px; text-align: left; } .flow-node__port-label--out { right: 10px; text-align: right; } .flow-conditions__item { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fafafa; }