/* mynewstock's look for the vendor panel, loaded after the shared vendor styles:
   indigo for actions, rani pink for highlights, Poppins for headings, cool neutrals. */
:root { --ink: #1B2233; --muted: #687084; --gold: #E0337A; --line: #E1E5EE; --paper: #F4F6FA; --dark: #16143A; --brand: #2A2766; --brand-dark: #211E55; --brand-soft: #EEEDF8; --marigold-soft: #FCE8F0; }
body { background: var(--paper); }
h1, h2, .page-heading h1, .welcome-banner h2, .modal-head h2, .login-box h2, .login-art h1, .theme-card h2, .plan-card h2, .section-title { font-family: Poppins, 'Segoe UI', Arial, sans-serif; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: 30px; line-height: 1.2; }
.panel-head h2 { font-size: 18px; color: var(--ink); }
.panel-head h2:before { background: var(--gold); }
.eyebrow, .page-heading .eyebrow { color: #5D6880; }
.page-heading p:not(.eyebrow) { color: var(--muted); }
.text-button { color: var(--brand); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Buttons: the primary action is shutter blue. */
.button { border-color: var(--line); color: var(--ink); }
.button:hover { background: #F7F9FC; border-color: #C4C1E2; }
.gold, .button.gold, .welcome-banner .gold { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 3px 9px rgba(42, 39, 102, .18); }
.gold:hover, .button.gold:hover { background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 4px 13px rgba(42, 39, 102, .25); }

/* Sidebar */
.sidebar { background: radial-gradient(120% 40% at 0% 0%, rgba(224, 51, 122, .12), transparent 60%), #16143A; border-right-color: #27244F; color: #C3CADB; }
.sidebar-brand { gap: 10px; border-bottom-color: rgba(255, 255, 255, .06); }
.sidebar-brand small { color: #8E99B5; letter-spacing: .02em; font-size: 11px; padding-left: 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.sidebar-brand .brand-lockup img, .brand-lockup img { width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; }
.brand-lockup strong { font: 700 20px/1 Poppins, 'Segoe UI', Arial, sans-serif; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.nav-group-label { color: #7F8AA8; }
.nav-item svg { color: #8E99B5; }
.nav-item:not(.active):hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: linear-gradient(100deg, #2A2766, #211E55); border-color: rgba(150, 140, 230, .35); color: #fff; }
.nav-item.active svg { color: var(--gold); }
.nav-item small { color: var(--gold); }
.shop-avatar { background: var(--brand); color: #fff; border-color: rgba(255, 255, 255, .15); font-family: Poppins, 'Segoe UI', sans-serif; font-size: 16px; }
.sidebar-bottom strong { color: #EEF1F8; }
.sidebar-bottom small { color: #8E99B5; }
.sidebar-bottom .icon-button { color: #A9B2C8; background: transparent; border-color: rgba(255, 255, 255, .12); }

/* Top bar */
.breadcrumb { color: #8A93A8; }
.breadcrumb strong { color: #3B4459; }
.sync-label { color: #4E8F6A; }
.account-button svg { color: var(--brand); }
.icon-button { color: #5D6880; }
.icon-button:hover { background: #F4F6FA; border-color: #CFCDE8; }
.workspace-search { background: #F7F9FC; border-color: var(--line); color: #8A93A8; }

/* Tiles, panels and lists */
.stat:hover { border-color: #C4C1E2; }
.stat-icon, .stat:nth-child(1) .stat-icon { color: var(--brand); background: var(--brand-soft); border-color: #DDDBF1; }
.stat:nth-child(2) .stat-icon { color: #B8245F; background: var(--marigold-soft); border-color: #F6D0DF; }
.stat:nth-child(3) .stat-icon { color: #1F7A8C; background: #E3F1F4; border-color: #CFE6EB; }
.stat:nth-child(4) .stat-icon { color: #B4466E; background: #FBE8EF; border-color: #F3D3DF; }
.stat strong { font-family: Poppins, 'Segoe UI', sans-serif; font-weight: 600; color: var(--ink); font-size: 27px; }
.stat span:not(.stat-icon) { color: var(--muted); }
.stat .stat-sub { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.35; color: #8A93A8; }
.stat small { color: #B3BBCC; }
.quick-action { background: #fff; border-color: var(--line); color: var(--ink); }
.quick-action:hover { border-color: #C4C1E2; }
.quick-action-icon { background: var(--brand-soft); border-color: #DDDBF1; color: var(--brand); }
.quick-action small { color: var(--muted); }
.quick-action > svg { color: #9AA6C2; }
.panel { border-color: var(--line); box-shadow: 0 3px 8px rgba(27, 34, 51, .03); }
.panel-head { border-bottom-color: #EDF0F5; }
.credit-row strong { font-family: Poppins, 'Segoe UI', sans-serif; font-weight: 600; color: var(--ink); font-size: 32px; }
.credit-row > div + div { border-left-color: var(--line); }
.credit-row span { color: var(--muted); }
th { background: #F8F9FC; color: #7A8399; }
td { color: #5D6880; border-top-color: #EDF0F5; }
td strong { color: var(--ink); }
tbody tr:hover { background: #FAFBFD; }
.badge { background: #EEF1F6; color: #4A5368; }
.badge.green { background: #E5F4EC; color: #1E7A4C; }
.badge.red { background: #FBE7E7; color: #B23A3A; }
.badge.amber { background: var(--marigold-soft); color: #9A5F00; }
.badge.neutral { background: #F0F2F6; color: var(--muted); }
.product-card { border-color: var(--line); }
.product-card:hover { border-color: #CFCDE8; box-shadow: 0 8px 22px rgba(27, 34, 51, .06); }
.product-image { background: #F1F3F8; color: #9AA6C2; border-bottom-color: #E8EBF2; }
.product-info h3 { font: 600 17px/1.25 Poppins, 'Segoe UI', sans-serif; color: var(--ink); }
.product-info small, .product-info p { color: #8A93A8; }
.product-info strong { color: var(--ink); }
.cell-product img, .theme-card > img, .offer-preview, .media-grid img, .media-grid video, .field-image-preview { background: #F1F3F8; border-color: var(--line); }
.toolbar { border-color: var(--line); }
.toolbar > svg { color: #9AA6C2; }
.toolbar input, .toolbar select { background: #F8F9FC; border-color: var(--line); }
.toolbar .button { background: #F4F6FA; color: #3B4459; border-color: var(--line); }
.pagination { color: #7A8399; }
.theme-card, .plan-card { border-color: var(--line); background: #fff; }
.theme-card p, .theme-card small, .plan-card p { color: var(--muted); }
.plan-card .eyebrow { color: #5D6880; }
.plan-price { font-family: Poppins, 'Segoe UI', sans-serif; font-weight: 600; color: var(--brand); }
.notice { background: var(--marigold-soft); border: 1px solid #F6D0DF; color: #7A5200; }
.empty { color: #8A93A8; }
.empty h3 { color: #4A5368; }
.empty svg { color: #9AA6C2; }
.notification > svg { color: var(--brand); }
.notification h3 { color: var(--ink); }
.notification p, .notification small { color: var(--muted); }
.timeline { border-left-color: #CFCDE8; }
.skeleton { background: #E6EAF2; }

/* Forms */
.field-label, .field > span { color: #3B4459; }
.required-mark { color: #B8245F; }
.field input, .field select, .field textarea, input, select, textarea { border-color: #DCE1EB; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(42, 39, 102, .14); }
.field-help { color: #8A93A8 !important; }
.field-file input { background: #F8F9FC; border-color: #CFCDE8; }
.field-file input::file-selector-button { border-color: #DCE1EB; color: var(--brand); }
.form-section { border-color: var(--line); }
.form-section-heading h3 { color: var(--ink); }
.form-section-heading p, .form-status { color: #8A93A8; }
.form-status:before { background: #9AA6C2; }
.form-status.is-dirty { color: #9A5F00; }
.form-status.is-dirty:before { background: var(--gold); }
.form-footer { border-top-color: var(--line); }
.advanced-fields { background: #FBFCFE; }
.advanced-label { border-color: var(--line); color: #5D6880; background: #F4F6FA; }
.advanced-fields[open] .advanced-label { background: var(--brand-soft); }
.check { color: #4A5368; }
.check input { accent-color: var(--brand); }
.form-error { background: #FDF1F1; border-color: #F3D5D5; color: #A33A3A; }

/* Dialogs, menus, toasts */
.modal { border-color: var(--line); background: #F7F8FB; box-shadow: 0 30px 100px rgba(22, 20, 58, .25); }
.modal::backdrop { background: rgba(22, 20, 58, .55); }
.modal-head { background: #fff; border-bottom-color: var(--line); }
.modal-head h2 { color: var(--ink); font-size: 22px; }
.close { background: #F4F6FA; border-color: var(--line); color: #5D6880; }
.modal-body > .form > .form-grid { border-color: var(--line); }
.modal-body .form-footer { background: rgba(247, 248, 251, .96); border-top-color: var(--line); }
.command-search { border-color: var(--line); color: #9AA6C2; }
.command-item { color: #3B4459; }
.command-item:hover, .command-item:focus-visible { background: var(--brand-soft); color: var(--brand); }
.command-arrow { color: #9AA6C2; }
.toast { background: #1B2233; border-color: rgba(255, 255, 255, .08); }
.toast.error { background: #9B2C2C; }

/* Sign-in */
.login { background: var(--paper); }
.login-art { background: radial-gradient(90% 60% at 0% 0%, rgba(224, 51, 122, .14), transparent 60%), radial-gradient(70% 50% at 100% 100%, rgba(42, 39, 102, .45), transparent 70%), #16143A; gap: 40px; }
.login-art .brand-lockup strong { font-size: 24px; }
.login-art .brand-lockup img { width: 44px; height: 44px; }
.login-art h1 { color: #fff; font-size: 44px; line-height: 1.15; max-width: 520px; margin-bottom: 16px; }
.login-art p:not(.eyebrow) { color: #C3CADB; max-width: 440px; margin-bottom: 36px; }
.login-art small { color: #7F8AA8; }
.login-box h2 { color: var(--ink); font-size: 30px; line-height: 1.2; }
.login-box > p, .login-box > .small { color: var(--muted); }
.login-mark { background: var(--brand-soft); border-color: #DDDBF1; color: var(--brand); }

/* Dashboard: getting started, and the shop's loops */
.start-card { display: flex; align-items: center; gap: 22px; padding: 20px 22px; margin-bottom: 22px; border: 1px solid #F6D0DF; border-radius: 13px; background: linear-gradient(100deg, #FFF8EA, #fff 70%); }
.start-card-text { flex: 1; min-width: 0; }
.start-card h2 { font-size: 17px; margin: 0 0 4px; }
.start-card p { margin: 0 0 12px; font-size: 13px; color: #5D6880; }
.start-bar { height: 7px; border-radius: 99px; background: #F3E3C4; overflow: hidden; max-width: 460px; }
.start-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.loop-list { display: flex; flex-direction: column; }
.loop-row { display: flex; align-items: center; gap: 14px; padding: 15px 23px; border-top: 1px solid #EDF0F5; }
.loop-row:first-child { border-top: 0; }
.loop-row > div { flex: 1; min-width: 0; }
.loop-row strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.loop-row small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.loop-row .button { min-height: 36px; padding: 7px 14px; }
.loop-row .badge { text-transform: none; }
@media (max-width: 760px) {
    .start-card { flex-direction: column; align-items: stretch; }
    .loop-row { flex-wrap: wrap; padding: 14px 16px; }
    .loop-row > div { flex-basis: calc(100% - 60px); }
    .login-art h1 { font-size: 34px; }
}

/* Dashboard: today's products to post (IBS's and the shop's own), each one tap from its post designs */
.ibs-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ibs-head h2 { margin: 0; }
.ibs-strip-note { padding: 3px 10px; border-radius: 99px; background: #FDECF3; color: #B5123B; font-size: 12px; font-weight: 600; }
.ibs-strip-note:empty { display: none; }
.ibs-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 178px); gap: 14px; padding: 18px 23px 22px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scroll-snap-type: x proximity; }
.ibs-strip > p { grid-column: 1 / -1; margin: 0; }
.ibs-card { display: flex; flex-direction: column; gap: 6px; padding: 0 0 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; scroll-snap-align: start; transition: border-color .15s ease-out, box-shadow .15s ease-out, transform .15s ease-out; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.ibs-card:active { transform: scale(.98); }
.ibs-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ibs-photo { position: relative; display: block; aspect-ratio: 4 / 5; background: #F1F0FA; }
.ibs-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ibs-new { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 99px; background: #E0337A; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
.ibs-card strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 4px 12px 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.ibs-card small { padding: 0 12px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ibs-make { display: inline-flex; align-items: center; gap: 6px; margin: auto 12px 0; color: #B5123B; font-size: 12px; font-weight: 600; }
.ibs-make svg { width: 14px; height: 14px; }
.ibs-all { align-items: center; justify-content: center; padding: 16px 12px; border-style: dashed; background: #F6F5FD; text-align: center; }
.ibs-all-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #DDDBF1; border-radius: 50%; background: #fff; color: var(--brand); }
.ibs-all-icon svg { width: 20px; height: 20px; }
.ibs-all strong, .ibs-all small { padding: 0; white-space: normal; }
@media (hover: hover) and (pointer: fine) {
    .ibs-card:hover { border-color: #C4C1E2; box-shadow: 0 8px 22px rgba(42, 39, 102, .10); transform: translateY(-2px); }
}
@media (max-width: 760px) {
    .ibs-strip { grid-auto-columns: minmax(138px, 44vw); padding: 14px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .ibs-card { transition: none; }
    .ibs-card:hover, .ibs-card:active { transform: none; }
}

/* ------------------------------------------------------------------------------------------------------------
 * The sign-in page (2026-11-26), in the main website's look: deep ink, tall condensed capitals, and what the
 * workspace makes (real product posts) as its picture. No gradient, no badge over the form.
 * ---------------------------------------------------------------------------------------------------------- */
.login { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #F5F2EA; }
.login-art { position: relative; overflow: hidden; gap: 28px; padding: 40px clamp(24px, 4vw, 56px); background: #17152B; justify-content: flex-start; }
.login-art > div:not(.login-posts) { position: relative; z-index: 1; max-width: 30rem; margin-top: clamp(8px, 4vh, 48px); }
.login-art h1 { max-width: none; margin-bottom: 18px; color: #F5F2EA; font: 800 clamp(3rem, 5.2vw, 4.6rem)/.94 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
.login-art p:not(.eyebrow) { max-width: 26rem; margin-bottom: 0; color: #BDB9D3; font-size: 15.5px; line-height: 1.6; }
.login-art small { position: relative; z-index: 1; margin-top: auto; color: #8E8AA8; font-size: 12px; }
/* Four posts pinned across the foot of the panel, each turned a little, running off its edge. */
.login-posts { position: absolute; left: clamp(24px, 4vw, 56px); right: -42%; bottom: 92px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; pointer-events: none; }
.login-posts img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.login-posts img:nth-child(1) { transform: rotate(-4deg) translateY(4%); }
.login-posts img:nth-child(2) { transform: rotate(2.5deg) translateY(-7%); }
.login-posts img:nth-child(3) { transform: rotate(-2deg) translateY(2%); }
.login-posts img:nth-child(4) { transform: rotate(4deg) translateY(-4%); }
.login-form { background: #F5F2EA; }
.login-mark { display: none; }
.login-box h2 { margin: 0 0 10px; color: #17152B; font: 800 clamp(2.2rem, 3.4vw, 2.9rem)/.96 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: 0; text-transform: uppercase; }
.login-box > p, .login-box > .small { color: #55526B; }
.login-box input { min-height: 48px; border-color: rgba(23, 21, 43, .22); border-radius: 10px; background: #fff; font-size: 16px; }
.login-box input:focus-visible { outline: 3px solid #E0337A; outline-offset: 2px; }
.login-box .form > .button, .login-box .form-footer .button { min-height: 50px; border-radius: 999px; background: #E0337A; border-color: #E0337A; color: #fff; font-weight: 600; touch-action: manipulation; }
.login-box .form > .button:active, .login-box .form-footer .button:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .login-box .form > .button:hover, .login-box .form-footer .button:hover { background: #C2205F; border-color: #C2205F; } }
@media (max-height: 780px) and (min-width: 901px) { .login-posts { right: -8%; bottom: 60px; } }
@media (max-width: 900px) {
    .login { grid-template-columns: minmax(0, 1fr); }
    .login-art { min-height: 0; padding: 22px 20px 0; gap: 14px; }
    .login-art > div:not(.login-posts) { margin-top: 6px; }
    .login-art h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); margin-bottom: 10px; }
    .login-art small { display: none; }
    .login-posts { position: relative; left: auto; right: auto; bottom: auto; margin: 6px -14% -11% 0; }
    .login-form { padding: 34px 20px 44px; }
}

/* The dashboard's "Scans of your posts": a product a row, its count at the right. */
.scan-list { display: grid; }
.scan-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.scan-row:last-child { border-bottom: 0; }
.scan-row strong { min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-row span { flex: none; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.scan-month { color: var(--muted); font-size: 13px; }
