*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--aco-bg);
  color: var(--aco-text);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--aco-focus);
  outline-offset: 2px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--aco-text-soft);
}

h1,
h2,
h3 {
  color: var(--aco-text);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 22px;
}

.aco-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aco-muted);
}

.aco-left-rail {
  display: none;
}
@media (min-width: 1024px) {
  .aco-left-rail {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 385px;
    overflow-y: auto;
    padding: 24px 16px 80px;
    background: var(--aco-bg);
  }
}

.aco-left-rail__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aco-left-rail__link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--aco-text);
  text-decoration: none;
}
.aco-left-rail__link:hover {
  background: var(--aco-panel);
}

.aco-left-rail__link.is-active {
  color: var(--aco-blue);
}

.aco-footer {
  padding: 24px 16px;
  text-align: center;
}

.aco-footer__line {
  font-size: 12px;
  color: var(--aco-muted);
}

.aco-footer__link {
  color: var(--aco-muted);
  text-decoration: none;
}
.aco-footer__link:hover {
  text-decoration: underline;
}

.aco-footer__credit {
  margin-top: 4px;
  font-size: 11px;
}

.aco-footer__crest {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
}

.aco-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px calc(80px + 24px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
  .aco-content {
    margin-left: calc(385px + (100vw - 385px - 480px) / 2);
    margin-right: 0;
  }
}

.aco-page-title {
  margin: 8px 0 4px;
}

.aco-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 16px;
  background: var(--aco-bg);
  color: var(--aco-text);
}

.aco-top-row__back {
  font-size: 24px;
  line-height: 1;
  color: var(--aco-text);
  text-decoration: none;
}

.aco-top-row__divider {
  color: var(--aco-text);
  opacity: 0.7;
}

.aco-top-row__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--aco-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;
}

.aco-top-row__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.aco-top-row__avatar {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--aco-panel);
  box-shadow: 0 0 0 2px #3fae6a;
}

.aco-top-row__avatar::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.aco-top-row__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.aco-top-row__icon-btn {
  position: relative;
  font-size: 20px;
  line-height: 1;
  color: var(--aco-text);
}

.aco-top-row__badge {
  position: absolute;
  top: -6px;
  right: -10px;
  padding: 1px 4px;
  border-radius: 999px;
  background: var(--aco-badge);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .aco-top-row {
    gap: 8px;
    padding: 0 12px;
  }
  .aco-top-row__title {
    font-size: 19px;
  }
  .aco-top-row__actions {
    gap: 12px;
  }
}
.aco-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.aco-breadcrumb__list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.aco-breadcrumb__help {
  flex: 0 0 auto;
  margin-left: 12px;
  color: var(--aco-breadcrumb);
  text-decoration: none;
  white-space: nowrap;
}
.aco-breadcrumb__help:hover {
  text-decoration: underline;
}

.aco-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.aco-breadcrumb__link {
  color: var(--aco-breadcrumb);
  text-decoration: none;
}
.aco-breadcrumb__link:hover {
  text-decoration: underline;
}

.aco-breadcrumb__sep {
  color: var(--aco-breadcrumb);
}

.aco-breadcrumb__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
  color: var(--aco-breadcrumb);
}

.aco-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  height: 80px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--aco-bottom-bar);
  color: var(--aco-bottom-bar-text);
}

.aco-bottom-nav__list {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.aco-bottom-nav__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.aco-bottom-nav__link,
.aco-bottom-nav__more-btn,
.aco-bottom-nav__action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  color: var(--aco-bottom-bar-text);
  text-decoration: none;
}

.aco-bottom-nav__link.is-active {
  color: var(--aco-blue);
}

.aco-bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.aco-bottom-nav__icon-svg {
  width: 26px;
  height: 26px;
}

.aco-bottom-nav__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .aco-bottom-nav__label {
    font-size: 9px;
    letter-spacing: 0.03em;
  }
}
@media (max-width: 380px) {
  .aco-bottom-nav__label {
    font-size: 8.5px;
    letter-spacing: 0.02em;
  }
}
.aco-bottom-nav__action-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: var(--aco-pink);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--aco-bg);
}

.aco-more-panel {
  position: fixed;
  right: 0;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  left: 0;
  z-index: 99;
  max-height: 60vh;
  overflow-y: auto;
  padding: 12px;
  background: var(--aco-panel);
}

.aco-more-panel[hidden] {
  display: none;
}

.aco-more-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto 8px;
}

.aco-more-panel__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--aco-text);
}

.aco-more-panel__close {
  padding: 2px 10px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--aco-text);
}

.aco-more-panel__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.aco-more-panel__link {
  display: block;
  padding: 12px;
  border-radius: 10px;
  background: var(--aco-card);
  color: var(--aco-text);
  font-weight: 600;
  text-decoration: none;
}

.aco-more-panel__link.is-active {
  color: var(--aco-blue);
  box-shadow: inset 0 0 0 2px var(--aco-blue);
}

.aco-btn {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--aco-action);
  color: #fff;
  text-decoration: none;
}

.aco-btn--block {
  display: flex;
  width: 100%;
}

.aco-btn--pink {
  background: var(--aco-pink);
}

.aco-btn--outline {
  background: transparent;
  color: var(--aco-text);
  box-shadow: inset 0 0 0 2px var(--aco-muted);
}

.aco-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--aco-panel);
  color: var(--aco-text);
}

.aco-pill--open {
  background: var(--aco-pill-open);
  color: #131c2f;
}

.aco-pill--high {
  background: var(--aco-pill-high);
  color: #fff;
}

