*, *::before, *::after { box-sizing: border-box; } body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background-color: #f3f4f6; color: #111827; } #root { min-height: 100vh; } .app-shell { display: flex; min-height: 100vh; } .app-sidebar { width: 260px; background: #111827; color: #e5e7eb; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; } .app-sidebar h1 { font-size: 1.1rem; margin: 0; } .app-sidebar small { color: #9ca3af; } .app-nav { display: flex; flex-direction: column; gap: 0.25rem; } .app-nav button { width: 100%; text-align: left; padding: 0.4rem 0.6rem; border-radius: 0.375rem; border: none; background: transparent; color: #d1d5db; cursor: pointer; font-size: 0.9rem; } .app-nav button.active { background: #374151; color: #f9fafb; } .app-nav button:disabled { opacity: 0.5; cursor: default; } .app-main { flex: 1; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; } .card { background: white; border-radius: 0.75rem; padding: 1rem; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); } .card h2 { margin-top: 0; font-size: 1rem; } button.primary { background: #2563eb; color: white; border-radius: 0.5rem; padding: 0.45rem 0.9rem; border: none; cursor: pointer; font-size: 0.9rem; } button.primary:disabled { opacity: 0.6; cursor: default; } button.secondary { background: #e5e7eb; color: #111827; border-radius: 0.5rem; padding: 0.45rem 0.9rem; border: none; cursor: pointer; font-size: 0.9rem; } .button-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; } .app-root { min-height: 100vh; background-color: #f3f4f6; } .app-header { position: sticky; top: 0; z-index: 10; background: #111827; color: #e5e7eb; padding: 0.6rem 1rem; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.4); } .app-header-title { display: flex; align-items: center; gap: 0.6rem; } .app-header h1 { font-size: 1rem; margin: 0; } .app-header small { color: #9ca3af; font-size: 0.8rem; } .app-logo { font-size: 1.4rem; } .app-main { padding: 0.75rem; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; } /* Make cards full-width on mobile */ .card { width: 100%; } .download-link { display: inline-block; margin: 0.15rem 0; font-size: 0.85rem; } .card hr { border: none; border-top: 1px solid #e5e7eb; } .app-header-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .app-version { flex: 0 0 auto; border-radius: 999px; background: #374151; color: #d1d5db; padding: 0.4rem 0.7rem; font-size: 0.85rem; font-weight: 500; line-height: 1; white-space: nowrap; } .app-header-actions { display: flex; align-items: center; gap: 0.5rem; } .app-help-button { border: 1px solid #4b5563; border-radius: 999px; background: transparent; color: #e5e7eb; padding: 0.35rem 0.65rem; font-size: 0.85rem; font-weight: 500; cursor: pointer; line-height: 1; } .app-help-button:hover, .app-help-button:focus-visible { background: #374151; outline: none; } .help-dialog-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(15, 23, 42, 0.65); display: flex; align-items: center; justify-content: center; padding: 1rem; } .help-dialog-panel { width: min(920px, 100%); max-height: min(88vh, 760px); overflow: auto; background: #ffffff; border-radius: 0.9rem; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4); } .help-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem; background: #ffffff; border-bottom: 1px solid #e5e7eb; } .help-dialog-header h2 { margin: 0; font-size: 1.1rem; } .help-dialog-header p { margin: 0.35rem 0 0; color: #4b5563; font-size: 0.9rem; line-height: 1.45; } .help-close-button { flex: 0 0 auto; border: none; border-radius: 999px; width: 2rem; height: 2rem; background: #e5e7eb; color: #111827; cursor: pointer; font-size: 1.25rem; line-height: 1; } .help-dialog-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: 1rem; padding: 1rem; } .help-section { border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 0.9rem; background: #f9fafb; } .help-section h3 { margin: 0 0 0.75rem; font-size: 0.95rem; } .help-step-list { display: flex; flex-direction: column; gap: 0.65rem; } .help-step { border-radius: 0.65rem; background: #ffffff; border: 1px solid #e5e7eb; padding: 0.75rem; } .help-step h4 { margin: 0; font-size: 0.9rem; } .help-step p, .help-note { margin: 0.35rem 0 0; color: #4b5563; font-size: 0.85rem; line-height: 1.45; } .shortcut-grid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 0.75rem; align-items: center; } .shortcut-grid kbd { display: inline-flex; justify-content: center; border-radius: 0.4rem; border: 1px solid #d1d5db; background: #ffffff; padding: 0.2rem 0.45rem; font-size: 0.78rem; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color: #111827; box-shadow: inset 0 -1px 0 #d1d5db; white-space: nowrap; } .shortcut-grid span { color: #4b5563; font-size: 0.85rem; line-height: 1.35; } .help-concepts { grid-column: 1 / -1; } .help-concepts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin: 0; } .help-concepts dl > div { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.65rem; padding: 0.75rem; } .help-concepts dt { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.3rem; } .help-concepts dd { margin: 0; color: #4b5563; font-size: 0.82rem; line-height: 1.4; } @media (max-width: 760px) { .help-dialog-content, .help-concepts dl { grid-template-columns: 1fr; } .app-header-content { align-items: flex-start; } } .merge-queue-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; } .merge-queue-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; border: 1px solid #bfdbfe; border-radius: 0.75rem; background: rgba(255, 255, 255, 0.8); padding: 0.6rem; } .merge-queue-order { border-radius: 999px; background: #dbeafe; color: #1e3a8a; font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.5rem; } .merge-queue-details { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; font-size: 0.9rem; } .merge-queue-details strong { overflow-wrap: anywhere; } .merge-queue-details span { color: #4b5563; font-size: 0.8rem; } .merge-queue-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; } .merge-queue-actions button.secondary { padding: 0.3rem 0.55rem; font-size: 0.8rem; } .merge-mode-group { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.9rem; } .merge-mode-group label { display: flex; align-items: center; gap: 0.4rem; } .merge-warning { margin: 0.75rem 0 0; border: 1px solid #fed7aa; border-radius: 0.5rem; background: #fff7ed; color: #9a3412; padding: 0.55rem 0.65rem; font-size: 0.85rem; } @media (max-width: 700px) { .merge-queue-item { grid-template-columns: 1fr; align-items: stretch; } .merge-queue-actions { justify-content: flex-start; } }