/* Logo row: flex layout — logo | title | logo */ .logo-row { display: flex; align-items: center; gap: 0.5rem; width: 100%; } .logo-cell { width: 250px; height: 60px; flex-shrink: 0; } .logo-img { display: block; width: 250px; height: 60px; object-fit: contain; user-select: none; } #left-logo-cell .logo-img { object-position: left center; } #right-logo-cell .logo-img { object-position: right center; } .logo-img:not([src]), .logo-img[src=""] { display: none; } .logo-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 2px dashed var(--border-dark); border-radius: 0.375rem; color: var(--text-muted); font-size: 0.75rem; } .logo-cell.has-logo .logo-placeholder, .logo-placeholder.hidden { display: none; } .title-area { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; min-width: 0; } /* Type combo dropdown */ .type-combo { position: relative; width: 100%; } .type-display { display: block; cursor: pointer; white-space: nowrap; overflow: hidden; outline: none; min-height: 1.5em; } .type-display:empty::before { content: attr(data-placeholder); color: var(--text-muted); } .type-combo__menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--bg); border: 1px solid var(--border); border-radius: 0.375rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); z-index: 50; min-width: 160px; padding: 4px 0; } .type-combo__option { display: block; width: 100%; text-align: center; padding: 6px 16px; font-size: 0.875rem; font-weight: 600; background: none; border: none; cursor: pointer; color: var(--text); } .type-combo__option:hover { background: var(--bg-hover); color: var(--primary); } /* ── Targeted drop zones ─────────────────────────────────────────────────── */ /* Base: relative so the label can be absolute-positioned inside */ [data-drop-zone] { position: relative; border-radius: 0.375rem; transition: outline 0.12s, background 0.12s, opacity 0.12s; } /* Label: hidden by default, centered overlay inside the zone */ .drop-zone-label { display: flex; align-items: center; justify-content: center; position: absolute; inset: 0; padding: 0.25rem 0.5rem; border-radius: 0.375rem; font-size: 0.7rem; font-weight: 600; text-align: center; line-height: 1.3; pointer-events: none; opacity: 0; transition: opacity 0.12s; z-index: 30; white-space: pre-line; } /* --- Visible state: outline appears, label fades in --- */ [data-drop-zone].dz-visible .drop-zone-label { opacity: 1; } /* Eligible zone: blue dashed outline + subtle blue tint */ [data-drop-zone].dz-eligible { outline: 2px dashed #60a5fa; outline-offset: 2px; background: rgba(239, 246, 255, 0.55); } [data-drop-zone].dz-eligible .drop-zone-label { color: #1e40af; background: rgba(239, 246, 255, 0.9); } /* Ineligible zone: grey dashed outline, dimmed */ [data-drop-zone].dz-ineligible { outline: 2px dashed #d1d5db; outline-offset: 2px; opacity: 0.5; } [data-drop-zone].dz-ineligible .drop-zone-label { color: #6b7280; background: rgba(249, 250, 251, 0.85); } /* Hover over eligible zone: solid outline, stronger tint, white-on-blue label */ [data-drop-zone].dz-hover { outline: 2px solid #2563eb; outline-offset: 2px; background: rgba(219, 234, 254, 0.85); opacity: 1; } [data-drop-zone].dz-hover .drop-zone-label { color: #1e3a8a; background: rgba(191, 219, 254, 0.95); font-weight: 700; } /* Logo cells: label sits centered over the cell content */ #left-logo-cell[data-drop-zone] .drop-zone-label, #right-logo-cell[data-drop-zone] .drop-zone-label { font-size: 0.65rem; } /* File-table zone wrapper: display:block, no extra spacing */ #file-table-drop-zone { display: block; } @media screen { .page-header .header-names { padding: 6px 8px; } .page-header .header-names h2 { margin: 0; line-height: 1.2; } .page-header #project-number { margin: 2px 0 6px; line-height: 1.2; } .page-header .grid { column-gap: 1rem; row-gap: 0.5rem; } /* .action-button removed — transmittal buttons now use .btn/.btn-primary/.btn-secondary */ /* ── Integrity section layout ──────────────────────── */ .integrity-body { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; width: 100%; } /* ── Verify cards ──────────────────────────────────── */ .verify-card { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding: 0.5rem 0.75rem; border-left: 4px solid; border-radius: 0.25rem; font-size: 0.75rem; line-height: 1.5; } .verify-card--ok { background: #f0fdf4; border-left-color: #22c55e; } .verify-card--fail { background: #fef2f2; border-left-color: #ef4444; } .verify-card--draft { background: #fefce8; border-left-color: #f59e0b; } .verify-card--info { background: #eff6ff; border-left-color: #3b82f6; } .verify-card__status { font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; gap: 0.375rem; } .verify-card__status--ok { color: #166534; } .verify-card__status--fail { color: #991b1b; } .verify-card__status--draft { color: #92400e; } .verify-card__status--info { color: #1e40af; } .verify-card__detail { font-size: 0.7rem; color: var(--text-muted); } .verify-card__detail code { font-family: var(--font-mono); font-size: 0.65rem; word-break: break-all; color: var(--primary); } /* Workflow Area */ .workflow-area { border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.875rem; } .workflow-step { display: flex; flex-direction: column; gap: 0.375rem; } .workflow-step__label { font-size: 0.6875rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; } .workflow-step__body { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; } .workflow-dir { font-family: var(--font-mono); font-size: 0.625rem; color: var(--text-muted); } .workflow-hint { font-size: 0.625rem; color: var(--text-muted); font-style: italic; } .workflow-badge { font-size: 0.625rem; padding: 0.0625rem 0.375rem; border: 1px solid; border-radius: 0.25rem; margin-left: 0.375rem; vertical-align: middle; } .workflow-badge--warn { background: #fef9c3; color: #92400e; border-color: #fcd34d; } /* Tools row — compact, de-emphasized */ .workflow-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; padding-top: 0.5rem; border-top: 1px solid var(--border); } /* ── Table toolbar (above table) ───────────────────────── */ .table-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.25rem 0.5rem; padding: 0.375rem 0; border-top: 1px solid var(--border); margin-top: 0.5rem; } .toolbar-btn { background: none; border: none; font-size: 0.75rem; font-weight: 500; color: var(--primary); cursor: pointer; padding: 0.15rem 0.35rem; border-radius: 0.25rem; } .toolbar-btn:hover { text-decoration: underline; background: var(--primary-light); } /* ── App chrome header (lives outside the transmittal) ── */ /* shared/base.css provides display, align-items, background, border-bottom */ .app-header { position: sticky; top: 0; z-index: 1200; gap: 0.5rem; padding: 0.3rem 0.75rem; /* Expose height for downstream sticky offsets */ --app-header-height: 2.1rem; height: var(--app-header-height); box-sizing: content-box; } .app-header__spacer { flex: 1; } .app-header__icons { display: flex; align-items: center; gap: 0.5rem; } .header-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 0.25rem; border: none; background: transparent; color: var(--text-muted); cursor: pointer; padding: 0; text-decoration: none; transition: color 0.15s, background 0.15s; } .header-icon-btn:hover { color: var(--primary-hover); background: var(--primary-light); } /* ── Fixed footer status bar at viewport bottom ───────── */ .page-footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 0.2rem 0.75rem; } .page-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; max-width: 8.5in; margin: 0 auto; } .page-container { padding-bottom: 2rem; } /* ── Split-button ─────────────────────────────────────── */ .split-button { position: relative; display: inline-flex; align-items: stretch; } .split-button > .btn:last-of-type { border-top-left-radius: 0; border-bottom-left-radius: 0; } .split-button__toggle { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 1px solid rgba(255, 255, 255, 0.3); min-width: 28px; padding-left: 6px; padding-right: 6px; font-size: 0.75rem; line-height: 1; } /* ── Dropdown menu ──────────────────────────────────────── */ .dropdown { position: relative; display: inline-block; } .dropdown-toggle { min-width: 28px; font-size: 1rem; letter-spacing: 0.1em; line-height: 1; } .dropdown-menu { position: absolute; left: 0; top: 100%; margin-top: 2px; min-width: 120px; background: var(--bg); border: 1px solid var(--border); border-radius: 0.375rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); z-index: 1100; padding: 4px 0; } .dropdown-menu.dropdown-menu--up { bottom: 100%; top: auto; margin-top: 0; margin-bottom: 2px; } /* ── Dropdown separators ─────────────────────────────────── */ .dropdown-separator { border-top: 1px solid var(--border); margin: 4px 0; padding: 0; font-size: 0.625rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; } .dropdown-separator:empty { padding: 0; } .dropdown-separator:not(:empty) { padding: 4px 12px 2px; } /* ── Scanning blur on table ─────────────────────────────── */ .table-wrapper.scanning { filter: blur(1px); opacity: 0.7; pointer-events: none; transition: filter 0.3s ease, opacity 0.3s ease; } .table-wrapper { transition: filter 0.3s ease, opacity 0.3s ease; } /* ── Hash validation indicators ──────────────────────────── */ .hash-match { color: #16a34a; font-weight: 700; } .hash-mismatch { color: #dc2626; font-weight: 700; } /* ── Inline hash progress bar ────────────────────────────── */ .hash-progress { display: flex; align-items: center; gap: 4px; width: 100%; } .hash-progress-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; } .hash-progress-fill { height: 100%; width: 0%; background: var(--primary); border-radius: 3px; transition: width 0.15s ease; } .hash-progress-fill.done { background: #22c55e; width: 100%; } /* ── Per-row verify result styling ───────────────────────── */ tr.verify-match td { background: #dcfce7; } tr.verify-mismatch td { background: #fee2e2; } tr.verify-missing td { background: #fef3c7; } tr.verify-new td { background: #dbeafe; } tr.verify-progress td:last-child { color: #6b7280; font-style: italic; } .dropdown-item { display: block; width: 100%; padding: 6px 12px; border: none; background: none; text-align: left; font-size: 0.8rem; color: var(--text); cursor: pointer; white-space: nowrap; } .dropdown-item:hover { background: var(--bg-secondary); } .dropdown-item:disabled { opacity: 0.4; cursor: not-allowed; } }