.storage-tool {
  --bg: #f2f1ec;
  --paper: #fffefa;
  --ink: #243532;
  --muted: #737c73;
  --green: #214c43;
  --line: #dddeda;
  --gold: #ba8c4f;
  --teal: #8de1c8;
  --radius: 18px;
}
.storage-tool * {
  box-sizing: border-box;
}
.storage-tool {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.6 system-ui,
    sans-serif;
}
.storage-tool button,
.storage-tool input,
.storage-tool select {
  font: inherit;
}
.storage-tool button,
.storage-tool a,
.storage-tool input,
.storage-tool summary {
  -webkit-tap-highlight-color: transparent;
}
.storage-tool button {
  cursor: pointer;
}
.storage-tool a {
  color: inherit;
  text-decoration: none;
}
.storage-tool button:focus-visible,
.storage-tool a:focus-visible,
.storage-tool input:focus-visible,
.storage-tool summary:focus-visible,
.storage-tool select:focus-visible {
  outline: 3px solid #c38c42;
  outline-offset: 4px;
}
.storage-tool button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.storage-tool [hidden] {
  display: none !important;
}
.storage-tool .preview-bar {
  background: #e6e8df;
  color: #546255;
  padding: 7px max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.storage-tool .preview-bar > span:first-child {
  font-weight: 750;
}
.storage-tool .preview-bar > span:last-child {
  letter-spacing: 0.2px;
}
.storage-tool .preview-bar i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #87917c;
  margin: 0 9px 2px;
}
.storage-tool .site-header {
  max-width: 1240px;
  margin: auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.storage-tool .brand {
  font:
    800 21px system-ui,
    sans-serif;
  letter-spacing: -0.8px;
}
.storage-tool .brand-mark {
  color: #a8854d;
  margin-right: 5px;
}
.storage-tool .site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 600;
  color: #73796f;
}
.storage-tool .site-header nav .active {
  color: var(--green);
}
.storage-tool nav .active span {
  font-size: 16px;
  margin-left: 7px;
}
.storage-tool .storage-main {
  max-width: 1240px;
  margin: auto;
}
.storage-tool .hero {
  position: relative;
  min-height: 310px;
  background: #183b34;
  border-radius: 24px;
  overflow: hidden;
  color: #faf6e9;
}
.storage-tool .hero-landscape {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(16, 43, 37, 0.98),
      rgba(18, 47, 40, 0.91) 38%,
      rgba(17, 44, 38, 0.15)
    ),
    url('/storage-planner/embervale.jpg') center 42% / cover;
  filter: saturate(0.6);
}
.storage-tool .hero:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid #ffffff18;
  border-radius: 24px;
  background: radial-gradient(ellipse at 65% 100%, #6fbd9830, transparent 65%);
}
.storage-tool .hero-content {
  position: relative;
  z-index: 1;
  padding: 36px 44px;
}
.storage-tool .eyebrow {
  font-size: 10px;
  letter-spacing: 2.3px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d7d6bc;
  margin: 0 0 22px;
}
.storage-tool .flame {
  color: #debc7c;
  font-size: 20px;
  line-height: 1;
}
.storage-tool .slash {
  color: #8d9f8f;
  padding: 0 5px;
}
.storage-tool .hero-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.storage-tool h1 {
  font:
    700 40px/1.15 system-ui,
    sans-serif;
  letter-spacing: -1.6px;
  margin: 0;
}
.storage-tool h1 em {
  font-style: normal;
  color: #b9d5ba;
}
.storage-tool .hero-title p {
  color: #bacbc1;
  line-height: 1.65;
  margin: 17px 0 0;
  font-size: 13px;
}
.storage-tool .hero-badge {
  border: 1px solid #fff3;
  background: #142e2c5c;
  border-radius: 13px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}
