eaff2a4d86
- Split monolithic index.php into per-tool pages (ask, search, summarize, timeline, redact, transcribe), each with its own URL and bookmarkable state - Shared shell: includes/layout.php + layout_footer.php; shared form: includes/tool_form.php used by all text-tool pages - index.php now redirects authenticated users to ask.php; unauthenticated users see the login gate only - transcribe.php: engine selector (GPU/OpenAI/Azure), model size (small/ medium/large-v3), diarize, language, expert settings (beam, VAD, task, initial prompt) - api/transcribe.php: engine routing — GPU (cuttlefish), OpenAI BYOK, Azure AI Speech; passes model/beam/task/vad/prompt to Whisper server - tools.js: data-active-tool body attr drives setTool() on load; <a> nav tabs skip click listeners; null guards on form/passcodeForm; engine radio toggle shows/hides BYOK key inputs and model selector; RTF shown in status - tools.css: styles for BYOK inputs, expert settings panel, prompt textarea Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1292 lines
22 KiB
CSS
1292 lines
22 KiB
CSS
:root {
|
|
--bg: #f7f8fb;
|
|
--panel: #ffffff;
|
|
--ink: #1b2330;
|
|
--muted: #667085;
|
|
--line: #d8dde7;
|
|
--teal: #0f766e;
|
|
--teal-dark: #115e59;
|
|
--coral: #c2410c;
|
|
--amber: #b7791f;
|
|
--soft-teal: #e7f5f2;
|
|
--soft-coral: #fff0e8;
|
|
--shadow: 0 18px 45px rgba(25, 35, 52, 0.10);
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: progress;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
textarea:focus-visible {
|
|
outline: 3px solid rgba(15, 118, 110, 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.gate {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background:
|
|
linear-gradient(135deg, rgba(15, 118, 110, 0.10), transparent 36%),
|
|
linear-gradient(315deg, rgba(194, 65, 12, 0.10), transparent 34%),
|
|
var(--bg);
|
|
}
|
|
|
|
.gate-panel {
|
|
width: min(460px, 100%);
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
box-shadow: var(--shadow);
|
|
padding: 32px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 6px;
|
|
color: var(--teal);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.gate-panel h1,
|
|
.topbar h1,
|
|
.tool-heading h2,
|
|
.reasoning-head h2 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.gate-copy {
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.passcode-form label,
|
|
.input-label,
|
|
.control-label {
|
|
display: block;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.passcode-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.passcode-row input,
|
|
.tool-form textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.passcode-row input {
|
|
min-height: 44px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.passcode-row button,
|
|
#runButton,
|
|
.secondary-button {
|
|
min-height: 44px;
|
|
border-radius: 8px;
|
|
padding: 0 18px;
|
|
background: var(--teal);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.secondary-button {
|
|
background: #263344;
|
|
}
|
|
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
padding: 18px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
max-width: 1500px;
|
|
margin: 0 auto 12px;
|
|
padding: 10px 2px;
|
|
}
|
|
|
|
.topbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.status-pill,
|
|
.tool-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 30px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: var(--soft-teal);
|
|
color: var(--teal-dark);
|
|
font-size: 0.84rem;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-pill.is-warning {
|
|
background: var(--soft-coral);
|
|
color: var(--coral);
|
|
}
|
|
|
|
.disclaimer {
|
|
max-width: 1500px;
|
|
margin: 0 auto 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #f0d6bc;
|
|
border-radius: 8px;
|
|
background: #fff9f2;
|
|
color: #68420d;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.workspace {
|
|
max-width: 1500px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: 190px minmax(0, 1fr) 370px;
|
|
gap: 14px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.tool-rail,
|
|
.tool-panel,
|
|
.reasoning-panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.tool-rail {
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tool-tab {
|
|
width: 100%;
|
|
min-height: 68px;
|
|
border-radius: 8px;
|
|
padding: 11px;
|
|
background: transparent;
|
|
color: var(--ink);
|
|
text-align: left;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.tool-tab span {
|
|
display: block;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.tool-tab small {
|
|
display: block;
|
|
margin-top: 4px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.tool-tab.is-active {
|
|
background: var(--soft-teal);
|
|
border-color: rgba(15, 118, 110, 0.30);
|
|
}
|
|
|
|
.tool-panel {
|
|
min-height: 720px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.tool-heading,
|
|
.reasoning-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.tool-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.control-row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
min-height: 34px;
|
|
}
|
|
|
|
.control-row label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tool-form textarea {
|
|
resize: vertical;
|
|
min-height: 220px;
|
|
padding: 14px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.form-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-status {
|
|
min-height: 22px;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.results {
|
|
margin-top: 18px;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.empty-state,
|
|
.result-section {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
background: #fbfcfe;
|
|
}
|
|
|
|
.empty-state p,
|
|
.result-section p,
|
|
.result-section li {
|
|
color: var(--muted);
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.answer {
|
|
color: var(--ink) !important;
|
|
font-size: 1.03rem;
|
|
}
|
|
|
|
.result-section h3 {
|
|
margin-bottom: 8px;
|
|
font-size: 0.98rem;
|
|
}
|
|
|
|
.source-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.source-card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
background: #fff;
|
|
}
|
|
|
|
.source-card h4,
|
|
.detail-block h4 {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.source-meta {
|
|
color: var(--teal-dark) !important;
|
|
font-size: 0.84rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.detail-block {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.timeline-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.timeline-list li {
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.timeline-list span {
|
|
display: block;
|
|
color: var(--teal-dark);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.timeline-list small {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.redacted-output {
|
|
max-height: 420px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.pill-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding-left: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.pill-list li {
|
|
border-radius: 999px;
|
|
background: var(--soft-teal);
|
|
color: var(--teal-dark);
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.result-disclaimer {
|
|
margin: 0;
|
|
color: #68420d;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.reasoning-panel {
|
|
min-height: 720px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.trace-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.trace-list li {
|
|
display: grid;
|
|
grid-template-columns: 14px 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.trace-list strong {
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.trace-list p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.trace-status {
|
|
width: 10px;
|
|
height: 10px;
|
|
margin-top: 5px;
|
|
border-radius: 999px;
|
|
background: var(--teal);
|
|
}
|
|
|
|
.trace-status.running {
|
|
background: var(--amber);
|
|
animation: trace-pulse 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes trace-pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.4; transform: scale(0.7); }
|
|
}
|
|
|
|
.trace-status.warning {
|
|
background: var(--coral);
|
|
}
|
|
|
|
.trace-status.waiting {
|
|
background: #98a2b3;
|
|
}
|
|
|
|
@media (max-width: 1120px) {
|
|
.workspace {
|
|
grid-template-columns: 170px minmax(0, 1fr);
|
|
}
|
|
|
|
.reasoning-panel {
|
|
grid-column: 1 / -1;
|
|
min-height: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.app-shell {
|
|
padding: 12px;
|
|
}
|
|
|
|
.topbar,
|
|
.form-footer {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.workspace {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.tool-rail {
|
|
flex-direction: row;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.tool-tab {
|
|
min-width: 150px;
|
|
}
|
|
|
|
.tool-panel,
|
|
.reasoning-panel {
|
|
min-height: auto;
|
|
}
|
|
|
|
.passcode-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ─── Public showcase landing ──────────────────────────────────────────────── */
|
|
|
|
.showcase-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.showcase-header {
|
|
background:
|
|
linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(17, 94, 89, 0.97) 70%),
|
|
linear-gradient(315deg, rgba(194, 65, 12, 0.18), transparent 40%);
|
|
color: #fff;
|
|
padding: 64px 24px 72px;
|
|
}
|
|
|
|
.showcase-header-inner {
|
|
max-width: 860px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.showcase-brand .eyebrow {
|
|
color: rgba(255,255,255,0.72);
|
|
}
|
|
|
|
.showcase-title {
|
|
margin: 0 0 10px;
|
|
font-size: clamp(2rem, 5vw, 3rem);
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
color: #fff;
|
|
}
|
|
|
|
.showcase-tagline {
|
|
margin: 0 0 18px;
|
|
font-size: 1.1rem;
|
|
color: rgba(255,255,255,0.82);
|
|
}
|
|
|
|
.powered-badge {
|
|
display: inline-block;
|
|
background: rgba(255,255,255,0.14);
|
|
border: 1px solid rgba(255,255,255,0.28);
|
|
border-radius: 999px;
|
|
padding: 4px 14px;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
color: rgba(255,255,255,0.9);
|
|
text-decoration: none;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.powered-badge:hover {
|
|
background: rgba(255,255,255,0.22);
|
|
}
|
|
|
|
.cta-button {
|
|
display: inline-block;
|
|
background: var(--coral);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding: 14px 28px;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
white-space: nowrap;
|
|
transition: background 0.15s, transform 0.1s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.cta-button:hover {
|
|
background: #b83a0b;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.section-inner {
|
|
max-width: 860px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.section-heading {
|
|
margin: 0 0 8px;
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.section-sub {
|
|
margin: 0 0 36px;
|
|
color: var(--muted);
|
|
font-size: 0.98rem;
|
|
}
|
|
|
|
/* How it works */
|
|
.hiw-section {
|
|
padding: 64px 0;
|
|
background: var(--panel);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.hiw-steps {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 28px;
|
|
}
|
|
|
|
.hiw-step {
|
|
background: var(--bg);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.hiw-num {
|
|
font-size: 2rem;
|
|
font-weight: 800;
|
|
color: var(--teal);
|
|
opacity: 0.4;
|
|
margin-bottom: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hiw-step h3 {
|
|
margin: 0 0 8px;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hiw-step p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Capabilities */
|
|
.cap-section {
|
|
padding: 64px 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.cap-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.cap-card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
transition: box-shadow 0.15s;
|
|
}
|
|
|
|
.cap-card:hover {
|
|
box-shadow: 0 4px 16px rgba(15,118,110,0.1);
|
|
}
|
|
|
|
.cap-label {
|
|
display: inline-block;
|
|
background: var(--soft-teal);
|
|
color: var(--teal-dark);
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
border-radius: 999px;
|
|
padding: 3px 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.cap-card h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cap-card p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.85rem;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
/* Evidence trail explainer */
|
|
.evidence-section {
|
|
padding: 64px 0;
|
|
background: var(--panel);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.evidence-inner {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 48px;
|
|
align-items: start;
|
|
}
|
|
|
|
.evidence-copy h2 {
|
|
margin: 0 0 14px;
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.evidence-copy p {
|
|
color: var(--muted);
|
|
line-height: 1.7;
|
|
margin: 0 0 18px;
|
|
}
|
|
|
|
.evidence-list {
|
|
margin: 0;
|
|
padding-left: 20px;
|
|
color: var(--muted);
|
|
font-size: 0.9rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.evidence-mock {
|
|
background: var(--bg);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.mock-label {
|
|
margin: 0 0 16px;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--teal);
|
|
}
|
|
|
|
.mock-step {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.mock-step:last-child {
|
|
border-bottom: 0;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.mock-step p {
|
|
margin: 3px 0 0;
|
|
color: var(--muted);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.mock-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: var(--teal);
|
|
flex-shrink: 0;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mock-dot--amber {
|
|
background: var(--amber);
|
|
}
|
|
|
|
.mock-done .mock-dot {
|
|
background: var(--teal);
|
|
}
|
|
|
|
/* Access / login gate */
|
|
.access-section {
|
|
padding: 64px 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
background: var(--bg);
|
|
}
|
|
|
|
/* Showcase footer */
|
|
.showcase-footer {
|
|
padding: 32px 24px;
|
|
text-align: center;
|
|
border-top: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.showcase-footer a {
|
|
color: var(--teal);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.showcase-footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer-disclaimer {
|
|
margin: 6px 0 0;
|
|
font-size: 0.78rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.showcase-header-inner {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.evidence-inner {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.cap-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
/* Source card chunk toggle */
|
|
.chunk-details {
|
|
margin-top: 0.625rem;
|
|
}
|
|
|
|
.chunk-toggle {
|
|
cursor: pointer;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--teal);
|
|
user-select: none;
|
|
list-style: none;
|
|
}
|
|
|
|
.chunk-toggle::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.chunk-details[open] .chunk-toggle {
|
|
color: var(--teal-dark);
|
|
}
|
|
|
|
.chunk-text {
|
|
margin-top: 0.5rem;
|
|
font-size: 0.7rem;
|
|
line-height: 1.55;
|
|
background: #f0fdf9;
|
|
border: 1px solid #ccfbf1;
|
|
border-radius: 6px;
|
|
padding: 0.625rem 0.75rem;
|
|
white-space: pre-wrap;
|
|
overflow-x: auto;
|
|
color: #374151;
|
|
}
|
|
|
|
/* ─── Upload zone (Redact tool) ──────────────────────────────────────────── */
|
|
|
|
.upload-zone {
|
|
border: 2px dashed var(--line);
|
|
border-radius: 8px;
|
|
padding: 18px 14px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
position: relative;
|
|
}
|
|
|
|
.upload-zone:hover {
|
|
border-color: var(--teal);
|
|
background: #f7fdfb;
|
|
}
|
|
|
|
.upload-zone.is-drag-over {
|
|
border-color: var(--teal);
|
|
background: var(--soft-teal);
|
|
}
|
|
|
|
#uploadInput {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.upload-icon {
|
|
display: block;
|
|
font-size: 1.8rem;
|
|
line-height: 1;
|
|
color: var(--teal);
|
|
opacity: 0.55;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.upload-prompt p {
|
|
margin: 4px 0 0;
|
|
color: var(--muted);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.upload-browse {
|
|
color: var(--teal);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.upload-hint {
|
|
font-size: 0.76rem !important;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.upload-file {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
min-height: 48px;
|
|
}
|
|
|
|
.upload-filename {
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.upload-clear {
|
|
flex-shrink: 0;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
font-size: 1.25rem;
|
|
line-height: 1;
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.upload-clear:hover {
|
|
background: var(--soft-coral);
|
|
color: var(--coral);
|
|
border-color: #f5c6aa;
|
|
}
|
|
|
|
/* ─── Multi-file list ─────────────────────────────────────────────────────── */
|
|
|
|
.upload-file-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-file-list li {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
padding: 2px 0;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.upload-chars {
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ─── Name aliases (Redact tool) ──────────────────────────────────────────── */
|
|
|
|
.alias-section {
|
|
margin-top: 0.75rem;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.alias-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.alias-add-btn {
|
|
background: var(--soft-teal);
|
|
color: var(--teal-dark);
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
padding: 3px 10px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.12s;
|
|
}
|
|
|
|
.alias-add-btn:hover {
|
|
background: #c4ece5;
|
|
}
|
|
|
|
.alias-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.alias-original,
|
|
.alias-label {
|
|
flex: 1;
|
|
padding: 0.3rem 0.55rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
font-size: 0.875rem;
|
|
background: var(--panel);
|
|
color: var(--ink);
|
|
min-width: 0;
|
|
}
|
|
|
|
.alias-original:focus,
|
|
.alias-label:focus {
|
|
outline: 3px solid rgba(15, 118, 110, 0.28);
|
|
outline-offset: 1px;
|
|
border-color: var(--teal);
|
|
}
|
|
|
|
.alias-arrow {
|
|
color: var(--muted);
|
|
font-size: 1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.alias-remove {
|
|
flex-shrink: 0;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
font-size: 1.1rem;
|
|
line-height: 1;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.alias-remove:hover {
|
|
background: var(--soft-coral);
|
|
color: var(--coral);
|
|
border-color: #f5c6aa;
|
|
}
|
|
|
|
.alias-hint {
|
|
font-size: 0.76rem;
|
|
color: var(--muted);
|
|
margin: 0.35rem 0 0;
|
|
}
|
|
|
|
.timeline-export { margin-top: 1rem; }
|
|
|
|
.export-csv-btn {
|
|
font-size: 0.8rem;
|
|
padding: 0.35rem 0.9rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.export-csv-btn:hover {
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.date-type-badge {
|
|
display: inline-block;
|
|
font-size: 0.68rem;
|
|
padding: 0.1rem 0.45rem;
|
|
border-radius: 4px;
|
|
background: var(--bg);
|
|
color: var(--muted);
|
|
margin-left: 0.4rem;
|
|
vertical-align: middle;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
/* ── Transcribe tool ─────────────────────────────────────────────── */
|
|
|
|
.num-speakers-input {
|
|
width: 4.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.transcript-roles {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.speaker-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.speaker-tag small {
|
|
font-weight: 400;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.speaker-tag--0 { background: #dbeafe; color: #1d4ed8; }
|
|
.speaker-tag--1 { background: #ede9fe; color: #6d28d9; }
|
|
.speaker-tag--2 { background: #dcfce7; color: #166534; }
|
|
.speaker-tag--3 { background: #fef9c3; color: #854d0e; }
|
|
.speaker-tag--4 { background: #fee2e2; color: #991b1b; }
|
|
.speaker-tag--5 { background: #e7f5f2; color: #0f766e; }
|
|
|
|
.transcript-box {
|
|
background: var(--bg);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.transcript-text {
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 0.875rem;
|
|
line-height: 1.65;
|
|
font-family: inherit;
|
|
margin: 0;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.segment-details {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.segment-summary {
|
|
font-size: 0.8rem;
|
|
color: var(--muted);
|
|
padding: 0.6rem 1rem;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.segment-list {
|
|
padding: 0.25rem 0.75rem 0.75rem;
|
|
max-height: 280px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.segment-row {
|
|
display: flex;
|
|
gap: 0.6rem;
|
|
align-items: baseline;
|
|
padding: 0.2rem 0;
|
|
font-size: 0.78rem;
|
|
border-bottom: 1px solid var(--bg);
|
|
}
|
|
|
|
.segment-time {
|
|
color: var(--muted);
|
|
font-family: ui-monospace, monospace;
|
|
min-width: 7rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.segment-text {
|
|
color: var(--ink);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.transcript-downloads {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
/* ── Transcribe extended controls ─────────────────────────────────────── */
|
|
|
|
.byok-input {
|
|
font-size: 0.82rem;
|
|
padding: 0.3rem 0.6rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
width: 22rem;
|
|
max-width: 100%;
|
|
}
|
|
.byok-input--short { width: 9rem; }
|
|
.byok-input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
|
|
|
|
.inline-hint {
|
|
font-size: 0.75rem;
|
|
color: var(--muted);
|
|
margin-left: 0.4rem;
|
|
}
|
|
|
|
.expert-settings {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 0;
|
|
margin-top: 0.75rem;
|
|
}
|
|
.expert-summary {
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
padding: 0.55rem 0.9rem;
|
|
list-style: none;
|
|
user-select: none;
|
|
}
|
|
.expert-summary::-webkit-details-marker { display: none; }
|
|
.expert-summary::before {
|
|
content: '▶ ';
|
|
font-size: 0.65rem;
|
|
transition: transform 0.15s;
|
|
}
|
|
.expert-settings[open] .expert-summary::before { content: '▼ '; }
|
|
.expert-body {
|
|
padding: 0.6rem 0.9rem 0.9rem;
|
|
border-top: 1px solid var(--line);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
.expert-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
margin-top: 0.4rem;
|
|
}
|
|
.prompt-textarea {
|
|
font-size: 0.82rem;
|
|
padding: 0.4rem 0.6rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
resize: vertical;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.prompt-textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
|
|
|
|
.control-hint { font-size: 0.74rem; color: var(--muted); font-weight: 400; }
|