@font-face {
  font-family: 'DM Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-regular.woff') format('woff');
}
@font-face {
  font-family: 'DM Sans';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dm-bold.woff') format('woff');
}
@font-face {
  font-family: 'Manrope';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-semibold.woff') format('woff');
}
@font-face {
  font-family: 'Manrope';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-extrabold.woff') format('woff');
}
:root {
  --bg: #f7f8f5;
  --surface: #fff;
  --ink: #25392f;
  --muted: #7c8580;
  --line: #e6eae4;
  --sage: #e9efe8;
  --peach: #f0a58c;
  --green: #294d3e;
  --sidebar: #20372d;
  --serif: 'Manrope', sans-serif;
  --sans: 'DM Sans', sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #89a99a;
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #e79778;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
}
h1 {
  font-size: 32px;
  letter-spacing: -1.3px;
  font-weight: 750;
  line-height: 1.35;
}
h2 {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 14px;
  font-weight: 700;
}
p {
  line-height: 1.6;
}
small {
  font-size: 11px;
}
code {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
svg {
  flex-shrink: 0;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--sidebar);
  color: #bac9bf;
  display: flex;
  flex-direction: column;
  padding: 32px 17px 15px;
  z-index: 40;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin: 0 14px 45px;
  color: #fff;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -1.2px;
}
.brand > div > span {
  color: #ef9274;
}
.brand small {
  display: block;
  color: #97b2a0;
  font: 9px var(--sans);
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 5px;
}
.workspace-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #8da396;
  margin: 0 15px 17px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
nav button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 13px 13px;
  border-radius: 7px;
  color: #becbc2;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
