/* workspace:styles.css */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  background: #eef3ef;
  color: #23302a;
  font-size: 17px;
  line-height: 1.4;
}
.app {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
h1 {
  margin: 8px 0 4px;
  color: #3d5a4a;
  font-size: 1.7rem;
}
.intro {
  margin: 0 0 16px;
  color: #52675b;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(60, 90, 75, .12);
}
label {
  display: block;
  font-weight: 600;
  margin: 8px 0 4px;
}
input,
select {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  padding: 10px 12px;
  border: 2px solid #c5d3ca;
  border-radius: 12px;
  background: #fff;
  color: inherit;
}
input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid #8fb5d6;
  outline-offset: 2px;
}
button {
  min-height: 48px;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid #587565;
  background: #fff;
  color: #3d5a4a;
  cursor: pointer;
  font-weight: 600;
}
button.primary {
  width: 100%;
  margin-top: 12px;
  background: #587565;
  color: #fff;
}
button.danger {
  border-color: #b5533c;
  color: #b5533c;
}
.error {
  color: #a23a24;
  background: #fdeae5;
  padding: 8px 12px;
  border-radius: 10px;
  margin: 10px 0 0;
}
.warning {
  background: #fff4d6;
  color: #6b4e00;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.summary {
  display: flex;
  gap: 12px;
  text-align: center;
}
.summary div {
  flex: 1;
}
.summary strong {
  display: block;
  font-size: 2rem;
  color: #3d5a4a;
}
.summary span {
  color: #52675b;
  font-size: .9rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.filters button {
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 16px;
}
.filters button[aria-pressed=true] {
  background: #587565;
  color: #fff;
}
.note {
  margin: 4px 0 10px;
  color: #52675b;
  font-size: .9rem;
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.progress-wrap {
  margin: 0 0 14px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #3d5a4a;
}
.progress {
  height: 16px;
  background: #d5e1d9;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: #587565;
  border-radius: 999px;
  transition: width .25s;
}
.list li {
  display: flex;
  align-items: center;
}
.list li label {
  flex: 1;
  min-width: 0;
}
button.del {
  min-width: 48px;
  margin-right: 6px;
  padding: 8px;
  border-color: transparent;
  background: transparent;
  color: #b5533c;
}
.list li {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(60, 90, 75, .1);
}
.list label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  min-height: 56px;
  cursor: pointer;
  font-weight: 500;
}
.list input {
  width: 26px;
  height: 26px;
  min-height: 0;
  flex: none;
  accent-color: #587565;
}
.iname {
  flex: 1;
  word-break: break-word;
}
.tag {
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.tag.clothes {
  background: #d9e8f5;
  color: #254d73;
}
.tag.toiletries {
  background: #f5dde8;
  color: #7a2a50;
}
.tag.documents {
  background: #fbe9c6;
  color: #6b4a00;
}
.tag.gear {
  background: #d8ecd9;
  color: #2a5a30;
}
li.packed .iname {
  text-decoration: line-through;
  color: #8a9a91;
}
li.packed .iname::before {
  content: "\2713  ";
  text-decoration: none;
  display: inline-block;
}
.empty {
  text-align: center;
  padding: 24px 12px;
  background: #fff;
  border-radius: 14px;
  color: #52675b;
}
.clear-area {
  margin-top: 20px;
}
.confirm {
  margin-top: 12px;
  padding: 14px;
  background: #fdeae5;
  border-radius: 12px;
}
.confirm button {
  margin: 4px 8px 0 0;
}
@media (min-width: 700px) {
  .app {
    padding-top: 40px;
  }
}