.aco-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--aco-card);
  color: var(--aco-text-soft);
}

.aco-card__title {
  margin-bottom: 8px;
  color: var(--aco-text);
  font-size: 17px;
  font-weight: 700;
}

.aco-card__panel {
  padding: 12px;
  border-radius: 8px;
  background: var(--aco-panel);
}

.warranty-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

.aco-page-title {
  font-size: 26px;
  line-height: 1.15;
  color: var(--aco-text);
  margin: 0 0 8px;
}

.page-sub {
  color: var(--aco-text-soft);
  margin: 0 0 16px;
}

.btn {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 24px;
  border: none;
  border-radius: 999px;
  background: var(--aco-panel);
  color: var(--aco-text);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--aco-pink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--aco-muted);
}

.btn-danger {
  background: var(--aco-badge);
  color: #fff;
}

.btn-small {
  min-height: 32px;
  padding: 4px 16px;
  font-size: 12px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.search-input {
  flex: 1 1 200px;
  min-height: 40px;
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: var(--aco-panel);
  color: var(--aco-text);
  font: inherit;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: none;
  border-radius: 999px;
  background: var(--aco-panel);
  color: var(--aco-text-soft);
  cursor: pointer;
}

.chip.is-active {
  background: var(--aco-pink);
  color: #fff;
}

.count-line {
  color: var(--aco-muted);
  margin: 0 0 12px;
}

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.warranty-card {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  border: none;
  width: 100%;
  color: var(--aco-text);
  font: inherit;
}

.warranty-card__photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}

.warranty-card__biz {
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 4px;
}

.warranty-card__offer {
  color: var(--aco-text-soft);
  margin: 0 0 8px;
}

.warranty-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--aco-panel);
  color: var(--aco-text);
}

.tag--warn {
  background: var(--aco-pill-high);
  color: #fff;
}

.tag--expired {
  background: var(--aco-muted);
  color: #131c2f;
}

.warranty-card.is-expired {
  opacity: 0.65;
}

.empty-state {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  color: var(--aco-text-soft);
}

.view-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.back-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--aco-panel);
  color: var(--aco-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

.detail-card {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 16px;
}

.detail-card h3 {
  margin: 0 0 4px;
  font-size: 21px;
  color: var(--aco-text);
}

.detail-card .offer-line {
  font-size: 17px;
  color: var(--aco-text);
  margin: 0 0 12px;
}

.detail-card p {
  color: var(--aco-text-soft);
}

.detail-photos {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.detail-photos img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field__label {
  display: block;
  font-weight: 700;
  color: var(--aco-text);
  margin-bottom: 4px;
}

.field__hint {
  display: block;
  color: var(--aco-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.field__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: var(--aco-panel);
  color: var(--aco-text);
  font: inherit;
}

textarea.field__input {
  min-height: 84px;
  resize: vertical;
}

.field__check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--aco-text);
}

.field__check input {
  width: 20px;
  height: 20px;
}

.form-error {
  color: #ffb3b3;
}

.notes-entry {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.notes-entry h3 {
  margin: 0 0 8px;
  color: var(--aco-text);
  font-size: 18px;
}

.notes-entry p {
  color: var(--aco-text-soft);
  margin: 0 0 8px;
}

.notes-entry p:last-child {
  margin-bottom: 0;
}

.notes-entry a {
  color: var(--aco-text);
}

.data-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lock-view[hidden],
.warranty-main[hidden],
.aco-bottom-nav[hidden] {
  display: none;
}

.lock-view {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.lock-card {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
}

.lock-card__icon {
  color: var(--aco-pink);
  margin-bottom: 8px;
}

.lock-card .field {
  text-align: left;
}

.lock-card .form-actions {
  justify-content: center;
}

.lock-card .form-error {
  text-align: left;
}

.lock-note {
  color: var(--aco-text-soft);
  margin: 0 0 16px;
  text-align: left;
}

.lock-reset {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--aco-panel);
}

[data-theme=dark],
.aco-theme-dark {
  --aco-bg: #131c2f;
  --aco-card: #2f4063;
  --aco-panel: #222e46;
  --aco-blue: #369eea;
  --aco-action: #369eea;
  --aco-bottom-bar: #3d5a98;
  --aco-bottom-bar-text: #ffffff;
  --aco-pink: #ff66c4;
  --aco-edit-blue: #3ba0ea;
  --aco-breadcrumb: #2c8dd8;
  --aco-muted: #a6a9b1;
  --aco-text: #ffffff;
  --aco-text-soft: #e8ebf1;
  --aco-badge: #b93939;
  --aco-focus: #369eea;
  --aco-pill-open: #cfe3f7;
  --aco-pill-high: #793446;
}

[data-theme=light],
.aco-theme-light {
  --aco-bg: #f4f6fa;
  --aco-card: #ffffff;
  --aco-panel: #e8edf5;
  --aco-blue: #1f7fc4;
  --aco-action: #1f7fc4;
  --aco-bottom-bar: #ffffff;
  --aco-bottom-bar-text: #131c2f;
  --aco-pink: #e84393;
  --aco-edit-blue: #1f7fc4;
  --aco-breadcrumb: #1f6fb2;
  --aco-muted: #5b6472;
  --aco-text: #131c2f;
  --aco-text-soft: #2f3a4f;
  --aco-badge: #b93939;
  --aco-focus: #1f7fc4;
  --aco-pill-open: #d7e9fa;
  --aco-pill-high: #793446;
}

/*# sourceMappingURL=style.css.map */
