:root {
  --ink: #17233b;
  --muted: #66758d;
  --line: #e5eaf0;
  --surface: #f4f6fa;
  --accent: #6464e6;
  --nav: #17233b;
  --teal: #2ed8ba;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
button,input,select,textarea {
  font: inherit;
}
button,a,input,select,textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .45;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none!important;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 252px;
  padding: 34px 21px 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--nav);
}
.brand,.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -.6px;
}
.brand-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #fff;
  color: #222d45;
  font-size: 24px;
  letter-spacing: -2px;
  padding-right: 3px;
}
.brand-icon>span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--teal);
  right: -2px;
  bottom: 2px;
  border: 2px solid var(--nav);
}
.brand small {
  display: block;
  color: #8390aa;
  font-size: 8px;
  letter-spacing: 1.65px;
  margin-top: 3px;
  font-weight: 650;
}
.nav-caption {
  color: #77859f;
  font-size: 8px;
  letter-spacing: 1.65px;
  margin: 50px 13px 14px;
  font-weight: 650;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  color: #99a8c0;
  background: transparent;
  border-radius: 10px;
  padding: 14px 13px;
  font-size: 12px;
  text-align: left;
  margin-bottom: 7px;
  font-weight: 500;
}
.nav svg {
  width: 19px;
  height: 19px;
}
.nav:hover {
  background: #21314c;
  color: #fff;
}
.nav.active {
  color: #fff;
  background: #303653;
  box-shadow: inset 3px 0 0 #9d93ff;
}
.nav.active svg {
  color: #b8b0ff;
}
.nav-count {
  font-size: 9px;
  border-radius: 5px;
  padding: 1px 5px;
  background: #3a4865;
  margin-left: auto;
  color: #cbd4e9;
}
.sidebar-bottom {
  margin-top: auto;
  color: #7f8da7;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  padding: 24px 7px;
}
.system-dot,.small-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3bd3b3;
  display: inline-block;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 24px 3px;
  border-top: 1px solid #2a3853;
}
.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #343e5a;
  color: #c7c8ff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 11px;
}
.profile strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  max-width: 127px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.profile small {
  display: block;
  font-size: 9px;
  color: #8291ac;
  margin-top: 2px;
}
.icon-button {
  color: #8390a8;
  border: 0;
  background: transparent;
  margin-left: auto;
  padding: 3px;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
main {
  margin-left: 252px;
}
.topbar {
  height: 76px;
  padding: 0 43px;
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #96a1b3;
  font-size: 10px;
}
.topbar strong {
  color: #596984;
  font-weight: 550;
}
.crumb-separator {
  margin: 0 12px;
  color: #ccd1db;
}
#today-display {
  margin-left: auto;
}
.private-badge {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #75849c;
}
.private-badge i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #36b89b;
}
.content {
  max-width: 1450px;
  margin: auto;
  padding: 36px 43px 65px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
}
.eyebrow {
  color: #8b94a7;
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 700;
  margin: 0 0 8px;
}
h1 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -1.05px;
  margin: 0 0 10px;
  font-weight: 700;
}
h2 {
  font-size: 16px;
  letter-spacing: -.4px;
  font-weight: 650;
  margin: 0;
}
h3 {
  font-size: 15px;
  margin: 12px 0 7px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.primary,.secondary {
  border-radius: 9px;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}
.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  box-shadow: 0 4px 9px #6464e61c;
}
.primary:hover {
  background: #5655d4;
}
.primary svg {
  width: 16px;
  height: 16px;
}
.secondary {
  background: #fff;
  border: 1px solid #dce3ed;
  color: #596880;
  box-shadow: 0 2px 2px #17233b02;
}
.secondary svg {
  width: 14px;
  height: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stats article {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 3px 6px #17233b02;
}
.stats p {
  color: #8894a7;
  font-size: 10px;
  margin: 0 0 3px;
}
.stats strong {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.8px;
}
.stat-icon {
  width: 43px;
  height: 43px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.stat-icon svg {
  width: 21px;
  height: 21px;
}
.violet {
  background: #f0edff;
  color: #8e7ce1;
}
.sand {
  background: #fff4e5;
  color: #d2a259;
}
.mint {
  background: #e9f8f3;
  color: #4aab8e;
}
.rose {
  background: #fff0ee;
  color: #d4938b;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 7px #17233b02;
}
.panel-title {
  padding: 23px 25px 19px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.panel-title p {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 0;
}
.step-chip,.count-chip {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f3f5f9;
  color: #8995a8;
  white-space: nowrap;
}
.upload-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 255px;
  gap: 22px;
  margin-bottom: 28px;
}
.dropzone {
  text-align: center;
  cursor: pointer;
  padding: 29px 12px 25px;
  margin: 0 25px;
  border: 1.5px dashed #d5d8ee;
  border-radius: 11px;
  background: #fcfcff;
  transition: background .15s;
}
.dropzone:hover,.dropzone.drag {
  background: #f4f2ff;
  border-color: #a599e7;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  background: #efecff;
  color: #8375d6;
  border: 6px solid #f6f4ff;
  box-shadow: 0 0 0 1px #eeebfa;
  border-radius: 14px;
  margin: 0 auto 15px;
}
.upload-icon svg {
  width: 22px;
  height: 22px;
}
.dropzone strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dropzone p {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.dropzone small {
  font-size: 9px;
  color: #a0aabc;
}
.text-link {
  color: #8473d8;
}
.upload-actions {
  padding: 18px 25px 22px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.upload-actions p {
  font-size: 9px;
  max-width: 230px;
}
.upload-actions .small-dot {
  margin-right: 5px;
}
progress {
  display: block;
  width: calc(100% - 50px);
  height: 5px;
  margin: 0 25px 18px;
  accent-color: var(--accent);
}
.schedule-card {
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(140deg,#263650,#1c2941);
  color: #fff;
  box-shadow: 0 7px 15px #17233b12;
  overflow: hidden;
}
.schedule-tag {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #91a0bc;
  display: flex;
  align-items: center;
  gap: 7px;
}
.schedule-tag svg {
  width: 13px;
  height: 13px;
  color: #a9bad2;
}
.schedule-card>p {
  font-size: 11px;
  color: #acb8ce;
  margin: 21px 0 2px;
}
.schedule-card>strong {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -1.2px;
}
.schedule-card>strong span {
  font-size: 10px;
  letter-spacing: 0;
  margin-left: 10px;
  color: #97a8c3;
  font-weight: 400;
}
.schedule-line {
  height: 1px;
  background: #40516e;
  margin: 21px 0 20px;
}
.schedule-card ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.schedule-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.schedule-card li>b {
  font-size: 8px;
  font-weight: 500;
  border: 1px solid #425370;
  border-radius: 7px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #9eacc4;
}
.schedule-card li>span {
  font-size: 10px;
  font-weight: 500;
}
.schedule-card li small {
  display: block;
  color: #7d90ad;
  font-size: 8px;
  font-weight: 400;
  margin-top: 2px;
}
.schedule-card li:last-child b {
  color: #66d1b8;
  border-color: #436b70;
  background: #2e4b5a;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #94a1b5;
  font-weight: 600;
  padding: 13px 23px;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
  background: #fafbfd;
  white-space: nowrap;
}
td {
  padding: 19px 23px;
  border-bottom: 1px solid #eef1f6;
  font-size: 10px;
  color: #78869d;
}
td:first-child {
  min-width: 185px;
}
td strong {
  display: block;
  color: #384761;
  font-size: 10px;
  font-weight: 600;
  max-width: 270px;
  overflow-wrap: anywhere;
}
td small {
  display: block;
  font-size: 8px;
  color: #9ca7b7;
  margin-top: 3px;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 9px;
  background: #f0edff;
  color: #8e7ac6;
  white-space: nowrap;
}
.state:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.state.published {
  background: #eaf6ef;
  color: #50a080;
}
.state.scheduled {
  background: #eef2f8;
  color: #8294ad;
}
.state.duplicate {
  background: #fff4e6;
  color: #b99157;
}
.state.failed,.state.review_required {
  background: #fff0eb;
  color: #bf7d6b;
}
.file-link {
  color: #7467c2;
  background: #faf9ff;
  border: 1px solid #e8e4f8;
  font-size: 9px;
  display: inline-block;
  padding: 6px 8px;
  border-radius: 5px;
  margin: 2px 4px 2px 0;
  white-space: nowrap;
}
.file-link:hover {
  background: #efebff;
}
.inline-action,.duplicate-trigger {
  background: transparent;
  border: 0;
  color: #8372cc;
  padding: 5px 0;
  font-size: 9px;
  display: block;
}
.duplicate-trigger {
  color: #bb8a4c;
  padding: 3px 6px;
  background: #fff7e9;
  border-radius: 4px;
}
.unique-label {
  color: #66a791;
  font-size: 9px;
}
.history-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 24px;
  font-size: 8px;
  color: #a2adbd;
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
}
.empty-state svg {
  width: 34px;
  height: 34px;
  color: #c0c5dc;
}
.empty-state p {
  font-size: 11px;
}
.notice {
  border: 1px solid #dceae5;
  padding: 13px 17px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #497d70;
  background: #f1faf6;
  font-size: 11px;
}
.notice.bad,.error {
  color: #b06e55;
}
.notice.bad {
  background: #fff7eb;
  border-color: #f2e4ce;
}
.error {
  min-height: 18px;
  font-size: 11px;
  margin: 12px 0;
}
.login-screen {
  min-height: 100vh;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(at 10% 20%,#dfe9f5,transparent 50%),radial-gradient(at 90% 80%,#e4def4,transparent 50%),#f4f6fa;
}
.login-brand {
  color: var(--nav);
  margin-bottom: 32px;
}
.login-brand .brand-icon {
  background: var(--nav);
  color: #fff;
}
.login-card {
  border: 1px solid #fff;
  border-radius: 22px;
  background: #fff;
  padding: 38px;
  box-shadow: 0 20px 60px #253b5b0c;
  width: 100%;
  max-width: 425px;
}
.login-card h1 {
  font-size: 28px;
}
.login-card label {
  margin-top: 21px;
}
.login-card .primary {
  width: 100%;
  justify-content: space-between;
}
.login-footer {
  color: #91a0b3;
  font-size: 10px;
  margin-top: 25px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 10px;
  color: #687890;
  font-weight: 600;
}
input,select,textarea {
  border: 1px solid #dfe5ed;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  width: 100%;
  color: var(--ink);
  font-size: 12px;
}
input:focus,select:focus,textarea:focus {
  outline: 2px solid #dedaf6;
  border-color: #a298d6;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
.user-create {
  padding: 25px;
  margin-bottom: 24px;
}
.user-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.user-form button {
  justify-self: start;
}
.knowledge-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
}
.search-box {
  position: relative;
  flex: 1;
  max-width: 465px;
}
.search-box svg {
  position: absolute;
  top: 13px;
  left: 14px;
  color: #99a6b8;
  width: 16px;
  height: 16px;
}
.search-box input {
  padding-left: 40px;
  border-color: #e3e8f0;
  font-size: 11px;
}
.segments {
  display: flex;
  background: #e9edf4;
  border-radius: 8px;
  padding: 3px;
}
.segments button {
  border: 0;
  background: transparent;
  color: #8a96aa;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
}
.segments button.active {
  background: white;
  color: #53627e;
  box-shadow: 0 2px 4px #263b5520;
}
.segments span {
  padding: 1px 4px;
  margin-left: 3px;
  background: #f3eee5;
  color: #ad956a;
  border-radius: 4px;
  font-size: 8px;
}
.knowledge-layout {
  display: grid;
  grid-template-columns: 330px minmax(0,1fr);
  gap: 23px;
  align-items: start;
}
#kb-list {
  max-height: 540px;
  overflow-y: auto;
}
.list-caption {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #a1aabd;
  font-weight: 650;
  padding: 20px 21px;
  border-bottom: 1px solid var(--line);
}
.kb-item {
  border: 0;
  border-bottom: 1px solid #edf0f5;
  background: white;
  text-align: left;
  width: 100%;
  padding: 19px 21px;
  cursor: pointer;
}
.kb-item.active {
  background: #f7f5ff;
  box-shadow: inset 3px 0 0 #8981d9;
}
.kb-item:hover {
  background: #f9faff;
}
.kb-item strong {
  display: block;
  font-size: 12px;
  color: #53647e;
  line-height: 1.6;
  font-weight: 600;
}
.kb-item small {
  display: flex;
  justify-content: space-between;
  color: #6d7c93;
  font-size: 10px;
  margin-top: 9px;
}
.kb-item small .pending {
  color: #ba965b;
}
.knowledge-detail {
  padding: 29px 31px;
  min-height: 490px;
}
.kb-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 19px;
}
.topic-tag {
  color: #8f7dcf;
  background: #f2eefc;
  border-radius: 5px;
  font-size: 9px;
  padding: 4px 8px;
}
.kb-detail-title {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -.6px;
  margin-bottom: 20px;
}
.kb-answer {
  color: #50617b;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
}
.answer-caption {
  margin: 23px 0 9px;
  color: #8390a5;
  font-size: 8px;
  letter-spacing: 1.25px;
  font-weight: 650;
}
.script-card {
  border: 1px solid #e3e6f3;
  background: #f7f8fd;
  border-radius: 10px;
  padding: 19px;
}
.script-card p {
  font-size: 13px;
  color: #536686;
  line-height: 1.85;
  margin: 0 0 13px;
  white-space: pre-wrap;
}
.copy-script {
  border: 0;
  background: transparent;
  padding: 0;
  color: #8c7ecc;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.copy-script svg {
  width: 13px;
  height: 13px;
}
.kb-source {
  color: #a0aabc;
  font-size: 8px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 23px;
  line-height: 1.7;
}
.kb-edit-toggle {
  margin-top: 20px;
}
.kb-edit-form {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 24px;
  display: grid;
  gap: 16px;
}
.edit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
dialog {
  border: 1px solid #e8edf4;
  border-radius: 19px;
  width: min(620px,calc(100% - 32px));
  max-height: 85vh;
  padding: 29px;
  color: var(--ink);
  box-shadow: 0 30px 100px #17233b30;
}
dialog::backdrop {
  background: #14223970;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.close-dialog {
  background: #f2f4f8;
  border: 0;
  border-radius: 7px;
  color: #8d9aae;
  font-size: 20px;
  height: 29px;
  width: 29px;
}
#question-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
#question-form .primary {
  justify-self: end;
}
#duplicate-list {
  margin-top: 20px;
}
.duplicate-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.duplicate-row strong {
  font-size: 11px;
  color: #687a93;
  display: block;
  overflow-wrap: anywhere;
}
.duplicate-row small {
  font-size: 9px;
  color: #9aa7b9;
}
.duplicate-row>span {
  color: #ac935b;
  font-size: 9px;
  white-space: nowrap;
}
@media(min-width:1550px) {
  .content {
  padding-top: 44px;
}
  .dropzone {
  padding-top: 36px;
  padding-bottom: 32px;
}
}
@media(max-width:1180px) {
  .sidebar {
  width: 220px;
  padding-left: 15px;
  padding-right: 15px;
}
  main {
  margin-left: 220px;
}
  .content {
  padding: 29px;
}
  .topbar {
  padding: 0 29px;
}
  .upload-row {
  grid-template-columns: minmax(0,1fr) 225px;
  gap: 17px;
}
  .schedule-card {
  padding: 20px;
}
  .stats article {
  padding: 16px;
  gap: 10px;
}
  .stat-icon {
  width: 35px;
  height: 35px;
}
  .knowledge-layout {
  grid-template-columns: 285px minmax(0,1fr);
  gap: 18px;
}
}
@media(max-width:960px) {
  .stat-icon {
  display: none;
}
  .schedule-card {
  display: none;
}
  .upload-row {
  display: block;
}
  .knowledge-layout {
  grid-template-columns: 245px minmax(0,1fr);
}
  .segments button {
  padding: 8px;
}
  .knowledge-detail {
  padding: 23px;
}
  #today-display {
  display: none;
}
  .private-badge {
  margin-left: auto;
}
}
@media(max-width:760px) {
  .sidebar {
  position: static;
  width: auto;
  padding: 16px;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
  .brand {
  font-size: 17px;
  margin-right: auto;
}
  .brand-icon {
  width: 34px;
  height: 34px;
  font-size: 20px;
  border-radius: 10px;
}
  .brand small,.nav-caption,.sidebar-bottom,.profile .avatar,.profile small {
  display: none;
}
  .profile {
  border: 0;
  padding: 0;
  margin: 0;
}
  .profile strong {
  font-size: 9px;
  max-width: 80px;
}
  .nav {
  margin: 5px 0 0;
  padding: 10px;
  font-size: 10px;
  order: 3;
}
  .nav svg {
  width: 15px;
  height: 15px;
}
  main {
  margin-left: 0;
}
  .topbar {
  height: 52px;
  padding: 0 18px;
  font-size: 9px;
}
  .private-badge {
  font-size: 8px;
}
  .content {
  padding: 24px 16px 40px;
}
  h1 {
  font-size: 27px;
}
  .eyebrow {
  font-size: 7px;
}
  .page-heading {
  align-items: flex-start;
}
  .page-heading .muted {
  font-size: 10px;
}
  .secondary {
  font-size: 10px;
  padding: 10px;
}
  .stats {
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}
  .stat-icon {
  display: grid;
}
  .stats article {
  padding: 15px;
}
  .stats p {
  font-size: 9px;
}
  .stats strong {
  font-size: 25px;
}
  .panel-title {
  padding: 20px 18px 16px;
}
  .panel-title p {
  font-size: 9px;
}
  .dropzone {
  margin: 0 18px;
  padding: 24px 9px;
}
  .upload-actions {
  padding: 17px 18px;
  align-items: center;
}
  .upload-actions p {
  max-width: 150px;
  font-size: 8px;
}
  .primary {
  font-size: 10px;
  padding: 11px 13px;
}
  .history-footer {
  padding: 14px 18px;
  font-size: 7px;
}
  .knowledge-toolbar {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
  .search-box {
  max-width: none;
}
  .segments {
  align-self: flex-start;
}
  .knowledge-layout {
  display: flex;
  flex-direction: column;
}
  .knowledge-list-panel {
  width: 100%;
  max-height: 290px;
  overflow: auto;
}
  .knowledge-detail {
  width: 100%;
  min-height: 0;
}
  .kb-item {
  padding: 15px 18px;
}
  .kb-detail-title {
  font-size: 20px;
}
  .user-form {
  grid-template-columns: 1fr;
}
  .login-card {
  padding: 29px;
}
}
/* Hiring events and private cohort analytics. */
.access-chip {padding:8px 11px;background:#ece9fc;color:#6354ab;border-radius:8px;font-size:10px;white-space:nowrap}
.filter-panel {padding:20px;display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:16px;align-items:end}
.cohort-context {display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0 14px;font-size:11px;color:var(--muted)}
.funnel-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}
.metric-card {padding:23px;background:#fff;border:1px solid var(--line);border-radius:14px;position:relative;overflow:hidden}
.metric-card:before {content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#8b80d8}
.metric-card h2 {font-size:12px;line-height:1.6;min-height:38px}
.metric-value {font-size:36px;color:#4a4087;letter-spacing:-1px;display:block;margin:15px 0 4px}
.metric-card p {margin:0;font-size:11px;color:var(--muted);line-height:1.8}
.conversion-facts {padding:20px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.fact span {display:block;font-size:10px;color:var(--muted);line-height:1.6}.fact strong {display:block;font-size:20px;margin-bottom:5px;color:#394b67}
.method-note {font-size:11px;color:var(--muted);line-height:1.8;margin:16px 0 24px}
.candidate-toolbar {padding:0 24px 20px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.candidate-toolbar label {flex:1;min-width:160px}.candidate-toolbar button {min-height:38px}
.candidate-table {min-width:1150px}.candidate-table td {vertical-align:top;max-width:230px}.candidate-table td small {font-size:10px;line-height:1.7}.candidate-table td {font-size:11px;line-height:1.7}.candidate-table td strong {font-size:11px}
.panel-message {padding:0 24px;margin:0}.association-panel {margin-top:24px}.association-list {padding:0 24px 20px}.association-row {padding:16px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(160px,1fr) 1fr 1fr auto;align-items:end;gap:12px}.association-row strong {font-size:12px;overflow-wrap:anywhere}.association-row p {font-size:10px;color:var(--muted);overflow-wrap:anywhere}.association-row label {min-width:0}
.import-layout {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:22px;margin-bottom:25px}.import-panel,.import-guide {padding:25px}.import-panel>p {margin:12px 0 22px}#hiring-import-form {display:grid;gap:17px}#hiring-import-form button {justify-self:start}.import-guide {background:#f5f4fc}.import-guide>p {font-size:12px;line-height:1.8;color:#66748d}.receipt-content {padding:0 24px 24px}.receipt-summary {display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.receipt-summary span {background:#f3f5fa;padding:10px 14px;border-radius:8px;font-size:12px}.receipt-line {padding:14px 0;border-top:1px solid var(--line);font-size:11px;overflow-wrap:anywhere}.receipt-line .error {margin:5px 0}.receipt-line label {margin-top:10px}.receipt-line textarea {font-family:monospace}.receipt-line button {margin-top:10px}
:focus-visible {outline:3px solid #9c90e0;outline-offset:3px}.table-scroll:focus-visible {outline-offset:-3px}.error:empty {display:none}
@media(max-width:1100px) {.filter-panel {grid-template-columns:1fr 1fr}.filter-panel button {justify-self:start}.conversion-facts {grid-template-columns:repeat(2,1fr)}.association-row {grid-template-columns:1fr 1fr}.association-row>div {grid-column:1/-1}.funnel-metrics {gap:10px}.metric-card {padding:17px}.import-layout {grid-template-columns:1fr}}
@media(max-width:760px) {.funnel-metrics {grid-template-columns:1fr}.metric-card h2 {min-height:0}.metric-card {display:grid;grid-template-columns:1fr auto;column-gap:15px}.metric-value {grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:30px}.metric-card p {grid-column:1}.filter-panel {gap:12px;padding:16px}.filter-panel label {min-width:0}.cohort-context {align-items:flex-start;flex-direction:column}.page-heading .access-chip {display:none}.candidate-toolbar {padding:0 18px 18px}.candidate-toolbar label {min-width:100%;}.candidate-toolbar button {width:100%}.association-list {padding:0 18px 18px}.association-row {grid-template-columns:1fr}.association-row>div {grid-column:auto}.association-row button {width:100%}.conversion-facts {padding:17px;gap:16px}.import-panel,.import-guide {padding:20px}.receipt-content {padding:0 18px 20px}.nav {flex:1 0 auto}.metric-card h2 {font-size:13px}}
.correction-panel {margin-top:24px;padding:22px}.correction-panel summary {font-size:14px;font-weight:600;cursor:pointer}.correction-panel>p {margin:15px 0}.correction-form {display:grid;grid-template-columns:1fr 1fr;gap:16px}.correction-form button {align-self:end}.correction-form .error {grid-column:1/-1}@media(max-width:760px){.correction-form{grid-template-columns:1fr}}
.receipt-retry-form {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.receipt-retry-form button {align-self:end}.receipt-retry-form .error {grid-column:1/-1}@media(max-width:760px){.receipt-retry-form{grid-template-columns:1fr}}
.night-profile-modal {max-height:calc(100dvh - 32px);overflow:auto}
.night-profile-modal form {display:grid;gap:12px;margin-top:12px}
.night-profile-modal form button {justify-self:start}
.night-profile-modal section {margin-block:16px}