nav button:hover {
  background: #2b4337;
}
nav button.nav-active {
  background: #344c3e;
  color: #fff;
}
nav button.nav-active svg {
  color: #f0a58c;
}
nav button b {
  background: #f0a58c;
  color: #254031;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 700;
  margin-left: auto;
}
nav button i {
  width: 5px;
  height: 5px;
  background: #f0a58c;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.brand-note {
  padding: 30px 16px 25px;
  border-bottom: 1px solid #ffffff12;
  margin-bottom: 16px;
}
.threads {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}
.threads span {
  width: 7px;
  height: 24px;
  display: block;
  border-radius: 4px;
  transform: rotate(20deg);
}
.threads span:nth-child(2) {
  height: 29px;
}
.threads span:nth-child(3) {
  height: 32px;
}
.threads span:nth-child(4) {
  height: 29px;
}
.brand-note p {
  font-family: var(--serif);
  font-size: 12px;
  color: #90a598;
  line-height: 1.7;
}
.settings-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #becbc2;
  font-size: 12px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 13px 8px;
  font-size: 11px;
  color: #e3e9e4;
}
.account > span {
  border: 1px solid #6a806f;
  background: #3f5646;
  border-radius: 50%;
  padding: 9px;
  font-size: 10px;
}
.account small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #95ac9e;
  margin-top: 4px;
}
.main-wrap {
  margin-left: 232px;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 15px;
}
.breadcrumbs,
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumbs {
  font-size: 11px;
  color: #89948d;
}
.breadcrumbs strong {
  font-weight: 500;
  color: #495c50;
}
.sync-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #86978b;
  font-size: 10px;
}
.sync-state svg {
  color: #789d88;
}
.sync-state.failed {
  color: #b35843;
}
.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f0eee6;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #647368;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 6px;
  color: #7d897f;
}
.icon-button:hover {
  background: #edf1eb;
  color: #2b4737;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1560px;
  margin: auto;
  padding: 34px 38px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 29px;
}
.eyebrow,
.section-kicker {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #89978b;
  margin-bottom: 8px;
}
.page-heading p {
  color: #879087;
  font-size: 12px;
  margin-top: 8px;
}
.heading-actions {
  display: flex;
  gap: 8px;
}
.btn {
  min-height: 37px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  border: 1px solid #dbe2d9;
  border-radius: 6px;
  background: #fff;
  white-space: nowrap;
}
.btn:hover {
  background: #f4f6f1;
  border-color: #b9c7bc;
}
.btn.primary {
  background: #304f3f;
  color: #fff;
  border-color: #304f3f;
}
.btn.primary:hover,
.btn.dark:hover {
  background: #1d3c2b;
}
.btn.dark {
  background: #294637;
  color: #fff;
  border-color: #294637;
}
.wide-btn {
  width: 100%;
  justify-content: space-between;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #567461;
  padding: 0;
}
.text-link:hover {
  color: #213f2e;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 29px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px 20px;
  text-align: left;
  min-height: 137px;
}
.stat > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 11px;
  color: #7b877c;
}
.stat > span svg {
  color: #9daa9e;
}
.stat > strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.9px;
  line-height: 1.2;
  margin: 14px 0 7px;
  font-weight: 750;
  color: #2a4333;
}
.stat > strong small {
  font-size: 10px;
  color: #8d988c;
  letter-spacing: 0;
  margin-left: 8px;
  font-weight: 500;
  font-family: var(--sans);
}
.stat > p {
  font-size: 9px;
  color: #939b92;
  line-height: 1.5;
}
.review-stat {
  background: #f9eee7;
  border-color: #f2e0d5;
}
.review-stat > span {
  color: #a97e68;
}
.review-stat > span svg {
  color: #bd8a70;
}
.review-stat > strong {
  color: #9b624c;
}
.review-stat > p {
  color: #ac8d7d;
}
.review-stat:hover {
  background: #f6e4d9;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.dashboard-main,
.dashboard-side {
  min-width: 0;
}
.palette-panel {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 197px;
  border-radius: 10px;
  background: #eaf0e7;
  padding: 26px 27px;
  overflow: hidden;
  border: 1px solid #e0e8dd;
}
.palette-panel > div:first-child {
  position: relative;
  z-index: 2;
}
.palette-panel .section-kicker {
  color: #71866f;
  font-size: 8px;
}
.palette-panel h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  max-width: 250px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.palette-panel p {
  font-size: 11px;
  color: #7b8a78;
  line-height: 1.7;
}
.palette-panel .text-link {
  margin-top: 18px;
  font-size: 10px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 25px 0 16px;
}
.section-head p {
  font-size: 11px;
  color: #899184;
  margin-top: 6px;
}
.section-head h2 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.filament-card {
  padding: 0;
  text-align: left;
  overflow: hidden;
  border: 1px solid #e5e9e1;
  border-radius: 8px;
  background: #fff;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.filament-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px #263f2d0b;
  border-color: #becbbd;
}
.swatch-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 137px;
  background: #f5f6f0;
}
.material-tag {
  position: absolute;
  top: 10px;
  left: 11px;
  font-size: 7px;
  letter-spacing: 0.1px;
  background: #ffffffa8;
  border: 1px solid #ffffffc2;
  border-radius: 4px;
  padding: 3px 5px;
  color: #75806d;
}
.spool-art {
  filter: drop-shadow(0 5px 3px #35472908);
}
.stage-dot {
  width: 9px;
  height: 9px;
  position: absolute;
  bottom: 11px;
  right: 12px;
  border-radius: 50%;
  border: 1px solid #00000012;
}
.filament-info {
  padding: 15px 14px 12px;
}
.filament-info > small {
  font-size: 9px;
  color: #90988c;
}
.filament-info h3 {
  font-size: 12px;
  letter-spacing: -0.1px;
  margin: 4px 0 11px;
}
.filament-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  font-size: 9px;
  color: #90998a;
}
.filament-info > div svg {
  color: #859881;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px;
}
.panel .section-head {
  margin: 0 0 15px;
}
.material-breakdown {
  margin-top: 23px;
}
.subtle-label {
  font-size: 8px;
  color: #9aa295;
  letter-spacing: 1px;
}
.mix-bar {
  display: flex;
  height: 11px;
  overflow: hidden;
  border-radius: 4px;
  gap: 3px;
  margin: 17px 0;
}
.mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 10px;
  color: #7e8b79;
}
.mix-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mix-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.mix-legend strong {
  font-size: 11px;
  color: #445c42;
  margin-left: 2px;
}
.review-card {
  border-radius: 10px;
  border: 1px solid #e0e4db;
  overflow: hidden;
  background: #fff;
}
.review-photo {
  height: 170px;
  position: relative;
  overflow: hidden;
}
.review-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
}
.review-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, #112a2270);
}
.review-photo > span {
  position: absolute;
  left: 17px;
  bottom: 13px;
  color: #fff;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 1;
}
.review-card-body {
  padding: 23px 21px 21px;
}
.review-card-body .section-kicker {
  font-size: 8px;
}
.review-card-body h2 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}
.review-card-body > p {
  font-size: 11px;
  color: #91968a;
  margin: 11px 0 18px;
  line-height: 1.8;
}
.review-counts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  margin-bottom: 20px;
}
.review-counts > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 10px;
  color: #8b9385;
}
.review-counts b {
  font-size: 10px;
  font-weight: 600;
  color: #64745d;
}
.review-card-body .btn {
  font-size: 10px;
}
.quick-panel {
  margin-top: 22px;
}
.quick-panel .section-head {
  margin-bottom: 8px;
}
.muted {
  color: var(--muted);
}
.quick-panel > p {
  font-size: 10px;
}
.mini-device-list {
  margin: 16px 0 19px;
}
.mini-device-list > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  width: 100%;
  font-size: 10px;
  color: #71806a;
}
.mini-device-list > button > div {
  display: flex;
  gap: 4px;
}
.mini-device-list i {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 1px solid #0000000c;
}
.small-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 10px;
  color: #99a090;
}
.small-note p {
  font-size: 9px;
  line-height: 1.7;
}
footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a0a69a;
}
.inventory-tabs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.inventory-tabs > button {
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  padding: 14px 0;
  font-size: 12px;
  color: #8d9587;
  border-bottom: 2px solid transparent;
}
.inventory-tabs > button.active {
  color: #304e3a;
  border-color: #40684a;
  font-weight: 600;
}
.inventory-tabs > button > span {
  background: #ecefe7;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 13px;
  align-items: center;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #dde4d7;
  border-radius: 6px;
  min-width: 150px;
  flex: 1;
  padding: 0 12px;
  color: #8e9b87;
}
.search-box input {
  background: none;
  border: 0;
  padding: 11px 0;
  outline: none !important;
  width: 100%;
  font-size: 11px;
  color: #334d36;
}
.filter-bar select {
  width: auto;
  max-width: 190px;
  font-size: 11px;
  min-height: 38px;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: #fff;
}
.view-toggle button {
  padding: 6px 8px;
  border-radius: 3px;
  color: #93a08b;
  display: flex;
}
.view-toggle button.active {
  background: #eaf0e4;
  color: #476840;
}
.results-line {
  display: flex;
  justify-content: space-between;
  color: #919a88;
  font-size: 10px;
  margin: 17px 0;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: auto;
  background: #fff;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #899780;
  padding: 17px 20px;
  background: #f5f7f2;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #eef0eb;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr {
  cursor: pointer;
}
tbody tr:hover {
  background: #fafbf7;
}
.filament-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 0;
  white-space: nowrap;
}
.filament-cell strong {
  font-size: 12px;
  font-weight: 600;
}
.filament-cell small {
  display: block;
  font-size: 10px;
  color: #98a08f;
  margin-top: 4px;
}
.color-chip {
  width: 33px;
  height: 33px;
  display: inline-block;
  border-radius: 9px;
  border: 1px solid #0000000c;
  box-shadow: inset 0 0 0 4px #ffffff35;
  flex-shrink: 0;
}
.block {
  display: block;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  line-height: 1.5;
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}
.badge.neutral {
  background: #eef1ea;
  color: #76846c;
}
.badge.pending {
  background: #fbf0df;
  color: #ae8c51;
}
.badge.confirmed {
  background: #e9f2e7;
  color: #63845b;
}
.badge.boxed {
  background: #eef0fa;
  color: #7a7ca6;
}
.badge.open {
  background: #eaf2ed;
  color: #668c75;
}
.badge.loaded {
  background: #f2eafd;
  color: #9a72b7;
}
.badge.empty {
  background: #eeeeea;
  color: #9e9c8b;
}
td > small {
  font-size: 9px;
  margin-top: 5px;
}
td > strong {
  font-size: 12px;
}
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.info-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 19px;
  border: 1px solid #dfe7d9;
  background: #edf3e8;
  border-radius: 8px;
  margin: 0 0 25px;
  color: #77916c;
}
.info-strip p {
  font-size: 11px;
  color: #7d8a72;
  flex: 1;
}
.info-strip > span,
.info-strip > strong {
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.device-card .section-head {
  align-items: flex-start;
}
.device-card .section-kicker {
  font-size: 8px;
}
.device-card h2 {
  margin-top: 5px;
  font-size: 16px;
}
.device-card .section-head p {
  font-size: 10px;
  margin-top: 4px;
}
.device-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 18px;
}
.device-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 5px 13px;
  min-width: 0;
  background: #f7f8f4;
  border: 1px solid #edf0e8;
  border-radius: 7px;
}
.device-slot:hover {
  border-color: #a7baa0;
  background: #f0f4eb;
}
.slot-number {
  font-family: monospace;
  font-size: 10px;
  color: #a0aa96;
  align-self: flex-start;
  margin: 0 0 12px 5px;
}
.slot-roll {
  height: 60px;
  width: 43px;
  border-radius: 50%;
  border: 4px solid #ffffff55;
  outline: 1px solid #0000000a;
  position: relative;
  box-shadow:
    inset -6px 0 4px #0000000b,
    3px 3px 1px #0000000a;
  margin-bottom: 15px;
}
.slot-roll:before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
}
.slot-roll i {
  width: 9px;
  height: 20px;
  position: absolute;
  inset: 16px 0 0 12px;
  border: 3px solid #e3e7da;
  border-radius: 50%;
  background: #53624d;
}
.device-slot strong {
  font-size: 9px;
  font-family: var(--sans);
  font-weight: 600;
  text-align: center;
  max-width: 100%;
  word-break: break-word;
}
.device-slot small {
  font-size: 8px;
  color: #a3ac98;
  margin-top: 5px;
}
.empty-slot {
  height: 60px;
  width: 43px;
  border: 1px dashed #c9d2be;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9b59e;
  margin-bottom: 15px;
}
.device-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #91a084;
  border-top: 1px solid #edf0e7;
  padding-top: 13px;
}
.device-footer button {
  font-size: 9px;
}
.large-gap {
  margin-top: 32px;
}
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.shelf-card > svg {
  color: #91a48a;
  margin-bottom: 13px;
}
.shelf-card h3 {
  font-size: 13px;
}
.shelf-card p {
  font-size: 10px;
  color: #8f9b85;
  margin-top: 7px;
}
.shelf-colors {
  display: flex;
  gap: 4px;
  height: 13px;
  margin: 17px 0;
}
.shelf-colors i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #00000010;
}
.shelf-card .row-actions {
  justify-content: space-between;
}
.review-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #eaf0e5;
  border: 1px solid #e0e8d7;
  padding: 23px 25px;
  border-radius: 9px;
  margin-bottom: 25px;
}
.review-intro > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.review-intro svg {
  color: #7d9d6c;
}
.review-intro h2 {
  font-size: 16px;
}
.review-intro p {
  font-size: 11px;
  color: #8a997d;
  max-width: 590px;
  margin-top: 6px;
}
.review-intro > span {
  font-size: 10px;
  color: #7a906c;
  white-space: nowrap;
}
.inline-note {
  font-size: 11px;
  line-height: 1.7;
  color: #8c937b;
  background: #f4f5ee;
  border: 1px solid #e9ede0;
  border-radius: 6px;
  padding: 13px 16px;
  margin: 15px 0 20px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.review-item-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.review-item-top h3 {
  font-size: 13px;
}
.review-item-top p {
  font-size: 10px;
  color: #8c9b80;
  margin: 5px 0;
}
.review-item-top strong {
  font-size: 10px;
  color: #89967e;
  font-weight: 500;
}
.review-item > h3 {
  margin-bottom: 8px;
}
.review-item > p {
  font-size: 11px;
  color: #8c9781;
  margin-bottom: 12px;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.row-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #72896a;
  padding: 0;
  white-space: nowrap;
}
.row-actions button:hover {
  color: #29492b;
}
.row-actions button.archive-btn {
  margin-left: auto;
  color: #9a9e8c;
}
.container-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.container-card > svg {
  color: #9ca98c;
  margin-bottom: 15px;
}
.container-card h3 {
  font-size: 13px;
}
.container-card p {
  font-size: 10px;
  color: #97a18b;
  margin: 8px 0 20px;
}
.container-card .row-actions {
  justify-content: space-between;
}
.quiet-empty {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #91a180;
}
.quiet-empty p {
  font-size: 11px;
  margin-top: 5px;
}
.quiet-empty h3 {
  color: #5b7550;
  font-size: 13px;
}
.activity-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.activity-list {
  padding: 4px 25px;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid #edf0e6;
}
.activity-item:last-child {
  border-bottom: 0;
}
.event-icon {
  background: #ecf2e6;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ca17b;
  flex-shrink: 0;
}
.event-icon.usage {
  background: #fbefe6;
  color: #bf9172;
}
.activity-item h3 {
  font: 500 12px var(--sans);
  line-height: 1.65;
}
.activity-item p {
  font-size: 9px;
  color: #98a18b;
  margin-top: 5px;
}
.activity-item small {
  font-size: 10px;
  display: block;
  margin-top: 9px;
  color: #8a947c;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0;
  overflow: hidden;
  text-align: left;
}
.photo-card:hover {
  box-shadow: 0 5px 16px #23391b10;
}
.photo-card > img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block;
}
.photo-card > div {
  display: flex;
  align-items: center;
  padding: 13px;
  gap: 10px;
}
.photo-card > div > span {
  font: 10px monospace;
  color: #a0aa92;
}
.photo-card > div > div {
  flex: 1;
  min-width: 0;
}
.photo-card h3 {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-card small {
  font-size: 8px;
  color: #9ba58f;
  display: block;
  margin-top: 5px;
}
.photo-card svg {
  color: #9baa8f;
}
.empty {
  padding: 60px 20px;
  text-align: center;
  color: #9aa88b;
  max-width: 600px;
  margin: 0 auto;
}
.empty svg {
  margin-bottom: 16px;
}
.empty h3 {
  font-size: 17px;
  color: #60774c;
  margin-bottom: 9px;
}
.empty p {
  font-size: 12px;
  max-width: 420px;
  margin: auto;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #18332346;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(2px);
}
.detail-drawer {
  width: 510px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 30px #102c1d15;
  overflow: auto;
  padding: 23px 25px 35px;
  animation: slide-in 0.2s ease;
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.drawer-top .eyebrow {
  margin: 0;
}
.detail-hero {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #dfe7d411;
  padding: 20px 14px;
  border-radius: 9px;
}
.detail-hero h2 {
  font-size: 27px;
  margin: 7px 0;
}
.detail-hero small {
  color: #859775;
  font-size: 10px;
}
.detail-hero p {
  font-size: 10px;
  color: #95a483;
}
.detail-buttons {
  display: flex;
  gap: 7px;
  margin: 20px 0;
}
.detail-buttons .btn {
  font-size: 10px;
  flex: 1;
  padding: 10px;
}
.detail-buttons .btn:last-child {
  flex: 0;
}
.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.detail-meta span {
  font-size: 9px;
  color: #9ba98b;
}
.detail-meta b {
  display: block;
  color: #677f52;
  font-size: 11px;
  margin-top: 7px;
  font-weight: 500;
}
.supplier-link {
  display: flex;
  gap: 7px;
  font-size: 11px;
  padding: 15px 0;
  color: #718d59;
}
.drawer-section-title {
  font-size: 14px;
  margin: 25px 0 17px;
}
.drawer-section-title span {
  font: 10px var(--sans);
  padding: 3px 7px;
  background: #edf1e6;
  border-radius: 5px;
  margin-left: 5px;
  color: #7e9564;
}
.spool-row {
  padding: 16px;
  border: 1px solid #e4ebdb;
  border-radius: 8px;
  margin-bottom: 12px;
}
.spool-row.archived {
  opacity: 0.7;
}
.row-top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.row-top code {
  font-size: 9px;
  color: #9ca88c;
}
.check-label,
.review-label {
  font-size: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #81a363;
}
.review-label {
  color: #be9f6c;
}
.row-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 15px 0 18px;
}
.row-middle strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.row-middle p {
  font-size: 9px;
  color: #94a480;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.mini-weight {
  min-width: 100px;
  text-align: right;
}
.mini-weight > div {
  height: 4px;
  background: #eef2e7;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 7px;
}
.mini-weight i {
  height: 100%;
  display: block;
}
.mini-weight small {
  font-size: 9px;
  color: #9ba98a;
}
.product-notes {
  font-size: 11px;
  color: #8b9b78;
  margin-top: 25px;
  line-height: 1.75;
}
.product-notes summary {
  cursor: pointer;
  color: #657e4d;
}
.product-notes p {
  margin-top: 12px;
  white-space: pre-wrap;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #13271e75;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  width: 580px;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border-radius: 13px;
  background: white;
  box-shadow: 0 24px 80px #18302130;
  padding: 24px 27px;
  animation: modal-in 0.18s ease;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.modal-head h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
.modal-head .eyebrow {
  font-size: 8px;
}
.modal-description {
  font-size: 12px;
  color: #869876;
  margin: 0 0 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > span {
  font-size: 10px;
  color: #697e58;
  font-weight: 600;
}
.field small {
  font-size: 9px;
  line-height: 1.5;
  color: #9aa98b;
}
.wide {
  grid-column: 1/-1;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dfe6d8;
  background: #fbfcf9;
  color: #4c633c;
  border-radius: 5px;
  padding: 10px 11px;
  font-size: 12px;
  min-height: 38px;
}
input::placeholder,
textarea::placeholder {
  color: #aab69b;
}
input[type='color'] {
  height: 38px;
  padding: 3px 5px;
}
textarea {
  resize: vertical;
}
input[type='checkbox'] {
  width: 15px;
  height: 15px;
  min-height: 0;
  accent-color: #46743a;
  margin: 0;
  flex-shrink: 0;
}
.checkbox {
  font-size: 11px;
  color: #7f936c;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  margin: 6px 0;
}
.checkbox input {
  margin-top: 2px;
}
.form-hint {
  font-size: 10px;
  color: #92a27e;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.modal-actions .btn {
  min-height: 38px;
  padding: 10px 17px;
}
.form-error,
.error-banner {
  padding: 12px;
  background: #fff0eb;
  border: 1px solid #f1cfc3;
  border-radius: 6px;
  color: #b37057;
  font-size: 12px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.error-banner button {
  text-decoration: underline;
  font-weight: 600;
}
.settings-section {
  padding: 24px 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.settings-section h3 {
  font-size: 14px;
}
.settings-section p {
  font-size: 11px;
  color: #8e9c7d;
  margin: 10px 0 18px;
}
.backup-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.photo-modal {
  width: 710px;
}
.full-photo {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #f0f2ea;
  border-radius: 7px;
}
.photo-caption {
  font-size: 10px;
  margin-top: 14px;
  line-height: 1.8;
  color: #9ba88b;
}
.photo-caption strong {
  font-weight: 500;
  color: #6b8155;
}
.photo-caption p {
  margin: 7px 0;
}
.photo-caption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6c8f4e;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 116px);
  transform: translateX(-50%);
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: calc(100vw - 40px);
  padding: 16px 19px;
  border-radius: 8px;
  background: #2e4932;
  color: #f0f7e7;
  box-shadow: 0 7px 30px #17291930;
  font-size: 12px;
  line-height: 1.5;
}
.toast > svg {
  color: #b2c69b;
}
.toast button {
  display: flex;
  margin-left: 8px;
  color: #b1c49b;
}
.loading-screen {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.loading-screen h1 {
  letter-spacing: -1px;
  font-size: 35px;
}
.loading-screen h1 span {
  color: #e89576;
}
.loading-screen > p {
  font-size: 13px;
  color: #7d9471;
}
.loading-screen a {
  font-size: 12px;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes slide-in {
  from {
    transform: translateX(35px);
    opacity: 0.7;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes modal-in {
  from {
    transform: translateY(10px);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .palette-panel {
    min-height: 218px;
  }
  .swatch-stage {
    min-height: 160px;
  }
  .stat {
    padding: 22px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .review-photo {
    height: 195px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 209px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    font-size: 22px;
    margin-left: 9px;
    margin-right: 9px;
  }
  .main-wrap {
    margin-left: 209px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 30px 26px 20px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat {
    padding: 16px 14px;
  }
  .stat > span {
    font-size: 10px;
  }
  .stat > p {
    font-size: 8px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 18px;
  }
  .palette-panel {
    padding: 23px;
  }
  .palette-panel h2 {
    max-width: 220px;
    font-size: 20px;
  }
  .featured-grid {
    gap: 10px;
  }
  .filament-info {
    padding: 12px 11px;
  }
  .review-card-body {
    padding: 20px 18px;
  }
  .review-card-body h2 {
    font-size: 17px;
  }
  .inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .toast {
    left: calc(50% + 105px);
  }
  td,
  th {
    padding-left: 15px;
    padding-right: 15px;
  }
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1030px) {
  .sidebar {
    width: 192px;
  }
  .main-wrap {
    margin-left: 192px;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand svg {
    width: 30px;
  }
  .workspace-label {
    font-size: 8px;
  }
  nav button {
    font-size: 11px;
    padding: 12px 10px;
    gap: 9px;
  }
  nav button svg {
    width: 16px;
  }
  .settings-nav {
    font-size: 10px;
    padding-left: 10px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .review-card {
    display: flex;
    grid-column: 1/-1;
  }
  .review-photo {
    width: 35%;
    height: auto;
  }
  .review-card-body {
    flex: 1;
  }
  .review-card-body h2 br {
    display: none;
  }
  .review-card-body > p {
    margin: 8px 0;
  }
  .review-counts {
    margin: 10px 0;
    padding: 4px 0;
  }
  .review-counts > span {
    padding: 5px 0;
  }
  .quick-panel {
    margin-top: 0;
  }
  .small-note {
    align-items: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    min-height: 126px;
  }
  .stat > p {
    font-size: 10px;
  }
  .stat > span {
    font-size: 11px;
  }
  .review-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .device-grid {
    grid-template-columns: 1fr;
  }
  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .container-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toast {
    left: calc(50% + 96px);
  }
  .activity-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .activity-stats strong {
    font-size: 25px;
  }
  .top-actions .sync-state {
    font-size: 9px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 20px;
  }
  .heading-actions > .btn {
    font-size: 10px;
    padding: 9px 10px;
  }
  h1 {
    font-size: 28px;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .search-box {
    flex-basis: 100%;
  }
  .view-toggle {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 232px;
    transition: transform 0.2s;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 20px 0 100px #15341a80;
  }
  .main-wrap {
    margin-left: 0;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumbs {
    gap: 8px;
    font-size: 10px;
  }
  .mobile-menu {
    display: flex;
    padding-left: 0;
  }
  .sync-state {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  main {
    padding: 25px 20px 20px;
  }
  .page-heading {
    margin-bottom: 23px;
    gap: 8px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 340px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .heading-actions {
    padding-top: 19px;
  }
  .heading-actions .btn {
    font-size: 10px;
    padding: 9px 11px;
  }
  .heading-actions .btn:not(.primary) {
    display: none;
  }
  .stats-grid {
    gap: 11px;
    margin-bottom: 21px;
  }
  .stat {
    padding: 15px 16px;
  }
  .stat > strong {
    font-size: 30px;
  }
  .stat > p {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 22px;
  }
  .palette-panel {
    min-height: 192px;
    padding: 24px;
  }
  .palette-panel h2 {
    max-width: 230px;
  }
  .featured-grid {
    gap: 11px;
  }
  .swatch-stage {
    min-height: 128px;
  }
  .filament-info h3 {
    font-size: 12px;
  }
  .dashboard-side {
    gap: 14px;
  }
  .review-photo {
    width: 36%;
  }
  .toast {
    left: 50%;
  }
  .info-strip {
    flex-wrap: wrap;
    padding: 15px;
  }
  .info-strip p {
    flex-basis: 80%;
  }
  .info-strip .text-link {
    margin-left: 30px;
  }
  .inventory-tabs {
    gap: 20px;
  }
  .inventory-tabs > button {
    font-size: 11px;
  }
  .review-grid {
    gap: 11px;
  }
  .panel {
    padding: 18px;
  }
  .container-grid {
    gap: 12px;
  }
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .photo-card > img {
    height: 160px;
  }
  .photo-card > div {
    padding: 10px;
    gap: 7px;
  }
  .photo-card > div > span {
    display: none;
  }
  .photo-card h3 {
    font-size: 9px;
  }
  .photo-card small {
    font-size: 7px;
  }
  .photo-card svg {
    width: 12px;
  }
  .review-intro > div {
    align-items: flex-start;
  }
  .review-intro h2 {
    font-size: 15px;
  }
  .review-intro p {
    font-size: 10px;
  }
  .topbar .avatar {
    width: 27px;
    height: 27px;
  }
  .results-line {
    font-size: 9px;
  }
  .activity-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .activity-stats .stat {
    padding: 13px 12px;
  }
  .activity-stats .stat > span {
    font-size: 9px;
  }
  .activity-stats .stat > span svg {
    width: 14px;
  }
  .activity-stats .stat > strong {
    font-size: 23px;
  }
  .activity-stats .stat > p {
    font-size: 8px;
  }
  footer {
    font-size: 8px;
  }
  .modal-backdrop {
    padding: 15px;
  }
  .modal {
    max-height: calc(100dvh - 30px);
    padding: 22px;
  }
  .review-item-top {
    gap: 10px;
  }
  .review-item-top h3 {
    font-size: 12px;
  }
  .review-item-top p {
    font-size: 9px;
  }
  .row-actions {
    gap: 12px;
  }
  .row-actions button {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .page-heading {
    flex-direction: column;
    gap: 14px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .heading-actions {
    padding: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .heading-actions .btn {
    min-height: 36px;
  }
  .palette-panel h2 {
    max-width: 200px;
    font-size: 20px;
  }
  .palette-panel p {
    font-size: 10px;
  }
  .palette-panel {
    padding: 23px 20px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .swatch-stage {
    min-height: 137px;
  }
  .filament-info h3 {
    font-size: 12px;
  }
  .mix-legend {
    gap: 12px;
    font-size: 9px;
  }
  .mix-legend strong {
    font-size: 10px;
  }
  .dashboard-side {
    display: block;
  }
  .review-card {
    display: block;
  }
  .review-photo {
    width: 100%;
    height: 180px;
  }
  .review-card-body {
    padding: 23px;
  }
  .review-card-body h2 {
    font-size: 20px;
  }
  .review-card-body h2 br {
    display: block;
  }
  .review-card-body > p {
    margin: 12px 0 17px;
  }
  .review-counts {
    padding: 10px 0;
    margin-bottom: 22px;
  }
  .review-counts > span {
    padding: 7px 0;
    font-size: 11px;
  }
  .review-card-body .btn {
    font-size: 12px;
  }
  .quick-panel {
    margin-top: 20px;
  }
  .small-note {
    padding: 20px 5px;
  }
  .section-head h2 {
    font-size: 15px;
  }
  .material-breakdown {
    padding: 17px;
  }
  .review-grid,
  .shelf-grid,
  .container-grid {
    grid-template-columns: 1fr;
  }
  .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-card > img {
    height: 190px;
  }
  .photo-card h3 {
    font-size: 10px;
  }
  .photo-card small {
    font-size: 8px;
  }
  .breadcrumbs > span {
    display: none;
  }
  .breadcrumbs > svg {
    display: none;
  }
  .stat > span {
    font-size: 10px;
  }
  .stat > p {
    font-size: 8px;
  }
  .stat > strong {
    font-size: 29px;
  }
  .stat > strong small {
    font-size: 9px;
  }
  .device-card {
    padding: 16px;
  }
  .device-slots {
    gap: 6px;
  }
  .device-slot strong {
    font-size: 9px;
  }
  .device-slot small {
    font-size: 7px;
  }
  .activity-stats {
    grid-template-columns: 1fr;
  }
  .activity-stats .stat {
    min-height: auto;
    padding: 17px;
  }
  .activity-stats .stat > span {
    font-size: 11px;
  }
  .activity-stats .stat > strong {
    font-size: 28px;
    margin: 7px 0;
  }
  .activity-stats .stat > p {
    font-size: 9px;
  }
  .form-grid {
    gap: 16px 12px;
  }
  .modal {
    padding: 21px 19px;
  }
  .modal-head h2 {
    font-size: 22px;
  }
  .field > span {
    font-size: 9px;
  }
  input,
  select,
  textarea {
    font-size: 13px;
  }
  .detail-drawer {
    padding: 20px;
  }
  .detail-hero {
    padding: 15px 7px;
    gap: 7px;
  }
  .detail-hero h2 {
    font-size: 25px;
  }
  .detail-hero small {
    font-size: 9px;
  }
  .detail-hero svg {
    width: 100px;
  }
  .spool-row {
    padding: 14px;
  }
  .row-top {
    gap: 7px;
  }
  .check-label,
  .review-label {
    font-size: 8px;
  }
  .row-actions button {
    font-size: 10px;
  }
  .filter-bar {
    gap: 8px;
  }
  .filter-bar select {
    max-width: calc(50% - 40px);
    font-size: 10px;
  }
  .results-line span:last-child {
    display: none;
  }
  .toast {
    width: calc(100vw - 30px);
    font-size: 11px;
  }
  .photo-modal {
    padding: 18px;
  }
  .section-kicker {
    font-size: 8px;
  }
  .review-intro {
    padding: 19px;
  }
  .row-middle > small {
    font-size: 9px;
  }
  .mini-weight {
    min-width: 85px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.topbar .breadcrumbs a,
.portable-link {
  text-decoration: none;
}
.topbar .breadcrumbs a:hover,
.portable-link:hover {
  text-decoration: underline;
}
.workspace-switch {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #718479;
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  background: #f5f7eb;
}
.workspace-switch:hover {
  background: #dae9d6;
}
.sidebar-bottom .portable-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7e6d9;
}
.zero-shelf {
  border: 1px dashed #a9b9a9;
  border-radius: 17px;
  margin: 0 0 20px;
  padding: 25px 18px;
  text-align: center;
  background: #f3f6ef;
}
.zero-shelf h3 {
  font-size: 18px;
}
.zero-shelf p {
  margin: 7px 0;
  color: #47594d;
}
.zero-shelf .text-link {
  margin: 13px auto 0;
}
.reel-trio {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.reel-trio svg + svg {
  margin-left: -18px;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: 0 0 16px;
  background: #f6e7bd;
  border: 1px solid #cfb66b;
  border-radius: 10px;
  color: #423a25;
}
.demo-banner span {
  font-weight: 700;
}
.demo-banner p {
  font-size: 13px;
}
.file-welcome {
  max-width: 550px;
  margin: 9vh auto;
  padding: 28px;
  line-height: 1.55;
}
.file-welcome h1 {
  font-size: 36px;
  margin: 9px 0;
}
.file-welcome .section-kicker {
  margin-top: 16px;
}
.file-welcome p {
  margin: 12px 0 22px;
}
.file-welcome .btn {
  margin: 4px 8px 4px 0;
}
.file-welcome p[role='alert'] {
  color: #862f28;
}
@media (max-width: 720px) {
  .topbar {
    gap: 7px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .sync-state {
    display: none;
  }
  .workspace-switch {
    font-size: 11px;
    padding: 6px 9px;
  }
  .demo-banner {
    display: block;
  }
  .demo-banner p {
    margin: 4px 0 0;
  }
  .file-welcome {
    margin: 4vh auto;
    padding: 24px;
  }
  .sidebar.mobile-open {
    z-index: 90;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Workshop references, equipment, and the project planner. */
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar nav {
  gap: 3px;
}
.sidebar nav button {
  padding-top: 10px;
  padding-bottom: 10px;
}
.wk-hero {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 194px;
  overflow: hidden;
  margin: 0 0 20px;
  border-radius: 16px;
  padding: 28px 38px;
  background:
    radial-gradient(ellipse at 76% 100%, #4b655b 0%, transparent 54%),
    linear-gradient(115deg, #192f2b, #283e38 68%, #21332e);
  color: #fcf9ee;
}
.wk-hero::after {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(#dce4d4 0.75px, transparent 0.9px);
  background-size: 9px 9px;
  mask-image: linear-gradient(90deg, transparent 34%, black);
}
.wk-hero > div {
  position: relative;
  z-index: 1;
  width: 49%;
}
.wk-hero > div > span,
.wk-plan header > span {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: #f3b198;
}
.wk-hero h2 {
  color: #fff9ed;
  font-family: var(--sans);
  font-size: clamp(26px, 2.7vw, 42px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 8px 0;
}
.wk-hero p {
  color: #dae3d6;
  font-size: 13px;
  max-width: 34ch;
  line-height: 1.45;
  margin: 0 0 16px;
}
.wk-hero .btn {
  color: #1c322a;
  background: #ffb594;
  border-color: transparent;
  font-weight: 700;
}
.wk-hero > img {
  position: absolute;
  right: 2%;
  width: 48%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 13px 8px #08151088);
  transform: rotate(-3deg);
}
.spool-art {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px #1c31242c);
}
.reel-trio canvas + canvas {
  margin-left: -16px;
}
.swatch-stage .spool-art {
  transform: rotate(-4deg);
}
.reel-fallback {
  display: inline-block;
  border-radius: 50%;
}
.row-middle > .spool-art {
  flex: none;
  margin-right: 7px;
}
.wk-toolbar,
.wk-filter-pair,
.wk-shade-row,
.wk-buttons,
.wk-box-head,
.wk-owned,
.wk-model-summary,
.wk-option-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wk-toolbar {
  align-items: end;
  flex-wrap: wrap;
  margin: 0 0 17px;
}
.wk-toolbar > .wk-search {
  flex: 1 1 220px;
}
.wk-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid #c8d3c7;
  border-radius: 8px;
  padding: 0 11px;
  min-height: 41px;
  color: #557063;
  min-width: 0;
}
.wk-search input {
  border: 0 !important;
  outline: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font: inherit;
  color: #263a32;
  font-size: 13px;
}
.wk-search:focus-within {
  outline: 2px solid #487a67;
  outline-offset: 1px;
}
.wk-search button,
.wk-pages button,
.wk-installed button,
.wk-box-head > button:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 5px;
  color: #52675a;
}
.wk-picker {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.wk-picker > span,
.wk-edit label.field > span {
  font-weight: 650;
  font-size: 12px;
  color: #3e5548;
}
.wk-picker select,
.wk-edit input,
.wk-edit textarea,
.wk-edit select,
.wk-advisor textarea {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #c8d3c7;
  border-radius: 7px;
  background: #fff;
  color: #23382c;
  font: inherit;
  font-size: 13px;
  max-width: 100%;
}
.wk-toolbar > .wk-picker {
  flex: 0 1 auto;
  max-width: 205px;
}
.wk-box,
.wk-resource {
  background: #fff;
  border: 1px solid #d9dfd4;
  border-radius: 13px;
  min-width: 0;
}
.wk-box-head {
  justify-content: space-between;
  padding: 16px 19px;
  border-bottom: 1px solid #e2e7df;
}
.wk-box h2,
.wk-plan h2,
.wk-plan h3,
.wk-hero h2,
.wk-resource h3 {
  margin-top: 0;
}
.wk-box-head h2,
.wk-box-head h3 {
  margin: 0;
  font-size: 17px;
}
.wk-box-head > span,
.wk-box h2 small,
.wk-result-count,
.wk-pages span,
.wk-owned small {
  font-size: 11px;
  color: #607164;
  font-weight: 550;
}
.wk-split {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(335px, 1.45fr);
  gap: 16px;
  align-items: start;
}
.wk-lines > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e8ece5;
  min-height: 54px;
}
.wk-lines > button[aria-pressed='true'] {
  background: #eff4e9;
  box-shadow: inset 3px 0 #44755b;
}
.wk-lines > button > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.wk-lines strong,
.wk-lines small,
.wk-owned small {
  display: block;
}
.wk-lines strong {
  font-size: 13px;
  line-height: 1.25;
}
.wk-lines small,
.wk-model-summary small {
  font-size: 10px;
  color: #647368;
}
.wk-chips {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  gap: 1px;
  min-width: 26px;
}
.wk-chips i {
  height: 12px;
  border-radius: 3px;
  border: 1px solid #18382821;
}
.wk-pages {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
}
.wk-pages span {
  margin-right: auto;
}
.wk-pages button:disabled {
  opacity: 0.3;
}
.wk-product-lead {
  min-height: 164px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px 12px 0 0;
}
.wk-product-lead > div > span,
.wk-category,
.wk-option small,
.wk-model-summary small {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #51685b;
}
.wk-product-lead h2 {
  font-size: clamp(21px, 2.4vw, 35px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 6px 0;
}
.wk-product-lead p {
  margin: 3px 0 11px;
  font-size: 14px;
}
.wk-product-lead .spool-art {
  flex-shrink: 0;
  max-width: 45%;
}
.wk-hex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border-radius: 10px;
  background: #ffffffae;
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.wk-hex b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #0002;
}
.wk-inspect-body,
.wk-edit {
  padding: 19px;
}
.wk-shade-row {
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.wk-shade-row > .wk-picker {
  flex: 1;
  min-width: 135px;
}
.wk-palette,
.wk-addons,
.wk-installed,
.wk-gear-tags,
.wk-sources,
.wk-examples {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}
.wk-palette {
  margin: 12px 0 19px;
  max-height: 120px;
  overflow-y: auto;
  padding: 3px;
}
.wk-palette button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #17231d38;
}
.wk-palette button[aria-pressed='true'] {
  outline: 2px solid #314c3e;
  outline-offset: 1px;
}
.wk-temperatures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #dce2d7;
  border-radius: 9px;
  overflow: hidden;
  background: #dce2d7;
}
.wk-temperatures > div {
  padding: 11px 9px;
  background: #f9faf5;
  min-width: 0;
}
.wk-temperatures span,
.wk-temperatures small,
.wk-temperatures strong,
.wk-personal {
  display: block;
}
.wk-temperatures span {
  font-size: 11px;
  font-weight: 650;
  color: #506555;
}
.wk-temperatures strong {
  font-size: clamp(15px, 1.4vw, 21px);
  line-height: 1.22;
  margin: 5px 0;
  letter-spacing: -0.035em;
}
.wk-temperatures small,
.wk-temperatures p,
.wk-personal {
  font-size: 10px;
  line-height: 1.4;
}
.wk-temperatures p {
  margin: 4px 0 0;
}
.wk-personal {
  margin-top: 7px;
  color: #356343;
}
.wk-advisory {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #edf3ed;
  margin: 12px 0 7px;
}
.wk-advisory svg,
.wk-check svg {
  flex: none;
  margin-top: 2px;
}
.wk-advisory strong,
.wk-steps {
  font-size: 13px;
}
.wk-advisory p {
  font-size: 12px;
  line-height: 1.45;
  margin: 2px 0 0;
}
.wk-advisory.abrasive {
  background: #fff0d8;
  color: #684411;
}
.wk-advisory.check {
  background: #f5f0e5;
}
.wk-source {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #3d6651;
}
.wk-sources {
  gap: 4px 13px;
  margin: 9px 0;
}
.wk-foot,
.wk-empty p,
.wk-edit > p,
.wk-steps,
.wk-resource p,
.wk-option > p {
  font-size: 12px;
  line-height: 1.55;
  color: #526156;
}
.wk-foot {
  margin: 12px 0 4px;
}
.wk-product-settings {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #dce2d7;
  border-radius: 8px;
}
.wk-product-settings summary,
.wk-details summary,
.wk-resource summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 12px;
}
.wk-product-settings[open] summary,
.wk-details summary {
  margin-bottom: 10px;
}
.wk-from-catalog {
  margin: 0 0 15px;
}
.wk-empty {
  padding: 30px 20px;
  text-align: center;
  color: #657966;
}
.wk-empty > svg {
  margin: 0 auto 10px;
}
.wk-empty h3 {
  color: #2c4233;
  margin: 0;
}
.wk-empty .btn {
  margin-top: 13px;
}
.wk-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.wk-tab-bar button,
.wk-examples button {
  border: 1px solid #cbd6c8;
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 12px;
  color: #455b4b;
}
.wk-tab-bar button.on {
  background: #294738;
  color: #fff;
  border-color: #294738;
}
.wk-edit {
  max-width: 790px;
}
.wk-edit > .wk-box-head {
  padding: 0 0 15px;
  margin-bottom: 16px;
}
.wk-edit .form-grid,
.wk-model-select,
.wk-edit form > .field,
.wk-edit form > .wk-picker,
.wk-advisor form > .wk-picker,
.wk-edit .wk-details {
  margin: 14px 0;
}
.wk-filter-pair {
  align-items: end;
}
.wk-filter-pair > * {
  flex: 1;
}
.wk-model-select > .wk-picker {
  margin-top: 10px;
}
.wk-edit .field {
  min-width: 0;
}
.wk-edit h3,
.wk-plan > h3 {
  margin: 18px 0 10px;
}
.wk-edit .wk-details {
  border: 1px solid #dbe2d7;
  border-radius: 10px;
  padding: 13px;
}
.wk-edit .form-grid {
  gap: 12px;
}
.wk-edit textarea,
.wk-advisor textarea {
  width: 100%;
}
.wk-buttons {
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}
.wk-buttons > small {
  margin-right: auto;
  color: #627066;
  font-size: 11px;
}
.wk-owned {
  padding: 18px;
  border-bottom: 1px solid #e1e5dc;
}
.wk-owned:last-child {
  border: 0;
}
.wk-owned h3,
.wk-model-summary h3 {
  margin: 2px 0;
  font-size: 17px;
}
.wk-owned p {
  font-size: 12px;
  margin: 4px 0;
}
.wk-owned-icon {
  padding: 12px;
  background: #eff3e9;
  border-radius: 11px;
}
.wk-owned-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wk-owned-actions > button:not(.btn) {
  font-size: 11px;
  text-decoration: underline;
}
.wk-installed {
  justify-content: space-between;
  border-bottom: 1px solid #e3e9df;
  padding: 5px;
  font-size: 12px;
}
.wk-addons {
  margin: 9px 0 16px;
}
.wk-addon button,
.wk-addons .btn {
  font-size: 11px;
  padding: 7px 9px;
}
.wk-gear-tags span,
.wk-price,
.wk-fit {
  display: inline-block;
  background: #eef1ea;
  border-radius: 15px;
  padding: 4px 8px;
  font-size: 10px;
  color: #49614e;
  font-weight: 600;
}
.wk-gear-tags span {
  padding: 2px 7px;
}
.wk-model-summary {
  padding: 16px;
  margin: 16px 0;
  background: #f0f4eb;
  border-radius: 10px;
}
.wk-model-summary .btn {
  margin-left: auto;
}
.wk-result-count {
  margin: 8px 0 10px;
}
.wk-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  gap: 13px;
}
.wk-resource {
  padding: 16px;
}
.wk-resource > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.wk-resource h3 {
  margin: 12px 0 4px;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.wk-resource h3 a {
  color: inherit;
  text-decoration: none;
}
.wk-resource h3 a:hover {
  text-decoration: underline;
}
.wk-resource h3 svg {
  vertical-align: middle;
}
.wk-resource p {
  margin: 7px 0;
}
.wk-resource details {
  margin-bottom: 7px;
}
.wk-resource .wk-source {
  margin-top: 5px;
}
.wk-price.free {
  background: #e5f0dd;
  color: #375635;
}
.wk-price.mixed {
  background: #f4eedd;
  color: #695123;
}
.wk-price.premium {
  background: #efe6f6;
  color: #68447b;
}
.wk-edit > .wk-resource + .wk-resource {
  margin-top: 8px;
}
.wk-advisor {
  max-width: 1000px;
}
.wk-advisor form {
  max-width: unset;
}
.wk-examples {
  margin: 9px 0 17px;
}
.wk-examples button {
  font-size: 11px;
  padding: 4px 10px;
  background: #f8faf4;
}
.wk-plan {
  margin-top: 23px;
}
.wk-plan > header {
  background: #253e33;
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
}
.wk-plan header p {
  margin: 4px 0;
}
.wk-plan header h2 {
  margin: 5px 0;
}
.wk-plan header small {
  color: #dce5d9;
}
.wk-option {
  padding: 16px 19px;
  margin-bottom: 12px;
}
.wk-option-head {
  justify-content: space-between;
}
.wk-option h4 {
  margin: 0;
  font-size: 19px;
}
.wk-fit.blocked,
.wk-check {
  color: #815020;
}
.wk-fit.blocked {
  background: #fbecd4;
}
.wk-check {
  display: flex;
  align-items: start;
  gap: 7px;
  font-size: 12px;
  margin: 5px 0;
}
.wk-option .wk-spec {
  margin: 12px 0;
}
.wk-steps {
  padding: 14px 20px 14px 36px;
  background: #fff;
  border: 1px solid #dbe2d7;
  border-radius: 10px;
}
.wk-steps li + li {
  margin-top: 7px;
}
@media (max-height: 800px) and (min-width: 800px) {
  .sidebar .brand {
    margin-bottom: 20px;
  }
  .sidebar .workspace-label {
    margin-bottom: 7px;
  }
  .sidebar nav button {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media (max-width: 830px) {
  .wk-split {
    grid-template-columns: minmax(170px, 0.77fr) minmax(250px, 1.35fr);
  }
  .wk-inspect-body {
    padding: 13px;
  }
  .wk-hero {
    padding: 23px;
  }
}
@media (max-width: 650px) {
  .wk-split {
    display: flex;
    flex-direction: column;
  }
  .wk-split > section,
  .wk-split > .wk-empty {
    width: 100%;
  }
  .wk-lines {
    max-height: 183px;
    overflow-y: auto;
  }
  .wk-toolbar > .wk-search {
    flex-basis: 100%;
  }
  .wk-toolbar > .wk-picker {
    flex: 1;
    max-width: none;
  }
  .wk-picker select {
    width: 100%;
  }
  .wk-hero {
    min-height: 166px;
    padding: 18px;
  }
  .wk-hero > div {
    width: 56%;
  }
  .wk-hero > img {
    right: -4%;
    width: 50%;
  }
  .wk-hero h2 {
    font-size: 26px;
  }
  .wk-hero p {
    font-size: 12px;
  }
  .wk-temperatures > div {
    padding: 8px 6px;
  }
  .wk-temperatures strong {
    font-size: 16px;
  }
  .wk-owned {
    gap: 8px;
    flex-wrap: wrap;
  }
  .wk-model-summary {
    flex-wrap: wrap;
  }
  .wk-tab-bar button {
    padding: 6px 9px;
  }
  .wk-filter-pair {
    flex-wrap: wrap;
  }
  .wk-filter-pair > * {
    min-width: 125px;
  }
  .wk-hero .btn {
    padding: 7px 10px;
  }
  .wk-product-lead {
    min-height: 125px;
  }
  .wk-box-head {
    padding: 12px;
  }
}

.wk-samples {
  position: absolute;
  right: 4%;
  top: 18%;
  height: 68%;
  width: 27%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  pointer-events: none;
  transform: rotate(-11deg);
}
.wk-samples i {
  position: relative;
  height: 85%;
  width: 21%;
  max-width: 34px;
  flex: none;
  border-radius: 5px 5px 8px 8px;
  box-shadow:
    inset -3px -2px 0 #0002,
    0 3px 4px #182b2525;
  background-image: repeating-linear-gradient(
    0deg,
    #ffffff20 0 1px,
    transparent 1px 3px
  );
  transform: rotate(5deg);
}
.wk-samples i + i {
  margin-left: -5px;
}
.wk-samples i:nth-child(2n) {
  transform: translateY(-4px) rotate(5deg);
}
.wk-samples i:before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 6px auto;
  background: #edf1e8;
  box-shadow: inset 0 2px 2px #243e323b;
}
@media (max-width: 850px) {
  .wk-samples {
    right: 4%;
    width: 20%;
  }
  .wk-samples i {
    height: 60%;
  }
}
