/* «Свой товар» и карусель «Не отгружено» — отдельные стили, app.css не меняем. */

.own-ov{position:fixed;inset:0;z-index:60;background:var(--bg);overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 0 40px}
.own-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:max(10px,env(safe-area-inset-top)) 14px 10px;background:var(--bg);border-bottom:1px solid var(--line)}
.own-top b{font-size:16px}
.own-top button{border:0;background:transparent;color:var(--accent);font:inherit;font-weight:700;padding:6px 4px}
.own-body{max-width:640px;margin:0 auto;padding:12px 14px}
.own-body .card{margin:10px 0}
.own-step{color:var(--muted);font-size:12px;font-weight:700;margin:4px 0 8px}
.own-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.own-thumbs figure{margin:0;position:relative;aspect-ratio:3/4;background:var(--input);border-radius:10px;overflow:hidden}
.own-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.own-thumbs button{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:99px;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:16px;line-height:1}
.own-cards{grid-template-columns:repeat(2,1fr)}
.own-cards figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);color:#fff;font-size:11px;padding:3px 6px}
.own-lines{white-space:pre-line;font-size:13px;line-height:1.5;margin:8px 0}
.own-btns{display:grid;gap:8px;margin-top:10px}
.own-pick{text-align:left}
.own-block .sub{margin:4px 0 10px}
.own-spin{display:inline-block;width:14px;height:14px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:ownspin 1s linear infinite;vertical-align:-2px;margin-right:6px}
@keyframes ownspin{to{transform:rotate(360deg)}}
.own-item{padding:10px 0;border-top:1px solid var(--line)}
.own-item:first-child{border-top:0}
.own-item small{display:block;color:var(--muted)}

/* Карусель «Не отгружено» — как карточка «Сейчас»: .card.hero + тона рейки */
.own-unship .btn.quiet{width:auto;padding:0 12px;min-height:36px;margin:0;flex-shrink:0}
.own-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
  margin:10px 0 0;
  scrollbar-width:none;
}
.own-track::-webkit-scrollbar{display:none}
.own-slide{
  flex:0 0 auto;
  width:100%;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  display:flex;
  gap:14px;
  align-items:center;
  box-sizing:border-box;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  min-height:120px;
}
.own-slide:active{transform:scale(0.99)}
.own-slide img,
.own-ph{
  width:90px;
  height:120px;
  object-fit:cover;
  border-radius:12px;
  background:var(--input);
  flex-shrink:0;
  border:1px solid var(--line);
}
.own-ph{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  color:var(--muted);
}
.own-slide > div{min-width:0;flex:1}
.own-slide h2{
  font-size:18px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.own-slide .sub{margin:4px 0 0}
.own-slide .chip{margin-top:8px;margin-right:6px;max-width:100%;white-space:normal;line-height:1.3;height:auto}
.own-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:12px;
}
.own-arrow{
  width:36px;
  height:36px;
  border-radius:99px;
  border:1px solid var(--line);
  background:var(--input);
  color:var(--text);
  font-size:22px;
  line-height:1;
  font-weight:700;
  padding:0;
  cursor:pointer;
}
.own-arrow:disabled{opacity:0.35;cursor:default}
.own-arrow:not(:disabled):active{transform:scale(0.96)}
.own-count{font-size:12px;font-weight:700;color:var(--muted);min-width:3.2em;text-align:center}
.own-dots{display:flex;gap:5px;justify-content:center;margin-top:8px}
.own-dots i{
  width:6px;height:6px;border-radius:99px;
  background:var(--line);display:block;
}
.own-dots i.on{background:var(--accent);width:14px}

/* «Свой товар»: распознанный товар и выбор названия */
.own-found img{width:72px;height:96px;object-fit:cover;border-radius:10px;float:left;margin:0 12px 6px 0;border:1px solid var(--line)}
.own-found::after{content:"";display:block;clear:both}
.own-titles .own-title{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:10px;line-height:1.3;white-space:normal;height:auto;min-height:44px;padding-top:8px;padding-bottom:8px}
.own-radio{flex:0 0 18px;width:18px;height:18px;border-radius:50%;border:2px solid var(--line);box-sizing:border-box}
.own-title.on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.own-title.on .own-radio{border:5px solid var(--accent)}

.own-gen-run { text-align: center; }

#gpt-cards .design-item img { width: 100%; height: auto; }
#gpt-cards .design-item .btn { margin-top: 4px; min-height: 40px; padding: 8px; font-size: 14px; }

/* вес изделия и Д/Ш/В — в одном ряду, без отдельного экрана упаковки */
.own-pack-row{display:grid;grid-template-columns:1.3fr repeat(3,minmax(0,1fr));gap:8px;align-items:end;margin:4px 0 8px}
.own-pack-row label{margin:8px 0 6px}
.own-pack-row input{width:100%;min-width:0;box-sizing:border-box}
