/* Shared UI components — cards, buttons, forms, badges, states */ .muted { color: var(--jk-text-muted); font-size: 0.92rem; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .error { color: var(--jk-danger); font-size: 0.92rem; } .card { background: var(--jk-surface); border: 1px solid var(--jk-border); border-radius: var(--jk-radius-card); padding: 16px; box-shadow: var(--jk-shadow-card); } .card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .card-title { font-size: 13px; font-weight: 600; color: var(--jk-text-subtle); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; } .card-title--lg { font-size: 1.15rem; text-transform: none; letter-spacing: -0.01em; color: var(--jk-text); } .card-subtitle { font-size: 0.85rem; color: var(--jk-text-muted); margin: 4px 0 0; } .card-body { min-width: 0; } .card-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--jk-border); font-size: 0.9rem; } .card--alert { border-color: rgba(216, 90, 48, 0.25); background: color-mix(in srgb, var(--jk-warning-bg) 40%, var(--jk-surface)); } .widget-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: stretch; } .widget-card { min-width: 0; } .widget-card--span-full { grid-column: 1 / -1; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0.55rem 1rem; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; width: fit-content; min-height: 44px; transition: background 0.15s, border-color 0.15s, color 0.15s; } .btn:focus-visible { outline: 2px solid var(--jk-primary); outline-offset: 2px; } .btn:disabled { opacity: 0.55; cursor: not-allowed; } .btn-primary { background: var(--jk-primary); color: #fff; border-color: var(--jk-primary); } .btn-primary:hover:not(:disabled) { background: var(--jk-primary-dark); border-color: var(--jk-primary-dark); } .btn-secondary { background: var(--jk-surface); color: var(--jk-text); border-color: var(--jk-border-strong); } .btn-secondary:hover:not(:disabled) { background: var(--jk-surface-raised); } .btn-ghost { background: transparent; color: var(--jk-primary); border-color: transparent; padding-left: 0.5rem; padding-right: 0.5rem; min-height: auto; text-decoration: underline; text-underline-offset: 2px; } .btn-block-mobile { width: fit-content; } .link-inline { color: var(--jk-primary); font-weight: 600; text-decoration: none; } .link-inline:hover { text-decoration: underline; } .badge { display: inline-flex; align-items: center; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; line-height: 1.3; white-space: nowrap; } .status-active, .status-open { background: var(--jk-primary-soft); color: var(--jk-primary-dark); } .status-paused, .status-progress { background: color-mix(in srgb, var(--jk-primary) 12%, var(--jk-surface)); color: var(--jk-primary); } .status-blocked { background: var(--jk-warning-bg); color: #7a4b08; } .status-done, .status-completed { background: var(--jk-surface-raised); color: var(--jk-text-muted); border: 1px solid var(--jk-border); } .status-discarded, .status-archived { background: var(--jk-surface-raised); color: var(--jk-text-subtle); } .priority-low { background: var(--jk-surface-raised); color: var(--jk-text-muted); } .priority-normal { background: var(--jk-primary-soft); color: var(--jk-primary-dark); } .priority-high { background: var(--jk-warning-bg); color: #7a4b08; } .empty-state { padding: 1rem 0.25rem; color: var(--jk-text-muted); } .empty-state-title { font-weight: 600; color: var(--jk-text); margin: 0 0 0.35rem; } .empty-state-message { margin: 0; font-size: 0.92rem; line-height: 1.45; } .state-loading { color: var(--jk-text-muted); font-size: 0.92rem; padding: 0.5rem 0; } .state-error { color: var(--jk-danger); font-size: 0.92rem; } .state-error .btn { margin-top: 0.5rem; } .form { display: grid; gap: 0.85rem; } .form label, .form-field { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--jk-text); } .form input, .form textarea, .form select, .workspace-form input, .workspace-form textarea, .workspace-form select, .inline-select { padding: 0.55rem 0.65rem; border: 1px solid var(--jk-border-strong); border-radius: 10px; font: inherit; width: 100%; min-height: 44px; background: var(--jk-surface); color: var(--jk-text); } .form input:focus, .form textarea:focus, .form select:focus, .workspace-form input:focus, .workspace-form textarea:focus, .workspace-form select:focus { outline: 2px solid color-mix(in srgb, var(--jk-primary) 35%, transparent); border-color: var(--jk-primary); } .form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; } .item-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .list-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.65rem; align-items: flex-start; } .card-list-item { background: var(--jk-surface-raised); border: 1px solid var(--jk-border); border-radius: 10px; padding: 12px; } .attention-severity { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; } .attention-severity--critical { color: var(--jk-danger, #c0392b); } .attention-severity--warning { color: var(--jk-warning, #d68910); } .attention-severity--info { color: var(--jk-text-muted); } .attention-list .list-item-main { display: flex; flex-direction: column; gap: 0.15rem; } .list-item-main { flex: 1; min-width: 0; } .list-item-desc { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--jk-text-muted); line-height: 1.4; } .list-item-sub { font-size: 0.85rem; display: block; margin-top: 0.25rem; } .list-item-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; } .list-item-link { text-decoration: none; color: inherit; } .list-item-link strong { color: var(--jk-primary-dark); } .page-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; } .page-header h1 { margin: 0 0 0.25rem; font-size: 1.5rem; letter-spacing: -0.02em; } .page-lead { margin: 0; color: var(--jk-text-muted); font-size: 0.95rem; } .breadcrumb { font-size: 0.88rem; margin-bottom: 0.75rem; color: var(--jk-text-muted); } .breadcrumb a { color: var(--jk-primary); text-decoration: none; } .detail-goal { color: var(--jk-text-muted); margin: 0.5rem 0 0; line-height: 1.45; } .detail-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 0.65rem; } .section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1rem; } .section-header-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } .project-tree-list { margin-bottom: 0; } .project-tree-children { list-style: none; margin: 0; padding: 0 0 0 0.75rem; border-left: 2px solid var(--jk-border, #e2e8f0); } .project-tree-branch { list-style: none; margin: 0.35rem 0 0; } .project-tree-item { margin-left: 0; } .project-kind-badge { font-size: 0.75rem; margin-left: 0.35rem; } .journey-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; } .journey-event { padding: 0.85rem 1rem; } .journey-event-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.85rem; margin-bottom: 0.35rem; } .journey-event-kind { font-weight: 600; } .journey-event-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; } .gate-contributions-grid { display: grid; gap: 1rem; } @media (min-width: 640px) { .gate-contributions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .section-header h2 { margin: 0; font-size: 1rem; } .section-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; } .inline-form-card { margin-bottom: 1rem; } .inline-form-block { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--jk-border); } .checkbox-label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; min-height: 44px; } .actor-select { border: 1px solid var(--jk-border); border-radius: 10px; padding: 0.75rem; margin: 0; } .actor-select legend { font-size: 0.9rem; padding: 0 0.25rem; } .actor-select-hint { font-size: 0.85rem; margin: 0.35rem 0 0; } .action-controls { align-items: center; } /* Auth shell */ .auth-shell { max-width: 440px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 16px 32px; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; } .auth-hero { margin-bottom: 1.5rem; text-align: center; } .auth-hero h1 { margin: 0 0 0.35rem; font-size: 1.75rem; color: var(--jk-primary); letter-spacing: -0.02em; } .auth-hero p { margin: 0; color: var(--jk-text-muted); } .auth-card { margin-top: 0; } .setup-hint { background: var(--jk-primary-soft); border: 1px solid color-mix(in srgb, var(--jk-primary) 25%, transparent); border-radius: 10px; padding: 0.75rem; font-size: 0.92rem; margin: 0 0 1rem; color: var(--jk-text); } .setup-hint-muted { background: var(--jk-surface-raised); border-color: var(--jk-border); } .tabs { display: flex; gap: 0.35rem; margin-bottom: 1rem; } .tab { background: var(--jk-surface-raised); color: var(--jk-text-muted); border: 1px solid var(--jk-border); padding: 0.5rem 0.9rem; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; width: auto; } .tab.active { background: var(--jk-primary); color: #fff; border-color: var(--jk-primary); } .tab:disabled { opacity: 0.45; cursor: not-allowed; } @media (max-width: 768px) { .page-header { flex-direction: column; align-items: stretch; } .section-actions { width: 100%; justify-content: space-between; } .btn-block-mobile { width: 100%; } .form-actions .btn { flex: 1 1 auto; min-width: min(100%, 160px); } .list-item-meta { width: 100%; } .action-controls { width: 100%; justify-content: flex-start; } } @media (max-width: 390px) { .widget-grid { grid-template-columns: 1fr; } .nav-item { min-width: 64px; } .nav-item span { font-size: 9px; } } .steering-snapshot .snapshot-counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 0.75rem 1rem; margin: 0.75rem 0 0; } .steering-snapshot .snapshot-counts div { margin: 0; } .steering-snapshot .snapshot-counts dt { font-size: 0.75rem; color: var(--jk-muted, #666); margin: 0; } .steering-snapshot .snapshot-counts dd { margin: 0.15rem 0 0; font-weight: 600; } .steering-snapshot .snapshot-warn dd { color: var(--jk-warning, #b45309); } .steering-snapshot .snapshot-hint { font-size: 0.8rem; margin: 0.75rem 0 0; } .steering-guidance { margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--text-secondary, #555); } .steering-archetype-row { margin: 0 0 0.5rem; font-size: 0.875rem; } .snapshot-attention { font-weight: 500; } .steering-method-row { margin: 0.5rem 0 0; font-size: 0.9rem; } .steering-method-select { max-width: 100%; } .steering-phase-desc { margin: 0.5rem 0 0; color: var(--jk-text); } .steering-next-actions, .steering-milestones { margin-top: 1rem; } .steering-next-actions h3, .steering-milestones h3 { margin: 0 0 0.5rem; font-size: 0.9rem; } .compact-list .list-item.compact { padding: 0.5rem 0; } .next-action-list { list-style: none; padding: 0; margin: 0; } .next-action-rank { display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: var(--jk-surface-raised, #f3f4f6); font-size: 0.75rem; font-weight: 700; margin-right: 0.35rem; } .next-action-kind { font-size: 0.75rem; margin-right: 0.35rem; } .recommended-action { color: var(--jk-accent, #2563eb); font-weight: 500; } .action-links { font-size: 0.85rem; } /* AP1.1b — Initiative detail steering surface */ .section-lead { margin: 0.25rem 0 0; font-size: 0.875rem; max-width: 42rem; } .steering-snapshot--hero { border-color: var(--jk-accent-muted, #dbeafe); background: linear-gradient( 180deg, var(--jk-surface-raised, #f8fafc) 0%, var(--jk-surface, #fff) 100% ); } .steering-hero-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem 1rem; margin-bottom: 0.75rem; } .steering-hero-kicker { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--jk-accent, #2563eb); } .steering-hero-title { margin: 0.15rem 0 0; font-size: 1.15rem; line-height: 1.35; } .steering-lifecycle-badge { flex-shrink: 0; } .steering-hero-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 0.75rem; } .steering-stat-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; } .steering-stat-pill { display: flex; flex-direction: column; align-items: center; min-width: 3.25rem; padding: 0.35rem 0.6rem; border-radius: 0.5rem; background: var(--jk-surface, #fff); border: 1px solid var(--jk-border, #e5e7eb); } .steering-stat-pill--warn { border-color: var(--jk-warning-border, #fcd34d); background: var(--jk-warning-bg, #fffbeb); } .steering-stat-pill-value { font-weight: 700; font-size: 1rem; line-height: 1.2; } .steering-stat-pill-label { font-size: 0.7rem; color: var(--jk-text-muted, #6b7280); } .steering-hero-columns { display: grid; gap: 1rem; } @media (min-width: 768px) { .steering-hero-columns { grid-template-columns: 1fr 1fr; } } .steering-unlinked-hint { margin: 0.75rem 0 0; font-size: 0.85rem; } .initiative-actions-hub { border-width: 2px; } .action-hub-grid { display: grid; gap: 0.75rem; } .action-hub-card { border: 1px solid var(--jk-border, #e5e7eb); border-radius: 0.65rem; padding: 0.85rem 1rem; background: var(--jk-surface, #fff); } .action-hub-card--blocked { border-color: var(--jk-warning-border, #fbbf24); background: var(--jk-warning-bg, #fffbeb); } .action-hub-card--editing { padding: 0.5rem; } .action-hub-card-header { margin-bottom: 0.5rem; } .action-hub-card-title-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.5rem; } .action-hub-card-title { margin: 0; font-size: 1rem; font-weight: 600; } .action-hub-card-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; } .action-hub-card-desc { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--jk-text, #111); } .action-hub-card-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.35rem; font-size: 0.8rem; } .action-hub-linked { margin-top: 0.65rem; padding-top: 0.65rem; border-top: 1px dashed var(--jk-border, #e5e7eb); } .action-hub-linked-title { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--jk-text-muted, #6b7280); } .action-hub-linked-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; } .action-hub-linked-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: 0.875rem; } .action-hub-card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.65rem; border-top: 1px solid var(--jk-border, #e5e7eb); } .btn-sm { padding: 0.25rem 0.55rem; font-size: 0.8rem; } .card--secondary { background: var(--jk-surface-raised, #f9fafb); } .milestone-form textarea { min-height: 4.5rem; resize: vertical; } .collapsible-section { padding: 0; overflow: hidden; } .collapsible-section-trigger { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; width: 100%; padding: 1rem 1.15rem; border: none; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; } .collapsible-section-trigger:hover { background: var(--jk-surface-raised, #f9fafb); } .collapsible-section-title { font-size: 1.05rem; font-weight: 600; } .collapsible-section-summary { flex: 1; font-size: 0.85rem; min-width: 8rem; } .collapsible-section-chevron { margin-left: auto; color: var(--jk-text-muted, #6b7280); } .collapsible-section-body { padding: 0 1rem 1rem; } .initiative-advanced-stack { display: grid; gap: 0.75rem; } .initiative-advanced-stack .card { box-shadow: none; border-style: dashed; } /* AP1.2c — IA skeleton */ .initiative-subnav { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0.25rem; background: var(--jk-surface-raised, #f3f4f6); border-radius: 0.5rem; } .initiative-subnav-link { padding: 0.45rem 0.75rem; border-radius: 0.35rem; font-size: 0.875rem; font-weight: 500; color: var(--jk-text-muted, #6b7280); text-decoration: none; } .initiative-subnav-link:hover { background: var(--jk-surface, #fff); color: var(--jk-text, #111); } .initiative-subnav-link--active { background: var(--jk-surface, #fff); color: var(--jk-accent, #2563eb); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); } .initiative-nav-cards { margin-top: 1rem; } .initiative-nav-cards-title { margin: 0 0 0.75rem; font-size: 1rem; } .initiative-nav-cards-grid { display: grid; gap: 0.75rem; } @media (min-width: 640px) { .initiative-nav-cards-grid { grid-template-columns: repeat(2, 1fr); } } .initiative-nav-card { display: block; text-decoration: none; color: inherit; padding: 1rem; transition: border-color 0.15s, box-shadow 0.15s; } .initiative-nav-card:hover { border-color: var(--jk-accent-muted, #dbeafe); box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08); } .initiative-nav-card h3 { margin: 0 0 0.35rem; font-size: 1rem; } .initiative-nav-card-hint { display: inline-block; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--jk-accent, #2563eb); } .initiative-summary-strip { margin-top: 1rem; } .initiative-summary-strip .card-title { margin: 0 0 0.35rem; font-size: 1rem; } .initiative-portfolio-grid { display: grid; gap: 0.75rem; } @media (min-width: 640px) { .initiative-portfolio-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 960px) { .initiative-portfolio-grid { grid-template-columns: repeat(3, 1fr); } } .initiative-portfolio-card { display: block; text-decoration: none; color: inherit; padding: 1rem; } .initiative-portfolio-card:hover { border-color: var(--jk-accent-muted, #dbeafe); } .initiative-portfolio-card-title { margin: 0 0 0.35rem; font-size: 1rem; } .initiative-portfolio-card-goal { margin: 0 0 0.5rem; font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .initiative-portfolio-card-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; } .initiative-journey-lead { margin-bottom: 1rem; } .initiative-journey-stack { display: grid; gap: 0.75rem; } .initiative-journey-stack .card { box-shadow: none; } .next-action-embedded { margin-top: 1rem; } .action-detail-page { margin-top: 0.5rem; } .gate-verify-block { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border-subtle, #e5e7eb); min-width: 12rem; } .gate-verify-label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; } .gate-verify-hint { font-size: 0.8rem; line-height: 1.35; margin: 0; } .card--flat { box-shadow: none; border: 1px solid var(--jk-border, #e2e8f0); } .initiative-header-lifecycle { font-size: 0.85rem; } .initiative-lifecycle-bar { margin-bottom: 1rem; padding: 0.85rem 1rem; } .initiative-lifecycle-bar--compact { padding: 0.65rem 0.85rem; } .initiative-lifecycle-bar-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; } .initiative-lifecycle-kicker { margin: 0 0 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--jk-muted, #64748b); } .initiative-lifecycle-stats { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 0.65rem; font-size: 0.85rem; color: var(--jk-muted, #64748b); } .initiative-lifecycle-stat strong { color: var(--jk-text, #0f172a); } .initiative-lifecycle-stat--warn strong { color: var(--jk-danger, #b91c1c); } .project-tree-item--selected { border-color: var(--jk-accent, #2563eb); background: var(--jk-surface-raised, #f8fafc); } .project-tree-item-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem; } .project-tree-title-link { color: inherit; text-decoration: none; } .project-tree-title-link:hover { text-decoration: underline; } .project-tree-item-actions { gap: 0.35rem; } .project-detail-page .breadcrumb--inline { margin-bottom: 0.75rem; } .detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem 1.25rem; margin: 0 0 1rem; } .detail-grid dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--jk-muted, #64748b); margin: 0 0 0.2rem; } .detail-grid dd { margin: 0; } .project-detail-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--jk-border, #e2e8f0); } .project-detail-section h3 { margin: 0 0 0.5rem; font-size: 1rem; } .project-detail-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--jk-border, #e2e8f0); } .project-path-breadcrumb { font-size: 0.9rem; } .form-row { display: grid; gap: 0.75rem; } .form-row--2 { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } .plan-profile__header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .modal-root { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, 0.45); } .modal-dialog { width: min(100%, 520px); max-height: min(90vh, 900px); overflow: auto; background: var(--jk-surface); border: 1px solid var(--jk-border); border-radius: 14px; box-shadow: var(--jk-shadow-card); outline: none; } .modal-dialog--lg { width: min(100%, 680px); } .modal-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--jk-border); position: sticky; top: 0; background: var(--jk-surface); z-index: 1; } .modal-dialog__title { margin: 0; font-size: 1.05rem; font-weight: 700; } .modal-dialog__close { min-width: 2rem; padding-inline: 0.5rem; font-size: 1.25rem; line-height: 1; } .modal-dialog__body { padding: 16px; } .list-item-main--clickable { width: 100%; text-align: left; background: none; border: none; padding: 0; cursor: pointer; color: inherit; font: inherit; } .list-item-main--clickable:hover strong { color: var(--jk-primary); } .list-item-main--clickable:disabled { cursor: default; } .reorder-controls { display: inline-flex; flex-direction: column; gap: 2px; } @media (min-width: 1024px) { .reorder-controls { display: none; } } .reorder-controls__btn { min-width: 2rem; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--jk-border); background: var(--jk-surface-raised); color: var(--jk-text); font-size: 12px; line-height: 1.2; cursor: pointer; } .reorder-controls__btn:disabled { opacity: 0.4; cursor: not-allowed; } .project-tree-item--draggable, .backlog-reorder-item--draggable { cursor: grab; } .project-tree-item--dragging, .backlog-reorder-item--dragging { opacity: 0.55; cursor: grabbing; } .project-tree-item--drop-target, .backlog-reorder-item--drop-target { outline: 2px dashed var(--jk-primary); outline-offset: 2px; } .project-tree-item__drag-hint, .backlog-reorder-item__drag-hint { flex: 0 0 auto; margin-right: 8px; color: var(--jk-text-muted); font-size: 12px; user-select: none; } .project-tree-item, .backlog-reorder-item { display: flex; align-items: flex-start; gap: 8px; } .backlog-reorder-item--converted { opacity: 0.75; } .archetype-badge { background: var(--jk-surface-muted, #eef2f6); color: var(--jk-text-secondary, #445); font-size: 0.8125rem; font-weight: 500; } .initiative-steering-meta { margin: 0.75rem 0 1rem; padding: 0.75rem 1rem; border: 1px solid var(--jk-border, #dde3ea); border-radius: var(--jk-radius-md, 8px); background: var(--jk-surface-subtle, #f8fafc); } .initiative-steering-meta--compact { margin: 0.5rem 0 0.75rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; } .initiative-steering-meta__row { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: 0.5rem 1rem; align-items: start; } .initiative-steering-meta__row + .initiative-steering-meta__row { margin-top: 0.5rem; } .initiative-steering-meta__label { color: var(--jk-text-muted); font-size: 0.8125rem; } .initiative-steering-meta__value { display: flex; flex-direction: column; gap: 0.25rem; } .initiative-steering-meta__hint { font-size: 0.8125rem; line-height: 1.4; } .steering-method-description { display: block; margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.4; } .project-form-archetype-hint, .project-detail-archetype-hint { font-size: 0.875rem; } .form-hint { margin: 0 0 1rem; padding: 0.625rem 0.75rem; border-radius: var(--jk-radius-md, 8px); background: var(--jk-surface-subtle, #f8fafc); } .initiative-form__section { border: none; margin: 0 0 1.25rem; padding: 0; } .initiative-form__section legend { font-weight: 600; margin-bottom: 0.75rem; padding: 0; } .plan-profile__section-title { margin: 1.25rem 0 0.75rem; font-size: 1rem; } .plan-profile__empty-hint { margin: 0 0 1rem; } .field-renderer { border: none; margin: 0 0 1.25rem; padding: 0; } .field-renderer__legend { font-weight: 600; margin-bottom: 0.75rem; padding: 0; } .method-profile-select { display: flex; flex-direction: column; gap: 0.35rem; } .method-profile-select__empty { margin: 0 0 1rem; font-size: 0.875rem; } .gates-plan-panel__toolbar { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; } .gates-plan-panel__tab { border: 1px solid var(--jk-border, #dde3ea); background: var(--jk-surface, #fff); color: var(--jk-text-secondary, #445); border-radius: var(--jk-radius-md, 8px); padding: 0.4rem 0.85rem; font-size: 0.875rem; cursor: pointer; } .gates-plan-panel__tab--active { background: var(--jk-surface-muted, #eef2f6); color: var(--jk-text, #1a1a1a); border-color: var(--jk-border-strong, #c5ced8); font-weight: 600; } .gate-map-view__legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 0.75rem; font-size: 0.8125rem; } .gate-map-view__legend-item { display: inline-flex; align-items: center; gap: 0.5rem; } .gate-map-view__legend-line { display: inline-block; width: 1.75rem; height: 0; border-top-width: 2px; border-top-style: solid; } .gate-map-view__legend-line--requires { border-top-color: #2563eb; } .gate-map-view__legend-line--blocks { border-top-color: #dc2626; } .gate-map-view__legend-line--related { border-top-color: #64748b; border-top-style: dashed; } .gate-map-view__canvas-wrap { overflow: auto; border: 1px solid var(--jk-border, #dde3ea); border-radius: var(--jk-radius-md, 8px); background: var(--jk-surface-subtle, #f8fafc); } .gate-map-view__canvas { display: block; min-width: 100%; } .gate-map-view__edge { fill: none; stroke-width: 2; } .gate-map-view__edge--requires { stroke: #2563eb; } .gate-map-view__edge--blocks { stroke: #dc2626; } .gate-map-view__edge--related { stroke: #64748b; stroke-dasharray: 6 4; } .gate-map-view__arrow--requires { fill: #2563eb; } .gate-map-view__arrow--blocks { fill: #dc2626; } .gate-map-view__node { cursor: pointer; } .gate-map-view__node-box { fill: #fff; stroke: var(--jk-border-strong, #c5ced8); stroke-width: 1.5; } .gate-map-view__node--active .gate-map-view__node-box, .gate-map-view__node--planned .gate-map-view__node-box { stroke: #2563eb; } .gate-map-view__node--at_risk .gate-map-view__node-box { stroke: #d97706; } .gate-map-view__node--reached .gate-map-view__node-box { stroke: #16a34a; fill: #f0fdf4; } .gate-map-view__node--discarded .gate-map-view__node-box, .gate-map-view__node--moved .gate-map-view__node-box { stroke: #94a3b8; fill: #f8fafc; } .gate-map-view__node--ready .gate-map-view__node-box { stroke: #059669; stroke-dasharray: none; } .gate-map-view__node--blocked .gate-map-view__node-box { stroke: #dc2626; fill: #fef2f2; opacity: 0.92; } .status-pill { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; line-height: 1.4; background: var(--jk-surface-muted, #eef2f6); color: var(--jk-text-secondary, #445); } .status-pill--ready { background: #ecfdf5; color: #047857; } .status-pill--blocked { background: #fef2f2; color: #b91c1c; } .status-pill--fulfillment { background: #eff6ff; color: #1d4ed8; } .status-pill--fulfillment-primary { background: #dbeafe; font-weight: 700; } .gates-plan-panel__fulfillment, .gates-plan-panel__method-hint { margin: 0 0 0.75rem; font-size: 0.875rem; } .plan-ist-panel__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .plan-ist-panel__tab { padding: 0.35rem 0.75rem; border: 1px solid var(--jk-border-strong, #c5ced8); border-radius: 999px; background: transparent; cursor: pointer; font-size: 0.875rem; } .plan-ist-panel__tab--active { background: var(--jk-surface-muted, #eef2f6); font-weight: 600; } .plan-ist-panel__snapshot-meta, .plan-ist-panel__hint, .plan-ist-panel__fulfillment { font-size: 0.875rem; margin-top: 0.35rem; } .plan-ist-panel__criteria { margin: 0.35rem 0 0; padding-left: 1.1rem; font-size: 0.8125rem; } .plan-ist-panel__diff-kind { margin-right: 0.5rem; } .gate-map-view__node-title { fill: var(--jk-text, #1a1a1a); font-size: 14px; font-weight: 600; pointer-events: none; } .gate-map-view__node-meta { fill: var(--jk-text-secondary, #445); font-size: 12px; pointer-events: none; } .gate-map-view__node:focus-visible .gate-map-view__node-box { stroke: #2563eb; stroke-width: 2.5; } .gate-map-view__hint { margin-top: 0.75rem; font-size: 0.875rem; } .gate-dependencies-section { margin: 1.25rem 0; padding-top: 1rem; border-top: 1px solid var(--jk-border, #dde3ea); } .gate-dependencies-section__group-title { margin: 0.75rem 0 0.5rem; font-size: 0.9375rem; } .gate-dependencies-section__empty { margin: 0 0 0.75rem; font-size: 0.875rem; } .gate-dependency-item__phrase { margin: 0; } .gate-dependency-form__hint { margin-bottom: 0.75rem; }