/* Seto Outfits — peste styles.css + seto.css (aceleasi culori ca restul aplicatiilor Seto). */
:root { --coral: #FF9E7A; --ok: #7BD88F; --warn: #F5B454; --bad: #FF7A6E; }
.d-chip.outfits { background: rgba(255,158,122,.16); color: var(--coral); }
#screen-app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.page { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px !important; }
.page > * { flex: none; }
.muted { color: var(--muted); }
svg { display: block; }
.toast { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }

/* butoanele din aplicatie pornesc "goale" (styles.css le coloreaza pe toate) */
:where(#page, #sheet, .o-bar, .o-nav, #cam) button { background: transparent; border: 0; color: inherit; padding: 0; font-weight: inherit; border-radius: 0; text-align: inherit; }
:where(#page, #sheet) :is(input, select, textarea) { margin: 0; box-sizing: border-box; }

/* navigare jos + bara de actiuni */
.o-nav { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #20262F; background: var(--bg); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
.o-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 600; color: #8E97A5; border-radius: 12px; white-space: nowrap; }
.o-nav button.on { color: var(--coral); }
.o-bar { flex: none; display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid #20262F; background: var(--bg); width: 100%; max-width: 640px; margin: 0 auto; box-sizing: border-box; }
.o-bar:empty { display: none; }
.o-cta { height: 52px; flex: 1; min-width: 0; border-radius: 14px !important; background: var(--accent) !important; color: #0B1220 !important; font-weight: 700 !important; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 0 14px !important; }
.o-ghost { height: 44px; padding: 0 14px !important; border-radius: 12px !important; background: #1A1F28 !important; color: var(--text) !important; border: 1px solid #2A313C !important; font-weight: 600 !important; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.o-ghost.big { height: 52px; flex: 1; min-width: 0; }
.o-ghost.danger { color: #FFB3AB !important; border-color: rgba(255,122,110,.4) !important; }
button:disabled { opacity: .5; }

/* text, titluri */
.o-h1 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.o-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.o-back { display: inline-flex; align-items: center; gap: 2px; color: #A9C6FF !important; font-weight: 600 !important; font-size: 14px; margin-left: -4px; align-self: flex-start; height: 32px; }
.o-sec { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 6px 4px 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.o-sec b { color: #C9CFD8; }
.o-card { background: #161A21; border: 1px solid #242A35; border-radius: 16px; }
.o-pad { padding: 12px 14px; }
.o-box { background: #161A21; border: 1px solid #242A35; border-radius: 16px; overflow: hidden; }
.o-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #20262F; width: 100%; box-sizing: border-box; }
.o-row:last-child { border-bottom: 0; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.t { font-weight: 600; }
.s { font-size: 12px; color: var(--muted); line-height: 1.35; }
.num { font-variant-numeric: tabular-nums; }
.o-pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #232B38; color: #C9CFD8; }
.o-pill.wxp { background: rgba(154,209,255,.13); color: #9AD1FF; }
.o-pill.warn { background: rgba(245,180,84,.16); color: #FFC58A; }
.o-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.o-chip { height: 34px; padding: 0 12px !important; border-radius: 999px !important; font-size: 13px; font-weight: 600 !important; color: #C9CFD8 !important; border: 1px solid #2F3744 !important; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.o-chip.on { background: rgba(255,158,122,.14) !important; color: #FFC9B3 !important; border-color: rgba(255,158,122,.55) !important; }
.o-seg { display: flex; padding: 4px; background: #161A21; border: 1px solid #242A35; border-radius: 12px; gap: 2px; }
.o-seg button { flex: 1; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; padding: 0 6px; }
.o-seg button.on { background: #2A3446; color: var(--text); }
.o-lbl { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.o-fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.o-in { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid #2F3744; background: #1E2430; color: var(--text); font-size: 15px; padding: 0 12px; }
textarea.o-in { padding: 10px 12px; min-height: 84px; resize: vertical; line-height: 1.4; }
.o-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.o-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.o-sel { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 14px; border-radius: 12px; border: 1px solid #2F3744; background: #1E2430; }
.o-sel > span { font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.o-sel select { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; color: var(--text); font-size: 15px; font-weight: 700; padding: 0 4px; outline: 0 !important; }
.o-sel.sm { height: 36px; padding-left: 10px; }
.o-sel.sm select { font-size: 13px; }
.o-empty { text-align: center; color: var(--muted); padding: 34px 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; line-height: 1.45; }
.o-empty b { color: var(--text); font-size: 17px; }
.o-note { font-size: 13px; line-height: 1.45; color: #C9CFD8; background: rgba(138,180,255,.08); border: 1px solid rgba(138,180,255,.22); border-radius: 12px; padding: 10px 12px; }
.o-note.warn { background: rgba(245,180,84,.10); border-color: rgba(245,180,84,.4); color: #FFDDB0; }

/* scor */
.sc { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.sc.g { background: rgba(123,216,143,.16); color: #8FE3A2; }
.sc.y { background: rgba(245,180,84,.16); color: #FFC58A; }
.sc.r { background: rgba(255,122,110,.16); color: #FFB3AB; }
.ring { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; border: 4px solid var(--ok); flex: none; font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; font-weight: 700; color: #8FE3A2; }
.ring.y { border-color: var(--warn); color: #FFC58A; }
.ring.r { border-color: var(--bad); color: #FFB3AB; }
.wx { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #9AD1FF; white-space: nowrap; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); flex: none; display: inline-block; }
.reasons { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.reasons span { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: #C9CFD8; }
.reasons i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-top: 5px; flex: none; }
.reasons i.no { background: var(--warn); }

/* garderoba */
.o-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { background: #161A21 !important; border: 1px solid #242A35 !important; border-radius: 16px !important; padding: 8px !important; display: flex; flex-direction: column; gap: 6px; position: relative; min-width: 0; }
.tile .pic { height: 104px; border-radius: 12px; background: #1E2430; display: grid; place-items: center; overflow: hidden; }
.tile .nm { font-size: 12px; font-weight: 600; line-height: 1.25; display: flex; align-items: center; gap: 5px; min-width: 0; }
.tile .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .bdg { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; }
.tile .bdg .o-pill { height: 20px; font-size: 10px; padding: 0 7px; max-width: 100%; overflow: hidden; }
.pic img, .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic img.cut, .thumb img.cut { object-fit: contain; padding: 6px; box-sizing: border-box; }
.thumb { width: 52px; height: 52px; border-radius: 12px; background: #1E2430; flex: none; overflow: hidden; display: grid; place-items: center; position: relative; }
.thumb.sm { width: 44px; height: 44px; border-radius: 10px; }
.thumb .wxi { position: absolute; right: 2px; top: 2px; background: #0E1116; border-radius: 50%; padding: 2px; color: #9AD1FF; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: currentColor; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.photos { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.photos .ph { width: 120px; height: 150px; border-radius: 14px; background: #1E2430; flex: none; overflow: hidden; position: relative; display: grid; place-items: center; }
.photos .ph.main { width: 170px; height: 210px; }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.photos .ph img.cut { object-fit: contain; padding: 8px; box-sizing: border-box; }
.photos .ph .k { position: absolute; left: 6px; bottom: 6px; }
.photos .ph .x { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: rgba(14,17,22,.8); display: grid; place-items: center; }
.photos .add { border: 1.5px dashed #3A4250; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; text-align: center; padding: 0 8px; }
.catgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.catgrid button { height: 64px; border-radius: 14px; background: #1E2430; border: 1px solid #2F3744; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-weight: 600; }
.catgrid svg { color: var(--coral); flex: none; }

/* manechin */
.mq { position: relative; width: 170px; height: 460px; flex: none; }
.mq > * { position: absolute; }
.mq img { object-fit: contain; object-position: center; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.mq svg { filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.mq-mini { position: relative; overflow: hidden; flex: none; }
.mq-mini .mq { transform-origin: 0 0; position: absolute; left: 0; top: 0; }
.stage { position: relative; height: 478px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #1D2330 0%, #161A21 70%); }
.stage .floor { display: none; }
.stage .mq { position: absolute; left: 50%; top: 8px; margin-left: -85px; }
.slots { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 6px 30px; pointer-events: none; }
.slot { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.slot > * { pointer-events: auto; }
.slot .side { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.slot .ar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--text); }
.slot .ar:active { background: rgba(255,255,255,.08); }
.slot .lk { width: 40px; height: 30px; display: grid; place-items: center; color: #6B7482; border-radius: 10px; }
.slot .lk.on { color: var(--coral); }
.slot .info { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 108px; text-align: right; }
.slot .info .s { color: #A9C6FF; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 108px; }
.slot .info.lkd .s { color: #FFC9B3; }
.slot .rt { display: flex; align-items: center; gap: 2px; }
.ask { display: flex; gap: 8px; align-items: flex-end; }
.ask textarea { min-height: 46px; height: 46px; }
.ask button { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #0B1220; display: grid; place-items: center; flex: none; }

/* lista de variante */
.opt { opacity: 1; }
.opt.r { opacity: .5; }
.opt.cur { background: rgba(255,158,122,.08); }

/* saptamana */
.day { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; }
.day .top { display: flex; align-items: center; gap: 8px; }
.day .body { display: flex; gap: 12px; align-items: flex-start; }
.day .pieces { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.day.today { border-color: rgba(255,158,122,.55); }
.ck { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #3A4250; box-sizing: border-box; flex: none; display: grid; place-items: center; color: #2A0E18; }
.ck svg { opacity: 0; }
.on > .ck, .ck.on { background: var(--coral); border-color: var(--coral); }
.on > .ck svg, .ck.on svg { opacity: 1; }
.tgl { width: 42px; height: 24px; border-radius: 999px; background: #2A313C; position: relative; flex: none; }
.tgl::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8E97A5; transition: left .12s; }
.on > .tgl, .tgl.on { background: rgba(138,180,255,.3); }
.on > .tgl::after, .tgl.on::after { left: 21px; background: var(--accent); }

/* vacanta */
.bar { height: 10px; border-radius: 999px; background: #242A35; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--ok); }
.bar i.over { background: var(--bad); }
.bags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bags button { border-radius: 14px; border: 1px solid #2F3744; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.bags button.on { background: rgba(255,158,122,.14); border-color: rgba(255,158,122,.55); }

/* profil */
.avrow { display: flex; gap: 14px; align-items: center; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; }
.swatches button.on { border-color: var(--text); }
.swatches input[type=color], .colorin { width: 38px !important; min-width: 38px; height: 38px; padding: 2px !important; border-radius: 10px; background: #1E2430; border: 1px solid #2F3744; margin: 0; }

/* foaie de jos */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(4,6,10,.62); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-elev); border-top: 1px solid #2A313C; border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; animation: sheet-in .18s ease; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet > * { flex: none; }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: #3A4250; align-self: center; }
.sheet h2 { margin: 0; font-size: 20px; }
.sheet .acts { display: flex; gap: 8px; }

/* camera */
#cam { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; color: #fff; }
#cam .view { flex: 1; min-height: 0; position: relative; overflow: hidden; display: grid; place-items: center; }
#cam video { width: 100%; height: 100%; object-fit: cover; }
#cam .guide { position: absolute; inset: 8% 10%; pointer-events: none; color: rgba(255,255,255,.75); display: grid; place-items: center; }
#cam .guide svg { width: 100%; height: 100%; }
#cam .tip { position: absolute; left: 0; right: 0; top: calc(10px + env(safe-area-inset-top)); display: flex; justify-content: center; padding: 0 60px; }
#cam .tip span { background: rgba(0,0,0,.55); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-align: center; }
#cam .x { position: absolute; left: 10px; top: calc(8px + env(safe-area-inset-top)); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; }
#cam .ctl { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); background: #0B0E13; }
#cam .shut { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 5px solid #0B0E13; outline: 3px solid #fff; }
#cam .shut:active { background: #ccc; }
#cam .cb { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #C9CFD8; min-width: 64px; padding: 6px 0; }
#cam .cb.on { color: #FFD66B; }
#cam .cb:last-child { justify-self: end; }
#cam .cb:first-child { justify-self: start; }

/* pozele umplu exact caseta lor (altfel o poza inalta o intinde) */
.pic, .thumb, .photos .ph { position: relative; }
.pic > img, .thumb > img, .photos .ph > img { position: absolute; inset: 0; }

/* outfitul "pe pat": piesele stau in stanga, etichetele in dreapta, pe un fond care le tine lizibile peste haine */
.stage .mq { left: 52px; margin-left: 0; }
.slot .info { background: rgba(14,17,22,.78); padding: 5px 8px; border-radius: 10px; }
