.owner-main { padding-top: 36px; padding-bottom: 58px; }
.owner-topbar .button { min-height: 40px; padding: 0 14px; font-size: .78rem; }
.owner-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 38px 0 22px; }
.owner-heading h1 { max-width: 800px; margin: 8px 0 6px; font-size: clamp(2.5rem,6vw,4.7rem); line-height: .98; letter-spacing: -.07em; }
.owner-heading p { max-width: 740px; margin: 10px 0 0; color: #d8d0e1; }
.owner-reset { flex: 0 0 auto; min-height: 40px; padding: 0 13px; border: 1px solid rgba(225,201,255,.2); border-radius: 999px; background: rgba(12,10,16,.7); color: #d9cce8; cursor: pointer; font-size: .72rem; font-weight: 750; }
.owner-reset:hover { border-color: rgba(194,108,255,.65); color: #fff; }
.owner-warning { display: grid; gap: 3px; margin: 10px 0 8px; padding: 13px 15px; border: 1px solid rgba(255,190,91,.5); border-radius: 13px; background: rgba(72,43,13,.27); color: #e5d9c7; font-size: .76rem; line-height: 1.45; }
.owner-warning strong { color: #ffd899; font-size: .8rem; }
.owner-feedback { min-height: 1.25em; margin: 8px 2px; color: var(--lilac); font-size: .78rem; font-weight: 700; }
.owner-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 17px 0 8px; }
.owner-stat { display: grid; align-content: start; min-height: 116px; gap: 4px; padding: 15px; border: 1px solid rgba(194,108,255,.23); border-radius: 15px; background: linear-gradient(140deg,rgba(24,15,32,.91),rgba(8,7,12,.84)); }
.owner-stat > span { color: #c8b9d8; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.owner-stat strong { color: #fff; font-size: clamp(1.4rem,2.7vw,2rem); line-height: 1.15; letter-spacing: -.04em; }
.owner-stat small { color: #a99db8; font-size: .63rem; line-height: 1.35; }
.owner-realised { margin: 4px 2px 20px; color: #c9bfd4; font-size: .75rem; }
.owner-section { margin: 20px 0; padding: clamp(15px,2.4vw,24px); border: 1px solid rgba(225,201,255,.18); border-radius: 19px; background: linear-gradient(135deg,rgba(16,13,20,.96),rgba(8,7,12,.94)); box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.owner-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.owner-section-heading h2,.owner-next h2 { margin: 4px 0; font-size: clamp(1.45rem,3vw,2rem); letter-spacing: -.04em; }
.owner-section-heading p,.owner-next p { max-width: 680px; margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
.owner-primary { border-color: rgba(201,132,255,.72); background: linear-gradient(120deg,#d7a3ff,#9e42d2); color: #1a0b22; }
.owner-primary:hover { color: #1a0b22; background: linear-gradient(120deg,#ead0ff,#bc66eb); }
.owner-controls { display: flex; align-items: end; gap: 11px; margin: 14px 0 10px; }
.owner-actions-help { max-width: 430px; margin: 0 0 10px; color: #cbb8d9; font-size: .66rem; line-height: 1.4; }
.owner-actions-help b { color: #f0d9ff; }
.owner-field { display: grid; min-width: 0; gap: 5px; color: #ded3ea; font-size: .7rem; font-weight: 750; }
.owner-field > span { color: #d7c8e5; }
.owner-field small { color: #a89bb6; font-size: .62rem; font-weight: 500; }
.owner-field input,.owner-field select,.owner-field textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid rgba(225,201,255,.21); border-radius: 10px; background: rgba(5,5,8,.84); color: var(--ink); font: inherit; font-size: .77rem; }
.owner-field textarea { min-height: 78px; resize: vertical; }
.owner-search { flex: 1 1 320px; }
.owner-controls > .owner-field:not(.owner-search) { flex: 0 0 180px; }
.owner-count { margin: 0 0 11px auto; color: #b6a8c6; font-size: .7rem; white-space: nowrap; }
.owner-table-wrap { width: 100%; overflow-x: auto; border: 1px solid rgba(225,201,255,.13); border-radius: 12px; }
.owner-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; }
.owner-table th { padding: 10px 11px; background: rgba(194,108,255,.09); color: #d8bee9; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.owner-table td { padding: 10px 11px; border-top: 1px solid rgba(225,201,255,.1); color: #f6f1fb; font-size: .72rem; vertical-align: middle; }
.owner-table tbody tr:hover { background: rgba(194,108,255,.045); }
.owner-item-main { display: grid; gap: 2px; min-width: 205px; }
.owner-item-main strong { color: #fff; font-size: .76rem; }
.owner-item-main small,.owner-table td small { display: block; margin-top: 2px; color: #aa9eb8; font-size: .62rem; }
.owner-item-cell { display: flex; align-items: center; gap: 9px; min-width: 245px; }
.owner-thumb { display: grid; flex: 0 0 44px; width: 44px; height: 54px; overflow: hidden; place-items: center; border: 1px solid rgba(225,201,255,.2); border-radius: 7px; background: #111 url('assets/black-marble.svg') center / cover; color: #bcb1c7; }
.owner-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.owner-thumb span { display: none; padding: 2px; font-size: .47rem; line-height: 1.1; text-align: center; }
.owner-thumb-fallback img { display: none; }
.owner-thumb-fallback span { display: block; }
.owner-status { display: inline-flex; padding: 4px 7px; border: 1px solid rgba(225,201,255,.2); border-radius: 999px; color: #d9cce8; font-size: .59rem; font-weight: 850; text-transform: uppercase; white-space: nowrap; }
.owner-status.status-available { border-color: rgba(119,226,177,.28); background: rgba(62,165,121,.1); color: #a6eccb; }
.owner-status.status-sold { border-color: rgba(194,108,255,.35); background: rgba(194,108,255,.11); color: #e4c9fb; }
.owner-status.status-reserved { border-color: rgba(255,199,112,.3); color: #ffd899; }
.owner-status.status-archived { color: #aaa0b2; }
.owner-inline-status { display: grid; gap: 4px; min-width: 135px; }
.owner-inline-status > span { color: #b9a8c9; font-size: .59rem; }
.owner-status-select { width: 100%; min-height: 34px; padding: 5px 26px 5px 8px; border: 1px solid rgba(194,108,255,.4); border-radius: 8px; background: #130c1b; color: #f0ddff; font: inherit; font-size: .7rem; cursor: pointer; }
.owner-status-select:focus-visible { outline: 2px solid #bd79ff; outline-offset: 2px; }
.owner-status-select.status-available { border-color: rgba(119,226,177,.45); color: #a6eccb; }
.owner-status-select.status-reserved { border-color: rgba(255,199,112,.4); color: #ffd899; }
.owner-status-select:disabled,.owner-actions button:disabled { opacity: .55; cursor: wait; }
.owner-table td .owner-status-note { max-width: 235px; white-space: normal; line-height: 1.4; }
.owner-actions { display: flex; gap: 5px; white-space: nowrap; }
.owner-actions button,.owner-code-actions button { min-height: 30px; padding: 0 8px; border: 1px solid rgba(225,201,255,.2); border-radius: 8px; background: rgba(8,7,12,.7); color: #e6d9f2; cursor: pointer; font-size: .62rem; font-weight: 750; }
.owner-actions button:hover,.owner-code-actions button:hover { border-color: rgba(194,108,255,.65); background: rgba(194,108,255,.1); }
.owner-action-lock { display: inline-flex; align-items: center; min-height: 30px; padding: 0 7px; border: 1px solid rgba(255,199,112,.28); border-radius: 8px; color: #ffd899; font-size: .59rem; font-weight: 750; }
.owner-actions [data-action="archive"],.owner-code-actions [data-action="remove-code"] { color: #d0a8dc; }
.owner-footnote { margin: 11px 2px 0; color: #a99eaf; font-size: .66rem; line-height: 1.45; }
.owner-empty { padding: 16px 5px 4px; color: #bcb1c7; font-size: .75rem; }
.owner-referral-offer { display: grid; gap: 2px; padding: 9px 12px; border: 1px solid rgba(194,108,255,.24); border-radius: 12px; background: rgba(194,108,255,.07); white-space: nowrap; }
.owner-referral-offer strong { color: #f0d9ff; font-size: .76rem; }
.owner-referral-offer span { color: #b8acc3; font-size: .62rem; }
.owner-create-code { display: flex; align-items: end; gap: 10px; margin: 0 0 13px; padding: 12px; border: 1px solid rgba(225,201,255,.13); border-radius: 13px; background: rgba(5,5,8,.37); }
.owner-create-code .owner-field { flex: 1 1 340px; }
.owner-create-code .button { min-height: 42px; white-space: nowrap; }
.owner-code { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(194,108,255,.3); border-radius: 8px; background: rgba(194,108,255,.08); color: #f0d9ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .73rem; font-weight: 850; letter-spacing: .04em; }
.owner-next { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px 20px; border: 1px solid rgba(225,201,255,.15); border-radius: 16px; background: rgba(8,7,12,.74); }
.owner-next-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(225,201,255,.18); border-radius: 999px; color: #bcb1c7; font-size: .63rem; font-weight: 800; text-transform: uppercase; }
.owner-dialog { margin: 3vh auto auto; width: min(760px,calc(100% - 28px)); max-height: min(90vh,900px); padding: 0; overflow-y: auto; border: 1px solid rgba(194,108,255,.45); border-radius: 18px; background: #100c14; color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.75); }
.owner-dialog::backdrop { background: rgba(2,2,4,.78); backdrop-filter: blur(5px); }
.owner-form { padding: clamp(16px,3vw,25px); }
.owner-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.owner-dialog-heading h2 { margin: 3px 0 0; font-size: 1.55rem; letter-spacing: -.04em; }
.owner-dialog-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(8,7,12,.8); color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.owner-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; }
.owner-full { grid-column: 1/-1; }
.owner-photo-fields { margin-top: 14px; padding: 11px; border: 1px solid rgba(225,201,255,.15); border-radius: 11px; color: #e4d5f2; font-size: .75rem; }
.owner-photo-fields summary { cursor: pointer; font-weight: 800; }
.owner-photo-fields p { color: #ac9fb9; font-size: .68rem; }
.owner-photo-fields .owner-form-grid { margin-top: 10px; }
.owner-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.owner-dialog-actions .button { min-height: 42px; font-size: .75rem; }
@media (max-width: 820px) {
  .owner-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .owner-section-heading { align-items: flex-start; flex-direction: column; }
  .owner-referral-offer { white-space: normal; }
}
@media (max-width: 600px) {
  .owner-main { padding-top: 18px; }
  .owner-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding: 28px 0 18px; }
  .owner-heading h1 { font-size: clamp(2.35rem,12vw,3.5rem); }
  .owner-store-link { min-height: 36px !important; padding: 0 10px !important; font-size: .66rem !important; }
  .owner-warning { padding: 11px 12px; font-size: .69rem; }
  .owner-stats { gap: 7px; }
  .owner-stat { min-height: 105px; padding: 11px; }
  .owner-stat small { font-size: .58rem; }
  .owner-controls { align-items: stretch; flex-direction: column; }
  .owner-controls > .owner-field:not(.owner-search) { flex: initial; }
  .owner-actions-help { max-width: none; margin: 0; }
  .owner-count { margin: 0; }
  .owner-create-code { align-items: stretch; flex-direction: column; }
  .owner-next { align-items: flex-start; flex-direction: column; }
  .owner-form-grid { grid-template-columns: 1fr; }
  .owner-full { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .owner-main *, .owner-dialog * { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
.owner-message-tools { display: grid; gap: 9px; }
.owner-message-tools .owner-field { max-width: 380px; }
.owner-message-tools textarea { width: 100%; min-height: 190px; padding: 12px; border: 1px solid rgba(225,201,255,.2); border-radius: 11px; background: rgba(5,5,8,.84); color: #e7d9f0; font: .72rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; resize: vertical; }
.owner-message-actions { display: flex; align-items: center; gap: 10px; }
.owner-message-actions .button { min-height: 40px; font-size: .72rem; }
.owner-message-feedback { color: #cdb3e0; font-size: .66rem; }

.owner-stocktake-callout { display: grid; gap: 4px; margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(194,108,255,.3); border-radius: 12px; background: rgba(194,108,255,.07); color: #cfc2dc; font-size: .71rem; line-height: 1.45; }
.owner-stocktake-callout strong { color: #eed8ff; font-size: .76rem; }
.owner-stocktake-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; margin: 14px 0; }
.owner-stocktake-feedback { min-height: 1.2em; margin: 6px 2px; color: #cdb3e0; font-size: .68rem; }
.owner-stock-validation { margin: 7px 0 11px; padding: 10px 12px; border: 1px solid rgba(119,226,177,.24); border-radius: 10px; background: rgba(62,165,121,.07); color: #b8f3d5; font-size: .7rem; line-height: 1.45; }
.owner-stock-validation.is-error { border-color: rgba(255,190,91,.45); background: rgba(72,43,13,.25); color: #ffd899; }
.owner-stocktake-table { min-width: 880px; }
.owner-stocktake-table td { line-height: 1.4; }
.owner-stocktake-table td:first-child { min-width: 190px; }
.owner-stocktake-table td:nth-child(2) { min-width: 260px; color: #bcb1c7; font-size: .66rem; }
.owner-stocktake-table td:nth-child(3) { min-width: 130px; color: #e4c9fb; font-weight: 850; white-space: nowrap; }
.owner-stocktake-table td:nth-child(4) { min-width: 185px; }
.owner-stocktake-table td strong { display: block; }
.owner-stocktake-table td small { color: #aa9eb8; font-size: .6rem; }
.owner-stocktake-table input { width: 100%; max-width: 125px; min-height: 36px; padding: 7px 9px; border: 1px solid rgba(225,201,255,.21); border-radius: 9px; background: rgba(5,5,8,.84); color: #f7f3fb; font: inherit; font-size: .76rem; }
.owner-stocktake-table input:focus,.owner-stocktake-grid input:focus { outline: 2px solid rgba(189,121,255,.55); outline-offset: 1px; }
@media (max-width: 600px) {
  .owner-stocktake-grid { grid-template-columns: 1fr; }
  .owner-stocktake-callout { font-size: .67rem; }
}

.owner-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.owner-head-actions .button { min-height: 40px; font-size: .75rem; }
.owner-mini { margin-left: 8px; padding: 3px 9px; border: 1px solid rgba(194,108,255,.5); border-radius: 999px; background: rgba(80,30,120,.3); color: #f2dfff; font: inherit; font-size: .68rem; cursor: pointer; }
.owner-customers { display: grid; gap: 8px; }
.owner-cust { display: grid; grid-template-columns: 1.4fr .6fr 1.6fr .6fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(225,201,255,.14); border-radius: 12px; background: rgba(0,0,0,.25); font-size: .82rem; }
.owner-cust small { display: block; color: #b5a9c0; }
.owner-cust .hot { color: #ffd36b; font-weight: 700; }
@media (max-width: 640px) { .owner-cust { grid-template-columns: 1fr 1fr; } }

/* Owner intake tools: stacked, bounded actions instead of an overflowing toolbar. */
.owner-intake-tools { display: grid; gap: 9px; margin: 18px 0; }
.owner-tool-category { overflow: hidden; border: 1px solid rgba(194,108,255,.46); border-radius: 14px; background: rgba(80,30,120,.12); }
.owner-tool-category > summary { display: grid; grid-template-columns: 12px minmax(0,1fr) 20px; gap: 2px 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; color: #f5eaff; background: linear-gradient(105deg,rgba(130,62,183,.52),rgba(75,29,113,.42)); }
.owner-tool-category > summary::-webkit-details-marker { display: none; }
.owner-tool-category > summary::before { content: '◆'; grid-row: span 2; color: #e1b7ff; font-size: .58rem; }
.owner-tool-category > summary > span { grid-column: 2; font-size: .9rem; font-weight: 850; letter-spacing: -.01em; }
.owner-tool-category > summary > small { grid-column: 2; color: #d7c3e4; font-size: .68rem; font-weight: 500; line-height: 1.35; }
.owner-tool-category > summary > b { grid-column: 3; grid-row: 1 / span 2; color: #fff; font-size: 1.2rem; font-weight: 500; }
.owner-tool-category[open] > summary > b { transform: rotate(45deg); }
.owner-tool-content { display: grid; gap: 11px; padding: 15px 16px 16px; border-top: 1px solid rgba(194,108,255,.25); background: rgba(10,7,15,.38); }
.owner-tool-content > p { margin: 0; color: #cbbbd5; font-size: .72rem; line-height: 1.5; }
.owner-tool-button { width: 100%; min-height: 42px; justify-content: center; }
.owner-help { color: #a99db2; font-size: .67rem; line-height: 1.45; }
.owner-saved-listings { margin: 18px 0 12px; padding: 14px 15px 4px; border: 1px solid rgba(225,201,255,.23); border-radius: 14px; background: rgba(4,3,7,.38); }
.owner-subsection-heading { margin-bottom: 8px; }
.owner-subsection-heading h3 { margin: 3px 0; color: #f0d9ff; font-size: 1rem; letter-spacing: -.02em; }
.owner-subsection-heading p { margin: 3px 0 0; color: #a99db2; font-size: .68rem; line-height: 1.4; }
.owner-saved-listings .owner-controls { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; align-items: stretch; gap: 8px; margin: 10px 0 8px; }
.owner-saved-listings .owner-controls > .owner-field { flex: none; min-height: 0; margin: 0; }
.owner-saved-listings .owner-actions-help { max-width: none; margin: 0; }
.owner-saved-listings .owner-count { margin: 0; }
.owner-delete-help { margin: 6px 0 10px; }
.owner-saved-listings + .owner-table-wrap { margin-top: 0; }

/* Manual form group boundaries. */
.owner-form-section { margin: 0 0 13px; padding: 14px; border: 1px solid rgba(225,201,255,.2); border-radius: 13px; background: rgba(4,3,7,.3); }
.owner-form-section > h3 { margin: 0 0 4px; color: #eedbfa; font-size: .95rem; letter-spacing: -.02em; }
.owner-form-section > .owner-help { margin: 0 0 11px; }
.owner-form-section .owner-form-grid { margin-top: 0; }
.owner-description-section .owner-field { margin-bottom: 10px; }
.owner-photo-section { padding-bottom: 9px; }
.owner-advanced-section { margin-bottom: 0; }
.owner-advanced-section > summary { cursor: pointer; color: #eedbfa; font-size: .88rem; font-weight: 750; }
.owner-advanced-section > .owner-help { margin: 10px 0; }
.owner-delete-button { margin-right: auto; color: #ffb3c7; border-color: rgba(255,120,160,.5); }
.owner-delete-button:disabled { opacity: .5; cursor: not-allowed; }
.owner-photo-fields { margin-top: 5px; padding: 0; border: 0; }
.owner-photo-fields > summary { color: #e4d5f2; }
.owner-photo-fields > p { margin: 8px 0 11px; color: #ac9fb9; font-size: .68rem; line-height: 1.45; }
.owner-photo-fields .owner-form-grid { margin-top: 0; }
.owner-photo-qr-check { align-content: start; }
.owner-photo-qr-check input[type=checkbox] { width: 20px; height: 20px; accent-color: #a855f7; }
.owner-photo-fields details { margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(225,201,255,.12); }
.owner-photo-fields details summary { cursor: pointer; color: #d1bce0; font-size: .7rem; font-weight: 700; }
.owner-photo-fields details p { color: #a99db2; font-size: .66rem; line-height: 1.4; }
.owner-dialog-actions { flex-wrap: wrap; }

/* Description template/chip editor, kept inside the manual description section. */
.owner-tpl { margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(194,108,255,.35); border-radius: 12px; background: rgba(80,30,120,.14); }
.owner-tpl summary { cursor: pointer; color: #e3ccff; font-weight: 700; }
.owner-tpl p { color: #b5a9c0; font-size: .72rem; line-height: 1.45; }
.owner-tpl-words { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.owner-tpl-words button { padding: 4px 10px; border: 1px solid rgba(194,108,255,.5); border-radius: 999px; background: rgba(194,108,255,.18); color: #fff; font-size: .75rem; cursor: pointer; }
.owner-tpl-words button.on { background: #a855f7; color: #fff; }
.owner-tpl-words button.off { opacity: .45; border-style: dashed; background: none; }
.tpl-panel { margin: 4px 0 10px; padding: 10px; border: 1px solid rgba(194,108,255,.35); border-radius: 10px; background: rgba(20,8,35,.6); }
.tpl-panel p { margin: 0 0 8px; }
.tpl-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tpl-opts span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border: 1px solid rgba(194,108,255,.5); border-radius: 999px; background: rgba(168,85,247,.25); }
.tpl-opts span.on { outline: 2px solid #c26cff; }
.tpl-opts b { cursor: pointer; font-weight: 600; }
.tpl-opts button { padding: 0 6px; border: 0; background: none; color: #f0d9ff; font-size: 16px; cursor: pointer; }
.tpl-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tpl-add input { flex: 1; min-width: 160px; padding: 8px 10px; border: 1px solid #555; border-radius: 8px; background: #0a0710; color: #fff; }
.owner-tpl textarea { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid rgba(225,201,255,.25); border-radius: 10px; background: rgba(0,0,0,.4); color: #fff; font: inherit; font-size: .9rem; vertical-align: top; }
.owner-tpl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.owner-tpl-msg { color: #c9a8ee; font-size: .8rem; }
.owner-del { color: #ffb3c7!important; border-color: rgba(255,120,160,.5)!important; }

/* Bulk intake controls and the parent agent's selection preview. */
.bulk-input-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.bulk-file-field,.bulk-group-field { display: grid; flex: 1 1 240px; gap: 5px; color: #ded3ea; font-size: .7rem; font-weight: 750; }
.bulk-file-field input[type=file] { width: 100%; min-height: 43px; padding: 4px; border: 1px solid rgba(225,201,255,.22); border-radius: 10px; background: rgba(5,5,8,.84); color: #ded3ea; font: inherit; font-size: .72rem; }
.bulk-file-field input[type=file]::file-selector-button { min-height: 34px; margin-right: 8px; padding: 0 12px; border: 1px solid rgba(225,201,255,.45); border-radius: 8px; background: linear-gradient(120deg,#d7a3ff,#9e42d2); color: #1a0b22; font: inherit; font-weight: 800; cursor: pointer; }
.bulk-check-field { display: flex; flex: 1 1 180px; min-height: 43px; align-items: center; gap: 7px; color: #cdbed7; font-size: .7rem; }
.bulk-check-field input { width: 19px; height: 19px; accent-color: #a855f7; }
.bulk-group-field select { min-height: 43px; padding: 9px 11px; border: 1px solid rgba(225,201,255,.21); border-radius: 10px; background: rgba(5,5,8,.84); color: var(--ink); font: inherit; font-size: .72rem; }
.bulk-selection,.bulk-selection-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(118px,1fr)); gap: 8px; }
.bulk-selected-photo { min-width: 0; padding: 7px; border: 1px solid rgba(194,108,255,.28); border-radius: 10px; background: rgba(0,0,0,.24); }
.bulk-selected-photo img { display: block; width: 100%; height: 116px; object-fit: contain; border-radius: 7px; background: #111; }
.bulk-photo-label { display: block; margin-top: 5px; color: #eadcf2; font-size: .68rem; font-weight: 750; }
.bulk-selected-photo small { display: block; overflow: hidden; margin-top: 2px; color: #a99db2; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.bulk-photo-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.bulk-photo-actions button { flex: 1 1 auto; min-height: 27px; padding: 0 5px; border: 1px solid rgba(225,201,255,.2); border-radius: 7px; background: rgba(8,7,12,.7); color: #e6d9f2; cursor: pointer; font-size: .58rem; font-weight: 750; }
.bulk-files-note { min-height: 1.2em; margin: 0; }
.bulk-card { margin: 10px 0; padding: 10px; border: 1px solid rgba(194,108,255,.3); border-radius: 12px; background: rgba(0,0,0,.25); }
.bulk-imgs { display: flex; gap: 6px; overflow-x: auto; }
.bulk-imgs img { width: 120px; height: 148px; object-fit: contain; border-radius: 8px; background: #09090c url('assets/black-marble.svg') center / cover; }
.bulk-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 8px 0; }
.bulk-f { display: grid; gap: 2px; color: #b5a9c0; font-size: .78rem; }
.bulk-f input,.bulk-f textarea { box-sizing: border-box; width: 100%; padding: 6px; border: 1px solid rgba(194,108,255,.35); border-radius: 8px; background: #120d18; color: #fff; }
.bulk-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bulk-recognition-status { margin: 8px 0; color: #d9c4e8; font-size: .72rem; line-height: 1.5; }
@media (max-width: 420px) { .bulk-grid { grid-template-columns: minmax(0,1fr); } }

/* Vinted panels remain scoped to the own-Vinted category. */
.vinted-account-setting { display: grid; gap: 8px; margin: 12px 0; padding: 10px 12px; border: 1px solid rgba(194,108,255,.28); border-radius: 10px; background: rgba(25,14,37,.55); }
.vinted-account-setting > div:first-child { display: grid; gap: 2px; }
.vinted-account-setting small { color: #b5a9c0; font-size: .67rem; line-height: 1.4; }
.vinted-account-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.vinted-account-input { display: grid; flex: 1 1 300px; gap: 3px; color: #eadcf2; font-size: .72rem; font-weight: 700; }
.vinted-account-input input { box-sizing: border-box; width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid rgba(194,108,255,.4); border-radius: 8px; background: #0a0710; color: #fff; }
.vinted-account-controls button { min-height: 38px; }
.vinted-account-current { color: #d9c4e8 !important; }
.vinted-account-feedback { min-height: 1.2em; margin: 0; color: #b8f3d5; font-size: .7rem; line-height: 1.4; }
.vinted-one { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; }
.vinted-one-input { display: grid; flex: 1 1 280px; gap: 3px; }
.vinted-one-input small { color: #b5a9c0; font-size: .67rem; }
.vinted-one input { box-sizing: border-box; width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid rgba(194,108,255,.4); border-radius: 10px; background: #0a0710; color: #fff; }
.vinted-one > button { align-self: end; min-height: 42px; }
.vinted-panel { margin: 0 0 4px; padding: 12px 14px; border: 1px solid rgba(194,108,255,.35); border-radius: 12px; background: rgba(80,30,120,.14); }
.vinted-panel h3 { margin: 10px 0 8px; color: #e3ccff; font-size: 1rem; }
.vrow { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06); }
.vrow img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; }
.vrow input[type=checkbox] { width: 20px; height: 20px; accent-color: #a855f7; }
.vrow-review { align-items: center; }
.vcheck { display: inline-flex; flex: 0 0 126px; align-items: center; gap: 5px; color: #eadcf2; font-size: .63rem; font-weight: 800; line-height: 1.2; }
.vcheck input { flex: 0 0 auto; }
.vok { color: #a6eccb; font-size: .72rem; }
.vrow a { color: #c79bff; font-size: .85rem; }
.vmaybe { color: #f5d48a; font-size: .85rem; }
.vhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vprice input { width: 84px; padding: 4px 6px; border: 1px solid #555; border-radius: 6px; background: #0a0710; color: #fff; }
.vconfirm { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-weight: 700; }
.vconfirm input { width: 20px; height: 20px; accent-color: #a855f7; }
.vinted-job-status { display: grid; gap: 7px; margin: 0 0 10px; padding: 12px 14px; border: 1px solid rgba(194,108,255,.48); border-radius: 12px; background: rgba(80,30,120,.2); color: #eadcf2; font-size: .72rem; line-height: 1.45; }
.vinted-job-status strong { color: #fff; font-size: .8rem; }
.vinted-job-status small { color: #cbbbd5; font-size: .66rem; }
.vinted-job-status.is-failed { border-color: rgba(255,190,91,.58); background: rgba(72,43,13,.28); color: #ffd899; }
.vinted-job-status.is-complete { border-color: rgba(119,226,177,.4); background: rgba(62,165,121,.1); color: #b8f3d5; }
.vinted-job-progress { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.vinted-job-progress::after { display: block; width: 38%; height: 100%; border-radius: inherit; background: #c26cff; content: ''; animation: vinted-progress-pulse 1.4s ease-in-out infinite alternate; }
@keyframes vinted-progress-pulse { from { transform: translateX(-110%); } to { transform: translateX(270%); } }
@media (prefers-reduced-motion: reduce) { .vinted-job-progress::after { animation: none; width: 100%; } }

@media (max-width: 600px) {
  .owner-tool-category > summary { padding: 13px 12px; }
  .owner-tool-content { padding: 13px 12px 14px; }
  .bulk-input-controls { align-items: stretch; flex-direction: column; }
  .bulk-file-field,.bulk-group-field,.bulk-check-field { flex-basis: auto; }
  .bulk-selection,.bulk-selection-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bulk-selected-photo img { height: 100px; }
  .vinted-one { align-items: stretch; flex-direction: column; }
  .vinted-one > button { width: 100%; }
  .vinted-account-controls { align-items: stretch; flex-direction: column; }
  .vinted-account-controls button { width: 100%; }
  .vcheck { flex-basis: 112px; }
}


/* Owner Tools major groups: native, title-only disclosure controls. */
.owner-greeting { margin: 0 0 5px; color: #e5caff; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.owner-section-group { padding: 0; overflow: hidden; }
.owner-section-group > summary { list-style: none; }
.owner-section-group > summary::-webkit-details-marker { display: none; }
.owner-section-group > summary::marker { content: ''; }
.owner-section-group-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 15px clamp(15px,2.4vw,24px); cursor: pointer; color: #f5eaff; background: linear-gradient(105deg,rgba(130,62,183,.48),rgba(18,12,25,.85)); font-size: clamp(1rem,2.1vw,1.22rem); font-weight: 850; letter-spacing: -.02em; }
.owner-section-group-summary:hover { background: linear-gradient(105deg,rgba(145,71,202,.58),rgba(23,14,33,.9)); }
.owner-section-group-summary:focus-visible { outline: 2px solid #d7a3ff; outline-offset: -3px; }
.owner-section-chevron { flex: 0 0 auto; color: #f0d9ff; font-size: 1.45rem; font-weight: 500; line-height: 1; transition: transform .16s ease; }
.owner-section-group[open] > .owner-section-group-summary { border-bottom: 1px solid rgba(194,108,255,.25); }
.owner-section-group[open] .owner-section-chevron { transform: rotate(180deg); }
.owner-section-group-content { padding: clamp(15px,2.4vw,24px); background: linear-gradient(135deg,rgba(16,13,20,.96),rgba(8,7,12,.94)); }
.owner-section-group-content > .owner-section-heading { margin-bottom: 15px; }
.owner-section-group-content > .owner-stats { margin-top: 0; }
.owner-section-group-content > .owner-section { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.owner-section-group-content > .owner-wholesale-access { margin: 0; }

/* Nested intake categories use the same familiar downward arrow, not a plus. */
.owner-tool-category > summary { grid-template-columns: minmax(0,1fr) 20px; }
.owner-tool-category > summary::before { display: none; }
.owner-tool-category > summary > span,
.owner-tool-category > summary > small { grid-column: 1; }
.owner-tool-category > summary > b { grid-column: 2; grid-row: 1 / span 2; font-size: 1.35rem; line-height: 1; }
.owner-tool-category[open] > summary > b { transform: rotate(180deg); }

@media (max-width: 600px) {
  .owner-section-group-summary { min-height: 53px; padding: 13px 12px; }
  .owner-section-group-content { padding: 13px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .owner-section-chevron { transition: none; } }
