.cuefind-workspace {
  --ink: #19261e;
  --muted: #5c695f;
  --line: #e0e6dc;
  background: #f6f8f4;
  color: var(--ink);
}
.desktop-header {
  min-height: 65px;
  padding: 12px clamp(20px, 5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.desktop-brand, .desktop-account, .desktop-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.desktop-brand strong { font-size: 20px; letter-spacing: -.55px; }
.desktop-brand { text-decoration: none; }
.web-workspace-header { display: none; }
.is-workspace { display: block; }
.is-workspace .web-workspace-header { display: flex; }
.is-workspace > .sidebar, .is-workspace .topbar, .is-workspace .footer { display: none; }
.desktop-account { position: relative; }
.desktop-account .small { font-size: 12px; }
.desktop-menu summary {
  cursor: pointer;
  color: #385145;
  font-size: 13px;
  font-weight: 600;
}
.desktop-account-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  right: 0;
  width: 208px;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 32px #20322722;
}
.desktop-account-menu span { font-size: 12px; color: var(--muted); padding: 4px; }
.desktop-account-menu :is(button, a) { justify-content: flex-start; }
.cuefind-workspace #app { max-width: 900px; min-height: 0; padding: 30px clamp(20px, 4vw, 42px) 30px; }
.desktop-intro { margin-bottom: 22px; }
.desktop-intro h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.05em; margin-bottom: 7px; }
.desktop-intro p { font-size: 15px; line-height: 1.45; color: var(--muted); margin: 0; }
.desktop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 21px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px #162b1707;
}
.step-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.step-heading h2 { margin: 0 0 3px; font-size: 18px; }
.step-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.step-number {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: #e8f4d6;
  color: #315424;
  font-weight: 700;
}
.desktop-drop {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 13px;
  min-height: 66px;
  padding: 13px 15px;
  border-color: #b6c8ad;
  background: #f6faef;
}
.desktop-drop:hover, .desktop-drop.drag { background: #eef7e3; }
.desktop-drop strong, .desktop-drop small { display: block; }
.desktop-drop strong { font-size: 14px; }
.desktop-drop small { color: #586b56; font-size: 12px; margin-top: 3px; }
.cuefind-workspace .workspace-files { margin: 12px 0; max-height: 165px; overflow: auto; }
.cuefind-workspace .workspace-files:empty { display: none; }
.cuefind-workspace .file-row { padding: 7px 11px; min-height: 37px; }
.cuefind-workspace .file-row small { color: #586b56; }
.desktop-actions { margin-top: 12px; flex-wrap: wrap; }
.desktop-actions .desktop-menu[open] { flex-basis: 100%; }
.desktop-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 9px;
  background: #f6f8f4;
  border-radius: 11px;
  margin-top: 10px;
  padding: 12px;
}
.desktop-options label, .desktop-search-tools label { display: grid; gap: 4px; min-width: 0; }
.desktop-footnote { color: var(--muted); font-size: 12px; margin: 11px 0 0; line-height: 1.45; }
.desktop-search .search-form { display: flex; flex-wrap: nowrap; }
.desktop-search .search-form input { flex: 1; min-width: 0; font-size: 15px; }
.desktop-search .search-form button { min-width: 76px; }
.desktop-search-tools { display: grid; grid-template-columns: minmax(90px, 160px) minmax(110px, 240px); gap: 10px; margin-top: 10px; }
.desktop-search-tools select, .desktop-options select { padding: 7px 9px; }
.desktop-search .result-count:not(:empty) { margin: 12px 0 0; color: var(--muted); }
.desktop-search .result { padding: 15px 0; }
.desktop-search .result:last-child { padding-bottom: 0; }
.desktop-empty { margin-top: 13px; font-size: 12px; color: var(--muted); }
.desktop-empty button { margin-left: 4px; }
.desktop-export { padding: 4px 4px 8px; }
.desktop-export .actions { margin-top: 10px; }
.cuefind-workspace .progress-box { margin: 12px 0 0; }
.cuefind-workspace .progress-track { margin: 8px 0 0; }
@media(max-width: 520px) {
  .desktop-header { padding-inline: 14px; }
  .desktop-card { padding: 16px; }
  .desktop-account, .desktop-actions { gap: 8px; }
}
