/* GENERATED FILE - DO NOT EDIT.
   Source: shared/outfits.css - run `npm run sync:shared` after editing. */

/* Prep → Outfits (owner 2026-11-23, mock v3, shared/outfits.js) — web and app.
   One entry per occasion: its name, stops and note on the left (on top on a phone), its outfits as photo cards on the
   right (a swipe row on a phone). Photos are shown whole: contained, with their own blur filling the frame. */
.of-tab { --of-ink: #1b2620; --of-soft: #7a6f5c; --of-line: #ebe2cd; --of-card: #fffdf8; --of-dark: #1d3a2e; --of-gold: #b8913c; display: grid; gap: 18px; font-family: "DM Sans", system-ui, sans-serif; color: var(--of-ink); }
.of-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.of-add { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--of-dark); color: #fff; font: 700 14px/1 "DM Sans", sans-serif; cursor: pointer; }
.of-add svg { width: 16px; height: 16px; }
.of-filters { display: flex; gap: 18px; border-bottom: 1px solid var(--of-line); }
.of-filters button { min-height: 42px; min-width: 44px; padding: 4px 2px 0; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; font: 600 14px/1 "DM Sans", sans-serif; color: var(--of-soft); cursor: pointer; }
.of-filters button.is-on { color: var(--of-ink); border-color: var(--of-ink); }

/* one entry */
.of-entry { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 26px; padding: 22px; border-radius: 22px; background: var(--of-card); box-shadow: 0 1px 2px rgba(40, 30, 10, 0.05), 0 8px 24px rgba(40, 30, 10, 0.06); }
.of-entry-h { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.of-entry-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.of-name { margin: 0; font: 600 26px/1.12 "Playfair Display", Georgia, serif; overflow-wrap: anywhere; }
.of-edit { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--of-line); border-radius: 50%; background: #fff; color: var(--of-ink); cursor: pointer; }
.of-edit svg { width: 16px; height: 16px; }
.of-count { margin: -4px 0 0; font: 700 11.5px/1 "DM Sans", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--of-soft); }
.of-when { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.of-when li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 13.5px; line-height: 1.35; }
.of-when b { font-weight: 600; overflow-wrap: anywhere; }
.of-t { font: 700 11.5px/1.25 "DM Sans", sans-serif; color: var(--of-gold); white-space: nowrap; }
.of-t small { display: block; font-weight: 600; color: #b3a98f; }
.of-note { margin: 0; padding: 11px 13px; border-radius: 13px; background: #f4ecd8; font: 500 13px/1.45 "DM Sans", sans-serif; color: #6a5626; overflow-wrap: anywhere; }

/* its outfits */
.of-looks { display: grid; grid-template-columns: repeat(var(--of-n, 1), minmax(0, 1fr)); gap: 16px; align-content: start; min-width: 0; }
.of-look { min-width: 0; }
.of-shot { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #ece4d2; }
.of-looks.is-one .of-shot { aspect-ratio: 16 / 10; }
/* a wide screen (bug hunt 2026-11-23): a photo never grows past 460px tall — the whole photo still shows inside */
.of-shot { width: 100%; max-height: 460px; }
.of-car { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.of-car::-webkit-scrollbar { display: none; }
.of-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; }
.of-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 2px; }
.of-dots button { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.of-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); transition: width 0.2s; }
.of-dots button.is-on::before { width: 18px; background: #fff; }
.of-shot-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.1); opacity: 0.75; }
.of-shot-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.of-shot.is-empty { display: flex; align-items: center; justify-content: center; color: #b9ad90; }
/* no photo (bug hunt 2026-11-23): a short strip, not a tall empty box (owner: no dead space) */
.of-looks .of-shot.is-empty, .of-looks.is-one .of-shot.is-empty { aspect-ratio: auto; height: 96px; }
.of-shot.is-empty svg { width: 34px; height: 34px; }
.of-who { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 253, 248, 0.94); font: 700 11.5px/1 "DM Sans", sans-serif; color: var(--of-ink); }
.of-wear { margin: 12px 0 4px; font: italic 500 16.5px/1.3 "Playfair Display", Georgia, serif; color: #5e4f24; overflow-wrap: anywhere; }
.of-det { margin: 0; font: 500 13px/1.5 "DM Sans", sans-serif; color: #5d5646; overflow-wrap: anywhere; }
.of-ph { display: block; overflow: hidden; border-radius: 12px; background: #e9dfca; aspect-ratio: 4 / 5; }
.of-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.of-ph i { display: block; width: 100%; height: 100%; }

.of-empty { padding: 28px 18px; border-radius: 18px; border: 1px dashed #dccfb2; text-align: center; }
.of-empty b { font: 700 16px/1.3 "DM Sans", sans-serif; }
.of-empty p { margin: 6px 0 0; font: 500 13.5px/1.45 "DM Sans", sans-serif; color: var(--of-soft); }

/* a narrow screen: the words on top, the outfits swipe sideways */
@media (max-width: 760px) {
  .of-entry { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; }
  .of-name { font-size: 23px; }
  .of-looks { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .of-looks.is-one .of-shot { aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) { .of-add { width: 100%; justify-content: center; } }

/* the window */
dialog.of-dlg { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: #fffdf8; color: #1b2620; box-shadow: 0 24px 60px rgba(24, 32, 26, 0.28); font-family: "DM Sans", system-ui, sans-serif; overflow-x: hidden; }
dialog.of-dlg::backdrop { background: rgba(20, 26, 22, 0.38); }
.of-dlg-b { display: grid; gap: 16px; padding: 20px; min-width: 0; }
.of-dlg-h { display: flex; align-items: center; justify-content: space-between; }
.of-dlg-h b { font: 600 22px/1.2 "Playfair Display", Georgia, serif; }
.of-x { width: 44px; height: 44px; margin: -10px -10px -10px 0; border: 0; background: none; font-size: 18px; color: #7a6f5c; cursor: pointer; }
.of-f { display: grid; gap: 7px; min-width: 0; }
.of-f > span { font: 700 13px/1 "DM Sans", sans-serif; color: #3b3a33; }
.of-f > span i { font-style: normal; font-weight: 500; color: #9a8f7a; }
.of-f > span em { font-style: normal; color: #b0412c; }
.of-f input[type="text"], .of-f textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; border: 1px solid #dccfb2; border-radius: 12px; background: #fff; font: 500 15px/1.4 "DM Sans", sans-serif; color: #1b2620; }
.of-f textarea { resize: vertical; min-height: 64px; }
.of-add-stop { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 38px 10px 13px; border: 1px solid #dccfb2; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a8f7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font: 500 15px/1.3 "DM Sans", sans-serif; color: #1b2620; -webkit-appearance: none; appearance: none; cursor: pointer; }
.of-stops { list-style: none; margin: 2px 0 0; padding: 0; }
.of-stops li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 32px; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #efe6d2; }
.of-stops li:last-child { border-bottom: 0; }
.of-stops b { font: 600 14px/1.35 "DM Sans", sans-serif; overflow-wrap: anywhere; }
.of-stop-x { width: 40px; height: 40px; flex: none; border: 0; border-radius: 999px; background: transparent; color: #9a8f7a; font-size: 14px; cursor: pointer; align-self: center; }
.of-stop-x:hover { background: #f4ecda; color: #1b2620; }
.of-picked { margin: 0; font: 500 12.5px/1.4 "DM Sans", sans-serif; color: #7a6f5c; }
.of-sub { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.of-sub b { font: 600 18px/1 "Playfair Display", Georgia, serif; }
.of-sub small { font: 600 12px/1 "DM Sans", sans-serif; color: #8b8270; }
.of-lookf { position: relative; display: grid; gap: 12px; padding: 14px; border: 1px solid #ebe2cd; border-radius: 18px; background: #fffefb; min-width: 0; }
.of-lookh { display: flex; align-items: baseline; gap: 8px; }
.of-lookh b { font: 700 14px/1.2 "DM Sans", sans-serif; }
.of-lookh i { font: 500 12px/1.2 "DM Sans", sans-serif; font-style: normal; color: #9a8f7a; }
.of-seg.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.of-lookx { justify-self: end; margin: -4px -4px -4px 0; padding: 4px 6px; border: 0; background: none; font: 700 12.5px/1 "DM Sans", sans-serif; color: #a32d2d; cursor: pointer; }
.of-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.of-slot { position: relative; display: block; aspect-ratio: 4 / 5; min-width: 0; }
.of-slot .of-ph { width: 100%; height: 100%; }
.of-slot button { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(27, 38, 32, 0.82); color: #fff; font-size: 12px; cursor: pointer; }
.of-slot.is-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1.5px dashed #cdbd99; border-radius: 12px; background: #fbf6ea; font: 700 11.5px/1 "DM Sans", sans-serif; color: #7a6f5c; cursor: pointer; }
.of-slot.is-add svg { width: 20px; height: 20px; }
.of-slot.is-busy { cursor: progress; }
.of-slot.is-blank { border-radius: 12px; background: #f6f0e2; }
.of-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: 13px; background: #efe8d6; }
.of-seg button { min-height: 40px; border: 0; border-radius: 10px; background: none; font: 700 13.5px/1 "DM Sans", sans-serif; color: #8b8270; cursor: pointer; }
.of-seg button.is-on { background: #fff; color: #1b2620; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.of-more { min-height: 48px; border: 1.5px dashed #cdbd99; border-radius: 16px; background: transparent; font: 700 14px/1 "DM Sans", sans-serif; color: #1b2620; cursor: pointer; }
.of-err { margin: 0; font: 600 13px/1.4 "DM Sans", sans-serif; color: #a32d2d; }
.of-dlg-f { display: flex; justify-content: space-between; gap: 10px; }
.of-btn { min-height: 50px; padding: 0 20px; border-radius: 999px; font: 700 15px/1 "DM Sans", sans-serif; cursor: pointer; }
.of-btn.is-dark { flex: 1 1 auto; border: 0; background: #1d3a2e; color: #fff; }
.of-btn.is-dark[disabled] { opacity: 0.6; cursor: progress; }
.of-btn.is-quiet { border: 1px solid #e0d6bf; background: #fff; color: #a32d2d; }
/* a phone: the window is a sheet from the bottom */
@media (max-width: 520px) {
  dialog.of-dlg { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
}
