:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #17253a;
  background: #f7f9fc;
}

* {
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #f7f9fc;
}

button,
input,
select,
textarea {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0f6cbd;
  outline-offset: 2px;
}

.app-shell {
  width: 100%;
  max-width: 760px;
  min-width: 0;
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.app-header h1 {
  margin: 2px 0 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #143a5a;
  font-weight: 700;
}

.eyebrow {
  margin: 0;
  color: #40556d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h2 {
  margin: 22px 0 8px;
  font-size: 1.25rem;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

h4 {
  margin: 0 0 6px;
}

p,
li,
dd,
dt {
  line-height: 1.5;
}

code {
  overflow-wrap: anywhere;
  font-size: 0.85em;
}

.mock-banner,
.error-box,
.success-card,
.support-ok,
.support-error,
.selection-warning {
  border-radius: 8px;
  padding: 10px 12px;
}

.mock-banner {
  border: 1px solid #c59b15;
  background: #fff7d6;
  color: #4d3b00;
}

.instruction-card {
  margin: 12px 0;
  border-left: 4px solid #0f6cbd;
  background: #eef6fc;
  padding: 10px 12px;
}

.instruction-card h3 {
  margin-bottom: 4px;
}

.instruction-card ol {
  margin: 4px 0;
  padding-left: 20px;
}

.selection-warning {
  margin-top: 12px;
  border: 1px solid #c87500;
  background: #fff4ce;
  color: #5c3b00;
}

.error-box,
.support-error {
  border: 1px solid #c50f1f;
  background: #fde7e9;
  color: #750b1c;
}

.support-ok {
  border: 1px solid #107c10;
  background: #effaf0;
  color: #0b5a0b;
}

.agent-card,
.selection-card,
.review-section,
.approval-card,
.writeback-plan,
.status-card,
.success-card,
.evidence-fieldset {
  margin: 14px 0;
  border: 1px solid #d0d8e2;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(18, 42, 66, 0.06);
}

.agent-card p,
.review-section p {
  margin: 6px 0;
}

.pill {
  display: inline-block;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e7f3ff;
  color: #0f548c;
  font-size: 0.75rem;
  font-weight: 700;
}

.pill.warning {
  background: #fff0cc;
  color: #6b4b00;
}

.metadata,
.muted,
.citation-line {
  color: #52657a;
  font-size: 0.875rem;
}

button {
  min-height: 38px;
  margin: 6px 8px 6px 0;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 600;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button.primary {
  background: #0f6cbd;
  color: #fff;
}

button.primary:hover:not(:disabled) {
  background: #115ea3;
}

button.secondary {
  border-color: #7890a7;
  background: #fff;
  color: #17253a;
}

button.link-button {
  min-height: auto;
  margin: 2px 0;
  background: transparent;
  color: #0f5f9e;
  padding: 4px;
  text-decoration: underline;
}

.metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.metadata-grid div {
  min-width: 0;
  border-left: 3px solid #b6d6f2;
  padding-left: 8px;
}

.metadata-grid dt {
  color: #52657a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.metadata-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  max-height: 240px;
  margin-top: 12px;
  overflow: auto;
  border: 1px solid #cbd5e1;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

th,
td {
  border: 1px solid #dce3eb;
  padding: 6px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

th {
  background: #eef4fa;
}

.form-field {
  margin: 14px 0;
}

.form-field label,
.evidence-fieldset legend {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea,
.evidence-fieldset input {
  width: 100%;
  max-width: 100%;
  border: 1px solid #7c8da0;
  border-radius: 5px;
  background: #fff;
  padding: 9px;
}

.form-field textarea {
  resize: vertical;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-error {
  margin: 4px 0;
  color: #b10e1e;
  font-weight: 600;
}

.evidence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  border-top: 1px solid #dce3eb;
  padding-top: 8px;
  overflow-wrap: anywhere;
}

.status-card {
  margin-top: 30px;
  text-align: center;
}

.spinner {
  width: 34px;
  height: 34px;
  margin: 4px auto 12px;
  border: 4px solid #cddff0;
  border-top-color: #0f6cbd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}

.provenance-banner {
  display: grid;
  gap: 4px;
  border-left: 5px solid #0f6cbd;
  border-radius: 5px;
  background: #eaf4fc;
  padding: 10px 12px;
}

.result-item,
.exception-card {
  margin: 9px 0;
  border-top: 1px solid #dce3eb;
  padding-top: 9px;
}

.status-pass {
  color: #0b6a0b;
}

.status-exception {
  color: #9a3412;
}

.approval-card {
  border: 2px solid #0f6cbd;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0;
  font-weight: 600;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.success-card {
  border-color: #107c10;
  background: #effaf0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .app-shell {
    padding: 12px;
  }

  .two-column,
  .metadata-grid {
    grid-template-columns: 1fr;
  }

  .app-header h1 {
    font-size: 1.25rem;
  }

  button.primary,
  button.secondary {
    width: 100%;
    margin-right: 0;
  }
}


/*# sourceMappingURL=taskpane.css.map*/