.storage-tool .hero-badge > span {
  font-size: 30px;
  color: #c6aa72;
}
.storage-tool .hero-badge small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #c4cec2;
  margin-top: 2px;
}
.storage-tool .workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 20px;
  border-bottom: 1px solid var(--line);
}
.storage-tool .tabs {
  display: flex;
  gap: 26px;
}
.storage-tool .tabs button {
  border: 0;
  background: none;
  padding: 14px 1px 16px;
  font-size: 13px;
  color: var(--muted);
  position: relative;
}
.storage-tool .tabs button[aria-selected='true'] {
  color: var(--green);
  font-weight: 700;
}
.storage-tool .tabs button[aria-selected='true']:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.storage-tool .local-note {
  font-size: 11px;
  color: #858b80;
  display: flex;
  align-items: center;
  gap: 7px;
}
.storage-tool .local-note > span {
  width: 5px;
  height: 5px;
  background: #7c987c;
  border-radius: 50%;
}
.storage-tool .workspace {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 22px;
  align-items: start;
}
.storage-tool .panel {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
}
.storage-tool .panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.storage-tool .step {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #8c947f;
}
.storage-tool h2 {
  font:
    750 21px/1.3 system-ui,
    sans-serif;
  letter-spacing: -0.6px;
  margin: 7px 0 0;
}
.storage-tool .text-button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #6a7669;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.storage-tool .mode {
  padding: 0;
  margin: 0 0 23px;
  border: 0;
}
.storage-tool .mode legend,
.storage-tool .field-head label,
.storage-tool .quantity-row label {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 10px;
}
.storage-tool .segments {
  display: flex;
  background: #eeeee7;
  border: 1px solid #e4e6db;
  border-radius: 10px;
  padding: 4px;
  gap: 3px;
}
.storage-tool .segments label {
  flex: 1;
  cursor: pointer;
}
.storage-tool .segments input,
.storage-tool .magic-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.storage-tool .segments span {
  display: block;
  text-align: center;
  padding: 9px 5px;
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #7a8173;
  white-space: nowrap;
}
.storage-tool .segments b {
  font-weight: 400;
  margin-right: 5px;
}
.storage-tool .segments input:checked + span {
  background: white;
  color: #284e41;
  border-color: #d9dfd1;
  box-shadow: 0 2px 4px #243b2410;
}
.storage-tool .segments input:focus-visible + span {
  outline: 3px solid #ba8c4f;
}
.storage-tool .field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.storage-tool .field-head label {
  margin: 0;
}
.storage-tool .field-head > span {
  font-size: 10px;
  color: #89917f;
}
.storage-tool .size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.storage-tool .size-options button {
  background: #f8f8f2;
  border: 1px solid #e5e6dc;
  border-radius: 11px;
  padding: 17px 5px 11px;
  position: relative;
  transition: 0.18s;
}
.storage-tool .size-options button:hover {
  background: #edf0e7;
  transform: translateY(-2px);
}
.storage-tool .size-options button.chosen {
  background: #edf3e8;
  border-color: #557a59;
  box-shadow: inset 0 0 0 1px #557a59;
}
.storage-tool .size-options button.chosen:after {
  content: '✓';
  position: absolute;
  right: 7px;
  top: 3px;
  color: #446b46;
  font-size: 10px;
}
.storage-tool .size-options strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 13px;
}
.storage-tool .size-options small {
  font-size: 10px;
  color: #7b8276;
}
.storage-tool .mini-chest {
  display: block;
  width: 48px;
  height: 30px;
  margin: 3px auto 0;
  background: linear-gradient(0deg, #6c5540, #9b805a);
  border: 2px solid #4e4639;
  border-radius: 3px 3px 5px 5px;
  position: relative;
  box-shadow: 0 6px 8px #58452c1a;
  transform: perspective(150px) rotateY(-12deg);
}
.storage-tool .mini-chest:before {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  height: 14px;
  top: -9px;
  border: 2px solid #554d3e;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(#ad9368, #86734e);
  box-shadow: 0 3px 1px #413b2b66;
}
.storage-tool .mini-chest:after {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  top: -7px;
  bottom: -2px;
  border-left: 3px solid #b1a279;
  border-right: 3px solid #b1a279;
  pointer-events: none;
}
.storage-tool .mini-chest i {
  position: absolute;
  width: 9px;
  height: 11px;
  background: #c4b380;
  left: 18px;
  top: 4px;
  border: 1px solid #66593b;
  border-radius: 1px;
  z-index: 1;
}
.storage-tool .chosen .mini-chest {
  box-shadow: 0 7px 14px #7fb19735;
}
.storage-tool .quantity-row {
  margin: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.storage-tool .quantity-row small {
  display: block;
  font-size: 11px;
  color: #8a8e7f;
  margin-top: 2px;
}
.storage-tool .stepper {
  display: flex;
  align-items: center;
  border: 1px solid #dce0d5;
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
}
.storage-tool .stepper button {
  width: 36px;
  border: 0;
  background: #f4f4ed;
  height: 100%;
  color: #67775e;
}
.storage-tool .stepper input {
  width: 49px;
  border: 0;
  background: transparent;
  text-align: center;
  color: #354c37;
  font-size: 14px;
  font-weight: 650;
  appearance: textfield;
  -moz-appearance: textfield;
}
.storage-tool .stepper input::-webkit-inner-spin-button {
  appearance: none;
}
.storage-tool .magic-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f0f4ee;
  border: 1px solid #dce5d8;
  border-radius: 11px;
  cursor: pointer;
}
.storage-tool .magic-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #c9dbcb;
  border-radius: 9px;
  color: #38745a;
  font-size: 28px;
  background: #e8f0e4;
}
.storage-tool .magic-row strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
}
.storage-tool .magic-row small {
  display: block;
  font-size: 10px;
  color: #7e8976;
}
.storage-tool .switch {
  margin-left: auto;
  width: 34px;
  flex: 0 0 34px;
  height: 20px;
  background: #b4bcae;
  border-radius: 20px;
  position: relative;
  transition: 0.2s;
}
.storage-tool .switch:after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  position: absolute;
  left: 3px;
  top: 3px;
  box-shadow: 0 1px 3px #0002;
  transition: 0.2s;
}
.storage-tool .magic-row input:checked + .switch {
  background: #3c6550;
}
.storage-tool .magic-row input:checked + .switch:after {
  transform: translateX(14px);
}
.storage-tool .magic-row input:focus-visible + .switch {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.storage-tool .setup-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed #d9dfd0;
  margin-top: 20px;
  padding-top: 16px;
  color: #76846b;
}
.storage-tool .setup-foot > span {
  font-size: 25px;
}
.storage-tool .setup-foot p {
  margin: 0;
  line-height: 1.4;
}
.storage-tool .setup-foot strong {
  font-size: 11px;
  font-weight: 600;
  color: #596c51;
}
.storage-tool .setup-foot p span {
  display: block;
  font-size: 10px;
  margin-top: 2px;
}
.storage-tool .setup-foot > a {
  margin-left: auto;
  font-size: 18px;
}
.storage-tool .result {
  border: 1px solid #cbd8cb;
  border-radius: var(--radius);
  overflow: hidden;
  background: #edf0e7;
}
.storage-tool .result-main {
  padding: 28px;
  background: radial-gradient(ellipse at 95% 90%, #375c4d 0%, transparent 70%), #1b3e36;
  color: #eef1df;
  position: relative;
  overflow: hidden;
}
.storage-tool .result-main:before {
  content: '✧';
  position: absolute;
  right: -12px;
  bottom: 6px;
  color: #d0e6c20b;
  font-size: 260px;
  line-height: 1;
  transform: rotate(20deg);
  pointer-events: none;
}
.storage-tool .result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.storage-tool .result .step {
  color: #a2b99d;
}
.storage-tool .magic-pill {
  font-size: 9px;
  padding: 4px 8px;
  color: #c8ddc0;
  background: #8ba67d25;
  border: 1px solid #b8cdad30;
  border-radius: 5px;
}
.storage-tool .result h2 {
  font-size: 17px;
  font-weight: 500;
  color: #c9d7bf;
  margin-top: 30px;
}
.storage-tool .capacity {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-top: 9px;
}
.storage-tool .capacity output {
  font:
    650 77px/1.1 system-ui,
    sans-serif;
  letter-spacing: -4px;
}
.storage-tool .capacity > span {
  font-size: 12px;
  color: #a8bca8;
}
.storage-tool .result-main > p {
  font-size: 11px;
  color: #9db49e;
  margin: 7px 0 23px;
}
.storage-tool .slot-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  position: relative;
  z-index: 1;
}
.storage-tool .slot-grid i {
  aspect-ratio: 1.7;
  border: 1px solid #b9c5a836;
  background: #a5c29512;
  border-radius: 3px;
}
.storage-tool .slot-grid i:nth-child(3n + 1) {
  background: #9dc28c27;
  border-color: #b8d5a45c;
}
.storage-tool .result-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  border-top: 1px solid #a1b59430;
  margin-top: 23px;
  padding-top: 17px;
  gap: 10px;
}
.storage-tool .result-bottom > span:first-child {
  color: #d8d6a2;
  background: #b3b37713;
  border: 1px solid #bfc28d3b;
  border-radius: 5px;
  padding: 4px 8px;
}
.storage-tool .result-bottom > span:last-child {
  color: #b6c8b2;
}
.storage-tool .result-bottom b {
  color: #d4dfb8;
  margin-left: 4px;
}
.storage-tool .result-summary {
  padding: 21px 28px;
}
.storage-tool .result-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #78836d;
}
.storage-tool .result-summary strong {
  color: #486045;
  font-size: 11px;
}
.storage-tool .progress {
  height: 5px;
  background: #d9dfd1;
  border-radius: 5px;
  margin: 12px 0;
  overflow: hidden;
}
.storage-tool .progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #547d50;
  transition: width 0.3s;
}
.storage-tool .result-summary p {
  font-size: 10px;
  color: #8c9480;
  margin: 0;
}
.storage-tool .materials {
  grid-column: 1;
  grid-row: 2;
}
.storage-tool .panel-intro {
  font-size: 11px;
  color: #8b907f;
  margin: -8px 0 20px;
}
.storage-tool .outline-button {
  border: 1px solid #dbe1d2;
  background: none;
  border-radius: 7px;
  padding: 7px 12px;
  color: #5c6e51;
  font-size: 10px;
  white-space: nowrap;
}
.storage-tool .outline-button span {
  margin-left: 12px;
}
.storage-tool .material-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.storage-tool .material-table th {
  text-align: right;
  font-size: 9px;
  font-weight: 500;
  color: #8e9584;
  border-bottom: 1px solid #e4e7dc;
  padding: 0 0 10px;
}
.storage-tool .material-table th:first-child {
  text-align: left;
}
.storage-tool .material-table td {
  border-bottom: 1px solid #eef0e7;
  padding: 13px 0;
  text-align: right;
}
.storage-tool .material-table tr:last-child td {
  border-bottom: 0;
}
.storage-tool .material-table td:first-child {
  text-align: left;
  font-size: 11px;
}
.storage-tool .item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.storage-tool .item-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #e3e4d8;
  background: #f4f1e6;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #9c8150;
}
.storage-tool .item-icon.magic {
  color: #58846e;
  background: #edf1e7;
}
.storage-tool .material-table td:nth-child(2) {
  color: #65725c;
  font-size: 11px;
}
.storage-tool .material-table input {
  width: 55px;
  border: 1px solid #dce2d4;
  border-radius: 5px;
  background: #f9faf4;
  color: #4d6245;
  padding: 5px;
  text-align: right;
  font-size: 11px;
}
.storage-tool .material-table td:last-child {
  width: 78px;
}
.storage-tool .shortage {
  color: #a4783c;
  font-size: 11px;
  font-weight: 600;
  background: #f7f0df;
  padding: 4px 8px;
  border-radius: 5px;
}
.storage-tool .shortage.done {
  color: #4b7751;
  background: #eaf2e4;
}
.storage-tool .list-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-top: 8px;
  padding-top: 15px;
}
.storage-tool .list-footer p {
  font-size: 9px;
  color: #909681;
  margin: 0;
  max-width: 260px;
}
.storage-tool .list-footer p span {
  color: #a38c57;
  margin-right: 4px;
}
.storage-tool .list-footer button {
  font-size: 9px;
  white-space: nowrap;
}
.storage-tool .route {
  grid-column: 2;
  grid-row: 2;
}
.storage-tool .route-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: route;
}
.storage-tool .route-list li {
  position: relative;
  padding: 0 0 25px 42px;
  counter-increment: route;
}
.storage-tool .route-list li:before {
  content: counter(route);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #d5ddcb;
  color: #76856a;
  background: #f4f6ed;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.storage-tool .route-list li:not(:last-child):after {
  content: '';
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: 7px;
  border-left: 1px dashed #d6ddcb;
}
.storage-tool .route-list h3 {
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 5px;
}
.storage-tool .route-list p {
  font-size: 11px;
  color: #89917e;
  line-height: 1.7;
  margin: 0;
}
.storage-tool .route-list strong {
  color: #617751;
  font-weight: 550;
}
.storage-tool .guide-link {
  padding: 16px;
  background: #f0f2e8;
  border: 1px solid #e1e6d6;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.storage-tool .guide-link span:first-child {
  font-size: 9px;
  color: #8b947f;
}
.storage-tool .guide-link strong {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: #526b43;
  font-weight: 600;
}
.storage-tool .guide-link > span:last-child {
  color: #71895e;
  font-size: 20px;
}
.storage-tool .notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 35px 6px 44px;
}
.storage-tool .notes > div {
  padding-left: 34px;
  position: relative;
}
.storage-tool .note-symbol {
  position: absolute;
  left: 0;
  top: 0;
  color: #a39164;
  font-size: 22px;
}
.storage-tool .notes h3 {
  font-size: 12px;
  margin: 0 0 5px;
  font-weight: 600;
  color: #758168;
}
.storage-tool .notes p {
  font-size: 10px;
  color: #939a87;
  margin: 0;
  max-width: 380px;
}
.storage-tool .notes details {
  font-size: 11px;
  color: #7b876d;
  border: 1px solid #dfe4d7;
  border-radius: 8px;
  align-self: start;
  padding: 12px 15px;
}
.storage-tool .notes summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.storage-tool .notes details p {
  margin-top: 12px;
  max-width: none;
}
.storage-tool .notes a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.storage-tool footer {
  max-width: 1240px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  align-items: center;
  gap: 25px;
  color: #97a087;
}
.storage-tool footer .brand {
  font-size: 14px;
  color: #6a7b60;
}
.storage-tool footer p {
  font-size: 10px;
  margin: 0;
}
.storage-tool footer > span {
  font-size: 9px;
  margin-left: auto;
}
.storage-tool .current-row {
  margin: -4px 0 20px;
}
.storage-tool .current-row label {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.storage-tool .current-row select {
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px solid #d7decc;
  border-radius: 6px;
  background: #fafbf6;
  margin-top: 7px;
  color: #516346;
}
.storage-tool .current-row p {
  font-size: 10px;
  color: #87927a;
  margin: 7px 0 0;
}
.storage-tool .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.storage-tool .compare {
  padding: 35px;
}
.storage-tool .compare > p {
  font-size: 13px;
  color: var(--muted);
}
.storage-tool .comparison {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.storage-tool .comparison > div {
  background: #f5f6ee;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 18px 20px;
  text-align: center;
}
.storage-tool .comparison h3 {
  font:
    650 17px system-ui,
    sans-serif;
  margin: 20px 0 5px;
}
.storage-tool .comparison .big {
  font:
    650 38px system-ui,
    sans-serif;
  color: var(--green);
}
.storage-tool .comparison p {
  font-size: 11px;
  color: #8c947e;
}
.storage-tool .comparison button {
  border: 1px solid #bac9b0;
  background: transparent;
  border-radius: 7px;
  color: #507241;
  padding: 8px 20px;
  margin-top: 10px;
  font-size: 11px;
}
.storage-tool .toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #183f32;
  color: #f1f1df;
  padding: 12px 20px;
  box-shadow: 0 5px 30px #0002;
  z-index: 5;
  font-size: 12px;
  max-width: calc(100vw - 30px);
  display: none;
}
.storage-tool .toast.visible {
  display: block;
}
@media (min-width: 1100px) {
  .storage-tool .result-main {
    min-height: 367px;
  }
  .storage-tool .result-summary {
    min-height: 104px;
  }
  .storage-tool .route {
    min-height: 408px;
  }
}
@media (max-width: 1300px) {
  .storage-tool .storage-main,
  .storage-tool .site-header,
  .storage-tool footer {
    margin-left: 32px;
    margin-right: 32px;
  }
}
@media (max-width: 850px) {
  .storage-tool .hero-title {
    display: block;
  }
  .storage-tool .hero-badge {
    display: none;
  }
  .storage-tool .hero-content {
    padding: 30px;
  }
  .storage-tool .hero {
    min-height: 275px;
  }
  .storage-tool .workspace {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .storage-tool .panel {
    padding: 21px;
  }
  .storage-tool .result-main {
    padding: 23px;
  }
  .storage-tool .capacity output {
    font-size: 62px;
  }
  .storage-tool .result-top {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
  .storage-tool .result h2 {
    margin-top: 23px;
  }
  .storage-tool .segments span {
    font-size: 10px;
  }
  .storage-tool .size-options {
    gap: 5px;
  }
  .storage-tool .mini-chest {
    transform: scale(0.85);
  }
  .storage-tool .size-options strong {
    font-size: 10px;
  }
  .storage-tool .result-bottom {
    align-items: start;
    flex-direction: column;
  }
  .storage-tool .material-table input {
    width: 44px;
  }
  .storage-tool .item {
    gap: 5px;
  }
  .storage-tool .material-table td:last-child {
    width: 60px;
  }
  .storage-tool .material-table th {
    font-size: 8px;
  }
  .storage-tool .list-footer {
    display: block;
  }
  .storage-tool .list-footer button {
    margin-top: 9px;
  }
}
@media (max-width: 620px) {
  .storage-tool .preview-bar {
    padding: 6px 18px;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .storage-tool .preview-bar > span:last-child {
    font-size: 8px;
  }
  .storage-tool .site-header {
    height: 70px;
  }
  .storage-tool .site-header,
  .storage-tool .site-header + .storage-main,
  .storage-tool .storage-main,
  .storage-tool footer {
    margin-left: 18px;
    margin-right: 18px;
  }
  .storage-tool .site-header .brand {
    font-size: 17px;
  }
  .storage-tool .site-header nav {
    gap: 17px;
    font-size: 11px;
  }
  .storage-tool .site-header nav span {
    display: none;
  }
  .storage-tool .hero {
    min-height: 290px;
    border-radius: 17px;
  }
  .storage-tool .hero-content {
    padding: 26px 24px;
  }
  .storage-tool .hero-landscape {
    background-position: 65% center;
    background-image:
      linear-gradient(90deg, #102f29ef, #17382ec9 70%, #153a2d88),
      url('/storage-planner/embervale.jpg');
  }
  .storage-tool h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .storage-tool .hero-title p {
    font-size: 12px;
  }
  .storage-tool .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
  }
  .storage-tool .workspace-top {
    margin-top: 15px;
  }
  .storage-tool .tabs {
    gap: 22px;
  }
  .storage-tool .tabs button {
    font-size: 12px;
  }
  .storage-tool .local-note {
    font-size: 0;
    gap: 0;
  }
  .storage-tool .local-note > span {
    width: 6px;
    height: 6px;
  }
  .storage-tool .workspace {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  .storage-tool .workspace > section,
  .storage-tool .workspace > aside {
    width: 100%;
  }
  .storage-tool .setup {
    order: 0;
  }
  .storage-tool .result {
    order: 1;
  }
  .storage-tool .materials {
    order: 2;
  }
  .storage-tool .route {
    order: 3;
  }
  .storage-tool .panel {
    padding: 23px;
  }
  .storage-tool .panel-heading {
    margin-bottom: 22px;
  }
  .storage-tool .panel-heading h2 {
    font-size: 20px;
  }
  .storage-tool .segments span {
    font-size: 11px;
    padding: 10px 4px;
  }
  .storage-tool .size-options {
    gap: 8px;
  }
  .storage-tool .size-options strong {
    font-size: 11px;
  }
  .storage-tool .mini-chest {
    transform: scale(0.9);
  }
  .storage-tool .result-top {
    flex-direction: row;
    align-items: center;
  }
  .storage-tool .result h2 {
    margin-top: 22px;
  }
  .storage-tool .capacity output {
    font-size: 72px;
  }
  .storage-tool .capacity > span {
    font-size: 12px;
  }
  .storage-tool .result-main {
    padding: 25px;
  }
  .storage-tool .result-bottom {
    flex-direction: row;
    align-items: center;
    font-size: 9px;
  }
  .storage-tool .slot-grid {
    gap: 5px;
  }
  .storage-tool .slot-grid i {
    aspect-ratio: 1.9;
  }
  .storage-tool .result-summary {
    padding: 20px 25px;
  }
  .storage-tool .quantity-row label {
    font-size: 12px;
  }
  .storage-tool .material-table input {
    width: 52px;
  }
  .storage-tool .material-table th {
    font-size: 9px;
  }
  .storage-tool .material-table td {
    padding: 13px 0;
  }
  .storage-tool .item {
    gap: 8px;
  }
  .storage-tool .list-footer {
    display: flex;
    gap: 8px;
  }
  .storage-tool .list-footer button {
    margin: 0;
  }
  .storage-tool .list-footer p {
    max-width: 185px;
  }
  .storage-tool .notes {
    display: block;
    padding: 28px 4px;
  }
  .storage-tool .notes details {
    margin-top: 22px;
  }
  .storage-tool .notes p {
    font-size: 11px;
  }
  .storage-tool .notes h3 {
    font-size: 13px;
  }
  .storage-tool .comparison {
    grid-template-columns: 1fr 1fr;
  }
  .storage-tool .compare {
    padding: 23px;
  }
  .storage-tool .comparison > div {
    padding: 25px 12px 16px;
  }
  .storage-tool .compare h2 {
    font-size: 22px;
  }
  .storage-tool footer {
    display: block;
    padding: 23px 0;
  }
  .storage-tool footer p {
    margin: 8px 0;
  }
  .storage-tool footer > span {
    font-size: 9px;
  }
  .storage-tool .magic-row small {
    font-size: 9px;
  }
  .storage-tool .toast {
    text-align: center;
    bottom: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .storage-tool * {
    transition: none !important;
  }
}
.storage-tool .panel-intro,
.storage-tool .field-head > span,
.storage-tool .quantity-row small,
.storage-tool .magic-row small,
.storage-tool .material-table th,
.storage-tool .result-summary p,
.storage-tool .list-footer p,
.storage-tool .route-list p,
.storage-tool .notes p,
.storage-tool .local-note {
  color: #697560;
}
.storage-tool .preview-bar {
  color: #53634d;
}
.storage-tool .result-main > p {
  color: #b4c8b4;
}
.storage-tool .capacity > span {
  color: #b4c8b4;
}
.storage-tool .notes h3 {
  color: #53694e;
}
.storage-tool .setup-foot p span {
  color: #697560;
}
.storage-tool .size-options .mini-chest,
.storage-tool .comparison .mini-chest {
  width: 64px;
  height: 48px;
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.storage-tool .mini-chest:before,
.storage-tool .mini-chest:after {
  display: none;
}
.storage-tool .mini-chest img {
  width: 60px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px #1f30261c);
}
.storage-tool .size-options .chosen .mini-chest {
  box-shadow: none;
}
.storage-tool .size-options strong {
  margin-top: 7px;
}
.storage-tool .item-icon {
  background: #edece3;
  border-color: #dbdfd2;
}
.storage-tool .item-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.storage-tool .item-icon.magic {
  background: #e6eee2;
}
.storage-tool .material-group {
  font-size: 8px;
  font-weight: 600;
  color: #617354;
}
.storage-tool .planner-guide-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}
.storage-tool .planner-guide-links a {
  border: 1px solid #d8decf;
  border-radius: 7px;
  background: #fffdf5;
  padding: 6px 11px;
  font-size: 11px;
  color: #5c7455;
}
.storage-tool .planner-guide-links a:hover {
  background: #e5eddf;
}
.storage-tool .hero-badge > img {
  border-radius: 9px;
}
.storage-tool .hero h1 {
  font-size: 38px;
}
.storage-tool .preview-bar {
  letter-spacing: 0.8px;
}
@media (max-width: 620px) {
  .storage-tool .mini-chest img {
    width: 48px;
    height: 42px;
  }
  .storage-tool .size-options .mini-chest {
    width: 100%;
    height: 42px;
  }
  .storage-tool .planner-guide-links {
    gap: 6px;
  }
  .storage-tool .planner-guide-links a {
    font-size: 10px;
    padding: 5px 8px;
  }
  .storage-tool .hero h1 {
    font-size: 30px;
  }
}
main:has(.storage-tool) {
  max-width: 1240px;
}
.storage-tool .storage-main {
  margin: 0;
  max-width: none;
}
.storage-tool .hero h1 {
  max-width: none;
}

.storage-tool .hero-landscape {
  min-height: 0;
}
.storage-tool button {
  color: var(--ink);
}
