.fashion-tool-v3{overflow:hidden}
.fashion-hero-v3{text-align:center;border:2px dashed #ff7900;background:linear-gradient(135deg,#fff7ed,#fff)}
.hero-icon{font-size:52px;margin-bottom:8px}
.fashion-hero-v3 h1{font-size:38px;margin:0 0 12px;color:#071526}
.fashion-hero-v3 p{max-width:850px;margin:0 auto 24px;color:#334155;font-size:17px;line-height:1.7}
#photoInput{display:none}
.fashion-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.fashion-actions button,.report-actions-v3 button{border:0;background:#ff7900;color:#fff;border-radius:999px;padding:14px 24px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(255,121,0,.22)}
#statusText{font-weight:900;color:#64748b;margin-top:16px}
#previewBox{margin-top:20px}
#previewImg{max-width:430px;max-height:340px;border-radius:22px;box-shadow:0 24px 50px rgba(7,21,38,.18)}
.fashion-error{background:#fef2f2;color:#991b1b;padding:16px;border-radius:16px;margin:18px auto;font-weight:900;max-width:820px}
.fashion-report-v3{margin-top:28px}
.report-head-v3{display:grid;grid-template-columns:1fr 170px;gap:18px;align-items:center;background:linear-gradient(135deg,#071526,#102a43);color:#fff;border-radius:26px;padding:26px;border:2px solid #ff7900}
.report-head-v3 span{color:#ffb347;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.09em}
.report-head-v3 h2{color:#fff;margin:8px 0;font-size:28px}
.report-head-v3 p{color:#e5eef9;margin:0;line-height:1.6}
.harmony-score{background:#fff;color:#071526;border-radius:22px;text-align:center;padding:18px}
.harmony-score strong{font-size:48px;color:#ff7900;line-height:1}
.harmony-score small{font-size:18px;font-weight:900}
.harmony-score em{display:block;font-style:normal;font-weight:900;margin-top:6px}
.report-grid-v3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.card-v3,.photo-box-v3{background:#fff;border:1px solid #fed7aa;border-radius:22px;padding:20px;box-shadow:0 12px 30px rgba(7,21,38,.07)}
.card-v3 h3,.photo-box-v3 h3{margin:0 0 12px;color:#071526;font-size:20px}
.card-v3 strong{display:block;color:#ff7900;font-size:17px;line-height:1.5}
.card-v3 p{color:#334155;font-size:16px;line-height:1.65;margin:0}
.photo-box-v3{text-align:center}
.photo-box-v3 img{max-width:100%;max-height:400px;border-radius:18px;box-shadow:0 18px 38px rgba(7,21,38,.14)}
.color-palette-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 18px}
.color-palette-row span{width:44px;height:44px;border-radius:999px;border:3px solid #fff;box-shadow:0 8px 20px rgba(7,21,38,.18)}
.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mini-grid div{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:10px}
.mini-grid b{display:block;color:#ff7900;font-size:12px}
.mini-grid small{display:block;color:#071526;font-weight:900;margin-top:4px}
.best-card{background:linear-gradient(135deg,#fff,#fff7ed)}
.report-actions-v3{text-align:center;margin-top:22px}
.safe-note-v3{margin-top:18px;background:#071526;color:#fff;border-radius:18px;padding:18px;font-weight:900;text-align:center;line-height:1.5}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:18px}
.feature-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:20px;padding:20px}
.feature-grid strong{color:#ff7900;font-size:18px}
.seo-section-v3 p{font-size:16px;line-height:1.7;color:#334155}
@media(max-width:1000px){.report-grid-v3{grid-template-columns:repeat(2,minmax(0,1fr))}.report-head-v3{grid-template-columns:1fr}.mini-grid{grid-template-columns:1fr}}
@media(max-width:680px){.fashion-hero-v3 h1{font-size:28px}.fashion-hero-v3 p{font-size:15px}.report-grid-v3{grid-template-columns:1fr}.card-v3,.photo-box-v3{padding:16px}.harmony-score strong{font-size:38px}#previewImg{max-width:100%}}

/* V3.1 Real Color Metrics */
.mini-grid{
  grid-template-columns:repeat(3,1fr)!important;
}
@media(max-width:680px){
  .mini-grid{grid-template-columns:repeat(2,1fr)!important;}
}

.v36-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:16px;
margin:24px 0;
}

.v36-card{
background:#fff;
border:1px solid #eee;
border-radius:16px;
padding:18px;
text-align:center;
}

.v36-card strong{
font-size:20px;
display:block;
margin-top:8px;
}

.v36-download{
margin:20px 0;
text-align:center;
}

.v36-btn{
display:inline-block;
padding:12px 20px;
border-radius:10px;
text-decoration:none;
font-weight:700;
background:#ff7a00;
color:#fff;
}

.v36-palette{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:20px;
}

.v36-color{
cursor:pointer;
padding:10px;
border:1px solid #ddd;
border-radius:12px;
text-align:center;
min-width:90px;
}

.v36-color .swatch{
display:block;
width:40px;
height:40px;
margin:0 auto 8px;
border-radius:50%;
border:1px solid #ccc;
}

/* V3.7 Split Outfit Detector */
.v36-card small{
  display:block;
  margin-top:6px;
  color:#ff7900;
  font-weight:900;
}
.v37-split-palettes{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  margin:18px 0;
}
.v37-split-palettes > div{
  background:#fff;
  border:1px solid #fed7aa;
  border-radius:18px;
  padding:16px;
}
.v37-split-palettes h3{
  margin:0 0 12px;
  color:#071526;
}
.v37-split-palettes span{
  display:inline-block;
  width:38px;
  height:38px;
  border-radius:999px;
  border:3px solid #fff;
  box-shadow:0 8px 18px rgba(7,21,38,.18);
  margin:0 8px 8px 0;
  cursor:pointer;
}

/* V3.8 Outfit Intelligence */
.v38-intelligence{
  margin-top:24px;
}
.v38-intelligence h2{
  color:#071526;
  margin-bottom:18px;
}
.v38-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.v38-score{
  background:linear-gradient(135deg,#071526,#102a43);
  color:#fff;
  border-radius:22px;
  padding:24px;
  border:2px solid #ff7900;
  text-align:center;
}
.v38-score span{
  display:block;
  color:#ffb347;
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.08em;
}
.v38-score strong{
  display:block;
  font-size:42px;
  line-height:1.2;
  margin-top:8px;
}
.v38-score em{
  display:inline-block;
  margin-top:10px;
  background:#ff7900;
  color:#fff;
  border-radius:999px;
  padding:7px 14px;
  font-style:normal;
  font-weight:900;
}
.v38-card{
  background:#fff;
  border:1px solid #fed7aa;
  border-radius:22px;
  padding:20px;
  box-shadow:0 12px 28px rgba(7,21,38,.06);
}
.v38-card h3{
  margin:0 0 10px;
  color:#071526;
}
.v38-card p{
  color:#334155;
  line-height:1.65;
  margin:0;
}
.v38-card:nth-child(2){
  grid-column:span 2;
}
@media(max-width:900px){
  .v38-grid{grid-template-columns:1fr;}
  .v38-card:nth-child(2){grid-column:auto;}
}

.v40-dashboard{
margin:30px 0;
padding:25px;
border-radius:20px;
}

.v40-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:15px;
}

.v40-box{
padding:18px;
border-radius:14px;
border:1px solid #ffb86b;
background:#fff;
text-align:center;
}

.v40-box strong{
display:block;
margin-top:8px;
font-size:20px;
}

.v40-summary,
.v40-upgrades{
margin-top:20px;
padding:20px;
border-radius:14px;
background:#fff;
border:1px solid #ffb86b;
}

.v41-wardrobe{
margin:25px 0;
}

.v41-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:16px;
}

.v41-box{
background:#fff;
border:1px solid #fed7aa;
border-radius:18px;
padding:18px;
}

.v41-box h3{
margin:0 0 10px;
}

.v41-rating strong{
font-size:34px;
display:block;
margin-top:10px;
color:#ff7900;
}

.v42-preview{
margin:25px 0;
}

.v42-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:16px;
}

.v42-item{
background:#fff;
border:1px solid #fed7aa;
border-radius:18px;
padding:18px;
text-align:center;
}

.v42-swatch{
width:70px;
height:70px;
border-radius:50%;
margin:12px auto;
border:3px solid #fff;
box-shadow:0 0 0 1px #ddd;
}
