:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #242a29;
  background: #fff;
  font-synthesis: none;
  letter-spacing: 0;
  font-size: 16px;
  --accent: #08665f;
  --muted: #687371;
  --line: #dce2df;
  --surface: #f5f7f6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button,
select,
input {
  min-height: 38px;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd3cf;
  border-radius: 5px;
  background: white;
  padding: 9px 11px;
  color: #242a29;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
:focus-visible {
  outline: 3px solid #96c9c1;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 0;
  font-weight: 650;
}
h2 {
  font-size: 20px;
  font-weight: 620;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
small {
  font-size: 12px;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button svg {
  pointer-events: none;
}
.primary,
.secondary,
.quiet,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  border-radius: 5px;
  min-height: 38px;
  padding: 8px 12px;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover {
  background: #07534d;
}
.secondary {
  border: 1px solid #cbd3cf;
  background: white;
}
.secondary:hover,
.quiet:hover,
.icon-button:hover {
  background: #eef2f0;
}
.text-link {
  color: var(--accent);
  padding: 4px 0;
  justify-content: flex-start;
}
.quiet {
  color: #56635f;
  padding: 7px 9px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 5px;
  padding: 0;
  flex-shrink: 0;
  color: #65716c;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.error,
.notice,
.success {
  padding: 12px 16px;
  font-size: 14px;
  margin: 12px 24px;
  border-radius: 5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.error {
  color: #963735;
  background: #fff0ef;
  border: 1px solid #f0c9c5;
}
.notice {
  color: #715417;
  background: #fff8e7;
  margin: 20px 0;
}
.success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0b6757;
  background: #eef8f3;
}
.workspace {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  background: #f7f9f8;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
  margin: 0 4px 43px;
}
.brand small {
  display: block;
  color: #76817c;
  font-weight: 400;
  margin-top: 4px;
}
.monogram {
  background: #233e36;
  color: #fff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.nav-label {
  font-size: 11px;
  color: #829087;
  margin: 0 12px 12px;
  font-weight: 650;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 5px;
  padding: 11px 12px;
  font-size: 14px;
  color: #5f6c65;
}
.sidebar nav a:hover {
  background: #edf1ee;
}
.sidebar nav a.active {
  background: #e6efe9;
  color: #205c47;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 14px;
  padding: 16px 5px 0;
}
.sidebar-bottom .quiet {
  justify-content: flex-start;
}
.owner-email {
  font-size: 12px;
  color: #748178;
  overflow-wrap: anywhere;
}
.main {
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  min-height: 62px;
  padding: 0 34px;
  font-size: 13px;
  color: #6b7771;
}
.topbar > .icon-button {
  display: none;
}
.divider {
  color: #a6afa9;
  margin: 0 12px;
}
.private-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7b827c;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 34px 25px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: #7c8881;
  margin: 0 0 10px;
}
.tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  gap: 24px;
  min-height: 49px;
}
.tabs > button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  color: #6c7871;
  white-space: nowrap;
}
.tabs > button.selected {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.archive-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #707a75;
  font-size: 13px;
  white-space: nowrap;
}
.wiki-surface {
  display: grid;
  grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
  min-height: calc(100vh - 216px);
}
.entry-list {
  border-right: 1px solid var(--line);
  min-width: 0;
  background: #fdfefd;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 18px 12px;
  border: 1px solid #d6ddd8;
  padding: 0 9px;
  border-radius: 5px;
  color: #7a8880;
  background: #fff;
}
.search input {
  border: 0;
  font-size: 14px;
  background: transparent;
  padding: 8px 0;
  outline-offset: 0;
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 0 18px;
}
.filters input,
.filters select {
  font-size: 12px;
  min-height: 32px;
  padding: 6px 8px;
}
.discipline-filter {
  grid-column: 1 / -1;
}
.discipline-options {
  display: grid;
  gap: 10px;
}
.list-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 20px 19px 10px;
  font-size: 11px;
  color: #7b857e;
}
.entry-row {
  display: block;
  text-align: left;
  width: 100%;
  padding: 18px 20px;
  border-bottom: 1px solid #e9ede9;
  border-left: 3px solid transparent;
  transition: background 0.12s;
}
.entry-row:hover {
  background: #f4f7f5;
}
.entry-row.selected {
  background: #edf4f0;
  border-left-color: var(--accent);
}
.row-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
  font-size: 14px;
}
.row-title strong {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.row-title svg {
  color: #7a8f83;
  margin-top: 2px;
}
.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  justify-content: space-between;
  font-size: 11px;
  color: #7b847e;
  margin-top: 10px;
}
.row-tags {
  display: block;
  font-size: 11px;
  color: #648274;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.row-disciplines {
  display: block;
  font-size: 11px;
  color: #5c6972;
  margin-top: 8px;
}
.list-empty {
  padding: 48px 22px;
  text-align: center;
  color: #859187;
}
.list-empty h2 {
  color: #495c50;
  font-size: 16px;
  margin: 16px 0 8px;
}
.list-empty p {
  font-size: 13px;
  line-height: 1.6;
  color: #7d8881;
}
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-size: 12px;
  color: var(--muted);
}
.entry-detail {
  min-width: 0;
}
.detail-empty {
  padding: 105px 28px 80px;
  text-align: center;
  max-width: 520px;
  margin: auto;
  color: #7a8c80;
}
.empty-symbol {
  display: inline-flex;
  padding: 20px;
  border: 1px solid #e2e9e4;
  border-radius: 8px;
  margin-bottom: 24px;
  background: #f9fbfa;
}
.detail-empty h2 {
  color: #384a3e;
  font-size: 21px;
  margin-bottom: 12px;
}
.detail-empty p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.detail-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  gap: 8px;
  border-bottom: 1px solid #eef1ee;
}
.toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.segments {
  display: flex;
  background: #f1f4f2;
  padding: 3px;
  border-radius: 5px;
}
.segments button {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 3px;
}
.segments .selected {
  background: #fff;
  box-shadow: 0 1px 3px #00000010;
}
.article {
  padding: 35px 40px 70px;
  max-width: 980px;
  margin: auto;
  overflow-wrap: anywhere;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #6a8273;
  margin-bottom: 17px;
}
.article h2 {
  font-size: 27px;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #293d30;
}
.document-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8a938c;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
}
.tags button,
.badge {
  font-size: 11px;
  color: #5c7364;
  padding: 4px 8px;
  border-radius: 4px;
  background: #eef3ef;
  min-height: 24px;
}
.markdown {
  font-size: 15px;
  line-height: 1.85;
  color: #3d4840;
  margin-top: 30px;
}
.markdown h1,
.markdown h2 {
  font-size: 22px;
  margin-top: 32px;
}
.markdown h3 {
  font-size: 18px;
  margin-top: 24px;
}
.markdown p {
  margin-bottom: 18px;
}
.markdown a {
  text-decoration: underline;
  color: var(--accent);
}
.markdown ul,
.markdown ol {
  padding-left: 24px;
}
.markdown code {
  font-size: 13px;
  background: #eff3ef;
  padding: 2px 4px;
  border-radius: 3px;
}
.markdown pre {
  padding: 14px;
  background: #f4f6f4;
  overflow: auto;
  border: 1px solid #e4e9e4;
  border-radius: 5px;
}
.markdown pre code {
  padding: 0;
  background: none;
}
.markdown blockquote {
  border-left: 3px solid #9db8a7;
  padding-left: 18px;
  margin-left: 0;
  color: #6c7e71;
}
.markdown table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.markdown td,
.markdown th {
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-align: left;
}
.references {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 23px;
}
.references a,
.references button {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}
.editor {
  padding: 25px 32px 50px;
  display: grid;
  gap: 21px;
}
.editor label,
.credential-form > label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: #546358;
}
.editor input,
.editor textarea,
.editor select {
  font-size: 14px;
  font-weight: 400;
}
.editor .body-editor {
  min-height: 320px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  tab-size: 2;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.editor fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.editor legend {
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 12px;
}
.check-row {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  cursor: pointer;
}
.check-row small {
  display: block;
  color: #869087;
  margin-top: 4px;
}
.related-options {
  display: grid;
  gap: 10px;
  max-height: 180px;
  overflow: auto;
  padding: 14px 0;
}
.related-options span {
  overflow-wrap: anywhere;
}
.revision-panel {
  padding: 18px 32px;
  background: #f6f8f6;
  border-bottom: 1px solid var(--line);
  max-height: 300px;
  overflow: auto;
}
.inline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.inline-heading h3 {
  margin: 0;
}
.revision-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 10px;
}
.connections {
  padding: 12px 34px 60px;
  max-width: 1080px;
}
.connections > section {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
}
.connections h2 {
  font-size: 18px;
  margin-bottom: 24px;
}
.credential-form {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 140px;
  gap: 20px;
  max-width: 650px;
  align-items: center;
}
.credential-form .primary {
  justify-self: end;
}
.issued {
  border: 1px solid #add0bc;
  background: #f1f8f3;
  border-radius: 6px;
  padding: 18px;
  margin-top: 28px;
  max-width: 720px;
}
.issued p {
  font-size: 13px;
  margin: 14px 0;
}
.token-value {
  display: flex;
  align-items: center;
  gap: 12px;
}
.token-value code {
  overflow-wrap: anywhere;
  font-size: 12px;
  flex: 1;
}
.credential-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #edf0ed;
}
.credential-row > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.credential-row strong {
  font-size: 14px;
  font-weight: 550;
}
.credential-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
}
.login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 7%;
  background: #f9fbf9;
}
.login-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.login-form {
  margin: auto;
  width: 100%;
  max-width: 370px;
  padding: 70px 0;
  color: #344b3b;
}
.login-form > svg {
  color: var(--accent);
  margin-bottom: 24px;
}
.login-form h1 {
  font-size: 29px;
  margin-bottom: 15px;
}
.login-form > p {
  color: #778579;
  line-height: 1.6;
  font-size: 15px;
}
.login-form > .primary {
  width: 100%;
  margin-top: 12px;
  min-height: 44px;
}
.login-form .error {
  margin: 12px 0;
}
.login footer {
  font-size: 12px;
  color: #839086;
}
.profile {
  padding: 12vh 10%;
  min-height: 100vh;
}
.profile h1 {
  font-size: 44px;
  margin: 28px 0;
}
.profile .text-link {
  margin-top: 24px;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .wiki-surface {
    grid-template-columns: 380px minmax(0, 1fr);
  }
}
@media (max-width: 1050px) {
  .workspace {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 12px;
  }
  .brand {
    gap: 8px;
    font-size: 13px;
  }
  .monogram {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .brand small {
    font-size: 11px;
  }
  .wiki-surface {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .page-heading,
  .topbar {
    padding-inline: 24px;
  }
  .tabs {
    padding-inline: 24px;
    gap: 18px;
  }
  .article {
    padding-inline: 25px;
  }
  .editor {
    padding-inline: 20px;
  }
  .detail-toolbar {
    padding-inline: 14px;
  }
  .toolbar-right {
    gap: 4px;
  }
  .segments button {
    padding-inline: 6px;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    top: 62px;
    bottom: 0;
    height: calc(100dvh - 62px);
    width: 235px;
    z-index: 20;
    box-shadow: 8px 0 24px #00000010;
  }
  .sidebar.open {
    display: flex;
  }
  .topbar {
    padding: 0 16px;
    gap: 12px;
    justify-content: flex-start;
  }
  .topbar > .icon-button {
    display: inline-flex;
  }
  .private-label {
    margin-left: auto;
  }
  .topbar > span {
    font-size: 12px;
  }
  .divider {
    margin-inline: 6px;
  }
  .page-heading {
    padding: 24px 18px 19px;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .primary {
    font-size: 12px;
    padding: 8px 10px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .tabs {
    padding: 0 18px;
    gap: 16px;
    flex-wrap: wrap;
    row-gap: 0;
  }
  .tabs > button {
    font-size: 12px;
    gap: 6px;
  }
  .archive-toggle {
    font-size: 12px;
  }
  .archive-toggle > svg {
    display: none;
  }
  .wiki-surface {
    display: block;
  }
  .entry-list {
    border-right: 0;
  }
  .entry-detail {
    border-top: 1px solid var(--line);
  }
  .wiki-surface:has(.has-entry) .entry-list {
    display: none;
  }
  .entry-detail:not(.has-entry) {
    display: none;
  }
  .list-empty {
    padding: 70px 20px;
  }
  .entry-row {
    padding: 20px;
  }
  .list-meta {
    font-size: 12px;
  }
  .row-title {
    font-size: 15px;
  }
  .row-meta {
    font-size: 12px;
  }
  .detail-toolbar {
    padding: 12px;
  }
  .article {
    padding: 28px 22px 60px;
  }
  .article h2 {
    font-size: 25px;
  }
  .editor {
    padding: 24px 18px;
  }
  .credential-form {
    grid-template-columns: minmax(0, 1fr) 125px;
    gap: 16px;
  }
  .connections {
    padding: 0 20px 40px;
  }
  .credential-form .primary {
    font-size: 12px;
  }
  .credential-row {
    gap: 10px;
  }
  .credential-row .badge {
    font-size: 10px;
  }
  .login {
    padding: 28px 25px;
  }
  .profile h1 {
    font-size: 36px;
  }
  .error,
  .success {
    margin-inline: 16px;
  }
  .form-grid {
    gap: 10px;
  }
  .revision-panel {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.screw-dashboard {
  color: #29383d;
}
.screw-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 34px 22px;
  border-bottom: 1px solid var(--line);
}
.screw-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #64767a;
  margin-bottom: 12px;
}
.screw-heading h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}
.screw-heading p {
  display: flex;
  gap: 10px;
  margin: 9px 0 0;
  font-size: 12px;
  color: #64767a;
}
.screw-heading p span {
  color: #adb8bc;
}
.screw-heading-actions {
  flex-shrink: 0;
}
.screw-catalogue,
.screw-configurator,
.screw-data,
.screw-sources {
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
}
.screw-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.screw-dashboard h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
.screw-section-heading h2 span {
  color: #7a878d;
  font-size: 12px;
  font-weight: 400;
  margin-left: 9px;
}
.screw-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7c8a8f;
  border: 1px solid #d8e0e2;
  border-radius: 5px;
  padding: 0 10px;
  width: 240px;
  min-width: 0;
}
.screw-search input {
  padding: 8px 0;
  font-size: 12px;
  min-height: 32px;
  border: 0;
  background: transparent;
}
.screw-search .icon-button {
  min-width: 24px;
  width: 24px;
  height: 28px;
  min-height: 28px;
}
.screw-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.screw-type {
  display: flex;
  flex-direction: column;
  padding: 0 0 13px;
  text-align: left;
  min-width: 0;
  border: 1px solid #dce3e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.screw-type:hover {
  border-color: #a0b5b9;
}
.screw-type.selected {
  border-color: #16796f;
  box-shadow: 0 0 0 1px #16796f;
}
.screw-type-picture {
  height: 106px;
  width: 100%;
  background: #f4f7f9;
  position: relative;
  margin-bottom: 12px;
}
.screw-type-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.screw-type-check {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #16796f;
  color: white;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.screw-type-title {
  font-size: 14px;
  font-weight: 600;
  color: #2b3c40;
  padding: 0 12px;
}
.screw-type-standard {
  color: #466873;
  font-size: 12px;
  margin-top: 3px;
  padding: 0 12px;
}
.screw-type-detail {
  font-size: 11px;
  color: #79878b;
  line-height: 1.5;
  margin-top: 8px;
  padding: 0 12px;
  overflow-wrap: anywhere;
}
.screw-no-results {
  font-size: 14px;
  padding: 22px 0;
  color: #617278;
}
.screw-config-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.screw-standard {
  display: block;
  font-size: 11px;
  color: #397d83;
  font-weight: 600;
  margin-bottom: 5px;
}
.screw-config-heading h2 {
  font-size: 22px;
}
.screw-callout {
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.screw-callout span {
  font-size: 16px;
  color: #89979b;
  font-weight: 400;
  margin: 0 4px;
}
.screw-callout small {
  font-size: 12px;
  color: #687b83;
  font-weight: 400;
  margin-left: 6px;
}
.screw-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 0;
}
.screw-visual {
  position: relative;
  min-width: 0;
  background: #f4f7f9;
}
.screw-view-toolbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  z-index: 1;
}
.screw-view-toolbar .segments {
  background: #e7edef;
}
.screw-view-tools {
  display: flex;
}
.screw-view-tools .icon-button {
  width: 29px;
  min-width: 29px;
  min-height: 30px;
  height: 30px;
}
.screw-view-tools button[aria-pressed="true"] {
  color: #006a68;
  background: #dceceb;
}
.screw-canvas {
  height: 340px;
  width: 100%;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.screw-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.screw-canvas[aria-hidden="true"] {
  display: none;
}
.screw-dimension-label {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #155d6c;
  font-size: 11px;
  line-height: 1.2;
  padding: 3px 4px;
  background: #f4f7f9ed;
  white-space: nowrap;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.screw-visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px 14px;
  color: #829098;
  font-size: 11px;
}
.screw-fallback {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 15px;
  text-align: center;
  font-size: 13px;
}
.screw-fallback img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}
.screw-controls {
  padding: 12px 0 0 25px;
  min-width: 0;
}
.screw-controls fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  min-width: 0;
}
.screw-controls legend,
.screw-length-heading label {
  font-size: 13px;
  font-weight: 600;
  color: #4b6167;
}
.screw-controls legend span,
.screw-length-heading label span {
  color: #899a9d;
  margin-left: 6px;
  font-weight: 400;
}
.screw-diameter-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.screw-diameter-options label {
  position: relative;
  cursor: pointer;
}
.screw-diameter-options input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.screw-diameter-options span {
  border: 1px solid #d7e0e2;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  height: 35px;
}
.screw-diameter-options .selected span {
  border-color: #16796f;
  background: #eaf4f1;
  color: #12695f;
}
.screw-diameter-options input:focus-visible + span {
  outline: 2px solid #148b80;
  outline-offset: 3px;
}
.screw-length-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.screw-length-heading select {
  width: 102px;
  font-size: 13px;
  min-height: 35px;
  padding: 7px;
}
.screw-length-slider {
  display: block;
  width: 100%;
  height: 24px;
  min-height: 24px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  accent-color: #147a72;
}
.screw-length-limits {
  display: flex;
  justify-content: space-between;
  color: #89979c;
  font-size: 10px;
}
.screw-length-basis {
  font-size: 11px;
  margin: 9px 0 18px;
  color: #61777e;
}
.screw-key-dimensions {
  margin: 0 0 20px;
  font-size: 12px;
}
.screw-key-dimensions div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f1;
}
.screw-key-dimensions dt {
  color: #788b90;
}
.screw-key-dimensions dd {
  margin: 0;
  color: #354e55;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.screw-key-dimensions small {
  font-size: 10px;
  font-weight: 400;
  color: #89999d;
}
.screw-copy {
  width: 100%;
  font-size: 12px;
  justify-content: center;
}
.screw-feedback {
  min-height: 22px;
  font-size: 11px;
  color: #147567;
  padding-top: 8px;
}
.screw-selected-dimensions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 22px;
  padding: 12px 0;
  gap: 12px;
}
.screw-selected-dimensions > div {
  min-width: 0;
}
.screw-selected-dimensions span {
  display: block;
  min-height: 32px;
  font-size: 11px;
  line-height: 1.5;
  color: #72878c;
}
.screw-selected-dimensions b {
  font-weight: 400;
  margin-left: 2px;
}
.screw-selected-dimensions strong {
  display: block;
  font-size: 22px;
  line-height: 1.6;
  color: #2f444d;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.screw-selected-dimensions small {
  font-size: 11px;
  margin-left: 4px;
  color: #90a0a5;
  font-weight: 400;
}
.screw-table-scroll {
  overflow-x: auto;
}
.screw-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.screw-table th,
.screw-table td {
  text-align: right;
  padding: 12px 16px;
  border-bottom: 1px solid #e6ecee;
}
.screw-table th:first-child {
  text-align: left;
}
.screw-table thead {
  background: #f5f8f9;
  color: #73878d;
  font-size: 11px;
}
.screw-table thead th {
  font-weight: 500;
}
.screw-table tbody th {
  width: 16%;
}
.screw-table tbody button {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 10px;
  color: #45616b;
  font-weight: 500;
}
.screw-table tbody tr.selected {
  background: #edf6f3;
  color: #13716a;
}
.screw-table tbody tr:hover {
  background: #f1f6f7;
}
.screw-data-note {
  color: #829298;
  font-size: 11px;
  line-height: 1.6;
  margin: 13px 0 0;
}
.screw-sources {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 35px;
  padding-bottom: 40px;
}
.screw-sources h2 {
  font-size: 13px;
  margin-bottom: 13px;
}
.screw-sources ul {
  margin: 0;
  padding-left: 16px;
}
.screw-sources li,
.screw-sources p {
  font-size: 12px;
  line-height: 1.7;
  color: #72868b;
  margin: 7px 0;
}
.screw-sources a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #37737b;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.screw-sources a svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.screw-loading {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #73878d;
  font-size: 14px;
}
.wiki-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.wiki-heading-actions .secondary {
  font-size: 13px;
}
@media (min-width: 1600px) {
  .screw-canvas {
    height: 410px;
  }
  .screw-type-picture {
    height: 128px;
  }
  .screw-workbench {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 1100px) {
  .screw-workbench {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .screw-controls {
    padding-left: 18px;
  }
  .screw-heading,
  .screw-catalogue,
  .screw-configurator,
  .screw-data,
  .screw-sources {
    padding-inline: 24px;
  }
  .screw-type-grid {
    gap: 9px;
  }
  .screw-type-detail {
    min-height: 33px;
  }
  .screw-view-toolbar {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .screw-heading,
  .screw-catalogue,
  .screw-configurator,
  .screw-data,
  .screw-sources {
    padding: 20px 18px;
  }
  .screw-heading h1 {
    font-size: 25px;
  }
  .screw-heading-actions {
    display: none;
  }
  .screw-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .screw-type-picture {
    height: 96px;
  }
  .screw-type-detail {
    font-size: 10px;
    min-height: 30px;
  }
  .screw-search {
    width: 195px;
  }
  .screw-config-heading h2 {
    font-size: 19px;
  }
  .screw-callout {
    font-size: 21px;
  }
  .screw-workbench {
    grid-template-columns: minmax(0, 1fr);
  }
  .screw-configurator {
    padding-inline: 0;
  }
  .screw-config-heading {
    padding-inline: 18px;
  }
  .screw-view-toolbar {
    flex-wrap: nowrap;
    padding: 10px;
    gap: 4px;
  }
  .screw-view-toolbar .segments button {
    font-size: 11px;
    padding-inline: 7px;
  }
  .screw-view-tools .icon-button {
    width: 27px;
    min-width: 27px;
  }
  .screw-canvas {
    height: 310px;
  }
  .screw-controls {
    padding: 22px 18px 0;
  }
  .screw-diameter-options {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .screw-diameter-options span {
    font-size: 12px;
  }
  .screw-controls fieldset {
    margin-bottom: 18px;
  }
  .screw-key-dimensions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .screw-selected-dimensions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .screw-selected-dimensions strong {
    font-size: 20px;
  }
  .screw-sources {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .wiki-heading-actions {
    gap: 6px;
  }
  .wiki-heading-actions .secondary {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 11px;
  }
}
