/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --bg: #f6f7f9;
  --panel: #fff;
  --border: #e3e6ea;
  --text: #1f2328;
  --muted: #6b7280;
  --accent: #1d4ed8;
  --high: #dc2626;
  --medium: #d97706;
  --low: #2563eb;
  --info: #6b7280;
  --ok: #059669;
  --solicitor: #eef4ff;
  --customer: #f3f4f6;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font: 14px / 1.6 -apple-system, Hiragino Sans, Hiragino Kaku Gothic ProN, Noto Sans JP, system-ui, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header.top {
  color: #fff;
  background: #111827;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  display: flex;
}

header.top .brand {
  letter-spacing: .02em;
  font-weight: 700;
}

.tabs {
  gap: 6px;
  margin-bottom: 12px;
  display: flex;
}

.tabs a {
  color: #111827;
  background: #e5e7eb;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

.tabs a.active {
  color: #fff;
  background: #111827;
}

header.top nav a {
  color: #d1d5db;
  margin-right: 16px;
}

header.top nav a:hover {
  color: #fff;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

h1 {
  margin: 0 0 12px;
  font-size: 20px;
}

h2 {
  color: #374151;
  margin: 0 0 8px;
  font-size: 15px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.row {
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.grid-detail {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 16px;
  display: grid;
}

@media (max-width: 1000px) {
  .grid-detail {
    grid-template-columns: 1fr;
  }
}

table.list {
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
}

table.list th, table.list td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
  padding: 8px 10px;
}

table.list th {
  color: #374151;
  background: #f9fafb;
  font-size: 12px;
  font-weight: 600;
}

table.list tr:hover td {
  background: #fafbff;
}

.badge {
  color: #374151;
  background: #e5e7eb;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.badge.high {
  color: var(--high);
  background: #fee2e2;
}

.badge.medium {
  color: var(--medium);
  background: #fef3c7;
}

.badge.low {
  color: var(--low);
  background: #dbeafe;
}

.badge.info {
  color: var(--info);
  background: #f3f4f6;
}

.badge.ok {
  color: var(--ok);
  background: #d1fae5;
}

.badge.running {
  color: var(--low);
  background: #dbeafe;
}

.badge.failed {
  color: var(--high);
  background: #fee2e2;
}

.muted {
  color: var(--muted);
}

dl.meta {
  grid-template-columns: 110px 1fr;
  gap: 4px 12px;
  margin: 0;
  display: grid;
}

dl.meta dt {
  color: var(--muted);
}

dl.meta dd {
  margin: 0;
}

form.upload label {
  margin-bottom: 12px;
  display: block;
}

form.upload label span {
  color: var(--muted);
  margin-bottom: 2px;
  font-size: 12px;
  display: block;
}

form.upload input[type="text"], form.upload select, form.upload textarea {
  border: 1px solid var(--border);
  width: 100%;
  max-width: 480px;
  font: inherit;
  border-radius: 6px;
  padding: 6px 8px;
}

form.upload textarea {
  min-height: 70px;
}

button, .btn {
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 600;
}

button.secondary, .btn.secondary {
  color: #111827;
  background: #e5e7eb;
}

.player {
  background: var(--panel);
  z-index: 2;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  padding: 8px 0 12px;
  position: sticky;
  top: 0;
}

.player audio {
  width: 100%;
}

.transcript {
  margin: 0;
  padding: 0;
  list-style: none;
}

.transcript li {
  border-left: 3px solid #0000;
  border-radius: 6px;
}

.transcript li button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  grid-template-columns: 56px 64px 1fr;
  gap: 10px;
  padding: 6px 8px;
  display: grid;
}

.transcript li button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.transcript li:hover {
  background: #f9fafb;
}

.transcript li.active {
  border-left-color: var(--medium);
  background: #fffbeb;
}

.transcript li.solicitor .role {
  color: var(--accent);
  font-weight: 600;
}

.transcript li.customer .role {
  color: #374151;
  font-weight: 600;
}

.transcript li .time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.progress {
  background: #e5e7eb;
  border-radius: 3px;
  height: 6px;
  overflow: hidden;
}

.progress > div {
  background: var(--accent);
  height: 100%;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

.error {
  color: #991b1b;
  white-space: pre-wrap;
  background: #fee2e2;
  border-radius: 6px;
  padding: 8px 12px;
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-fi_qx-.css.map*/