:root { --brand:#db2777; --brand-dark:#be185d; --ink:#333; --muted:#6b7280; --line:#e5e7eb; --canvas:#f6f7f8; --aqua:#9fd6d8; font-family:Roboto,Arial,sans-serif; color:var(--ink); letter-spacing:0; }
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; background:var(--canvas); }
button,input,select,textarea { font:inherit; letter-spacing:0; }
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible { outline:3px solid rgba(219,39,119,.22); outline-offset:2px; }
[hidden] { display:none!important; }
.auth-page { display:grid; place-items:center; min-height:100vh; padding:22px; }
.auth-shell { width:min(410px,100%); }
.auth-brand { text-align:center; margin-bottom:20px; }
.auth-brand img { width:170px; height:75px; object-fit:contain; }
.auth-brand p { margin:3px 0 0; color:var(--muted); font-size:13px; }
.auth-panel { padding:26px; border:1px solid var(--line); border-radius:8px; background:white; box-shadow:0 14px 35px rgba(0,0,0,.06); }
h1,h2,p { letter-spacing:0; }
.auth-panel h1 { margin:0; font-size:23px; }
.subtle { margin:7px 0 22px; color:var(--muted); font-size:13px; }
form { display:grid; gap:15px; }
label { display:grid; gap:6px; font-size:12px; font-weight:700; }
input,select,textarea { width:100%; border:1px solid #cfd3d8; border-radius:6px; background:white; color:var(--ink); }
input,select { height:42px; padding:0 11px; }
textarea { min-height:76px; padding:10px 11px; resize:vertical; line-height:1.45; }
.primary-button,.secondary-button { min-height:39px; display:inline-flex; align-items:center; justify-content:center; padding:0 14px; border-radius:6px; cursor:pointer; font-size:13px; font-weight:700; }
.primary-button { border:1px solid var(--brand); background:var(--brand); color:white; }
.primary-button:hover { background:var(--brand-dark); }
.secondary-button { border:1px solid #cfd3d8; background:white; color:var(--ink); }
button:disabled { opacity:.55; cursor:not-allowed; }
.form-error { margin:0; padding:10px; border-left:3px solid #c81e1e; background:#fff1f2; color:#9f1239; font-size:12px; line-height:1.4; }
.auth-help,.password-hint { margin:16px 0 0; color:var(--muted); font-size:11px; text-align:center; }
.password-hint { margin:0; text-align:left; }
.password-field { position:relative; display:block; }
.password-field input { padding-right:46px; }
.password-toggle { position:absolute; top:2px; right:2px; width:38px; height:38px; display:grid; place-items:center; padding:0; border:0; border-radius:5px; background:transparent; color:#656b73; cursor:pointer; }
.password-toggle:hover,.password-toggle[aria-pressed="true"] { background:#f3f4f6; color:var(--brand-dark); }
.password-toggle svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.real-app-shell { min-height:100vh; }
.real-sidebar { position:fixed; inset:0 auto 0 0; width:244px; display:flex; flex-direction:column; padding:14px 12px; overflow-y:auto; border-right:1px solid var(--line); background:white; }
.real-logo { width:142px; height:58px; object-fit:contain; margin:0 9px 13px; }
.real-sidebar nav { display:grid; flex-shrink:0; gap:3px; }
.real-sidebar a { min-height:40px; display:flex; align-items:center; gap:8px; padding:8px 11px; border-radius:6px; color:var(--ink); text-decoration:none; font-size:13px; font-weight:600; }
.nav-label { flex:1; min-width:0; line-height:1.35; }
.nav-icon { display:block; flex:0 0 18px; width:18px; height:18px; background:currentColor; mask-size:contain; mask-position:center; mask-repeat:no-repeat; }
.nav-icon[data-icon="list-todo"] { mask-image:url("/assets/icons/list-todo.svg"); }
.nav-icon[data-icon="clipboard-list"] { mask-image:url("/assets/icons/clipboard-list.svg"); }
.nav-icon[data-icon="clipboard-check"] { mask-image:url("/assets/icons/clipboard-check.svg"); }
.nav-icon[data-icon="chart-no-axes-combined"] { mask-image:url("/assets/icons/chart-no-axes-combined.svg"); }
.nav-icon[data-icon="messages-square"] { mask-image:url("/assets/icons/messages-square.svg"); }
.nav-icon[data-icon="package"] { mask-image:url("/assets/icons/package.svg"); }
.nav-icon[data-icon="store"] { mask-image:url("/assets/icons/store.svg"); }
.nav-icon[data-icon="shopping-bag"] { mask-image:url("/assets/icons/shopping-bag.svg"); }
.nav-icon[data-icon="boxes"] { mask-image:url("/assets/icons/boxes.svg"); }
.nav-icon[data-icon="bot"] { mask-image:url("/assets/icons/bot.svg"); }
.nav-icon[data-icon="scissors"] { mask-image:url("/assets/icons/scissors.svg"); }
.nav-icon[data-icon="warehouse"] { mask-image:url("/assets/icons/warehouse.svg"); }
.nav-icon[data-icon="shopping-cart"] { mask-image:url("/assets/icons/shopping-cart.svg"); }
.nav-icon[data-icon="truck"] { mask-image:url("/assets/icons/truck.svg"); }
.nav-icon[data-icon="rotate-ccw"] { mask-image:url("/assets/icons/rotate-ccw.svg"); }
.nav-icon[data-icon="users"] { mask-image:url("/assets/icons/users.svg"); }
.nav-icon[data-icon="chevron-down"] { mask-image:url("/assets/icons/chevron-down.svg"); }
.nav-icon[data-icon="trash-2"] { mask-image:url("/assets/icons/trash-2.svg"); }
.nav-icon[data-icon="printer"] { mask-image:url("/assets/icons/printer.svg"); }
.nav-icon[data-icon="download"] { mask-image:url("/assets/icons/download.svg"); }
.nav-icon[data-icon="pencil"] { mask-image:url("/assets/icons/pencil.svg"); }
.real-sidebar .nav-count,.real-sidebar .nav-alert,.real-sidebar .orders-attention-counts { flex-shrink:0; }
.real-sidebar a:hover { background:#f7f7f7; }
.real-sidebar a.active { background:#fce7f3; color:var(--brand-dark); }
.sidebar-nav-group { display:grid; gap:2px; }
.sidebar-nav-toggle { min-height:40px; display:flex; align-items:center; gap:8px; width:100%; padding:8px 11px; border:0; border-radius:6px; background:transparent; color:var(--ink); cursor:pointer; font-size:13px; font-weight:700; text-align:left; }
.sidebar-nav-toggle:hover,.sidebar-nav-toggle.active { background:#f3f7f7; color:#176267; }
.sidebar-nav-toggle .nav-chevron { flex-basis:16px; width:16px; height:16px; transition:transform .15s ease; }
.sidebar-nav-toggle[aria-expanded="false"] .nav-chevron { transform:rotate(-90deg); }
.sidebar-subnav { display:grid; gap:2px; padding-left:12px; border-left:2px solid #d7e9e9; margin-left:12px; }
.real-sidebar .sidebar-subnav a { min-height:34px; font-size:12px; }
.real-sidebar .sidebar-subnav a.active { background:#edfafa; color:#176267; }
.nav-count { min-width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; margin-left:auto; padding:0 6px; border:1px solid #d7dfe3; border-radius:11px; background:#f5f7f8; color:#3f4b52; font-size:11px; font-weight:800; line-height:1; font-variant-numeric:tabular-nums; }
.real-sidebar a.active .nav-count { border-color:#efbfd5; background:white; color:var(--brand-dark); }
.orders-attention-counts { display:flex; align-items:center; gap:4px; margin-left:auto; }
.orders-attention-counts[hidden] { display:none; }
.orders-attention-count { min-width:24px; height:22px; display:inline-flex; align-items:center; justify-content:center; padding:0 5px; border:1px solid transparent; border-radius:11px; font-size:10px; font-weight:850; line-height:1; font-variant-numeric:tabular-nums; }
.orders-attention-count.is-delayed { border-color:#b91c1c; background:#b91c1c; color:white; }
.orders-attention-count.is-unpaid { border-color:#d5a31b; background:#f4c84c; color:#4f3900; }
.orders-attention-counts.is-stale .orders-attention-count { border-color:#d7dfe3; background:#f5f7f8; color:#3f4b52; }
.nav-alert { width:20px; height:20px; display:grid; place-items:center; margin-left:auto; border-radius:50%; background:#dc2626; color:white; font-size:12px; font-weight:900; }
.message-deadline-nav-alert:not([hidden]) + .nav-count { margin-left:0; }
.marketplace-nav-alert { width:18px; height:18px; font-size:11px; box-shadow:0 0 0 2px white; }
.admin-nav { margin-top:auto; padding-top:12px; border-top:1px solid var(--line); }
.profile-button { min-height:54px; display:grid; justify-items:start; gap:3px; margin-top:8px; padding:8px 11px; border:0; border-radius:6px; background:transparent; cursor:pointer; }
.admin-nav[hidden]+.profile-button { margin-top:auto; }
.profile-button:hover { background:#f7f7f7; }
.profile-button strong { font-size:13px; }.profile-button span { color:var(--muted); font-size:11px; }
.real-workspace { min-height:100vh; margin-left:244px; padding:0 30px 60px; }
.real-topbar { height:72px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.real-topbar h1 { margin:0; font-size:24px; }.real-topbar span { color:var(--muted); font-size:12px; }
.seamstress-slogan-banner { position:relative; min-height:92px; display:flex; align-items:center; justify-content:center; margin:0 -30px; padding:18px 58px; overflow:hidden; border-bottom:1px solid #efb8cc; background:#fff0f5; text-align:center; }
.seamstress-slogan-banner p { max-width:980px; margin:0; color:#742044; font-family:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif; font-size:22px; font-weight:700; line-height:1.25; opacity:1; transform:translateY(0); transition:opacity .18s ease,transform .18s ease; }
.seamstress-slogan-banner p.is-changing { opacity:0; transform:translateY(4px); }
.seamstress-slogan-swatches { position:absolute; inset:0 auto 0 0; width:40px; display:grid; grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(2,1fr); }
.seamstress-slogan-swatches i { display:block; background:#db2777; }.seamstress-slogan-swatches i:nth-child(2) { background:#9fd6d8; }.seamstress-slogan-swatches i:nth-child(3) { background:#f2c75c; }.seamstress-slogan-swatches i:nth-child(4) { background:#739fc9; }
@media (prefers-reduced-motion:reduce) { .seamstress-slogan-banner p { transition:none; } }
.section-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; padding-top:25px; }
.today-shortcuts-heading { grid-column:1/-1; display:flex; align-items:center; min-height:36px; padding-top:2px; border-bottom:1px solid var(--line); }
.today-shortcuts-heading h2 { margin:0 0 9px; font-size:14px; }
.team-board { grid-column:1/-1; min-width:0; display:grid; gap:14px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.team-board-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.team-board-heading h2 { margin:0; font-size:19px; }
.team-board-heading p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.team-board-actions { display:flex; align-items:center; gap:8px; }
.team-task-composer-dialog { width:min(720px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); padding:0; overflow:hidden; border:1px solid #cfd4d8; border-radius:7px; background:#fff; color:var(--ink); box-shadow:0 18px 55px rgba(28,35,40,.18); }
.team-task-composer-dialog::backdrop { background:rgba(35,40,45,.5); }
.team-task-composer { display:grid; gap:0; }
.team-task-composer .dialog-header { min-height:68px; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:16px 18px; border-bottom:1px solid var(--line); background:#fff; }
.team-task-composer .dialog-header h2 { margin:0; font-size:17px; }
.team-task-composer .dialog-header p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.team-task-composer-content { max-height:calc(100dvh - 176px); display:grid; grid-template-columns:180px minmax(0,1fr); gap:14px 16px; padding:18px; overflow-y:auto; background:#fff; }
.team-task-composer fieldset { min-width:0; margin:0; padding:0; border:0; }
.team-task-composer legend,.team-task-subject,.team-task-body { color:#526269; font-size:10px; font-weight:800; }
.team-task-kind { display:flex; align-content:start; align-items:center; flex-wrap:wrap; gap:6px; }
.team-task-kind legend { width:100%; margin-bottom:1px; }
.team-task-kind label { cursor:pointer; }
.team-task-kind input { position:absolute; opacity:0; pointer-events:none; }
.team-task-kind span { min-height:36px; display:flex; align-items:center; padding:0 13px; border:1px solid #cad6d8; border-radius:5px; background:#fff; color:#56646a; font-size:11px; font-weight:800; }
.team-task-kind input:checked + span { border-color:#707980; background:#f1f3f4; color:#2f373c; box-shadow:inset 0 0 0 1px #707980; }
.team-task-kind input:focus-visible + span { outline:3px solid rgba(219,39,119,.18); outline-offset:2px; }
.team-task-subject,.team-task-body { display:grid; gap:5px; }
.team-task-subject { grid-column:2; }
.team-task-body { grid-column:1/-1; }
.team-task-body textarea { width:100%; min-height:84px; resize:vertical; background:#fff; font-size:12px; line-height:1.45; }
.team-task-recipients { grid-column:1/-1; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:7px 12px; }
.team-task-recipients legend { grid-column:1/-1; }
.team-task-recipients label { min-height:32px; display:inline-flex; align-items:center; gap:7px; padding:5px 9px; border:1px solid #d6dfe1; border-radius:5px; background:#fff; color:#45555b; cursor:pointer; font-size:11px; font-weight:700; }
.team-task-recipients input { width:16px; height:16px; margin:0; accent-color:var(--brand); }
.team-recipient-all { border-color:#bdc4c8!important; background:#f4f5f6!important; color:#3d464c!important; }
#teamTaskRecipientList { min-width:0; display:flex; flex-wrap:wrap; gap:7px; }
.team-task-file-row { grid-column:1/-1; display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.team-task-file-row>span { color:#68777c; font-size:9px; }
.team-task-file-picker { cursor:pointer; }
.team-task-selected-files { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.team-task-selected-files>div { min-width:0; display:grid; grid-template-columns:38px minmax(0,1fr) 28px; align-items:center; gap:8px; padding:7px; border:1px solid #d7e0e2; border-radius:5px; background:#fff; }
.team-task-selected-files img { width:38px; height:38px; display:block; object-fit:cover; border-radius:3px; }
.team-task-selected-files>div:not(:has(img)) { grid-template-columns:minmax(0,1fr) 28px; }
.team-task-selected-files span { min-width:0; display:grid; gap:2px; }
.team-task-selected-files strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; }
.team-task-selected-files small { color:var(--muted); font-size:9px; }
.team-task-selected-files button { width:28px; height:28px; border:0; border-radius:4px; background:#f3f5f5; color:#7a3038; cursor:pointer; font-size:18px; }
.team-task-composer .form-error { grid-column:1/-1; margin:0; }
.team-task-submit { display:flex; justify-content:flex-end; gap:8px; padding:13px 18px; border-top:1px solid var(--line); background:#f7f8f8; }
.team-task-submit button { min-width:120px; }
.team-task-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.team-task-column { min-width:0; display:grid; align-content:start; gap:10px; }
.team-task-column + .team-task-column { padding-left:18px; border-left:1px solid #e1e5e7; }
.team-task-list-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:2px 0 10px; border-bottom:1px solid #e1e5e7; }
.team-task-list-heading>div { min-width:0; }
.team-task-list-heading h3 { margin:0; font-size:14px; }
.team-task-list-heading p { margin:3px 0 0; color:var(--muted); font-size:9px; line-height:1.35; }
.team-task-list-heading span { min-width:24px; height:24px; display:grid; place-items:center; border:1px solid #d8dde0; border-radius:12px; background:#f4f5f6; color:#465158; font-size:10px; font-weight:850; }
.team-task-list { display:grid; grid-template-columns:1fr; gap:10px; }
.team-task-card { min-width:0; display:grid; align-content:start; gap:10px; padding:13px 14px; border:1px solid #d8dde0; border-left:4px solid #67747b; border-radius:6px; background:#fff; }
.team-task-card.is-note { border-left-color:#9b7b3b; }
.team-task-card.is-unacknowledged { border-color:#e7a9c1; border-left-color:#c81e63; background:#fff8fb; box-shadow:0 2px 9px rgba(128,28,67,.08); }
.team-task-new { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 9px; border:1px solid #efc4d4; border-radius:5px; background:#fff; color:#9d174d; }
.team-task-new strong { font-size:10px; }.team-task-new button { min-width:40px; min-height:28px; padding:0 10px; border:0; border-radius:4px; background:#c81e63; color:#fff; cursor:pointer; font-size:10px; font-weight:850; }
.team-task-new button:hover { background:#a91651; }.team-task-new button:disabled { cursor:wait; opacity:.55; }
.team-task-card>header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:10px; }
.team-task-meta { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.team-task-kind-label { padding:3px 6px; border-radius:3px; background:#eef0f1; color:#4b565c; font-size:8px; font-weight:900; text-transform:uppercase; }
.team-task-card.is-note .team-task-kind-label { background:#f2efe8; color:#67593c; }
.team-task-card>header strong { font-size:11px; }
.team-task-card time { flex:none; color:var(--muted); font-size:9px; }
.team-task-responsible { min-width:0; display:grid; justify-items:end; gap:4px; }
.team-task-responsible>span { color:#747f85; font-size:7px; font-weight:850; text-transform:uppercase; }
.team-task-responsible>div { max-width:260px; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:4px; }
.team-responsible-profile { display:inline-flex; align-items:center; gap:4px; padding:4px 6px; border:1px solid transparent; border-radius:4px; font-size:8px; font-style:normal; line-height:1.1; }
.team-responsible-profile b { font-size:9px; }.team-responsible-profile i { font-style:normal; opacity:.82; }
.team-responsible-profile.tone-0 { border-color:#eccad7; background:#faedf2; color:#7d3450; }
.team-responsible-profile.tone-1 { border-color:#c8d9ec; background:#edf4fb; color:#355d83; }
.team-responsible-profile.tone-2 { border-color:#c8dfd0; background:#edf7f0; color:#356848; }
.team-responsible-profile.tone-3 { border-color:#e6d5ad; background:#faf5e8; color:#705a25; }
.team-responsible-profile.tone-4 { border-color:#d8ceea; background:#f4f0fa; color:#5f4b7d; }
.team-responsible-profile.tone-5 { border-color:#cbdcdf; background:#eef6f6; color:#3d6669; }
.team-task-sender { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:baseline; gap:7px; padding-bottom:8px; border-bottom:1px solid #e7eaec; }
.team-task-sender span,.team-task-recipients-line>span:first-child { color:#747f85; font-size:8px; font-weight:850; text-transform:uppercase; }
.team-task-sender strong { color:#283239; font-size:11px; }
.team-task-card h4 { margin:0; overflow-wrap:anywhere; color:#20282d; font-size:14px; line-height:1.35; }
.team-task-card>p { margin:0; overflow-wrap:anywhere; color:#34444a; font-size:12px; line-height:1.5; }
.team-task-recipients-line { display:flex; align-items:center; flex-wrap:wrap; gap:5px; padding-top:8px; border-top:1px solid #e4e9ea; }
.team-recipient-state { display:inline-flex; align-items:center; gap:4px; padding:3px 6px; border-radius:4px; background:#edf1f2; color:#59666c; font-size:8px; font-style:normal; }
.team-recipient-state b { font-size:9px; }.team-recipient-state i { font-style:normal; }
.team-recipient-state.is-in_progress { background:#fff1cf; color:#76520b; }
.team-recipient-state.is-done { background:#e5f4ea; color:#2f7045; }
.team-task-status { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:3px; border:1px solid #d8e0e2; border-radius:6px; background:#f3f6f6; }
.team-task-status button { min-width:0; min-height:32px; padding:0 5px; border:0; border-radius:4px; background:transparent; color:#5b686e; cursor:pointer; font-size:9px; font-weight:850; }
.team-task-status button[aria-pressed="true"] { background:#fff; color:#343d42; box-shadow:0 1px 4px rgba(35,43,47,.12); }
.team-task-status button[data-team-status="in_progress"][aria-pressed="true"] { color:#865c09; }
.team-task-status button[data-team-status="done"][aria-pressed="true"] { color:#2f7045; }
.team-task-attachments { display:flex; flex-wrap:wrap; gap:8px; }
.team-image-attachment { width:116px; display:grid; gap:4px; }
.team-image-attachment button { width:116px; height:78px; padding:0; overflow:hidden; border:1px solid #ced9da; border-radius:5px; background:#f4f6f6; cursor:zoom-in; }
.team-image-attachment img { width:100%; height:100%; display:block; object-fit:cover; }
.team-image-attachment a { overflow:hidden; color:#315e68; font-size:8px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
.team-file-attachment { min-width:170px; display:grid; gap:2px; padding:8px 10px; border:1px solid #d4dddf; border-radius:5px; background:#f7f9f9; color:#34474d; text-decoration:none; }
.team-file-attachment:hover { border-color:#7eaaad; background:#eef6f6; }
.team-file-attachment strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.team-file-attachment span { color:#6e7b80; font-size:8px; }
.team-task-conversation { display:grid; justify-items:start; gap:8px; padding-top:9px; border-top:1px solid #e7eaec; }
.team-task-thread { width:100%; display:grid; gap:7px; }
.team-task-reply { display:grid; gap:4px; padding:8px 10px; border-left:3px solid #aeb9bd; background:#f7f8f8; }
.team-task-reply.is-new { border-left-color:#c81e63; background:#fff1f6; }
.team-task-reply>div { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.team-task-reply>div>span { display:flex; align-items:center; gap:7px; }
.team-task-reply strong { color:#2f393e; font-size:10px; }.team-task-reply time { color:var(--muted); font-size:8px; }
.team-task-reply-ack { min-width:38px; min-height:26px; padding:0 9px; border:0; border-radius:4px; background:#c81e63; color:#fff; cursor:pointer; font-size:9px; font-weight:850; }
.team-task-reply-ack:hover { background:#a91651; }.team-task-reply-ack:disabled { cursor:wait; opacity:.55; }
.team-task-reply p { margin:0; overflow-wrap:anywhere; color:#3d4b50; font-size:11px; line-height:1.45; }
.team-task-reply-toggle { min-height:30px; padding:0 11px; font-size:10px; }
.team-task-reply-form { width:100%; display:grid; gap:7px; }
.team-task-reply-form[hidden] { display:none; }
.team-task-reply-form label { display:grid; gap:4px; color:#59676d; font-size:9px; font-weight:800; }
.team-task-reply-form textarea { width:100%; min-height:66px; resize:vertical; background:#fff; font-size:11px; line-height:1.45; }
.team-task-reply-form>div { display:flex; justify-content:flex-end; gap:7px; }.team-task-reply-form button { min-height:30px; padding:0 12px; font-size:10px; }
.team-task-card>footer { display:flex; justify-content:flex-end; padding-top:8px; border-top:1px solid #e7eaec; }
.team-task-delete { width:32px; height:32px; display:grid; place-items:center; padding:0; border:1px solid #d8dde0; border-radius:5px; background:#fff; color:#8b3340; cursor:pointer; }
.team-task-delete:hover { border-color:#cf9faa; background:#fff4f5; }
.team-task-delete svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.team-task-empty { grid-column:1/-1; margin:0; padding:18px; border-left:4px solid #9ca8ac; background:#f5f7f7; color:#647278; font-size:11px; }
.team-task-image-dialog { width:min(960px,calc(100% - 40px)); height:min(820px,calc(100dvh - 40px)); max-width:none; max-height:none; padding:0; overflow:hidden; border:0; border-radius:7px; background:#fff; }
.team-task-image-dialog::backdrop { background:rgba(31,41,55,.62); }
.team-task-image-dialog .dialog-header { min-height:66px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:14px 18px; border-bottom:1px solid var(--line); }
.team-task-image-dialog .dialog-header h2 { margin:0; overflow-wrap:anywhere; font-size:16px; }.team-task-image-dialog .dialog-header p { margin:3px 0 0; color:var(--muted); font-size:9px; }
.team-task-image-preview { height:calc(100% - 128px); display:grid; place-items:center; padding:16px; background:#f2f4f4; }
.team-task-image-preview img { max-width:100%; max-height:100%; object-fit:contain; }
#todayPurchaseNavAlert:not([hidden]) + #teamTasksNavCount { margin-left:0; }
@media (max-width:820px) { .team-task-composer-content { grid-template-columns:1fr; }.team-task-kind,.team-task-subject,.team-task-body,.team-task-recipients,.team-task-file-row,.team-task-selected-files,.team-task-composer .form-error { grid-column:1; }.team-task-columns { grid-template-columns:1fr; }.team-task-column + .team-task-column { padding:18px 0 0; border-top:1px solid #e1e5e7; border-left:0; }.team-task-list { grid-template-columns:1fr; } }
@media (max-width:560px) { .team-board-heading { display:grid; }.team-board-actions { width:100%; }.team-board-actions button { flex:1; }.team-task-composer-dialog { width:100%; max-height:100dvh; border-radius:0; }.team-task-composer-content { max-height:calc(100dvh - 191px); padding:14px; }.team-task-selected-files { grid-template-columns:1fr; }.team-task-recipients { grid-template-columns:1fr; }.team-recipient-all { width:max-content; }.team-task-submit { padding:12px 14px; }.team-task-submit button { flex:1; min-width:0; }.team-task-card>header { grid-template-columns:1fr; }.team-task-responsible { justify-items:start; }.team-task-responsible>div { justify-content:flex-start; }.team-task-reply>div { align-items:flex-start; flex-direction:column; gap:2px; } }
.claim-deadline-banner { grid-column:1/-1; display:grid; border-left:5px solid #b42318; background:#fff1f2; }
.claim-deadline-banner button { width:100%; min-width:0; display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:12px; padding:13px 16px; border:0; border-bottom:1px solid #f4c7cd; background:transparent; color:#7f1d1d; cursor:pointer; text-align:left; }
.claim-deadline-banner button:last-child { border-bottom:0; }
.claim-deadline-banner button:hover { background:#ffe5e8; }
.claim-deadline-banner button>span:nth-child(2) { min-width:0; display:grid; gap:3px; }
.claim-deadline-banner strong { font-size:13px; }
.claim-deadline-banner small { color:#7f1d1d; font-size:11px; line-height:1.4; }
.claim-deadline-banner b { font-size:11px; }
.claim-deadline-mark,.message-deadline-mark { width:20px; height:20px; display:inline-grid; place-items:center; flex:none; border-radius:50%; background:#b42318; color:white; font-size:12px; font-weight:900; line-height:1; }
.work-section { min-height:130px; overflow:hidden; border:1px solid var(--section-line); border-radius:8px; background:white; }
.work-section header { min-height:55px; display:flex; align-items:center; justify-content:space-between; padding:0 15px; border-bottom:1px solid var(--section-line); background:var(--section-soft); }
.work-section h2 { margin:0; font-size:15px; }.work-section header span { min-width:24px; height:24px; display:grid; place-items:center; border-radius:12px; background:white; color:var(--section-ink); font-size:11px; font-weight:800; }
.work-section header .work-card-alert { min-width:20px; width:20px; height:20px; display:inline-grid; margin-left:6px; border-radius:50%; background:#dc2626; color:white; font-size:12px; font-weight:900; vertical-align:middle; }
.work-section>p { margin:0; padding:19px 15px; color:var(--muted); font-size:13px; }
.clickable-work-section { cursor:pointer; transition:border-color .15s ease,box-shadow .15s ease; }
.clickable-work-section:hover { border-color:var(--section-ink); box-shadow:0 4px 13px rgba(0,0,0,.05); }
.clickable-work-section:focus-visible { outline:3px solid rgba(219,39,119,.22); outline-offset:2px; }
.work-preview { padding:14px 15px; }
.work-preview p { margin:0; color:var(--muted); font-size:12px; }
.work-preview ul { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.work-preview li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; font-size:11px; }
.work-preview li strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.work-preview li span { color:var(--section-ink); font-weight:700; }
.sewing-worker-card { grid-column:1/-1; }
.sewing-today-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.sewing-today-group { min-width:0; padding:2px 0 2px 12px; border-left:3px solid #72b98e; }
.sewing-today-group.is-progress { border-left-color:#3e9299; }
.sewing-today-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.sewing-today-heading h3 { margin:0; font-size:12px; }
.sewing-today-heading span { min-width:21px; height:21px; display:grid; place-items:center; border-radius:11px; background:#effaf4; color:#276642; font-size:10px; font-weight:800; }
.sewing-today-group.is-progress .sewing-today-heading span { background:#edfafa; color:#176267; }
.sewing-today-group li.is-blocked span { color:#b42318; }
.sewing-today-group li.is-empty strong,.sewing-today-group li.has-more strong { color:var(--muted); font-weight:500; }
.sewing-today-note { grid-column:1/-1; padding:5px 7px; border-left:3px solid #c98a00; background:#fff4c7; color:#4b3800; font-size:10px; line-height:1.4; }
.sewing-today-note b { color:#8a5700; font-size:9px; }
.rose { --section-soft:#fff1f4;--section-line:#f4bdcb;--section-ink:#9f1239; }.aqua { --section-soft:#edfafa;--section-line:#b9e0e1;--section-ink:#176267; }.blue { --section-soft:#eff6ff;--section-line:#bfd7f2;--section-ink:#245b8f; }.yellow { --section-soft:#fff9e8;--section-line:#eddca1;--section-ink:#805b0c; }.green { --section-soft:#effaf4;--section-line:#bee2cc;--section-ink:#276642; }
@media (max-width:760px) { .sewing-today-groups { grid-template-columns:1fr; } }
.app-view { padding-top:25px; }
.module-view .empty-state { border-bottom:1px solid var(--line); }
.messages-section { padding:25px 0 6px; }
.messages-heading { align-items:center; }
.messages-notice { margin-top:14px; padding:10px 12px; border-left:4px solid #55a4aa; background:#edfafa; color:#176267; font-size:12px; font-weight:700; }
.messages-notice.is-error { border-color:#c81e1e; background:#fff1f2; color:#9f1239; }
.message-status-filters { min-height:48px; display:flex; gap:4px; margin-top:18px; padding:4px; border:1px solid var(--line); border-radius:7px; background:white; }
.message-status-filters button { min-height:38px; display:flex; align-items:center; gap:7px; padding:0 13px; border:0; border-radius:5px; background:transparent; color:#555; cursor:pointer; font-size:12px; font-weight:750; }
.message-status-filters button:hover { background:#f5f6f7; }
.message-status-filters button.is-active { background:#edfafa; color:#176267; }
.message-status-filters span,.message-category-heading span { min-width:22px; padding:3px 7px; border-radius:10px; background:white; font-size:10px; font-weight:850; text-align:center; }
.message-secondary-filters { display:flex; align-items:end; gap:10px; margin-top:10px; padding:10px 12px; border:1px solid var(--line); border-radius:7px; background:#fafbfb; }
.message-secondary-filters label { display:grid; gap:4px; min-width:180px; color:var(--muted); font-size:10px; font-weight:750; }
.message-secondary-filters .message-search-filter { flex:1 1 360px; }
.message-secondary-filters input,.message-secondary-filters select { height:36px; padding:0 10px; background:white; font-size:11px; }
.message-secondary-filters select { padding-right:34px; }
.message-secondary-filters button { min-height:36px; }
.message-category-list { display:grid; gap:15px; margin-top:18px; }
.message-thread-list { overflow:hidden; border:1px solid var(--line); border-radius:6px; background:white; }
.message-channel-label { flex:none; padding:3px 6px; border-radius:4px; font-size:10px; font-weight:800; line-height:1; text-transform:uppercase; }
.message-channel-label.is-allegro { background:#fff0e8; color:#9a3e17; }
.message-claim-label { flex:none; padding:3px 6px; border-radius:4px; background:#fff0f4; color:#8f2748; font-size:10px; font-weight:750; }
.message-protection-label { flex:none; padding:4px 7px; border-radius:4px; background:#b42318; color:#fff; font-size:10px; font-weight:850; text-transform:uppercase; }
.message-protection-alert { display:grid; gap:4px; margin:12px 20px 0; padding:12px 14px; border:1px solid #efb4bd; border-left:7px solid #b42318; border-radius:5px; background:#fff; color:#7f1d1d; }
.message-protection-alert[hidden] { display:none; }
.message-protection-alert strong { font-size:13px; }
.message-protection-alert span { font-size:11px; }
.message-category-section { --message-line:var(--line);--message-color:#d7dfe3;overflow:hidden; border:1px solid var(--message-line); border-left:5px solid var(--message-color); border-radius:6px; background:white; }
.message-category-section:not([data-category]):not(.message-deadline-section) { border-left-width:1px; }
.message-category-heading { min-height:48px; display:flex; align-items:center; justify-content:space-between; padding:0 13px; border-bottom:1px solid var(--message-line); background:var(--message-soft); }
.message-category-heading h2 { margin:0; color:var(--message-ink); font-size:14px; }
.message-category-section[data-category="customer"] { --message-color:#55a4aa;--message-line:#b9dcdf;--message-soft:#f1fafa;--message-ink:#176267; }
.message-category-section[data-category="returns"] { --message-color:#d45c80;--message-line:#efc2d0;--message-soft:#fff3f6;--message-ink:#8f2748; }
.message-category-section[data-category="wholesale"] { --message-color:#5489be;--message-line:#c4d9ee;--message-soft:#f2f7fc;--message-ink:#245b8f; }
.message-category-section[data-category="collaboration"] { --message-color:#a879ba;--message-line:#dfcde6;--message-soft:#faf5fc;--message-ink:#6f3c80; }
.message-category-section[data-category="technical"] { --message-color:#7c8794;--message-line:#d2d7dd;--message-soft:#f5f6f7;--message-ink:#4b5563; }
.message-category-section[data-category="suppliers"] { --message-color:#c99932;--message-line:#ead9a8;--message-soft:#fffaf0;--message-ink:#805b0c; }
.message-deadline-section { --message-color:#b42318;--message-line:#f4c7cd;--message-soft:#fff1f2;--message-ink:#7f1d1d; }
.message-deadline-section .message-category-heading h2 { display:flex; align-items:center; gap:8px; }
.message-row.is-deadline-alert,.message-row.is-deadline-alert:hover { background:#fff; box-shadow:inset 6px 0 0 #c42c43; }
.message-row.is-deadline-alert .message-row-preview { color:#9f1239; font-weight:700; }

/* Returns */
.returns-heading { align-items:flex-end; gap:20px; }
.returns-heading-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.returns-notice { margin:12px 0 0; }
.returns-notice:not(.is-error) { border-left-color:#4b999e; background:#edf8f8; color:#176267; }
.returns-search { display:flex; align-items:flex-end; gap:8px; padding:18px 0 16px; }
.returns-search label { flex:1; max-width:760px; margin:0; }
.returns-search input { width:100%; }
.returns-accounting-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:15px; padding:12px 14px; border:1px solid #bdd9df; border-left:5px solid #4b98a0; border-radius:6px; background:#f2fafa; }
.returns-accounting-bar span { display:flex; flex-direction:column; gap:2px; }
.returns-accounting-bar small { color:var(--muted); }
.return-case-sections { display:grid; gap:14px; }
.return-case-section { --return-accent:#4b999e; --return-soft:#eef8f8; overflow:hidden; border:1px solid #c8d9dc; border-left:5px solid var(--return-accent); border-radius:6px; background:#fff; }
.return-case-section[data-return-section="incoming"] { --return-accent:#c99a25; --return-soft:#fff9e9; }
.return-case-section[data-return-section="inspection"] { --return-accent:#3a8dbb; --return-soft:#eff8fd; }
.return-case-section[data-return-section="decision"] { --return-accent:#d45c80; --return-soft:#fff3f7; }
.return-case-section[data-return-section="waiting"] { --return-accent:#9a71ad; --return-soft:#faf5fc; }
.return-case-section[data-return-section="completed"] { --return-accent:#8a939b; --return-soft:#f5f6f7; }
.return-case-section > summary { min-height:58px; display:grid; grid-template-columns:minmax(0,1fr) auto 22px; align-items:center; gap:12px; padding:10px 14px; background:var(--return-soft); cursor:pointer; list-style:none; }
.return-case-section > summary::-webkit-details-marker { display:none; }
.return-case-section > summary span { display:flex; flex-direction:column; gap:2px; }
.return-case-section > summary strong { font-size:15px; }
.return-case-section > summary small { color:var(--muted); font-weight:400; }
.return-case-section > summary > b { min-width:30px; text-align:center; }
.return-case-section > summary svg { width:18px; fill:none; stroke:currentColor; stroke-width:2; transition:transform .15s ease; }
.return-case-section[open] > summary svg { transform:rotate(180deg); }
.return-case-row { display:grid; grid-template-columns:28px minmax(0,1fr); border-top:1px solid var(--line); }
.return-case-row:first-child { border-top:0; }
.return-print-check,.return-print-placeholder { display:grid; place-items:center; min-height:76px; padding-left:7px; }
.return-print-check input { width:17px; height:17px; }
.return-case-open { width:100%; min-height:76px; display:grid; grid-template-columns:minmax(280px,1fr) 125px 170px; align-items:center; gap:16px; padding:10px 14px 10px 6px; border:0; background:#fff; color:var(--ink); text-align:left; cursor:pointer; }
.return-case-open:hover { background:#fafcfc; }
.return-case-main,.return-case-products,.return-case-meta { min-width:0; display:flex; flex-direction:column; gap:4px; }
.return-case-main > span { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.return-case-main small { overflow:hidden; color:var(--muted); text-overflow:ellipsis; white-space:nowrap; }
.return-case-main b { font-size:12px; color:#4d5962; }
.return-case-products { border-left:1px solid var(--line); padding-left:14px; }
.return-case-products small,.return-case-meta small { color:var(--muted); }
.return-case-meta { align-items:flex-end; text-align:right; }
.return-case-meta em { color:#65727a; font-size:11px; font-style:normal; }
.return-source-badge { display:inline-flex; align-items:center; min-height:22px; padding:2px 7px; border-radius:4px; background:#eaf6f6; color:#176267; font-size:11px; font-weight:800; text-transform:uppercase; }
.return-source-badge[data-source="allegro"] { background:#fff0e8; color:#a54218; }
.return-source-badge[data-source="etsy"] { background:#fff1e9; color:#9d421d; }
.return-source-badge[data-source="unknown"] { background:#f0f1f2; color:#596168; }
.return-status { display:inline-flex; width:max-content; padding:4px 8px; border-radius:4px; background:#edf2f3; color:#42545a; font-size:11px; font-weight:800; }
.return-status.is-unidentified { background:#ffe8e8; color:#9d242b; }
.return-status.is-inspection { background:#e8f4fb; color:#226b93; }
.return-status.is-decision,.return-status.is-ready_refund { background:#ffe9f1; color:#9b2f55; }
.return-status.is-waiting_customer { background:#f4eafa; color:#704181; }
.return-status.is-completed { background:#eaf5ed; color:#347044; }
.return-create-dialog { width:min(760px,calc(100vw - 28px)); }
.return-create-dialog > form { padding:24px; }
.return-create-dialog .dialog-header,.return-detail-dialog > .dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.return-create-dialog .dialog-header { margin-bottom:18px; }
.return-create-dialog .dialog-header h2,.return-detail-dialog > .dialog-header h2 { margin:0 0 5px; }
.return-create-dialog .dialog-header p,.return-detail-dialog > .dialog-header p { margin:0; color:var(--muted); }
.return-create-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.return-detail-dialog { width:min(1240px,calc(100vw - 28px)); }
.return-detail-dialog > .dialog-header { min-height:82px; padding:17px 22px; border-bottom:1px solid var(--line); }
.return-detail-dialog #returnDetailContent { padding-bottom:28px; }
.return-detail-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 24px; border-bottom:1px solid var(--line); background:#fafbfb; }
.return-detail-toolbar > div { display:flex; gap:8px; }
.return-overview { display:grid; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); gap:18px; padding:20px 24px; border-bottom:1px solid var(--line); }
.return-identifiers { display:flex; align-items:stretch; flex-wrap:wrap; gap:8px; }
.return-identifiers > span { min-width:145px; display:flex; flex-direction:column; gap:2px; padding:8px 10px; border:1px solid #d9e1e3; border-radius:5px; }
.return-identifiers small,.return-identifiers em { color:var(--muted); font-size:10px; font-style:normal; }
.return-overview-notes { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.return-overview-notes span { color:var(--muted); font-size:12px; }
.return-link-order { display:flex; align-items:flex-end; gap:8px; padding:16px 24px; border-bottom:1px solid var(--line); background:#fff9eb; }
.return-link-order label { flex:1; max-width:420px; margin:0; }
.return-inspection-form,.return-complete-form,.return-history-block,.return-waiting-block { margin:0; padding:22px 24px; border-bottom:1px solid var(--line); }
.return-block-heading { display:flex; justify-content:space-between; margin-bottom:14px; }
.return-block-heading h3,.return-history-block h3,.return-waiting-block h3 { margin:0 0 4px; font-size:16px; }
.return-block-heading p { margin:0; color:var(--muted); }
.return-inspection-item { display:grid; grid-template-columns:minmax(230px,1.1fr) minmax(440px,2fr); gap:14px; padding:12px 0; border-top:1px solid var(--line); }
.return-inspection-product { display:flex; align-items:center; gap:11px; }
.return-product-image { width:48px; height:48px; flex:0 0 48px; border:1px solid var(--line); border-radius:4px; object-fit:cover; }
.return-inspection-product span { min-width:0; display:flex; flex-direction:column; gap:3px; }
.return-inspection-product small { color:var(--muted); }
.return-inspection-values { display:grid; grid-template-columns:repeat(6,minmax(74px,1fr)); gap:7px; }
.return-inspection-values label,.return-inspection-options label { margin:0; font-size:10px; }
.return-inspection-values input { width:100%; min-width:0; padding:7px; }
.return-inspection-values .return-accepted { color:#8f2748; font-weight:800; }
.return-inspection-options { grid-column:1/-1; display:grid; grid-template-columns:180px 150px minmax(220px,1fr); gap:9px; align-items:end; }
.return-inspection-options label:first-child { display:flex; align-items:center; gap:7px; min-height:38px; font-size:12px; }
.return-inspection-options label:first-child input { width:17px; height:17px; }
.return-waiting-block { background:#fff9eb; }
.return-waiting-block > div { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:12px; padding:8px 0; border-top:1px solid #eadcb6; }
.return-history { margin:12px 0 0; padding:0; list-style:none; }
.return-history li { display:grid; grid-template-columns:12px minmax(0,1fr); gap:8px; padding:6px 0; }
.return-history li > span { width:8px; height:8px; margin-top:4px; border-radius:50%; background:#76a8ac; }
.return-history li div { display:flex; flex-direction:column; gap:2px; }
.return-history small { color:var(--muted); }

@media (max-width:900px) {
  .returns-heading,.returns-search,.return-detail-toolbar { align-items:stretch; flex-direction:column; }
  .returns-heading-actions { justify-content:flex-start; }
  .return-case-open { grid-template-columns:minmax(0,1fr) 120px; }
  .return-case-products { display:none; }
  .return-overview,.return-inspection-item { grid-template-columns:1fr; }
  .return-inspection-values { grid-template-columns:repeat(3,minmax(74px,1fr)); }
}

@media (max-width:600px) {
  .return-create-grid,.return-inspection-options { grid-template-columns:1fr; }
  .return-case-open { grid-template-columns:1fr; gap:7px; }
  .return-case-meta { align-items:flex-start; text-align:left; }
  .return-inspection-values { grid-template-columns:repeat(2,minmax(74px,1fr)); }
}
.message-row { position:relative; width:100%; min-height:67px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 18px; padding:10px 13px; border:0; border-bottom:1px solid var(--line); background:white; color:var(--ink); cursor:pointer; text-align:left; }
.message-row:last-child { border-bottom:0; }
.message-row:hover { background:#fbfcfc; }
.operations-row.message-response-warning { background:#fff8dc; box-shadow:inset 4px 0 0 #d4a017; }
.operations-row.message-response-overdue { background:#fff0f1; box-shadow:inset 4px 0 0 #c42c43; }
.message-row.message-response-warning,.message-row.message-response-warning:hover { background:#fff; box-shadow:inset 6px 0 0 #d4a017; }
.message-row.message-response-overdue,.message-row.message-response-overdue:hover { background:#fff; box-shadow:inset 6px 0 0 #c42c43; }
.message-row.message-response-warning,.message-row.message-response-overdue { padding-left:61px; }
.message-response-age { position:absolute; inset:0 auto 0 6px; display:grid; place-items:center; width:42px; color:#fff; font-size:11px; font-weight:850; line-height:1; pointer-events:none; }
.message-response-warning .message-response-age { background:#d4a017; color:#2f2700; }
.message-response-overdue .message-response-age { background:#c42c43; }
.delayed-orders-band { margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid #d9e3e5; }
.delayed-orders-band h2 { font-size:17px; margin:0; }
#delayedOrdersCount { color:#a83244; margin-left:6px; }
#unpaidOrdersCount { color:#855b00; margin-left:6px; }
.delayed-orders-table-wrap { overflow-x:auto; }
.delayed-orders-table { width:100%; border-collapse:collapse; font-size:12px; }
.delayed-orders-table th { padding:10px 12px; text-align:left; font-size:10px; color:#5a6a70; background:#f3f8f8; }
.delayed-orders-table td { padding:14px 12px; border-bottom:1px solid #eadcdf; background:#fff1ef; overflow-wrap:anywhere; }
.delayed-orders-table td:first-child { border-left:4px solid #a83244; }
.delayed-orders-table a { color:#176d75; font-weight:700; }
.delayed-order-age { color:#a83244; font-weight:700; white-space:nowrap; }
.unpaid-orders-table td { background:#fff8df; border-bottom-color:#eee4c9; }
.unpaid-orders-table td:first-child { border-left-color:#b99023; }
.unpaid-orders-table .delayed-order-age { color:#855b00; }
@media(max-width:520px){.delayed-orders-table th,.delayed-orders-table td{padding:10px 6px}.delayed-orders-table{font-size:11px}}
.message-row.is-current,.message-row.is-current:hover { background:#e8f7f8; box-shadow:inset 4px 0 0 #2f8f94; }
.message-row.message-response-warning.is-current,.message-row.message-response-warning.is-current:hover { background:#fff; box-shadow:inset 6px 0 0 #d4a017; outline:2px solid #2f8f94; outline-offset:-2px; }
.message-row.message-response-overdue.is-current,.message-row.message-response-overdue.is-current:hover { background:#fff; box-shadow:inset 6px 0 0 #c42c43; outline:2px solid #2f8f94; outline-offset:-2px; }
@media(max-width:720px){.message-secondary-filters .message-search-filter{flex:0 0 auto}.message-row{grid-template-columns:minmax(0,1fr)}.message-row .message-row-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}.message-row .message-row-main strong{white-space:normal}}
.message-row.is-unread strong { font-weight:850; }
.message-row-main { min-width:0; display:grid; gap:4px; }
.message-row-title { min-width:0; display:flex; align-items:center; gap:7px; }
.message-row-main strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.message-row-main small,.message-row-meta small { color:var(--muted); font-size:10px; line-height:1.35; }
.message-row-meta { display:grid; gap:4px; justify-items:end; align-content:center; }
.message-row-status { padding:4px 7px; border-radius:10px; background:#eef3f4; color:#40585a; font-size:9px; font-weight:850; }
.message-row-status.is-urgent { background:#fff1f2; color:#a01428; }
.message-row-status.is-snoozed,.message-row-status.is-waiting_customer,.message-row-status.is-waiting_other { background:#fff5da; color:#805b0c; }
.message-row-status.is-done { background:#eff5f1; color:#4a6654; }
.message-source-status { padding:3px 7px; border:1px solid #f0c9b8; border-radius:9px; color:#874426; background:#fffaf7; font-size:9px; font-weight:750; white-space:nowrap; }
.message-dialog-badges { display:flex; align-items:center; gap:6px; }
.message-dialog.wide-dialog { width:min(920px,calc(100% - 54px)); height:100dvh; max-width:none; max-height:none; margin:0 0 0 auto; padding:0; overflow-y:auto; overflow-x:hidden; border:0; border-radius:8px 0 0 8px; background:white; box-shadow:-18px 0 48px rgba(0,0,0,.2); }
.message-dialog::backdrop { background:rgba(31,41,55,.48); }
.message-dialog .dialog-header { min-height:86px; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:18px 20px; border-bottom:1px solid var(--line); }
.message-dialog .dialog-header>div { min-width:0; display:grid; gap:4px; }
.message-dialog .dialog-header h2 { margin:0; overflow-wrap:anywhere; font-size:18px; }
.message-dialog .dialog-header p { margin:0; color:var(--muted); font-size:11px; }
.message-channel { width:max-content; flex:0 0 auto; padding:3px 7px; border-radius:9px; background:#edfafa; color:#176267; font-size:9px; font-weight:850; text-transform:uppercase; }
.message-channel[data-channel="allegro"] { background:#fff0e9; color:#9a3d18; }
.message-channel[data-channel="idosell"] { background:#edfafa; color:#176267; }
.message-channel[data-channel="messenger"] { background:#edf4ff; color:#1e58a4; }
.message-row-preview { display:block; max-width:76ch; margin-top:4px; color:#59636e; font-size:12px; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.message-channel[data-channel="instagram"] { background:#fff0f5; color:#9d315d; }
.message-channel[data-channel="kaufland"] { background:#fff1f2; color:#a01428; }
.message-channel[data-channel="trendyol"] { background:#fff0e9; color:#b33b12; }
.message-channel[data-channel="emag"] { background:#eff6ff; color:#245b8f; }
.message-channel[data-channel="etsy"] { background:#fff3eb; color:#9b441d; }
.icon-close { width:34px; height:34px; display:grid; place-items:center; padding:0; border:0; border-radius:5px; background:transparent; color:#555; cursor:pointer; font-size:25px; }
.icon-close:hover { background:#f3f4f6; }
.message-dialog-tools { display:grid; grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto; gap:10px; align-items:end; padding:13px 20px; border-bottom:1px solid var(--line); background:#fafafa; }
.message-dialog-tools select { height:38px; }
.message-snooze-picker { display:flex; align-items:end; flex-wrap:wrap; gap:8px; padding:12px 20px; border-bottom:1px solid #ead9a8; background:#fffaf0; }
.message-snooze-picker>button:not(.secondary-button) { min-height:36px; padding:0 11px; border:1px solid #d7c17d; border-radius:5px; background:white; cursor:pointer; font-size:11px; font-weight:750; }
.message-snooze-picker label { min-width:210px; }
.message-snooze-picker input { height:36px; }
.message-allegro-offer { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:6px 12px; align-items:center; padding:12px 20px; border-bottom:1px solid #f0c9b8; background:#fff8f4; }
.message-allegro-offer[hidden] { display:none; }
.message-allegro-offer span { color:#9a3d18; font-size:9px; font-weight:850; text-transform:uppercase; }
.message-allegro-offer strong { overflow-wrap:anywhere; font-size:12px; }
.message-allegro-offer small { color:var(--muted); font-size:10px; white-space:nowrap; }
.message-product-context { display:grid; grid-template-columns:48px minmax(0,1fr); gap:12px; align-items:center; padding:12px 20px; border-bottom:1px solid #b9dcdf; background:#f1fafa; }
.message-product-context[hidden] { display:none; }
.message-product-context img { width:48px; height:48px; object-fit:contain; border:1px solid #d7e6e8; border-radius:5px; background:white; }
.message-product-context>div { min-width:0; display:grid; gap:3px; }
.message-product-context span { color:#176267; font-size:9px; font-weight:850; text-transform:uppercase; }
.message-product-context strong { overflow-wrap:anywhere; font-size:12px; }
.message-product-context small { color:var(--muted); font-size:10px; }
.message-order-context { display:grid; gap:10px; padding:13px 20px; border-bottom:1px solid #d9dde2; background:#f7f8f9; }
.message-order-context[hidden] { display:none; }
.message-order-context>header { display:flex; align-items:start; justify-content:space-between; gap:14px; }
.message-order-context>header>div { display:grid; gap:2px; }
.message-order-context>header span { color:#555f68; font-size:9px; font-weight:850; text-transform:uppercase; }
.message-order-context>header strong { font-size:13px; }
.message-order-context>header small { color:#58636d; font-size:10px; font-weight:750; text-align:right; }
.message-order-products { display:grid; border-top:1px solid #e0e3e6; }
.message-order-products>div { min-height:36px; display:grid; grid-template-columns:minmax(0,1fr) minmax(100px,.65fr) auto; gap:10px; align-items:center; padding:6px 0; border-bottom:1px solid #e0e3e6; font-size:10px; }
.message-order-products strong { overflow-wrap:anywhere; font-size:11px; }
.message-order-products span { color:var(--muted); }
.message-order-products b { white-space:nowrap; }
.message-order-meta { display:flex; flex-wrap:wrap; gap:8px 18px; color:var(--muted); font-size:10px; }
.message-order-meta span { display:flex; gap:4px; }
.message-order-meta strong { color:#333; font-weight:750; }
.message-order-links { display:flex; flex-wrap:wrap; gap:8px; padding-top:2px; }
.message-order-links[hidden] { display:none; }
.message-order-links .secondary-button { min-height:34px; }
.message-order-candidates { display:grid; gap:7px; padding-top:8px; border-top:1px solid #d9dde2; }
.message-order-candidates[hidden] { display:none; }
.message-order-candidates p { margin:0; color:#555f68; font-size:10px; font-weight:750; }
.message-order-candidates button { min-height:40px; display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:center; text-align:left; }
.message-order-candidates button span { overflow-wrap:anywhere; color:var(--muted); font-size:9px; font-weight:500; text-transform:none; }
.message-thread { display:grid; gap:12px; padding:18px 20px; overflow:visible; background:#f7f8f9; }
.message-entry { max-width:88%; padding:12px 14px; border:1px solid #dfe3e7; border-radius:7px; background:white; }
.message-entry.has-html { width:100%; max-width:100%; }
.message-entry.is-outgoing { justify-self:end; border-color:#b9dcdf; background:#f3fbfb; }
.message-entry.is-note { border-color:#ead9a8; background:#fffaf0; }
.message-entry header { display:flex; justify-content:space-between; gap:14px; margin-bottom:8px; }
.message-entry header>span { display:flex; align-items:center; gap:8px; }
.message-entry header strong { font-size:11px; }.message-entry header time { color:var(--muted); font-size:9px; }
.message-entry p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.55; }
.message-entry-html { width:100%; overflow:hidden; }
.message-email-preview { width:100%; min-height:80px; display:block; border:0; background:white; }
.message-quote-toggle { min-height:30px; margin-top:8px; padding:4px 0; border:0; background:transparent; color:#176267; cursor:pointer; font-size:10px; font-weight:800; }
.message-quote-toggle:hover { text-decoration:underline; }
.message-translate-button { padding:0; border:0; background:transparent; color:#176267; cursor:pointer; font-size:9px; font-weight:800; }
.message-translate-button:hover { text-decoration:underline; }
.message-entry-translation { margin-top:10px; padding:10px 11px; border-left:3px solid #55a4aa; background:#edfafa; white-space:pre-wrap; overflow-wrap:anywhere; color:#244b4e; font-size:11px; line-height:1.55; }
.message-entry-translation>strong { display:block; margin-bottom:4px; color:#176267; font-size:10px; text-transform:uppercase; }
.message-entry-translation>p { margin:0; white-space:pre-wrap; }
.message-entry-translation.is-error { border-color:#c81e1e; background:#fff1f2; color:#9f1239; }
.message-reply-translation { margin-top:8px; padding:10px 12px; border-left:3px solid #55a4aa; background:#edfafa; color:#244b4e; }
.message-reply-translation>header { display:flex; justify-content:space-between; gap:12px; margin-bottom:5px; }
.message-reply-translation>header strong { color:#176267; font-size:10px; text-transform:uppercase; }
.message-reply-translation>header span { color:#607478; font-size:9px; }
.message-reply-translation>p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:11px; line-height:1.55; }
.message-reply-translation.is-error { border-color:#c81e1e; background:#fff1f2; color:#9f1239; }

.idosell-assistant-heading { align-items:center; }
.idosell-assistant-heading select { width:min(330px,45vw); height:39px; font-size:11px; }
.idosell-assistant-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(290px,.7fr); gap:16px; align-items:start; margin-top:16px; }
.idosell-assistant-conversation,.idosell-assistant-objects { min-width:0; border:1px solid var(--line); border-radius:7px; background:white; }
.idosell-assistant-conversation { overflow:hidden; }
.idosell-assistant-thread { min-height:270px; max-height:48vh; display:grid; align-content:start; gap:12px; overflow-y:auto; padding:16px; background:#f7f8f9; }
.idosell-assistant-message { width:min(86%,720px); padding:11px 13px; border:1px solid #dfe3e7; border-radius:7px; background:white; }
.idosell-assistant-message.is-user { justify-self:end; border-color:#efbfd2; background:#fff5f9; }
.idosell-assistant-message header { display:flex; justify-content:space-between; gap:12px; margin-bottom:6px; }
.idosell-assistant-message strong { font-size:10px; text-transform:uppercase; }
.idosell-assistant-message time { color:var(--muted); font-size:9px; }
.idosell-assistant-message p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.55; }
.idosell-assistant-prompt,.idosell-assistant-reply { gap:9px; padding:14px 16px; border-top:1px solid var(--line); }
.idosell-assistant-prompt textarea { min-height:78px; }
.idosell-assistant-prompt-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.idosell-assistant-prompt-footer span { color:var(--muted); font-size:10px; }
.idosell-assistant-reply { background:#fffaf0; }
.idosell-assistant-reply>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:end; }
.idosell-assistant-objects { display:grid; gap:12px; padding:14px; }
.idosell-assistant-objects>header { display:flex; align-items:center; justify-content:space-between; padding-bottom:10px; border-bottom:1px solid var(--line); }
.idosell-assistant-objects h2 { margin:0; font-size:14px; }
.idosell-assistant-objects header span { min-width:24px; padding:4px 7px; border-radius:11px; background:#edfafa; color:#176267; font-size:10px; font-weight:800; text-align:center; }
.idosell-assistant-selected,.idosell-assistant-results { display:grid; gap:7px; }
.idosell-assistant-selected { max-height:250px; overflow-y:auto; }
.idosell-assistant-results { max-height:380px; overflow-y:auto; padding-top:4px; border-top:1px solid var(--line); }
.idosell-assistant-product { min-width:0; display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:9px; align-items:center; padding:7px; border:1px solid var(--line); border-radius:6px; background:white; }
.idosell-assistant-product img,.idosell-assistant-product-placeholder { width:42px; height:42px; display:grid; place-items:center; object-fit:contain; border:1px solid #e2e5e8; border-radius:5px; background:#f7f8f9; color:#8b929b; font-size:9px; }
.idosell-assistant-product>div { min-width:0; display:grid; gap:3px; }
.idosell-assistant-product strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.idosell-assistant-product small { color:var(--muted); font-size:9px; }
.idosell-assistant-product button { min-height:32px; padding:0 9px; }
.idosell-assistant-change-area { display:grid; gap:12px; padding:14px 16px; border-top:1px solid #b9dcdf; background:#f2fbfb; }
.idosell-change-set { overflow:hidden; border:1px solid #b9dcdf; border-radius:6px; background:white; }
.idosell-change-set>header { display:flex; align-items:start; justify-content:space-between; gap:14px; padding:11px 12px; border-bottom:1px solid #d7e9e9; background:#edfafa; }
.idosell-change-set h3 { margin:0; font-size:13px; }
.idosell-change-set header p { margin:4px 0 0; color:#47676a; font-size:10px; line-height:1.4; }
.idosell-change-status { flex:0 0 auto; padding:4px 8px; border-radius:10px; background:white; color:#176267; font-size:9px; font-weight:850; }
.idosell-change-table { width:100%; border-collapse:collapse; font-size:10px; }
.idosell-change-table th,.idosell-change-table td { padding:8px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.idosell-change-table th { color:var(--muted); background:#fafafa; font-size:9px; text-transform:uppercase; }
.idosell-change-table td strong { display:block; font-size:11px; }
.idosell-change-table td small { color:var(--muted); font-size:9px; }
.idosell-change-table .value-before { color:#7a4a2a; }
.idosell-change-table .value-after { color:#176267; font-weight:800; }
.idosell-change-table tr.is-conflict td,.idosell-change-table tr.is-failed td { background:#fff5f5; }
.idosell-change-actions { display:flex; justify-content:flex-end; gap:8px; padding:10px 12px; }
.idosell-change-result { margin:0; padding:9px 12px; border-top:1px solid var(--line); color:#555f68; font-size:10px; }

@media (max-width:980px) {
  .idosell-assistant-layout { grid-template-columns:1fr; }
  .idosell-assistant-objects { order:-1; }
  .idosell-assistant-results { max-height:240px; }
}
.message-entry-attachments { display:grid; gap:6px; margin:10px 0 0; padding-top:9px; border-top:1px solid var(--line); }
.message-entry-attachments>span { color:#4b5563; font-size:9px; font-weight:850; text-transform:uppercase; }
.message-attachment { width:100%; min-height:42px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; align-items:center; padding:7px 9px; border:1px solid #c7d9db; border-radius:5px; background:#f4fbfb; color:#176267; text-align:left; }
.message-attachment:hover { border-color:#55a4aa; background:#edfafa; }
.message-attachment strong { overflow-wrap:anywhere; color:#243b3d; font-size:11px; }
.message-attachment small { grid-row:2; color:var(--muted); font-size:9px; }
.message-attachment>span { grid-column:2; grid-row:1/3; font-size:10px; font-weight:800; }
.message-attachment.is-unavailable { color:var(--muted); }
.message-attachment-dialog { width:min(880px,calc(100% - 40px)); height:min(760px,calc(100dvh - 40px)); max-width:none; max-height:none; padding:0; overflow:hidden; border:0; border-radius:7px; background:white; }
.message-attachment-dialog::backdrop { background:rgba(31,41,55,.58); }
.message-attachment-dialog .dialog-header { min-height:70px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:15px 18px; border-bottom:1px solid var(--line); }
.message-attachment-dialog .dialog-header h2 { margin:0; overflow-wrap:anywhere; font-size:16px; }
.message-attachment-dialog .dialog-header p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.message-attachment-preview { height:calc(100% - 132px); display:grid; place-items:center; overflow:auto; padding:14px; background:#f3f4f5; }
.message-attachment-preview img { max-width:100%; max-height:100%; object-fit:contain; }
.message-attachment-preview iframe { width:100%; height:100%; border:0; background:white; }
.message-attachment-dialog .message-dialog-footer { min-height:62px; align-items:center; }
.message-reply { display:grid; gap:10px; padding:16px 20px; border-top:1px solid #b9dcdf; background:#f3fbfb; }
.message-reply[hidden] { display:none; }
.message-reply header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.message-reply h3 { margin:0; color:#176267; font-size:14px; }
.message-reply header span { color:var(--muted); font-size:9px; }
.message-reply-addresses { display:flex; flex-wrap:wrap; gap:8px 20px; color:var(--muted); font-size:10px; }
.message-reply-addresses strong { color:var(--ink); }
.message-reply-addresses select { width:auto; min-width:160px; margin-left:5px; padding:5px 28px 5px 8px; font-size:10px; }
.message-assistant-controls { display:grid; gap:6px; padding:10px 0 12px; border-bottom:1px solid #cfe5e6; }
.message-assistant-controls>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.message-assistant-controls>div:first-of-type { grid-template-columns:minmax(0,1fr); align-items:start; }
.message-assistant-controls>div:first-of-type button { justify-self:end; }
.message-reply #messageAssistantHint { min-width:0; min-height:88px; overflow-y:hidden; resize:vertical; }
.message-assistant-controls button { min-width:164px; }
.message-assistant-controls p { margin:0; color:#176267; font-size:10px; font-weight:750; }
.message-assistant-controls p.is-error { color:#b42318; }
.message-assistant-feedback { min-height:22px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.message-assistant-feedback button { min-width:0; min-height:30px; padding:0 9px; font-size:10px; }
.message-assistant-conversation { display:grid!important; gap:8px; padding:10px; border:1px solid #b9dcdf; border-radius:7px; background:white; }
.message-assistant-conversation[hidden] { display:none!important; }
.message-assistant-turns { display:grid; gap:6px; }
.message-assistant-turn { max-width:85%; display:grid; gap:3px; padding:8px 10px; border-radius:6px; background:#eef7f8; color:#333; font-size:11px; line-height:1.45; }
.message-assistant-turn.is-user { justify-self:end; background:#fbe9f1; }
.message-assistant-turn header { display:flex; justify-content:space-between; gap:12px; color:#176267; font-size:9px; }
.message-assistant-turn.is-user header { color:#9b315e; }
.message-assistant-turn p { margin:0; color:inherit; font-size:11px; font-weight:500; white-space:pre-wrap; }
.message-assistant-reply-form { display:grid; gap:6px; padding-top:8px; border-top:1px solid #dcebec; }
.message-assistant-reply-form>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; }
.message-assistant-reply-form textarea { min-height:64px; resize:vertical; }
.message-assistant-reply-form button { min-width:150px; }
.message-reply-documents { display:grid; gap:7px; padding:10px 0; border-top:1px solid #cfe5e6; border-bottom:1px solid #cfe5e6; }
.message-reply-documents[hidden] { display:none; }
.message-reply-documents>header>div { display:grid; gap:2px; }
.message-reply-documents>header strong { font-size:11px; }
.message-reply-documents>header span { color:var(--muted); font-size:9px; }
.message-reply-documents>div { display:grid; gap:5px; }
.message-reply-document { min-height:45px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:6px 8px; border:1px solid #c7d9db; border-radius:5px; background:white; }
.message-reply-document label { min-width:0; display:flex; align-items:center; gap:9px; cursor:pointer; }
.message-reply-document label>span { min-width:0; display:grid; gap:2px; }
.message-reply-document label strong,.message-reply-document label small { overflow-wrap:anywhere; }
.message-reply-document label strong { font-size:10px; }
.message-reply-document label small { color:var(--muted); font-size:9px; }
.message-reply-document button { min-height:32px; padding:0 10px; }
.message-reply-files { display:grid; gap:7px; padding:10px 0; border-bottom:1px solid #cfe5e6; }
.message-reply-files[hidden] { display:none; }
.message-reply-files>header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.message-reply-files>header>div { display:grid; gap:2px; }
.message-reply-files>header strong { font-size:11px; }
.message-reply-files>header span { color:var(--muted); font-size:9px; }
.message-file-picker { min-height:32px; cursor:pointer; }
.message-reply-files>div { display:grid; gap:5px; }
.message-reply-file { min-height:40px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; padding:6px 8px; border:1px solid #c7d9db; border-radius:5px; background:white; }
.message-reply-file>span { min-width:0; display:grid; gap:2px; }
.message-reply-file strong { overflow-wrap:anywhere; font-size:10px; }
.message-reply-file small { color:var(--muted); font-size:9px; }
.message-reply-file button { width:30px; height:30px; display:grid; place-items:center; padding:0; border:0; border-radius:5px; background:transparent; color:#9f1239; cursor:pointer; font-size:18px; }
.idosell-question-editor { display:grid; gap:6px; padding:10px 0; border-top:1px solid #cfe5e6; border-bottom:1px solid #cfe5e6; }
.idosell-question-editor[hidden] { display:none; }
.idosell-question-editor textarea { background:#fff; }
.message-reply-file button:hover { background:#fff1f2; }
.message-reply textarea { width:100%; min-height:132px; resize:vertical; background:white; font-size:12px; line-height:1.5; }
.message-reply-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.message-reply-actions .form-error { margin-right:auto; }
.etsy-message-agent-reply { max-width:760px; display:grid; gap:6px; margin-top:10px; padding:10px 12px; border-left:4px solid #d2a91f; background:#fff9e8; }
.etsy-message-agent-reply[hidden] { display:none; }
.etsy-message-agent-reply label { font-size:10px; font-weight:800; }
.etsy-message-agent-reply>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.etsy-message-agent-reply input { min-width:0; }
.message-dialog-footer { display:flex; justify-content:space-between; gap:10px; padding:13px 20px; border-top:1px solid var(--line); }
.new-message-dialog { max-height:calc(100dvh - 36px); padding:0; overflow:auto; }
.new-message-dialog .dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:18px 20px; border-bottom:1px solid var(--line); }
.new-message-dialog .dialog-header h2 { margin:0; font-size:18px; }
.new-message-dialog .dialog-header p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.new-message-form { display:grid; gap:13px; padding:18px 20px; }
.new-message-addresses { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(240px,1.3fr); gap:12px; }
.new-message-form label { display:grid; gap:5px; font-size:10px; font-weight:800; }
.new-message-form .field-hint { color:var(--muted); font-size:9px; font-weight:500; }
.new-message-form input,.new-message-form select { width:100%; }
.new-message-form>label>textarea { width:100%; min-height:190px; resize:vertical; font-size:12px; line-height:1.5; }
.new-message-agent { display:grid; gap:6px; padding:12px; border-left:4px solid #55a4aa; background:#f2fbfb; }
.new-message-agent>label { font-size:10px; font-weight:800; }
.new-message-agent>div:first-of-type { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:stretch; }
.new-message-agent>div:first-of-type textarea { min-height:58px; resize:vertical; }
.new-message-agent>p { margin:0; color:#176267; font-size:11px; }
.new-message-agent>p.is-error { color:#a01428; }
.new-message-translation>div { display:grid; gap:5px; }
.new-message-translation b { font-size:11px; }
.new-message-translation p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:11px; line-height:1.55; }
@media(max-width:720px){.new-message-addresses,.new-message-agent>div:first-of-type{grid-template-columns:1fr}.new-message-agent>div:first-of-type button{width:100%}}
@media(max-width:720px){.message-status-filters{overflow-x:auto}.message-status-filters button{flex:0 0 auto}.message-secondary-filters{align-items:stretch;flex-direction:column}.message-secondary-filters label{min-width:0}.message-dialog.wide-dialog{width:100%;border-radius:0}.message-dialog-tools{grid-template-columns:1fr}.message-allegro-offer{grid-template-columns:1fr}.message-allegro-offer small{white-space:normal}.message-order-context>header{align-items:start;flex-direction:column}.message-order-products>div{grid-template-columns:minmax(0,1fr) auto}.message-order-products>div span{grid-column:1/-1}.message-entry{max-width:100%}.message-assistant-controls>div{grid-template-columns:1fr}.message-assistant-controls>div>button{width:100%}.message-assistant-feedback{align-items:flex-start;flex-direction:column}.message-assistant-reply-form>div{grid-template-columns:1fr}.message-reply-document{grid-template-columns:minmax(0,1fr)}.message-reply-document button{justify-self:start}}
.idosell-products { padding-top:25px; }
.etsy-section { padding:25px 0 6px; }
.etsy-heading { align-items:center; }
.etsy-notice { margin-top:16px; padding:10px 12px; border-left:4px solid #55a4aa; background:#edfafa; color:#176267; font-size:12px; font-weight:700; }
.etsy-notice.is-error { border-color:#c81e1e; background:#fff1f2; color:#9f1239; }
.etsy-private-note { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 16px 12px; padding:10px 12px; border-left:3px solid #55a4aa; background:#edfafa; color:#176267; font-size:11px; font-weight:700; }
.etsy-private-note.is-done { border-color:#3c9470; background:#eef8f2; color:#24694c; }
.etsy-private-note.is-error { border-color:#c81e1e; background:#fff1f2; color:#9f1239; }
.etsy-private-note>span { min-width:0; overflow-wrap:anywhere; }.etsy-private-note>button { flex:none; }
@media(max-width:620px){.etsy-private-note{align-items:stretch;flex-direction:column}.etsy-private-note>button{width:100%}}
.etsy-tracking-check { margin-top:18px; padding:15px 0 4px; border-top:2px solid #55a4aa; border-bottom:1px solid var(--line); }
.etsy-tracking-check>header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }
.etsy-tracking-check h2 { margin:0; font-size:14px; }.etsy-tracking-check header p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.etsy-tracking-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; color:var(--muted); font-size:11px; }
.etsy-tracking-actions .primary-button { flex:none; }
@media(max-width:620px){.etsy-tracking-actions{align-items:stretch;flex-direction:column}.etsy-tracking-actions .primary-button{width:100%}}
.etsy-tracking-table-wrap { width:100%; overflow-x:auto; }.etsy-tracking-table { width:100%; border-collapse:collapse; background:white; font-size:11px; }
.etsy-tracking-table th,.etsy-tracking-table td { padding:10px 12px; border-bottom:1px solid #e3e8eb; text-align:left; white-space:nowrap; }
.etsy-tracking-table th { background:#f2f7f7; color:#176267; font-size:9px; text-transform:uppercase; }
.etsy-tracking-table .etsy-tracking-select { width:38px; min-width:38px; padding:8px 10px; text-align:center; }
.etsy-tracking-select input { display:block; width:16px; height:16px; margin:auto; accent-color:var(--brand); cursor:pointer; }
.etsy-tracking-select input:disabled { cursor:not-allowed; }
.etsy-tracking-table td:nth-child(4) { font-weight:850; }.etsy-tracking-meta { margin:9px 0; color:var(--muted); font-size:10px; }
.etsy-tracking-table td:last-child { min-width:150px; white-space:normal; }.etsy-tracking-table td:last-child .secondary-button { white-space:nowrap; }
.etsy-completion-action { display:flex; align-items:center; justify-content:space-between; gap:8px; }.etsy-completion-state { display:block; color:#176267; font-size:10px; font-weight:700; line-height:1.4; }
.etsy-completion-question { display:grid; gap:8px; min-width:260px; max-width:560px; }
.etsy-completion-question label { gap:4px; color:var(--ink); font-size:10px; }
.etsy-completion-question textarea { min-height:58px; font-size:12px; font-weight:400; }
.etsy-completion-question .secondary-button { justify-self:start; }
.etsy-completion-state.is-done { color:#24694c; }.etsy-completion-state.is-error { color:#9f1239; overflow-wrap:anywhere; }
.etsy-tracking-error { margin:0 0 10px; padding:9px 10px; border-left:3px solid #c81e1e; background:#fff1f2; color:#8f1726; font-size:11px; }
.marketplace-queue-heading { min-height:38px; display:flex; align-items:end; justify-content:space-between; margin-top:18px; padding:0 2px 8px; border-bottom:1px solid var(--line); }
.marketplace-queue-heading h2 { margin:0; font-size:14px; }.marketplace-queue-heading span { min-width:24px; padding:3px 7px; border-radius:10px; background:#fff0e9; color:#9a3d18; font-size:10px; font-weight:850; text-align:center; }
.etsy-order-list { display:grid; gap:14px; margin-top:20px; }
.etsy-order { overflow:hidden; border:1px solid #d9dfe3; border-left:5px solid #55a4aa; border-radius:6px; background:white; }
.etsy-order>header { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 15px; border-bottom:1px solid #e5e9ec; background:#fbfcfc; }
.etsy-order>header>div:first-child,.etsy-order-summary { display:grid; gap:4px; }
.etsy-order>header strong { font-size:13px; }.etsy-order>header small { color:var(--muted); font-size:10px; }
.etsy-order-number { color:#176267; font-size:11px; font-weight:850; }
.etsy-order-summary { justify-items:end; }.etsy-order-summary>strong { font-size:16px; }
.etsy-badge { padding:5px 8px; border-radius:11px; font-size:10px; font-weight:850; }
.etsy-badge.is-ready,.etsy-badge.is-created { background:#e8f7ee; color:#276642; }.etsy-badge.is-warning { background:#fff2c7; color:#805b0c; }.etsy-badge.is-error { background:#fff1f2; color:#9f1239; }.etsy-badge.is-working { background:#edf7fc; color:#245b8f; }
.etsy-items,.etsy-issues { display:grid; gap:0; margin:0; padding:0 15px; list-style:none; }
.etsy-item { min-height:56px; display:grid; grid-template-columns:minmax(220px,1fr) minmax(220px,1fr); gap:18px; align-items:center; border-bottom:1px solid #ebe7e9; }
.etsy-item>div { display:grid; gap:3px; }.etsy-item strong { font-size:11px; }.etsy-item small,.etsy-item>span { color:var(--muted); font-size:10px; }
.etsy-item.is-unmatched .etsy-item-mapping>span { color:#9f1239; font-weight:800; }
.etsy-item-mapping { justify-items:start; align-items:center; grid-template-columns:minmax(0,1fr) auto; column-gap:10px!important; }.etsy-item-mapping>span { grid-column:1; grid-row:1; }.etsy-item-mapping>button { grid-column:2; grid-row:1; min-height:30px; padding:5px 9px; font-size:10px; }.etsy-manual-badge { color:#08686d!important; font-weight:800; }
.etsy-mapped-components { grid-column:1/-1; width:100%; display:grid; gap:4px; margin:4px 0 0; padding:0; list-style:none; }.etsy-mapped-components li { min-height:38px; display:grid; grid-template-columns:32px minmax(0,1fr) 28px; gap:8px; align-items:center; padding:4px 6px; border:1px solid #d8e6e8; border-radius:4px; background:#f4fbfb; }.etsy-mapped-components span { display:grid; gap:1px; }.etsy-mapped-components strong { font-size:10px; }.etsy-component-image { width:32px; height:32px; border-radius:3px; object-fit:cover; }.etsy-delete-component { width:28px; height:28px; display:grid; place-items:center; padding:0; border:0; background:transparent; color:#b11d36; cursor:pointer; }.etsy-delete-component svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; }
.etsy-mapping-form { grid-column:1/-1; width:100%; margin:0 0 12px; padding:13px; border:1px solid #b9d9dc; border-radius:5px; background:#f4fbfb; }.etsy-mapping-heading { display:flex!important; align-items:flex-start; justify-content:space-between; gap:16px!important; margin-bottom:10px; }.etsy-mapping-heading>div { display:grid; gap:3px; }.etsy-mapping-heading small { font-size:10px; }.etsy-mapping-search { display:grid!important; grid-template-columns:minmax(180px,1fr) auto; gap:8px!important; align-items:end; }.etsy-mapping-search label,.etsy-mapping-quantity { display:grid; gap:4px; }.etsy-mapping-search label>span,.etsy-mapping-quantity>span { color:var(--muted); font-size:9px; font-weight:750; }.etsy-mapping-search input,.etsy-mapping-quantity input { min-height:36px; padding:8px 9px; border:1px solid #cbd4d9; border-radius:5px; background:white; }.etsy-mapping-results { display:grid!important; gap:5px!important; max-height:230px; margin-top:9px; overflow:auto; }.etsy-mapping-result { width:100%; display:grid; grid-template-columns:38px minmax(0,1fr); gap:9px; align-items:center; padding:6px; border:1px solid #d8e1e4; border-radius:4px; background:white; text-align:left; cursor:pointer; }.etsy-mapping-result:hover,.etsy-mapping-result.is-selected { border-color:#0b7378; background:#eaf8f8; }.etsy-mapping-result span { display:grid; gap:2px; }.etsy-mapping-image { width:38px; height:38px; object-fit:cover; border-radius:4px; }.etsy-mapping-selection { margin-top:8px; color:#08686d; font-size:10px; font-weight:800; }.etsy-mapping-quantity { width:min(220px,100%); margin-top:9px; }.etsy-mapping-actions { display:flex!important; justify-content:flex-end; margin-top:9px; }.etsy-mapping-actions button { min-height:34px; }
.etsy-issues { gap:5px; padding-top:11px; padding-bottom:4px; }.etsy-issues li { padding:7px 9px; border-left:3px solid #d2a91f; background:#fff9e8; color:#654b0d; font-size:11px; }.etsy-issues li.is-block { border-color:#c81e1e; background:#fff1f2; color:#8f1726; }
.etsy-customer-note,.etsy-payment-warning,.etsy-error { margin:10px 15px 0; padding:9px 10px; font-size:11px; line-height:1.45; }
.etsy-customer-note { border-left:3px solid #55a4aa; background:#edfafa; }.etsy-payment-warning { border-left:3px solid #d2a91f; background:#fff9e8; }.etsy-error { border-left:3px solid #c81e1e; background:#fff1f2; color:#8f1726; }
.etsy-platform-note { margin:10px 15px 0; padding:10px 12px; border-left:3px solid #d2a91f; background:#fff9e8; color:#654b0d; font-size:11px; line-height:1.5; }.etsy-platform-note strong { display:block; margin-bottom:3px; }.etsy-platform-note p { margin:2px 0; white-space:pre-wrap; }
.etsy-error { display:flex; align-items:center; justify-content:space-between; gap:12px; }.etsy-error .secondary-button { min-height:30px; flex:0 0 auto; font-size:10px; }
.etsy-address-form { margin:10px 15px 14px; padding:13px; border:1px solid #b9d9dc; background:#f4fbfb; }.etsy-address-form-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }.etsy-address-form-heading>div { display:grid; gap:3px; }.etsy-address-form-heading strong { font-size:12px; }.etsy-address-form-heading small { color:var(--muted); font-size:10px; }.etsy-address-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }.etsy-address-fields label { min-width:0; display:grid; gap:4px; }.etsy-address-fields label span { color:var(--muted); font-size:9px; font-weight:750; }.etsy-address-fields input { width:100%; min-height:36px; padding:8px 9px; border:1px solid #cbd4d9; border-radius:5px; background:white; }.etsy-address-fields .etsy-address-wide { grid-column:span 2; }.etsy-address-actions { display:flex; justify-content:flex-end; margin-top:11px; }.etsy-address-actions button { min-height:34px; }
.etsy-price-breakdown { display:flex; flex-wrap:wrap; gap:8px 24px; margin:0; padding:10px 15px; border-bottom:1px solid #edf0f2; background:#f8fafb; }
.etsy-price-breakdown div { display:grid; gap:2px; }.etsy-price-breakdown dt { color:var(--muted); font-size:9px; }.etsy-price-breakdown dd { margin:0; font-size:11px; font-weight:750; }
.etsy-price-breakdown .etsy-paid-total { margin-left:auto; text-align:right; }.etsy-price-breakdown .etsy-paid-total dd { color:#176267; font-size:13px; }
.etsy-order>footer { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; padding:12px 15px; border-top:1px solid #edf0f2; }
.etsy-local-actions { display:flex; align-items:center; gap:7px; }.etsy-local-actions .secondary-button { min-height:34px; font-size:11px; }
.etsy-delete-order { width:34px; height:34px; display:grid; place-items:center; padding:0; border:1px solid #d3d8dd; border-radius:6px; background:white; color:#8f1726; cursor:pointer; }.etsy-delete-order:hover { background:#fff1f2; border-color:#e7a6af; }.etsy-delete-order svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.etsy-idosell-action { display:grid; justify-items:end; gap:6px; }.etsy-idosell-action>small { color:var(--muted); font-size:9px; }.etsy-created-label { color:#276642; font-size:11px; font-weight:850; }
.etsy-created-orders { margin-top:18px; border:1px solid #d7dde2; background:#f4f5f6; }
.etsy-created-orders>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; cursor:pointer; font-weight:850; color:#535d66; }
.etsy-created-orders>summary small { min-width:26px; padding:3px 8px; border-radius:999px; background:#e2e6e9; text-align:center; }
.etsy-created-orders-list { padding:0 12px 12px; }
.etsy-order.is-created { opacity:.72; filter:saturate(.35); background:#f7f7f7; }
.etsy-ignored { margin-top:22px; border-top:1px solid var(--line); }.etsy-ignored summary { padding:14px 2px; cursor:pointer; color:var(--muted); font-size:12px; font-weight:750; }.etsy-ignored summary span { margin-left:5px; }
.etsy-ignored-list { display:grid; }.etsy-ignored-row { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:9px 2px; border-bottom:1px solid var(--line); }.etsy-ignored-row>div { display:grid; gap:3px; }.etsy-ignored-row strong { font-size:11px; }.etsy-ignored-row small { color:var(--muted); font-size:10px; }
.trendyol-section .etsy-order { border-left-color:#e46b36; }
.trendyol-section .etsy-order-number { color:#9a3d18; }
.trendyol-section .etsy-price-breakdown .etsy-paid-total dd { color:#9a3d18; }
.trendyol-passed { margin-top:28px; border-top-color:#bee2cc; }.trendyol-passed summary { color:#276642; }.trendyol-passed-row { padding-left:10px; border-left:4px solid #55a975; }.trendyol-passed-row .secondary-button { min-height:32px; display:inline-flex; align-items:center; text-decoration:none; }
.trendyol-workflow { display:flex; flex-wrap:wrap; gap:7px; padding:10px 15px; border-top:1px solid #edf0f2; background:#fbfcfc; }
.trendyol-workflow span { padding:5px 8px; border:1px solid #d9dfe3; border-radius:4px; color:var(--muted); font-size:9px; font-weight:750; }
.trendyol-workflow span.is-done { border-color:#bee2cc; background:#effaf4; color:#276642; }
.emag-section { padding:25px 0 6px; }
.emag-heading { align-items:center; }
.emag-summary { min-height:44px; display:flex; align-items:center; gap:22px; margin-top:18px; padding:10px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; }
.emag-summary span { display:flex; align-items:baseline; gap:5px; }.emag-summary strong { color:var(--ink); font-size:18px; }
.emag-document-list { display:grid; }
.emag-document-row { min-height:76px; display:grid; grid-template-columns:minmax(210px,1fr) minmax(180px,.8fr) auto; gap:10px 18px; align-items:center; padding:13px 4px; border-bottom:1px solid var(--line); }
.emag-document-row>div { min-width:0; display:grid; gap:4px; }.emag-document-row strong { overflow-wrap:anywhere; font-size:12px; }.emag-document-row a { color:#176267; font-size:11px; font-weight:750; }.emag-document-row small,.emag-muted { color:var(--muted); font-size:9px; }
.emag-order-number { color:#234b87; font-size:10px; font-weight:850; text-transform:uppercase; }
.emag-status { padding:6px 9px; border-radius:11px; font-size:10px; font-weight:800; white-space:nowrap; }.emag-status.is-complete { background:#eaf8ef; color:#276642; }.emag-status.is-pending,.emag-status.is-processing { background:#edf7fc; color:#176080; }.emag-status.is-warning { background:#fff9e8; color:#805b0c; }.emag-status.is-error { background:#fff1f2; color:#9f1239; }
.emag-document-row>p { grid-column:1/-1; margin:0; padding:7px 9px; border-left:3px solid #d2a91f; background:#fff9e8; color:#594713; font-size:10px; line-height:1.45; }
.idosell-products-heading { align-items:center; }
.sync-summary { margin:5px 0 0; color:var(--muted); font-size:11px; }
.idosell-toolbar { margin-top:22px; }
.idosell-product-count { margin-top:14px; padding-bottom:8px; border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; }
.idosell-product-list { display:grid; }
.idosell-product-row { min-height:88px; display:grid; grid-template-columns:62px minmax(220px,1fr) 110px minmax(260px,1.2fr); gap:14px; align-items:center; padding:10px 3px; border-bottom:1px solid var(--line); }
.idosell-product-image,.idosell-image-placeholder { width:62px; height:62px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:white; }
.idosell-image-placeholder { display:grid; place-items:center; color:var(--muted); font-size:9px; text-align:center; }
.idosell-product-main,.idosell-product-weight { min-width:0; display:grid; gap:4px; }
.idosell-product-main strong { overflow-wrap:anywhere; font-size:12px; }
.idosell-product-main small,.idosell-product-weight small { color:var(--muted); font-size:10px; }
.idosell-product-weight strong { font-size:11px; }
.idosell-variant-list { display:grid; gap:4px; margin:0; padding:0; list-style:none; }
.idosell-variant-list li { min-height:25px; display:grid; grid-template-columns:minmax(80px,1fr) minmax(100px,1fr) 72px; gap:8px; align-items:center; padding:3px 6px; border:1px solid #e6e8eb; border-radius:5px; background:white; font-size:10px; }
.idosell-variant-list span { overflow-wrap:anywhere; }.idosell-variant-list strong { overflow-wrap:anywhere; font-size:10px; }.idosell-variant-list small { color:var(--muted); text-align:right; }
.users-section { padding-top:25px; }
.section-heading { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.section-heading h2 { margin:0; font-size:19px; }.section-heading p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.user-form { grid-template-columns:repeat(2,minmax(0,1fr)); margin:20px 0; padding:18px; border:1px solid var(--line); border-radius:8px; background:white; }
.user-form .form-error,.user-form .form-actions { grid-column:1/-1; }.form-actions { display:flex; justify-content:flex-end; gap:9px; }
.user-list { margin-top:18px; border-top:1px solid var(--line); }
.user-row { min-height:66px; display:grid; grid-template-columns:34px minmax(0,1fr) auto auto; gap:12px; align-items:center; padding:10px 3px; border-bottom:1px solid var(--line); }
.user-avatar { width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#d7f0f0;color:#176267;font-weight:800; }
.user-row>div:not(.user-actions) { display:grid; gap:4px; }.user-row strong { font-size:13px; }.user-row small { color:var(--muted); font-size:11px; }
.user-actions { display:flex; gap:7px; }
.account-state { padding:5px 8px; border-radius:11px; font-size:10px; font-weight:800; }.account-state.active { background:#effaf4;color:#276642; }.account-state.waiting { background:#fff9e8;color:#805b0c; }.own-account { color:var(--muted);font-size:11px; }
dialog { width:min(430px,calc(100% - 30px)); padding:24px; border:1px solid var(--line); border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.2); }
dialog::backdrop { background:rgba(31,41,55,.35); }dialog h2 { margin:0;font-size:19px; }dialog p { color:var(--muted);font-size:12px;line-height:1.5; }
dialog output { display:block; overflow-wrap:anywhere; margin:18px 0; padding:14px; border:1px dashed #c98aa8; background:#fff5fa; color:#831843; font:700 16px ui-monospace,SFMono-Regular,monospace; }
.permission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; margin:12px 0 5px; }
.permission-grid label { min-height:38px; display:flex; align-items:center; gap:9px; padding:7px 9px; border:1px solid var(--line); border-radius:6px; font-size:12px; }
.permission-grid input { width:17px; height:17px; flex:0 0 auto; padding:0; }
.permission-grid .fixed-permission { background:#effaf4; color:#276642; }
.sewing-section { padding:25px 0 6px; }
.shipping-section { padding:25px 0 6px; }
.shipping-provider-module { overflow:hidden; border:1px solid #c8d9e8; border-top:6px solid #5489be; border-radius:6px; background:white; }
.shipping-provider-module + .shipping-provider-module { margin-top:46px; }
.shipping-provider-module.is-apaczka { border-color:#ead1c1; border-top-color:#df7234; }
.shipping-provider-header { min-height:94px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:17px 20px; border-bottom:1px solid #c8d9e8; background:#edf6fc; }
.shipping-provider-module.is-apaczka .shipping-provider-header { border-bottom-color:#ead1c1; background:#fff2ea; }
.shipping-provider-header>div { min-width:0; display:grid; gap:3px; }
.shipping-provider-header h2 { margin:0; color:#183d60; font-size:24px; line-height:1.2; letter-spacing:0; }
.shipping-provider-module.is-apaczka .shipping-provider-header h2 { color:#813b17; }
.shipping-provider-header .sync-summary { margin:0; }
.shipping-provider-kicker { color:#5489be; font-size:9px; font-weight:850; text-transform:uppercase; }
.shipping-provider-module.is-apaczka .shipping-provider-kicker { color:#b55520; }
.shipping-provider-content { padding:0 18px 20px; }
.shipping-service-badge { padding:7px 10px; border:1px solid #9bc9dc; border-radius:6px; background:#eef8fc; color:#245b8f; font-size:11px; font-weight:850; }
.shipping-service-badge.is-apaczka { border-color:#f0b48f; background:#fff5ef; color:#91451c; }
.shipping-form { display:grid; grid-template-columns:minmax(180px,1.2fr) minmax(120px,.55fr) minmax(390px,2fr) auto; gap:12px; align-items:end; margin-top:20px; padding:15px; border:1px solid #bfd7f2; border-left:5px solid #5489be; border-radius:6px; background:#f4f8fc; }
.shipping-form label { min-width:0; }
.shipping-form input { background:white; }
.shipping-form.is-apaczka { border-color:#efc4a9; border-left-color:#df7234; background:#fff8f4; }
.shipping-dimensions { min-width:0; display:grid; grid-template-columns:repeat(3,minmax(80px,1fr) auto) minmax(80px,1fr); gap:7px; align-items:end; margin:0; padding:0; border:0; }
.shipping-dimensions legend { margin-bottom:6px; color:var(--ink); font-size:12px; font-weight:700; }
.shipping-dimensions>span { align-self:center; margin-top:19px; color:var(--muted); font-size:13px; }
.shipping-form-error { margin-top:12px; }
.shipping-preview { margin-top:18px; overflow:hidden; border:1px solid #b9dcdf; border-left:5px solid #55a4aa; border-radius:6px; background:white; }
.shipping-preview>header { display:flex; justify-content:space-between; gap:18px; padding:15px; border-bottom:1px solid #d3e8e9; background:#f1fafa; }
.shipping-preview h2 { margin:4px 0; font-size:17px; }.shipping-preview header p { margin:0; color:var(--muted); font-size:11px; }
.shipping-preview-label { color:#176267; font-size:10px; font-weight:850; text-transform:uppercase; }
.shipping-preview-total { min-width:150px; display:grid; justify-items:end; gap:3px; text-align:right; }.shipping-preview-total small,.shipping-preview-total span { color:var(--muted); font-size:9px; }.shipping-preview-total strong { font-size:18px; }
.shipping-preview-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:0; border-bottom:1px solid var(--line); }
.shipping-preview-facts>div { display:grid; gap:3px; padding:10px 15px; border-right:1px solid var(--line); }.shipping-preview-facts>div:last-child { border-right:0; }.shipping-preview-facts dt { color:var(--muted); font-size:9px; }.shipping-preview-facts dd { margin:0; font-size:11px; font-weight:800; }
.shipping-preview-items { padding:0 15px; }
.shipping-preview-item { min-height:64px; display:grid; grid-template-columns:minmax(220px,1fr) 110px minmax(220px,.9fr); gap:14px; align-items:center; border-bottom:1px solid var(--line); }
.shipping-preview-item>div { display:grid; gap:4px; }.shipping-preview-item strong { font-size:12px; }.shipping-preview-item small { color:var(--muted); font-size:10px; }.shipping-preview-item>span { font-size:11px; font-weight:750; }
.shipping-hs-select { color:var(--muted); font-size:9px; }.shipping-hs-select select { height:34px; font-size:10px; }.shipping-hs-code { color:#4b5563; font-size:10px!important; font-weight:650!important; }.shipping-mapping-missing { color:#9f1239; }
.shipping-preview>.form-error { margin:12px 15px 0; }
.shipping-existing-label { display:flex; gap:12px; margin:14px 15px 0; padding:11px 12px; border-left:4px solid #d2a91f; background:#fff9e8; color:#594713; }
.shipping-existing-label>div { display:grid; gap:4px; }.shipping-existing-label strong { font-size:11px; }.shipping-existing-label span { font-size:10px; line-height:1.45; }
.apaczka-preview { border-color:#efc4a9; border-left-color:#df7234; }
.apaczka-preview>header { border-bottom-color:#f1d6c5; background:#fff8f4; }
.apaczka-service-list { display:grid; gap:7px; margin:0; padding:15px; border:0; }
.apaczka-service-list legend { padding-top:14px; font-size:12px; font-weight:850; }
.apaczka-service-option { min-height:54px; display:grid; grid-template-columns:20px minmax(0,1fr) auto; gap:11px; align-items:center; padding:9px 11px; border:1px solid var(--line); border-radius:6px; background:white; cursor:pointer; }
.apaczka-service-option:has(input:checked) { border-color:#df7234; box-shadow:0 0 0 2px #fce3d4; }
.apaczka-service-option input { width:17px; height:17px; }
.apaczka-service-option span { display:grid; gap:3px; }.apaczka-service-option strong { font-size:12px; }.apaczka-service-option small { color:var(--muted); font-size:9px; }.apaczka-service-option b { font-size:13px; }
.shipping-warning { margin:12px 15px 0; padding:9px 11px; border-left:3px solid #d2a91f; background:#fff9e8; color:#594713; font-size:10px; }
.shipping-preview-actions { display:flex; justify-content:flex-end; gap:9px; padding:13px 15px; }
.shipping-history { margin-top:26px; border-top:1px solid var(--line); }
.shipping-history>summary { min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 2px; cursor:pointer; list-style:none; }
.shipping-history>summary::-webkit-details-marker { display:none; }
.shipping-history>summary::before { content:"›"; width:22px; flex:0 0 22px; color:#64717d; font-size:24px; line-height:1; transform:rotate(0); transition:transform .15s ease; }
.shipping-history[open]>summary::before { transform:rotate(90deg); }
.shipping-history>summary strong { flex:1; font-size:16px; }
.shipping-history>summary span { color:var(--muted); font-size:11px; }
.shipping-history-body { padding-bottom:4px; }
.shipping-history-search { width:min(360px,100%); display:grid; gap:5px; margin:8px 0 13px; color:var(--muted); font-size:10px; }
.shipping-history-search input { height:38px; background:white; }
.shipping-list { display:grid; }
.shipping-row { min-height:72px; display:grid; grid-template-columns:120px minmax(180px,1fr) 130px minmax(140px,.7fr) auto auto; gap:14px; align-items:center; padding:10px 3px; border-bottom:1px solid var(--line); }
.shipping-row>div { min-width:0; display:grid; gap:4px; }.shipping-row strong { overflow-wrap:anywhere; font-size:12px; }.shipping-row small { color:var(--muted); font-size:9px; }.shipping-tracking strong { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:10px; }
.shipping-carrier span { color:var(--muted); font-size:9px; }
.shipping-status { padding:5px 8px; border-radius:11px; font-size:10px; font-weight:800; }.shipping-status.is-created { background:#eaf8ef; color:#276642; }.shipping-status.is-creating { background:#edf7fc; color:#176080; }.shipping-status.is-error { background:#fff1f2; color:#9f1239; }
.shipping-row-error { grid-column:2/-1; margin:0; padding:6px 8px; border-left:3px solid #c81e1e; background:#fff1f2; color:#9f1239; font-size:10px; }
.sewing-heading { align-items:center; }
.sewing-heading-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.sewing-queue-search { max-width:520px; display:grid; gap:6px; margin-top:18px; }
.sewing-queue-search label { font-size:12px; }
.sewing-queue-search input { height:42px; background:white; }
.sewing-stage { margin-top:20px; padding:0 14px 8px; border:1px solid var(--line); border-left-width:5px; border-radius:6px; }
.sewing-stage-queued { border-color:#ead99f; border-left-color:#d2a91f; background:#fffaf0; }
.sewing-stage-progress { border-color:#b9dcdf; border-left-color:#55a4aa; background:#f2fafb; }
.sewing-stage-completed { border-color:#bee2cc; border-left-color:#51a673; background:#f2fbf6; }
body[data-user-role="seamstress"] .sewing-stage-completed { position:relative; margin-top:38px; border-color:#d8dadd; border-left-color:#9ca1a8; background:#f7f7f7; }
body[data-user-role="seamstress"] .sewing-stage-completed::before { content:""; position:absolute; left:-1px; right:-1px; top:-20px; border-top:2px solid #cfd2d6; }
body[data-user-role="seamstress"] .sewing-stage-completed .queue-heading { color:#5f646b; }
body[data-user-role="seamstress"] .sewing-stage-completed .sewing-row { background:transparent; }
.sewing-list { display:grid; }
.sewing-row { min-height:86px; display:grid; grid-template-columns:52px minmax(190px,1.25fr) minmax(140px,.8fr) 100px minmax(110px,.6fr) auto; gap:13px; align-items:center; padding:10px 3px; border-bottom:1px solid var(--line); }
.sewing-row img,.sewing-row>.queue-image-placeholder { width:52px; height:52px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:white; }
.sewing-product,.sewing-progress,.sewing-person { min-width:0; display:grid; gap:4px; }
.sewing-product strong { overflow-wrap:anywhere; font-size:12px; }
.sewing-product span,.sewing-product small,.sewing-progress span,.sewing-person span,.sewing-person small,.sewing-orders small { color:var(--muted); font-size:10px; line-height:1.4; }
.sewing-product .sewing-product-size { color:var(--ink); font-size:15px; font-weight:850; line-height:1.2; }
.sewing-product .sewing-product-code { font-size:9px; }
.sewing-duplicate-actions { margin-top:18px; flex-wrap:wrap; }
.sewing-item-note { display:grid; gap:3px; margin-top:4px; padding:7px 8px; border:1px solid #e4bf57; border-left:4px solid #c98a00; background:#fff4c7; }
.sewing-item-note strong { color:#805200; font-size:9px; }
.sewing-item-note span { color:#3f330f!important; font-size:11px!important; font-weight:750; line-height:1.45!important; overflow-wrap:anywhere; }
.sewing-progress strong { font-size:14px; }
.sewing-orders { display:grid; gap:5px; min-width:0; }
.sewing-orders>div { display:flex; flex-wrap:wrap; gap:4px; }
.sewing-orders>div span { padding:4px 6px; border:1px solid #d7dadd; border-radius:5px; background:white; font-size:10px; font-weight:800; }
.sewing-orders>div em { color:var(--muted); font-size:10px; font-style:normal; }
.sewing-tool-button { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; padding:0; border:1px solid #c9ced5; border-radius:5px; background:white; color:#4e5965; cursor:pointer; }
.sewing-tool-button:hover,.sewing-tool-button:focus-visible { border-color:var(--brand-dark); background:#fff5f8; color:var(--brand-dark); }
.sewing-tool-button svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.sewing-correction-button { color:#805b0c; border-color:#dfcb8f; }
.sewing-drag-handle { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; padding:0; border:0; border-radius:5px; background:transparent; color:#69717a; cursor:grab; touch-action:none; }
.sewing-drag-handle:hover,.sewing-drag-handle:focus-visible { background:#eef2f3; color:var(--brand-dark); }
.sewing-drag-handle:active { cursor:grabbing; }
.sewing-drag-handle svg { width:18px; height:18px; fill:currentColor; }
.sewing-row.is-pointer-dragging { opacity:.5; outline:2px solid var(--brand-dark); outline-offset:-2px; }
body.sewing-reordering { cursor:grabbing; user-select:none; }
.sewing-row-blocked { border-left:3px solid #d6a31b; padding-left:8px; background:#fffdf5; }
.sewing-shortage-alert { width:max-content; padding:5px 8px; border-radius:5px; background:#fff0c7; color:#785607!important; font-weight:800; }
.sewing-history { grid-column:2/-1; margin-top:-4px; }
.sewing-history summary { width:max-content; color:var(--muted); cursor:pointer; font-size:10px; font-weight:700; }
.sewing-history ul { display:grid; gap:5px; max-width:560px; margin:8px 0 0; padding:8px 10px; border-left:3px solid #c8d9d0; background:rgba(255,255,255,.65); list-style:none; }
.sewing-history li { display:flex; justify-content:space-between; gap:12px; font-size:10px; }
.sewing-history li small { color:var(--muted); }
.sewing-product-results { max-height:320px; overflow:auto; border-top:1px solid var(--line); }
.sewing-result-row { display:grid; grid-template-columns:48px minmax(150px,.8fr) minmax(220px,1.2fr); gap:10px; align-items:start; padding:9px 2px; border-bottom:1px solid var(--line); }
.sewing-result-row img,.sewing-result-row>.queue-image-placeholder { width:48px; height:48px; }
.sewing-result-row>div { min-width:0; display:grid; gap:4px; }
.sewing-result-row strong { overflow-wrap:anywhere; font-size:11px; }
.sewing-result-row small { color:var(--muted); font-size:9px; }
.sewing-variant-buttons { display:flex!important; flex-wrap:wrap; gap:5px!important; }
.sewing-variant-choice { min-width:148px; min-height:42px; display:grid; justify-items:start; gap:2px; padding:6px 9px; border:1px solid #d975a5; border-radius:5px; background:#fff5fa; color:#7b234f; cursor:pointer; text-align:left; }
.sewing-variant-choice:hover,.sewing-variant-choice:focus-visible { border-color:var(--brand-dark); background:#fce7f3; outline:2px solid rgba(219,39,119,.15); outline-offset:1px; }
.sewing-variant-choice strong { color:var(--brand-dark); font-size:11px; }
.sewing-variant-choice span { color:#66515b; font-size:9px; line-height:1.3; }
.sewing-selected-product { min-height:66px; display:grid; grid-template-columns:54px 1fr; gap:11px; align-items:center; padding:7px; border:1px solid #b9dcdf; border-left:4px solid #55a4aa; background:#f2fafb; }
.sewing-selected-product[hidden] { display:none; }
.sewing-selected-product img,.sewing-selected-product>.queue-image-placeholder { width:54px; height:54px; }
.sewing-selected-product>div { display:grid; gap:5px; }
.sewing-selected-product small { color:#176267; font-size:9px; font-weight:850; text-transform:uppercase; }.sewing-selected-product strong { font-size:12px; }.sewing-selected-product span { color:var(--muted); font-size:11px; }
.sewing-form-grid { display:grid; grid-template-columns:150px 1fr; gap:14px; }
.wholesale-sewing-search { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:10px; align-items:end; }
.wholesale-sewing-order-summary { display:flex; justify-content:space-between; gap:12px; align-items:end; padding:12px 0; border-bottom:1px solid var(--line); }
.wholesale-sewing-order-summary strong,.wholesale-sewing-order-summary span { display:block; }
.wholesale-sewing-order-summary span { margin-top:3px; color:var(--muted); font-size:12px; }
.wholesale-sewing-select-all { display:flex; align-items:center; gap:7px; width:auto; }
.wholesale-sewing-select-all input,.wholesale-sewing-item>input { width:18px; height:18px; margin:0; }
.wholesale-sewing-items { display:grid; }
.wholesale-sewing-item { display:grid; grid-template-columns:18px 46px minmax(0,1fr) 118px; gap:10px; align-items:center; min-height:70px; padding:10px 0; border-bottom:1px solid var(--line); }
.wholesale-sewing-item.is-unavailable { opacity:.58; }
.wholesale-sewing-item img,.wholesale-sewing-item>.queue-image-placeholder { width:46px; height:46px; }
.wholesale-sewing-product { min-width:0; display:grid; gap:3px; }
.wholesale-sewing-product strong { overflow-wrap:anywhere; font-size:12px; }
.wholesale-sewing-product span { font-weight:800; }
.wholesale-sewing-product small { color:var(--muted); }
.wholesale-sewing-quantity input { text-align:center; }
.wholesale-sewing-quantity small { display:block; margin-top:3px; color:var(--muted); text-align:center; }
@media(max-width:620px){.wholesale-sewing-search{grid-template-columns:1fr}.wholesale-sewing-search button{justify-self:start}.wholesale-sewing-order-summary{align-items:flex-start;flex-direction:column}.wholesale-sewing-item{grid-template-columns:18px 42px minmax(0,1fr)}.wholesale-sewing-item img,.wholesale-sewing-item>.queue-image-placeholder{width:42px;height:42px}.wholesale-sewing-quantity{grid-column:3}}
.wholesale-section { padding:25px 0 6px; }
.wholesale-heading { align-items:center; }
.wholesale-order-list { display:grid; gap:12px; margin-top:20px; }
.wholesale-order { overflow:hidden; border:1px solid #b9dcdf; border-left:5px solid #55a4aa; border-radius:6px; background:#f7fcfc; }
.wholesale-order.is-complete { border-color:#bee2cc; border-left-color:#51a673; background:#f5fbf7; }
.wholesale-order-header { min-height:86px; display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:24px; align-items:center; padding:14px 16px; border-bottom:1px solid rgba(85,164,170,.28); background:rgba(255,255,255,.7); }
.wholesale-order:not(.is-expanded) .wholesale-order-header { border-bottom:0; }
.wholesale-order-header>div { min-width:0; display:grid; gap:4px; }
.wholesale-order-header small { color:var(--muted); font-size:10px; }
.wholesale-order-toggle { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 28px; gap:12px; align-items:center; padding:0; border:0; color:inherit; background:transparent; text-align:left; cursor:pointer; }
.wholesale-order-heading { min-width:0; display:grid; gap:4px; }
.wholesale-order-heading strong { overflow-wrap:anywhere; font-size:17px; }
.wholesale-toggle-icon { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; transition:transform .15s ease; }
.wholesale-order.is-expanded .wholesale-toggle-icon { transform:rotate(180deg); }
.wholesale-order-number { color:#176267; font-size:11px; font-weight:900; text-transform:uppercase; }
.wholesale-order-total { text-align:right; }
.wholesale-order-total strong { font-size:17px; }
.wholesale-order-total>span { color:var(--muted); font-size:10px; }
.wholesale-order-actions { display:flex; justify-content:flex-end; gap:7px; margin-top:5px; }
.wholesale-order-actions button { min-height:32px; padding:6px 9px; font-size:10px; }
.wholesale-dispatch-action { display:flex; justify-content:flex-end; padding:0 16px 12px; background:#fff; }
.wholesale-dispatch-action button { display:inline-flex; align-items:center; gap:8px; }
.wholesale-payment-section { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.wholesale-payment-section h2 { display:flex; align-items:center; gap:10px; margin:0 0 12px; font-size:17px; }
.wholesale-payment-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.wholesale-payment-heading h2 { margin:0; }
.wholesale-payment-scroll { overflow-x:auto; }
.wholesale-payment-table { width:100%; border-collapse:collapse; background:#fff; text-align:left; }
.wholesale-payment-table th,.wholesale-payment-table td { padding:12px; border-bottom:1px solid var(--line); font-size:12px; }
.wholesale-payment-table th { font-size:11px; color:var(--muted); }
.wholesale-payment-table .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.wholesale-payment-table td { vertical-align:top; }
.wholesale-payment-table a { font-weight:700; }
.wholesale-payment-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.wholesale-payment-actions button { font-size:11px; min-height:34px; }
.wholesale-paid-history { margin-top:16px; }
.wholesale-paid-history>summary { padding:12px 0; font-weight:700; cursor:pointer; }
.wholesale-dispatch-choices { flex-wrap:wrap; }
@media(max-width:600px) {
  .wholesale-dispatch-action { justify-content:flex-start; padding:0 12px 12px; }
  .wholesale-payment-table,.wholesale-payment-table tbody { display:block; }
  .wholesale-payment-table thead { display:none; }
  .wholesale-payment-table tr { display:grid; grid-template-columns:auto minmax(0,1fr); padding:12px 0; border-bottom:1px solid var(--line); }
  .wholesale-payment-table td { border:0; padding:5px 8px; overflow-wrap:anywhere; }
  .wholesale-payment-table td:nth-child(n+3) { grid-column:1/-1; }
  .wholesale-payment-table td[data-label]::before { content:attr(data-label) ": "; color:var(--muted); }
  .wholesale-payment-actions { justify-content:flex-start; }
  .wholesale-dispatch-choices { display:grid; }
}
.wholesale-refresh-order { display:inline-flex; align-items:center; gap:5px; }
.wholesale-refresh-order svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; }
.wholesale-progress-track { width:100%; height:8px; overflow:hidden; appearance:none; border:0; border-radius:4px; background:#dce8e8; }
.wholesale-progress-track::-webkit-progress-bar { border-radius:4px; background:#dce8e8; }
.wholesale-progress-track::-webkit-progress-value { border-radius:4px; background:#248d95; }
.wholesale-progress-track::-moz-progress-bar { border-radius:4px; background:#248d95; }
.wholesale-order.is-complete .wholesale-progress-track::-webkit-progress-value,.wholesale-item.is-complete .wholesale-progress-track::-webkit-progress-value { background:#3a9660; }
.wholesale-order.is-complete .wholesale-progress-track::-moz-progress-bar,.wholesale-item.is-complete .wholesale-progress-track::-moz-progress-bar { background:#3a9660; }
.wholesale-order-note { margin:0; padding:10px 16px; border-bottom:1px solid rgba(85,164,170,.2); background:#fff9e8; font-size:11px; line-height:1.5; white-space:pre-wrap; }
.wholesale-items { display:grid; padding:0 14px; }
.wholesale-item { min-height:86px; display:grid; grid-template-columns:52px minmax(220px,1.15fr) minmax(230px,.85fr) auto; gap:14px; align-items:center; padding:10px 2px; border-bottom:1px solid var(--line); }
.wholesale-item.is-complete { background:rgba(239,250,244,.62); }
.wholesale-product-image,.wholesale-item>.queue-image-placeholder { width:52px; height:52px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:white; }
.wholesale-product,.wholesale-item-progress { min-width:0; display:grid; gap:4px; }
.wholesale-product strong { overflow-wrap:anywhere; font-size:12px; }
.wholesale-product span,.wholesale-product small,.wholesale-item-progress span,.wholesale-item-progress small { color:var(--muted); font-size:10px; line-height:1.4; }
.wholesale-product .wholesale-product-size { color:var(--ink); font-size:14px; font-weight:850; line-height:1.25; }
.wholesale-item-progress>div:first-child { display:flex; justify-content:space-between; gap:12px; }
.wholesale-item-progress strong { font-size:13px; }
.wholesale-add-progress { display:flex; align-items:end; justify-content:flex-end; gap:6px; }
.wholesale-add-progress label { width:96px; gap:3px; color:var(--muted); font-size:9px; }
.wholesale-add-progress input { height:36px; padding:0 8px; }
.wholesale-add-progress .primary-button { min-height:36px; }
.wholesale-item-note { grid-column:2/-1; display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:8px 12px; align-items:end; margin-top:-2px; padding:7px 9px; border-left:3px solid #b9dcdf; background:#f0f8f8; }
.wholesale-item-note.is-unread { border-left-color:#dc2626; background:#fff1f2; }
.wholesale-item-note label { gap:3px; color:var(--muted); font-size:9px; }
.wholesale-item-note textarea { min-height:36px; padding:8px 10px; resize:vertical; }
.wholesale-item-note>div { display:flex; gap:9px; align-items:center; justify-content:flex-end; }
.wholesale-item-note small { max-width:180px; color:var(--muted); font-size:9px; text-align:right; }
.wholesale-item-note-current { grid-column:1/-1; display:grid!important; gap:3px!important; justify-content:stretch!important; padding:7px 9px; border-left:3px solid #55a4aa; background:#fff; }
.wholesale-item-note-current p { margin:0; white-space:pre-wrap; font-size:11px; line-height:1.45; }
.wholesale-item-note-current small { max-width:none; text-align:left; }
.wholesale-note-save { min-height:30px; padding:0 10px; font-size:10px; }
.wholesale-item-note .form-error { grid-column:1/-1; margin:0; }
.wholesale-notes { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.7fr); gap:22px; padding:14px 16px; background:rgba(255,255,255,.72); }
.wholesale-notes h3 { margin:0 0 9px; font-size:13px; }
.wholesale-notes ul { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.wholesale-notes li { padding:7px 9px; border-left:3px solid #c8d9d0; background:#f6f8f8; }
.wholesale-notes li.is-unread { border-left-color:#dc2626; background:#fff1f2; }
.wholesale-notes li p { margin:0 0 3px; white-space:pre-wrap; font-size:11px; line-height:1.45; }
.wholesale-notes li small,.wholesale-notes .empty-note { color:var(--muted); font-size:9px; }
.wholesale-notes form { align-content:start; }
.wholesale-notes form .secondary-button { justify-self:end; }
.wholesale-note-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.wholesale-note-heading strong { font-size:10px; }
.wholesale-note-delete { flex:0 0 32px; width:32px; height:32px; display:grid; place-items:center; padding:0; border:1px solid #d8dde0; border-radius:4px; background:#fff; color:#a12942; cursor:pointer; }
.wholesale-note-delete:hover { border-color:#a12942; }
.wholesale-note-delete:disabled { opacity:.5; cursor:wait; }
.wholesale-note-delete .nav-icon { width:15px; height:15px; }

.wholesale-customers { display:grid; gap:18px; }
.wholesale-customers[hidden] { display:none; }
.wholesale-customers-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-bottom:15px; border-bottom:1px solid var(--line); }
.wholesale-customers-heading p { margin:0; }
.wholesale-customer-workspace { min-height:620px; display:grid; grid-template-columns:minmax(250px,320px) minmax(0,1fr); border:1px solid #d7dde0; background:#fff; }
.wholesale-customer-directory { display:grid; grid-template-rows:auto auto minmax(0,1fr); align-content:start; gap:8px; padding:16px; border-right:1px solid #d7dde0; background:#fbfcfc; }
.wholesale-customer-directory>label,.wholesale-note-search { color:#4e5960; font-size:11px; font-weight:800; }
.wholesale-customer-directory>input,.wholesale-note-search input { height:42px; background:#fff; }
.wholesale-customer-list { display:grid; align-content:start; gap:4px; margin-top:4px; }
.wholesale-customer-list-item { width:100%; min-height:60px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 11px; border:1px solid transparent; border-radius:5px; background:transparent; color:var(--ink); text-align:left; cursor:pointer; }
.wholesale-customer-list-item:hover { border-color:#cdd5d8; background:#fff; }
.wholesale-customer-list-item.is-active { border-color:#78aeb2; background:#fff; box-shadow:inset 3px 0 #23848b; }
.wholesale-customer-list-item>span:first-child { min-width:0; display:grid; gap:3px; }
.wholesale-customer-list-item strong { overflow:hidden; text-overflow:ellipsis; font-size:12px; }
.wholesale-customer-list-item small { overflow:hidden; text-overflow:ellipsis; color:var(--muted); font-size:9px; white-space:nowrap; }
.wholesale-customer-list-item>span:last-child { min-width:34px; display:grid; justify-items:center; color:#506067; }
.wholesale-customer-list-item b { font-size:14px; }
.wholesale-customer-detail { min-width:0; }
.wholesale-customer-detail>.empty-state { margin:36px; }
.wholesale-customer-profile { min-width:0; }
.wholesale-customer-profile-header { display:flex; justify-content:space-between; align-items:flex-start; gap:22px; padding:22px 24px 18px; border-bottom:1px solid #d7dde0; }
.wholesale-customer-profile-header h2 { margin:4px 0; font-size:23px; }
.wholesale-customer-profile-header p { margin:0; color:var(--muted); font-size:11px; }
.wholesale-customer-profile-header>div:last-child { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.wholesale-customer-kicker { color:#177078; font-size:9px; font-weight:900; }
.wholesale-customer-requirements { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #d7dde0; }
.wholesale-customer-requirements>div { min-height:125px; padding:16px 18px; border-right:1px solid #e0e5e7; border-bottom:1px solid #e0e5e7; }
.wholesale-customer-requirements>div:nth-child(2n) { border-right:0; }
.wholesale-customer-requirements>div:nth-last-child(-n+2) { border-bottom:0; }
.wholesale-customer-requirements h3,.wholesale-customer-section h3 { margin:0; font-size:13px; }
.wholesale-customer-requirements p { margin:8px 0 0; white-space:pre-wrap; color:#39464c; font-size:11px; line-height:1.55; }
.wholesale-customer-requirements .is-empty { color:#8b9499; }
.wholesale-customer-section { padding:20px 24px; border-bottom:1px solid #d7dde0; }
.wholesale-customer-section>header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px; }
.wholesale-customer-section>header>div { display:flex; align-items:baseline; gap:9px; }
.wholesale-customer-section>header span { color:var(--muted); font-size:10px; }
.wholesale-customer-products,.wholesale-customer-notes,.wholesale-customer-orders { display:grid; gap:8px; }
.wholesale-customer-products>article,.wholesale-customer-notes>article { padding:13px 14px; border:1px solid #d9dfe2; border-radius:5px; background:#fff; }
.wholesale-customer-products article>header,.wholesale-customer-notes article>header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.wholesale-customer-products article>header>div:first-child,.wholesale-customer-notes article>header>div:first-child { min-width:0; display:grid; gap:3px; }
.wholesale-customer-products article>header>div:last-child,.wholesale-customer-notes article>header>div:last-child { display:flex; gap:8px; }
.wholesale-customer-products article header strong { font-size:12px; }
.wholesale-customer-products article header span { color:var(--muted); font-size:10px; }
.wholesale-customer-product-specs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin-top:11px; background:#e2e6e8; }
.wholesale-customer-product-specs>div { min-height:64px; padding:9px 10px; background:#f8fafa; }
.wholesale-customer-product-specs b { color:#536168; font-size:9px; text-transform:uppercase; }
.wholesale-customer-product-specs p,.wholesale-customer-notes article>p { margin:5px 0 0; white-space:pre-wrap; font-size:11px; line-height:1.5; }
.wholesale-customer-notes article>header span { width:max-content; padding:3px 6px; border-radius:3px; background:#eaf5f5; color:#176267; font-size:8px; font-weight:900; text-transform:uppercase; }
.wholesale-customer-notes article>small { display:block; margin-top:9px; color:var(--muted); font-size:9px; }
.wholesale-note-search { max-width:500px; display:grid; gap:5px; margin-bottom:10px; }
.wholesale-customer-files { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.wholesale-customer-file { position:relative; width:148px; min-height:56px; border:1px solid #d9dfe2; border-radius:5px; background:#fff; }
.wholesale-customer-file>a,.wholesale-customer-file>button:first-child { width:100%; min-height:56px; display:grid; align-content:center; gap:2px; padding:8px 27px 8px 9px; border:0; background:transparent; color:inherit; text-align:left; text-decoration:none; cursor:pointer; }
.wholesale-customer-file strong,.wholesale-customer-file span { overflow:hidden; text-overflow:ellipsis; font-size:9px; white-space:nowrap; }
.wholesale-customer-file span { color:var(--muted); }
.wholesale-customer-file small { margin-top:4px; color:#39464c; font-size:9px; line-height:1.35; white-space:normal; }
.wholesale-customer-file.is-image { width:112px; }
.wholesale-customer-file.is-image>button:first-child { padding:0 0 7px; }
.wholesale-customer-file img { width:110px; height:88px; object-fit:cover; border-radius:4px 4px 0 0; }
.wholesale-customer-file.is-image span,.wholesale-customer-file.is-image small { padding:6px 8px 0; }
.wholesale-customer-file>.icon-close { position:absolute; right:3px; top:3px; width:23px; height:23px; min-height:23px; padding:0; background:rgba(255,255,255,.94); color:#9c2336; }
.wholesale-customer-orders article { min-height:48px; display:flex; justify-content:space-between; align-items:center; gap:14px; padding:8px 0; border-bottom:1px solid #e2e6e8; }
.wholesale-customer-orders article:last-child { border-bottom:0; }
.wholesale-customer-orders article>div { display:grid; gap:3px; }
.wholesale-customer-orders a { color:#176267; font-size:12px; font-weight:850; }
.wholesale-customer-orders span { color:var(--muted); font-size:9px; }
.wholesale-customer-orders strong { font-size:11px; }
.wholesale-customer-profile>footer { padding:12px 24px; color:var(--muted); font-size:9px; }
.wholesale-customer-shortcut { display:flex; justify-content:flex-end; padding:10px 16px 0; }
.wholesale-customer-dialog form { display:grid; gap:13px; }
.wholesale-customer-picker { display:grid; gap:12px; }
.wholesale-customer-picker>label { color:#4e5960; font-size:11px; font-weight:800; }
.wholesale-customer-picker-results { max-height:430px; display:grid; gap:7px; overflow:auto; }
.wholesale-customer-picker-result { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px 13px; border:1px solid #d7dde0; border-radius:5px; background:#fff; }
.wholesale-customer-picker-result>div { min-width:0; display:grid; gap:4px; }
.wholesale-customer-picker-result strong { font-size:12px; }
.wholesale-customer-picker-result span { color:#4f5e65; font-size:10px; }
.wholesale-customer-picker-result small { color:var(--muted); font-size:9px; }
.wholesale-customer-picker-result .secondary-button { min-width:90px; }
.wholesale-customer-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.wholesale-customer-form-grid .full-field { grid-column:1/-1; }
.wholesale-file-picker { display:grid; gap:6px; padding:10px; border:1px dashed #aebbc0; border-radius:5px; background:#fbfcfc; }
.wholesale-file-descriptions { display:grid; gap:9px; }
.wholesale-file-descriptions label { display:grid; gap:5px; }
.wholesale-file-descriptions strong { overflow-wrap:anywhere; font-size:10px; }
.wholesale-product-source { display:grid; gap:9px; padding:12px; border:1px solid #b9c6ca; background:#f7faf9; }
.wholesale-product-selected { padding:9px 11px; border-left:4px solid #23848b; background:#fff; color:#185e63; font-size:11px; font-weight:800; }
.wholesale-product-results { max-height:330px; display:grid; gap:7px; overflow:auto; }
.wholesale-product-results article { display:grid; grid-template-columns:58px minmax(0,1fr); gap:10px; align-items:start; padding:9px; border:1px solid #d7dde0; background:#fff; }
.wholesale-product-results article>img,.wholesale-product-results .catalog-image-placeholder { width:58px; height:58px; object-fit:contain; }
.wholesale-product-results article>div { min-width:0; display:grid; gap:4px; }
.wholesale-product-results strong { font-size:11px; }
.wholesale-product-results small,.wholesale-product-no-results { color:var(--muted); font-size:9px; }
.wholesale-product-variants { display:flex; flex-wrap:wrap; gap:5px; margin-top:4px; }
.wholesale-product-variants .secondary-button { min-height:31px; padding:5px 8px; font-size:9px; }
.text-button.is-danger { color:#a61f34; }
@media(max-width:980px){.wholesale-customer-workspace{grid-template-columns:240px minmax(0,1fr)}.wholesale-customer-requirements{grid-template-columns:1fr}.wholesale-customer-requirements>div,.wholesale-customer-requirements>div:nth-child(2n){border-right:0;border-bottom:1px solid #e0e5e7}.wholesale-customer-requirements>div:last-child{border-bottom:0}.wholesale-customer-product-specs{grid-template-columns:1fr}}
@media(max-width:700px){.wholesale-customers-heading{display:grid}.wholesale-customer-workspace{display:block}.wholesale-customer-directory{border-right:0;border-bottom:1px solid #d7dde0}.wholesale-customer-list{max-height:270px;overflow:auto}.wholesale-customer-profile-header{display:grid;padding:17px}.wholesale-customer-profile-header>div:last-child{justify-content:flex-start}.wholesale-customer-section{padding:17px}.wholesale-customer-form-grid{grid-template-columns:1fr}.wholesale-customer-form-grid .full-field{grid-column:auto}.wholesale-customer-picker-result{grid-template-columns:1fr}.wholesale-customer-picker-result .secondary-button{width:100%}}
.purchases-section { padding:25px 0 6px; }
.purchases-heading { align-items:center; }
.view-subtitle { margin:0; color:var(--muted); font-size:12px; }
.heading-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.purchase-stage { margin-top:22px; padding:0 14px 8px; border:1px solid var(--line); border-left-width:5px; border-radius:6px; }
.purchase-stage-order { border-color:#ead99f; border-left-color:#d2a91f; background:#fffaf0; }
.purchase-stage-delivery { border-color:#b9dcdf; border-left-color:#55a4aa; background:#f2fafb; }
.purchase-stage-catalog { border-color:#e4c9d6; border-left-color:#c76a96; background:#fff8fb; }
.catalog-toolbar { max-width:620px; display:grid; gap:6px; margin-top:20px; }
.catalog-toolbar label { font-size:12px; }
.catalog-toolbar input { height:46px; border-color:#c9b7c0; background:white; font-size:14px; }
.catalog-heading { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-top:0; padding:14px 0 10px; border-bottom:1px solid #e4c9d6; }
.catalog-heading h3 { margin:0; font-size:16px; }.catalog-heading span { color:var(--muted); font-size:11px; }
.product-list { display:grid; margin-top:12px; border-top:1px solid var(--line); }
.product-list-row { min-height:78px; display:grid; grid-template-columns:58px minmax(210px,1.2fr) minmax(160px,.8fr) auto; gap:14px; align-items:center; padding:9px 3px; border-bottom:1px solid var(--line); }
.product-list-row img,.catalog-image-placeholder { width:58px; height:58px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:white; }
.catalog-image-placeholder { display:grid; place-items:center; color:var(--muted); font-size:9px; text-align:center; }
.catalog-product-info,.catalog-source-info { min-width:0; display:grid; gap:4px; }
.catalog-product-info strong { overflow-wrap:anywhere; font-size:12px; }.catalog-product-info small,.catalog-source-info span { color:var(--muted); font-size:10px; line-height:1.4; }
.catalog-source-info strong { font-size:11px; }
.catalog-row-actions { display:flex; align-items:center; justify-content:flex-end; gap:9px; }
.catalog-row-actions .primary-button { white-space:nowrap; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:16px; }
.product-card { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:white; }
.product-image { width:100%; aspect-ratio:16/9; display:block; object-fit:contain; padding:10px; background:#f8f8f7; }
.product-image-placeholder { width:100%; aspect-ratio:16/9; display:grid; place-items:center; background:#f8f8f7; color:#8b8f95; font-size:13px; }
.product-body { display:grid; gap:8px; padding:13px; }
.product-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--muted); font-size:10px; text-transform:uppercase; }
.pending-badge { padding:4px 7px; border-radius:10px; background:#fff4d6; color:#805b0c; font-weight:800; text-transform:none; }
.product-card h3 { min-height:38px; margin:0; font-size:14px; line-height:1.35; }
.product-card p { min-height:34px; margin:0; color:var(--muted); font-size:11px; line-height:1.45; }
.product-source { display:grid; gap:3px; padding-top:8px; border-top:1px solid var(--line); font-size:11px; }
.product-source span { color:var(--muted); }
.product-price { color:#176267; font-weight:800; }
.agent-instruction { border-top:1px solid var(--line); padding-top:8px; }
.agent-instruction summary { color:#555; cursor:pointer; font-size:11px; font-weight:700; }
.agent-instruction p { min-height:0; margin:7px 0 0; color:#555; font-size:11px; }
.product-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:2px; }
.source-link { color:var(--brand-dark); font-size:11px; font-weight:700; text-decoration:none; }
.source-link:hover { text-decoration:underline; }
.queue-heading { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-top:0; padding:14px 0 10px; border-bottom:1px solid var(--line); }
.queue-heading h3 { margin:0; font-size:16px; }.queue-heading span { color:var(--muted); font-size:11px; }
.purchase-order-heading { border-color:#ead99f; }
.delivery-heading { border-color:#b9dcdf; }
.delivery-queue-panel>summary { cursor:pointer; list-style:none; }
.delivery-queue-panel>summary::-webkit-details-marker { display:none; }
.queue-heading .delivery-summary-title { display:flex; align-items:center; gap:7px; color:var(--ink); font-size:16px; font-weight:800; }
.queue-heading .delivery-summary-title span { color:inherit; font-size:inherit; }
.delivery-summary-title svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .16s ease; }
.delivery-queue-panel[open] .delivery-summary-title svg { transform:rotate(90deg); }
.delivery-search-toolbar { width:min(100%,360px); display:grid; gap:4px; padding:10px 3px 7px; }
.delivery-search-toolbar label { color:var(--muted); font-size:10px; font-weight:700; }
.delivery-search-toolbar input { height:36px; padding:7px 10px; border-color:#b9dcdf; background:white; font-size:12px; }
.delivery-queue { margin-bottom:6px; }
.bulk-purchase-bar { min-height:56px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:8px 10px; border-bottom:1px solid var(--line); background:#fff9e8; }
.bulk-purchase-bar .checkbox-label { font-size:11px; }.bulk-purchase-bar .primary-button { white-space:nowrap; }
.purchase-queue { display:grid; }
.purchase-supplier-group { display:grid; }
.purchase-supplier-group + .purchase-supplier-group { margin-top:8px; }
.purchase-supplier-heading { min-height:36px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:7px 3px; border-bottom:1px solid #ead99f; background:#fffdf5; }
.purchase-supplier-heading h4 { margin:0; font-size:12px; }
.purchase-supplier-heading span { color:var(--muted); font-size:10px; }
.purchase-row { min-height:82px; display:grid; grid-template-columns:24px 50px minmax(180px,1.4fr) minmax(130px,.8fr) minmax(100px,.6fr) auto; gap:13px; align-items:center; padding:10px 3px; border-bottom:1px solid var(--line); }
.purchase-select { width:18px; height:18px; padding:0; justify-self:center; }
.purchase-row img,.queue-image-placeholder { width:50px; height:50px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:white; }
.queue-image-placeholder { display:grid; place-items:center; color:var(--muted); font-size:10px; }
.purchase-product,.purchase-amount,.purchase-person { display:grid; gap:4px; min-width:0; }
.quantity-value { display:flex; align-items:center; gap:6px; min-width:0; }
.quantity-edit-button { width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; padding:0; border:1px solid #c9ced5; border-radius:5px; background:white; color:#4e5965; cursor:pointer; }
.quantity-edit-button:hover,.quantity-edit-button:focus-visible { border-color:var(--brand-dark); background:#fff5f8; color:var(--brand-dark); }
.quantity-edit-button svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.purchase-product strong,.purchase-amount strong { overflow-wrap:anywhere; font-size:12px; }.purchase-product small,.purchase-amount small,.purchase-person small { color:var(--muted); font-size:10px; line-height:1.35; }
.purchase-person span { font-size:11px; }
.purchase-row-note { grid-column:3/-1; display:grid; grid-template-columns:minmax(180px,1fr) auto; gap:5px 7px; align-items:end; padding:5px 7px; border-left:3px solid rgba(85,164,170,.55); background:rgba(255,255,255,.68); }
.purchase-row-note label { gap:2px; color:var(--muted); font-size:9px; }
.purchase-row-note textarea { min-height:34px; height:34px; padding:7px 9px; resize:vertical; font-size:11px; }
.purchase-row-note .secondary-button { min-height:34px; padding:0 10px; }
.purchase-row-note .form-error { grid-column:1/-1; margin:0; padding:5px 7px; font-size:10px; }
.status-badge { width:max-content; padding:5px 8px; border-radius:11px; font-size:10px; font-weight:800; }
.status-requested { background:#fff4d6;color:#805b0c; }.status-ordered { background:#edf6ff;color:#245b8f; }.status-delivered { background:#eaf8ef;color:#276642; }
.agent-state { display:grid; gap:4px; justify-items:start; margin-top:3px; }
.agent-state-badge { min-height:26px; padding:3px 8px; border:0; border-radius:11px; font-size:10px; font-weight:800; cursor:pointer; }
.agent-state-badge[data-status="queued"] { background:#fff4d6; color:#805b0c; }
.agent-state-badge[data-status="running"] { background:#e8f5fb; color:#176080; }
.agent-state-badge[data-status="waiting_input"] { background:#fff1d6; color:#80520c; }
.agent-state-badge[data-status="waiting_approval"],.agent-state-badge[data-status="completed"] { background:#eaf8ef; color:#276642; }
.agent-state-badge[data-status="failed"] { background:#fff1f2; color:#a01428; }
.agent-progress { max-width:360px; max-height:2.7em; display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; color:#555; font-size:10px; line-height:1.35; }
.agent-owner { color:var(--muted); font-size:9px; }
.purchase-agent-reply { grid-column:3/-1; display:grid; grid-template-columns:minmax(220px,1fr) minmax(260px,1.3fr) auto; gap:8px 12px; align-items:end; padding:12px; border:1px solid #e2b84f; border-left:6px solid #d69b00; background:#fffdf7; }
.purchase-agent-question { align-self:center; }
.purchase-agent-question strong { display:block; margin-bottom:3px; color:#694a00; font-size:11px; }
.purchase-agent-question p { margin:0; color:#2e3338; font-size:12px; line-height:1.4; }
.purchase-agent-reply label { gap:3px; color:var(--muted); font-size:9px; }
.purchase-agent-reply textarea { min-height:52px; resize:vertical; }
.purchase-agent-reply .primary-button { min-height:42px; }
.purchase-agent-reply .form-error { grid-column:1/-1; margin:0; }
.queue-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.queue-actions button { min-height:34px; padding:0 10px; }
.remove-button { min-height:34px; padding:0 10px; border:1px solid #e3a6ad; border-radius:5px; background:white; color:#a01428; font:inherit; font-size:11px; font-weight:700; cursor:pointer; }
.remove-button:hover { background:#fff1f2; }
.empty-state { margin:0; padding:22px 3px; color:var(--muted); font-size:12px; }
.dialog-product { display:grid; grid-template-columns:64px 1fr; gap:12px; align-items:center; }
.dialog-product img,.dialog-product .queue-image-placeholder { width:64px; height:64px; }
.dialog-product h2 { margin:0; font-size:16px; line-height:1.35; }
.dialog-product p { margin:4px 0 0; }
.duplicate-note { margin:0; padding:9px 10px; border-left:3px solid #d4a72c; background:#fff9e8; color:#6d5112; }
.checkbox-label { min-height:32px; display:flex; align-items:center; gap:8px; }
.checkbox-label input { width:17px; height:17px; }
.wide-dialog { width:min(760px,calc(100% - 30px)); }
.delivered-purchases-dialog { width:min(1120px,calc(100% - 30px)); }
.delivered-purchases-dialog .dialog-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.delivered-purchases-dialog .dialog-header h2 { margin:0; font-size:18px; }
.delivered-purchases-dialog .purchase-product { min-width:0; overflow-wrap:anywhere; }
.delivered-purchases-dialog .queue-actions button { white-space:normal; }
.product-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.product-form-grid .full-field { grid-column:1/-1; }
.agent-order-groups { display:grid; gap:12px; max-height:52vh; overflow:auto; margin:15px 0; }
.agent-order-group { padding:13px; border:1px solid var(--line); border-radius:8px; }
.agent-order-group header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.agent-order-group h3 { margin:0; font-size:14px; }.agent-order-group header span { color:var(--muted); font-size:10px; }
.agent-order-group ul { display:grid; gap:5px; margin:11px 0; padding-left:18px; font-size:11px; }
.agent-order-instruction { margin:0; padding:9px; border-left:3px solid #b9e0e1; background:#f3fbfb; color:#444; font-size:11px; line-height:1.45; }
.agent-job-status { display:grid; gap:3px; margin:12px 0; padding:11px 12px; border-left:3px solid #d4a72c; background:#fff9e8; }
.agent-job-status strong { font-size:13px; }.agent-job-status p { margin:0; color:var(--muted); font-size:11px; }
.agent-job-status[data-status="running"] { border-color:#3182a8; background:#edf7fc; }
.agent-job-status[data-status="waiting_input"] { border-color:#d49321; background:#fff8e8; }
.agent-job-status[data-status="waiting_approval"],.agent-job-status[data-status="completed"] { border-color:#2f855a; background:#effaf4; }
.agent-job-status[data-status="failed"] { border-color:#c81e1e; background:#fff1f2; }
.agent-job-result { max-height:180px; overflow:auto; margin:12px 0; padding:11px; border:1px solid var(--line); background:#f7f7f8; white-space:pre-wrap; font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace; }
.agent-job-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.agent-job-actions a { min-height:36px; display:inline-flex; align-items:center; padding:0 12px; border:1px solid #d97591; border-radius:6px; color:#7b2340; font-size:11px; font-weight:800; text-decoration:none; }
.agent-reply-form { display:grid; gap:8px; margin:12px 0; padding:12px; border:1px solid #e5c36a; background:#fffaf0; }
.agent-reply-form[hidden] { display:none; }
.agent-reply-form label { font-size:12px; font-weight:800; }
.agent-reply-form textarea { min-height:72px; resize:vertical; }
.agent-reply-form button { justify-self:end; }
.customer-orders { display:grid; gap:18px; }
.customer-orders-heading { align-items:center; }
.customer-order-search { max-width:760px; display:grid; gap:6px; }
.customer-order-search label { font-size:12px; font-weight:800; }
.customer-order-search>div { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:8px; }
.customer-order-search input { height:46px; background:white; }
.customer-order-results { display:grid; gap:18px; }
.customer-order-card { overflow:hidden; border:1px solid #cfd6db; border-left:5px solid #55a4aa; border-radius:7px; background:white; }
.customer-order-card>header { min-height:86px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:17px 19px; background:#f7fafb; border-bottom:1px solid var(--line); }
.customer-order-card h2 { margin:5px 0 3px; font-size:19px; }
.customer-order-card header p { margin:0; color:var(--muted); font-size:11px; }
.customer-order-kicker { display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:#176267; font-size:10px; font-weight:900; }
.customer-order-source { padding:3px 7px; border-radius:10px; background:#eaf7f7; color:#176267; text-transform:none; }
.customer-order-source.is-wholesale { background:#fff1f5; color:#8e3156; }
.customer-order-summary { display:grid; justify-items:end; gap:6px; text-align:right; }
.customer-order-summary span { color:#176267; font-size:11px; font-weight:800; }
.customer-order-summary strong { font-size:17px; }
.customer-order-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px solid var(--line); background:#fffdf8; }
.customer-order-facts>span { min-height:58px; display:grid; align-content:center; gap:5px; padding:10px 18px; border-right:1px solid var(--line); color:var(--muted); font-size:10px; }
.customer-order-facts>span:last-child { border-right:0; }
.customer-order-facts strong { color:#30343a; font-size:12px; overflow-wrap:anywhere; }
.customer-order-band { padding:14px 18px; }
.customer-order-band>h3 { margin:0 0 7px; color:#4d5660; font-size:12px; text-transform:uppercase; }
.customer-order-band>.empty-state,.customer-order-band>div>.empty-state { padding:10px 0; }
.customer-order-product { min-height:56px; display:grid; grid-template-columns:46px minmax(0,1fr) auto; gap:11px; align-items:center; padding:7px 0; border-bottom:1px solid #e5e9ec; }
.customer-order-product-image,.customer-order-product-image-placeholder { width:46px; height:46px; display:grid; place-items:center; border:1px solid #e1e6e9; border-radius:5px; background:#f5f7f8; object-fit:contain; color:var(--muted); font-size:8px; text-align:center; }
.customer-order-work-row { min-height:45px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; padding:8px 0; border-bottom:1px solid #e5e9ec; }
.customer-order-sewing-row { grid-template-columns:23px minmax(0,1fr) auto; gap:9px; }
.customer-order-sewing-image,.customer-order-sewing-image-placeholder { width:23px; height:23px; display:grid; place-items:center; border:1px solid #e1e6e9; border-radius:3px; background:#f5f7f8; object-fit:contain; color:var(--muted); font-size:0; }
.customer-order-product:last-child,.customer-order-work-row:last-child { border-bottom:0; }
.customer-order-product>div,.customer-order-work-row>div { min-width:0; display:grid; gap:3px; }
.customer-order-product strong,.customer-order-work-row strong { font-size:12px; }
.customer-order-product span,.customer-order-work-row span { color:var(--muted); font-size:10px; }
.customer-order-work-row>div:last-child { justify-items:end; text-align:right; }
.customer-order-work-row small { padding:4px 6px; border-left:3px solid #d4a72c; background:#fff8e8; color:#7a5810; font-size:10px; font-weight:800; }
.customer-order-columns { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fbfcfc; }
.customer-order-columns>.customer-order-band+section { border-left:1px solid var(--line); }
.customer-order-note { display:grid; grid-template-columns:120px minmax(0,1fr); gap:14px; padding:12px 18px; border-bottom:1px solid var(--line); background:#fff8e8; }
.customer-order-note strong { font-size:11px; }
.customer-order-note p { margin:0; white-space:pre-wrap; font-size:11px; line-height:1.45; }
.customer-order-messages { background:#f8fbfb; }
.customer-order-conversation { width:100%; min-height:44px; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; align-items:center; padding:8px 0; border:0; border-bottom:1px solid #dce5e6; background:transparent; color:inherit; text-align:left; cursor:pointer; }
.customer-order-conversation:last-child { border-bottom:0; }
.customer-order-conversation:hover strong { color:var(--brand-dark); text-decoration:underline; }
.customer-order-conversation strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.customer-order-conversation small { color:var(--muted); font-size:10px; }
@media(max-width:1050px){.product-list-row{grid-template-columns:58px minmax(180px,1fr) auto}.catalog-source-info{grid-column:2/3}.catalog-row-actions{grid-column:3;grid-row:1/3}.purchase-row{grid-template-columns:24px 50px minmax(170px,1fr) minmax(120px,.7fr) auto}.purchase-person{grid-column:3/4}.queue-actions{grid-column:5;grid-row:1/3}.idosell-product-row{grid-template-columns:62px minmax(190px,1fr) minmax(240px,1fr)}.idosell-product-weight{grid-column:2}.idosell-variant-list{grid-column:3;grid-row:1/3}.sewing-row{grid-template-columns:52px minmax(180px,1fr) minmax(130px,.7fr) 90px auto}.sewing-person{grid-column:2/3}.sewing-row>.queue-actions{grid-column:5;grid-row:1/3}.sewing-history{grid-column:2/-1}.wholesale-item{grid-template-columns:52px minmax(190px,1fr) minmax(210px,.85fr)}.wholesale-add-progress{grid-column:2/4;justify-content:flex-end}}
@media(max-width:1120px){.shipping-form{grid-template-columns:1fr 1fr}.shipping-dimensions{grid-column:1/-1}.shipping-form button{justify-self:start}.shipping-row{grid-template-columns:110px minmax(180px,1fr) minmax(130px,.7fr) auto}.shipping-tracking{grid-column:2/4}.shipping-row>a{grid-column:4}.shipping-status{grid-column:4;grid-row:1}}
@media(max-width:820px){.real-sidebar{position:static;width:100%;height:auto;padding-bottom:8px}.real-sidebar nav{display:flex;gap:3px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.real-sidebar a{flex:0 0 auto;white-space:nowrap}.real-sidebar .sidebar-nav-group{flex:0 0 auto;display:flex;align-items:center}.real-sidebar .sidebar-subnav{display:flex;margin:0;padding:0;border:0}.real-sidebar .sidebar-subnav a{padding:0 9px}.sidebar-nav-toggle{width:auto}.real-sidebar .admin-nav{margin:4px 0 0;padding:0;border:0}.real-logo{margin:auto}.profile-button{position:absolute;right:12px;top:12px}.real-workspace{margin-left:0;padding:0 18px 45px}.section-grid{grid-template-columns:1fr}.real-topbar{height:65px}.user-form{grid-template-columns:1fr}.user-form .form-error,.user-form .form-actions{grid-column:auto}.user-row{grid-template-columns:34px minmax(0,1fr) auto}.user-row .secondary-button,.own-account{grid-column:2/4;justify-self:start}.product-list-row{grid-template-columns:52px minmax(0,1fr) auto}.product-list-row img,.catalog-image-placeholder{width:52px;height:52px}.purchase-row{grid-template-columns:24px 50px minmax(0,1fr) auto}.purchase-amount,.purchase-person{grid-column:3/4}.queue-actions{grid-column:4;grid-row:1/4}.purchases-heading{align-items:flex-start}.idosell-product-row{grid-template-columns:56px minmax(0,1fr)}.idosell-product-image,.idosell-image-placeholder{width:56px;height:56px}.idosell-product-weight{grid-column:2}.idosell-variant-list{grid-column:1/3;grid-row:auto}.idosell-products-heading{align-items:flex-start}.sewing-row{grid-template-columns:48px minmax(0,1fr) auto}.sewing-orders,.sewing-progress,.sewing-person{grid-column:2/3}.sewing-row>.queue-actions{grid-column:3;grid-row:1/5}.sewing-history{grid-column:2/-1}.sewing-result-row{grid-template-columns:48px 1fr}.sewing-variant-buttons{grid-column:2}.sewing-heading,.wholesale-heading{align-items:flex-start}.wholesale-order-header{grid-template-columns:1fr}.wholesale-order-total{text-align:left}.wholesale-notes{grid-template-columns:1fr}}
@media(max-width:520px){.permission-grid{grid-template-columns:1fr}.user-actions{grid-column:2/4;flex-wrap:wrap}.product-form-grid{grid-template-columns:1fr}.product-form-grid .full-field{grid-column:auto}.product-list-row{grid-template-columns:46px minmax(0,1fr)}.product-list-row img,.catalog-image-placeholder{width:46px;height:46px}.catalog-source-info,.catalog-row-actions{grid-column:2}.catalog-row-actions{grid-row:auto;justify-content:flex-start;flex-wrap:wrap}.purchase-row{grid-template-columns:22px 44px minmax(0,1fr)}.purchase-row img,.queue-image-placeholder{width:44px;height:44px}.purchase-amount,.purchase-person{grid-column:3}.purchase-row-note{grid-column:2/-1}.queue-actions{grid-column:3;grid-row:auto;justify-content:flex-start}.purchases-heading{display:grid}.bulk-purchase-bar{align-items:stretch;flex-direction:column}.purchase-stage,.sewing-stage{padding:0 10px 6px}.real-topbar h1{font-size:20px}.seamstress-slogan-banner{min-height:78px;margin:0 -18px;padding:14px 38px 14px 46px}.seamstress-slogan-banner p{font-size:18px}.seamstress-slogan-swatches{width:28px}.sewing-heading,.wholesale-heading{display:grid}.sewing-heading button,.wholesale-heading button{justify-self:start}.sewing-row{grid-template-columns:44px minmax(0,1fr)}.sewing-row>.queue-actions{grid-column:2;grid-row:auto;justify-content:flex-start}.sewing-history{grid-column:2}.sewing-form-grid{grid-template-columns:1fr}.sewing-history li{display:grid}.sewing-result-row{grid-template-columns:44px 1fr}.sewing-variant-buttons{grid-column:1/3}.wholesale-order{border-left-width:4px}.wholesale-order-header{padding:12px}.wholesale-items{padding:0 10px}.wholesale-item{grid-template-columns:44px minmax(0,1fr)}.wholesale-product-image,.wholesale-item>.queue-image-placeholder{width:44px;height:44px}.wholesale-item-progress,.wholesale-add-progress{grid-column:2}.wholesale-add-progress{justify-content:flex-start;flex-wrap:wrap}.wholesale-notes{padding:12px}.nav-alert{margin-left:6px}}
@media(max-width:520px){.real-sidebar{position:relative}.real-logo{margin-left:9px;margin-right:auto}.profile-button{max-width:calc(100% - 176px);overflow:hidden}.profile-button strong,.profile-button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:700px){.shipping-provider-module+.shipping-provider-module{margin-top:34px}.shipping-provider-header{min-height:0;display:grid;padding:15px}.shipping-provider-header h2{font-size:21px}.shipping-provider-content{padding:0 12px 16px}.shipping-service-badge{justify-self:start}.shipping-form{grid-template-columns:1fr}.shipping-dimensions{grid-template-columns:1fr 8px 1fr 8px 1fr}.shipping-dimensions legend{grid-column:1/-1}.shipping-preview>header{display:grid}.shipping-preview-total{justify-items:start;text-align:left}.shipping-preview-facts{grid-template-columns:1fr}.shipping-preview-facts>div{border-right:0;border-bottom:1px solid var(--line)}.shipping-preview-item{grid-template-columns:1fr auto}.shipping-hs-select,.shipping-hs-code,.shipping-mapping-missing{grid-column:1/-1}.shipping-row{grid-template-columns:1fr auto}.shipping-row>div,.shipping-tracking,.shipping-row>a,.shipping-status{grid-column:auto;grid-row:auto}.shipping-row-error{grid-column:1/-1}}
@media(max-width:520px){.wholesale-item-note{grid-column:2;grid-template-columns:1fr}.wholesale-item-note>div{justify-content:space-between}.wholesale-item-note small{text-align:left}.wholesale-delete-order{justify-self:start}}
@media(max-width:620px){.etsy-heading{display:grid}.etsy-heading .heading-actions{width:100%;display:grid}.etsy-heading .heading-actions button{width:100%}.etsy-tracking-check>header{flex-direction:column}.etsy-order>header{align-items:flex-start}.etsy-item{grid-template-columns:1fr;gap:4px;padding:9px 0}.etsy-item-mapping{grid-template-columns:1fr}.etsy-item-mapping>button{grid-column:1;grid-row:auto}.etsy-mapped-components{grid-column:1}.etsy-mapping-search{grid-template-columns:1fr}.etsy-mapping-search button{width:100%}.etsy-order-summary{justify-items:end}.etsy-price-breakdown .etsy-paid-total{width:100%;margin-left:0;text-align:left}.etsy-order>footer{align-items:stretch;flex-direction:column-reverse}.etsy-local-actions,.etsy-idosell-action{justify-items:stretch}.etsy-local-actions .secondary-button{flex:1}.etsy-idosell-action button{width:100%}.etsy-idosell-action>small{text-align:left}.etsy-ignored-row{align-items:flex-start;flex-direction:column}.etsy-ignored-row button{width:100%}.etsy-error{align-items:flex-start;flex-direction:column}.etsy-address-fields{grid-template-columns:1fr 1fr}.etsy-address-fields .etsy-address-wide{grid-column:1/-1}}
@media(max-width:620px){.emag-heading{display:grid}.emag-heading button{width:100%}.emag-document-row{grid-template-columns:minmax(0,1fr) auto}.emag-document-row>div:nth-child(2){grid-column:1}.emag-status{grid-column:2;grid-row:1/3}.emag-document-row>p{grid-column:1/-1}}
@media(max-width:700px){.customer-order-card>header{display:grid}.customer-order-summary{justify-items:start;text-align:left}.customer-order-facts{grid-template-columns:1fr}.customer-order-facts>span{border-right:0;border-bottom:1px solid var(--line)}.customer-order-facts>span:last-child{border-bottom:0}.customer-order-columns{grid-template-columns:1fr}.customer-order-columns>.customer-order-band+section{border-left:0;border-top:1px solid var(--line)}.customer-order-note{grid-template-columns:1fr}.customer-order-conversation{grid-template-columns:auto minmax(0,1fr)}.customer-order-conversation small{grid-column:2}.customer-order-search>div{grid-template-columns:1fr}.customer-order-search button{justify-self:start}}

/* Growth center */
.growth-center { display:grid; gap:30px; padding-bottom:30px; }
.growth-heading { align-items:center; }
.growth-heading-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.growth-controls { display:flex; align-items:end; flex-wrap:wrap; gap:14px; padding:14px 0 2px; border-bottom:1px solid var(--line); }
.growth-controls fieldset { display:grid; gap:5px; margin:0; padding:0; border:0; }
.growth-controls legend,.growth-controls label { color:var(--muted); font-size:10px; font-weight:800; }
.growth-controls label { width:120px; }
.growth-controls select { height:36px; }
.growth-segmented { min-height:36px; display:flex; padding:3px; border:1px solid #d5dadd; border-radius:7px; background:#fff; }
.growth-segmented button { min-width:76px; padding:0 12px; border:0; border-radius:4px; background:transparent; color:#566168; cursor:pointer; font-size:11px; font-weight:800; }
.growth-segmented button:hover { background:#f2f5f5; }
.growth-segmented button.is-active { background:#dff3f3; color:#176267; }
.growth-notice { padding:11px 13px; border-left:4px solid #c58a12; background:#fff8e7; color:#79560c; font-size:12px; }
.growth-goal-band { min-height:220px; display:grid; grid-template-columns:170px minmax(300px,1.2fr) minmax(260px,.8fr); align-items:center; gap:28px; margin:0 -30px; padding:28px 30px; border-top:1px solid #c7e1e2; border-bottom:1px solid #c7e1e2; background:#eef8f8; }
.growth-goal-ring { --progress:0deg; width:154px; height:154px; display:grid; place-content:center; justify-items:center; border-radius:50%; background:radial-gradient(circle closest-side,#eef8f8 72%,transparent 73% 99%),conic-gradient(#2f8f85 var(--progress),#d6e6e6 0); color:#145d58; }
.growth-goal-ring span { font-size:32px; font-weight:900; line-height:1; }
.growth-goal-ring small { margin-top:5px; color:#587472; font-size:10px; font-weight:800; }
.growth-kicker { margin:0 0 5px; color:#26756e; font-size:10px; font-weight:900; letter-spacing:0; }
.growth-goal-copy h2,.growth-section-heading h2 { margin:0; color:#243237; font-size:22px; }
.growth-goal-copy>p:not(.growth-kicker) { margin:10px 0 17px; color:#566a6d; font-size:13px; line-height:1.5; }
.growth-goal-meta { display:flex; flex-wrap:wrap; gap:9px; }
.growth-goal-meta span { min-width:130px; display:grid; gap:3px; padding:8px 10px; border-left:3px solid #6fb0ad; background:#fff; color:#607276; font-size:9px; }
.growth-goal-meta b { color:#243237; font-size:13px; }
.growth-next-move { min-height:138px; align-content:center; display:grid; gap:7px; padding:20px; border-left:5px solid var(--brand); background:#fff; }
.growth-next-move>span { color:var(--brand-dark); font-size:10px; font-weight:900; text-transform:uppercase; }
.growth-next-move strong { font-size:17px; line-height:1.35; }
.growth-next-move p { margin:0; color:var(--muted); font-size:11px; line-height:1.45; }
.growth-section { display:grid; gap:14px; }
.growth-section-heading { min-height:47px; display:flex; align-items:end; justify-content:space-between; gap:18px; padding-bottom:11px; border-bottom:1px solid var(--line); }
.growth-section-heading h2 { font-size:18px; }
.growth-section-heading>span { color:var(--muted); font-size:10px; text-align:right; }
.growth-source-state { display:inline-flex; align-items:center; min-height:25px; padding:3px 8px; border-radius:4px; font-weight:800; }
.growth-source-state.is-missing { background:#eef0f1; color:#687078; }
.growth-source-state.is-connected { background:#e8f6ec; color:#2f7045; }
.growth-funnel { display:grid; gap:10px; }
.growth-funnel-track { display:grid; grid-template-columns:90px repeat(5,minmax(95px,1fr)); align-items:center; gap:8px; }
.growth-funnel-track>strong { font-size:12px; }
.growth-funnel-step { min-height:78px; display:grid; place-content:center; gap:4px; padding:10px; border:1px solid #d9dfe2; border-radius:6px; background:#fff; text-align:center; }
.growth-funnel-step b { font-size:17px; }.growth-funnel-step span { color:var(--muted); font-size:9px; }
.growth-funnel-track.is-pl .growth-funnel-step { border-top:4px solid #d6537f; }
.growth-funnel-track.is-de .growth-funnel-step { border-top:4px solid #4a8db8; }
.growth-funnel-step.is-missing { color:#737d83; background:#f6f7f8; }
.growth-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.growth-product-card { min-width:0; overflow:hidden; border:1px solid #dfe3e5; border-radius:7px; background:#fff; }
.growth-product-image,.growth-product-placeholder { width:100%; aspect-ratio:16/10; display:grid; place-items:center; border-bottom:1px solid #e3e7e8; background:#f0f4f4; object-fit:contain; color:#7b858a; font-size:10px; }
.growth-product-card>div { display:grid; gap:6px; padding:12px; }
.growth-product-card h3 { min-height:34px; margin:0; overflow:hidden; font-size:12px; line-height:1.35; }
.growth-product-card p { margin:0; color:var(--muted); font-size:10px; }
.growth-product-status { width:max-content; padding:3px 6px; border-radius:4px; font-size:9px; font-weight:900; text-transform:uppercase; }
.growth-product-status.is-winner { background:#e5f5ea; color:#2f7045; }.growth-product-status.is-new { background:#e8f3fb; color:#25678d; }.growth-product-status.is-losing { background:#fdeaea; color:#a53338; }.growth-product-status.is-steady { background:#fff2d8; color:#885e12; }
.growth-product-card footer { display:flex; justify-content:space-between; gap:8px; padding-top:6px; border-top:1px solid #edf0f1; color:#536168; font-size:9px; }
.growth-action-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.growth-action-card { min-height:205px; display:grid; grid-template-rows:auto auto 1fr auto; gap:9px; padding:16px; border:1px solid #dfe3e5; border-left:5px solid #3e91a4; border-radius:7px; background:#fff; }
.growth-action-card[data-impact="wysoki"] { border-left-color:#d04e78; }
.growth-action-card>span { color:#397484; font-size:9px; font-weight:900; text-transform:uppercase; }
.growth-action-card h3 { margin:0; font-size:15px; line-height:1.35; }
.growth-action-card p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.growth-action-buttons { display:flex; flex-wrap:wrap; gap:6px; }
.growth-action-buttons button { min-height:33px; padding:0 9px; border:1px solid #d1d7da; border-radius:5px; background:#fff; cursor:pointer; font-size:10px; font-weight:800; }
.growth-action-buttons button[data-decision="approved"] { border-color:#d95c8a; background:#db2777; color:#fff; }
.growth-action-card[data-decision="approved"] { background:#f1faf4; border-left-color:#3f8a58; }.growth-action-card[data-decision="rejected"] { opacity:.66; }.growth-action-card[data-decision="later"] { background:#fff9eb; border-left-color:#ce982c; }
.growth-creative-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.growth-creative-card { overflow:hidden; border:1px solid #dfe3e5; border-radius:7px; background:#fff; }
.growth-creative-thumb { height:112px; display:grid; place-content:center; gap:4px; border-bottom:1px solid #dfe3e5; background:#e9f4f4; color:#176267; text-align:center; }
.growth-creative-card:nth-child(2) .growth-creative-thumb { background:#fff0f5; color:#9a3158; }.growth-creative-card:nth-child(3) .growth-creative-thumb { background:#eef4fb; color:#2e648e; }
.growth-creative-thumb b { font-size:24px; }.growth-creative-thumb span { font-size:10px; font-weight:800; }
.growth-creative-card>div:last-child { display:grid; gap:9px; padding:13px; }
.growth-creative-card h3 { margin:0; font-size:13px; }
.growth-creative-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; }
.growth-creative-stats span { display:grid; gap:2px; color:var(--muted); font-size:8px; }.growth-creative-stats b { color:#4d5960; font-size:11px; }
.growth-creative-clicks { display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 8px; padding:6px 8px; border-radius:5px; background:#edf7f3; color:#356c57; font-size:9px; font-weight:800; }
.growth-creative-clicks b { font-size:13px; }.growth-creative-clicks small { grid-column:1/-1; color:#7b6641; font-size:8px; font-weight:600; }.growth-creative-clicks.is-fallback { background:#fff7e8; color:#7b5a18; }
.growth-creative-status { width:max-content; padding:4px 7px; border-radius:4px; background:#eef0f1; color:#687078; font-size:9px; font-weight:900; }
.growth-experiment-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.growth-experiment-column { min-height:180px; padding-top:9px; border-top:4px solid #a7afb4; }
.growth-experiment-column[data-stage="preparation"] { border-color:#4b91b9; }.growth-experiment-column[data-stage="running"] { border-color:#d59525; }.growth-experiment-column[data-stage="decision"] { border-color:#4b9862; }
.growth-experiment-column>header { display:flex; justify-content:space-between; margin-bottom:8px; font-size:11px; font-weight:900; }
.growth-experiment-column>header span { color:var(--muted); }
.growth-experiment-card { display:grid; gap:7px; padding:12px; border:1px solid #dfe3e5; border-radius:6px; background:#fff; }
.growth-experiment-card h3 { margin:0; font-size:12px; }.growth-experiment-card p { margin:0; color:#59676e; font-size:10px; line-height:1.4; }.growth-experiment-card small { color:var(--muted); font-size:9px; }
.growth-experiment-empty { margin:12px 0; color:#8a9297; font-size:10px; }
.growth-details { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.growth-details summary { padding:14px 0; cursor:pointer; font-size:12px; font-weight:850; }
.growth-details[open] { padding:0 14px 14px; }
.growth-source-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.growth-source-list span { min-height:54px; display:grid; align-content:center; gap:3px; padding:8px; border-left:3px solid #8d979c; background:#f4f6f6; font-size:10px; }.growth-source-list span.is-connected { border-color:#4b9964; background:#eff8f2; }
.growth-source-list b { font-size:11px; }.growth-details>p { margin:12px 0 0; color:var(--muted); font-size:10px; }

@media(max-width:1180px){.growth-goal-band{grid-template-columns:150px 1fr}.growth-next-move{grid-column:1/-1;min-height:0}.growth-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-funnel{overflow-x:auto}.growth-funnel-track{min-width:760px}.growth-creative-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.growth-goal-band{margin:0 -18px;padding:24px 18px}.growth-goal-ring{width:132px;height:132px}.growth-action-grid,.growth-creative-grid{grid-template-columns:1fr}.growth-experiment-board{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.real-topbar span{display:none}.growth-center{min-width:0}.growth-heading{display:grid;justify-items:stretch}.growth-heading-actions{display:grid;justify-content:stretch}.growth-heading button{width:100%}.growth-controls{display:grid}.growth-controls fieldset,.growth-controls label{min-width:0;width:100%}.growth-segmented{width:100%;overflow:hidden}.growth-segmented button{min-width:0;flex:1;padding:0 6px}.growth-goal-band{grid-template-columns:1fr;justify-items:start}.growth-goal-copy{min-width:0}.growth-goal-copy h2{font-size:19px}.growth-goal-meta{display:grid;width:100%}.growth-goal-meta span{min-width:0}.growth-next-move{min-width:0;width:100%}.growth-product-grid,.growth-experiment-board,.growth-source-list{grid-template-columns:1fr}.growth-section-heading{min-width:0;align-items:flex-start;display:grid}.growth-section-heading>span{text-align:left}}

/* Growth center MVP */
.growth-center{min-width:0;display:grid;gap:34px;padding-bottom:40px;color:#243237}
.growth-heading{display:grid;align-items:start;gap:12px}
.growth-heading-actions{display:grid;gap:8px}
.growth-heading-actions button{width:100%}
.growth-controls{display:grid;align-items:end;gap:12px;padding:14px;border:1px solid #dce3e4;border-radius:7px;background:#f7f9f9}
.growth-controls fieldset{min-width:0;display:grid;gap:6px;margin:0;padding:0;border:0}
.growth-controls legend,.growth-controls label{color:#617076;font-size:10px;font-weight:850;letter-spacing:0}
.growth-controls label{width:100%;display:grid;gap:6px}
.growth-controls select{width:100%;height:38px}
.growth-coming-filter{opacity:.62}
.growth-coming-filter legend,.growth-coming-filter>span{display:flex;align-items:center;gap:5px}
.growth-coming-filter legend span,.growth-coming-filter small{padding:2px 5px;border-radius:3px;background:#e5e9ea;color:#68747a;font-size:7px;font-weight:850;letter-spacing:0;text-transform:uppercase}
.growth-coming-filter .growth-segmented,.growth-coming-filter select{background:#f1f3f3;cursor:not-allowed}
.growth-coming-filter button,.growth-coming-filter select{cursor:not-allowed}
.growth-segmented{width:100%;min-height:38px;display:flex;padding:3px;border:1px solid #d5dadd;border-radius:6px;background:#fff;overflow:hidden}
.growth-segmented button{min-width:0;flex:1;padding:0 7px;border:0;border-radius:3px;background:transparent;color:#566168;cursor:pointer;font-size:10px;font-weight:850;letter-spacing:0}
.growth-segmented button:hover{background:#eef3f3}
.growth-segmented button.is-active{background:#dff3f3;color:#176267}
.growth-notice{padding:12px 14px;border-left:4px solid #c58a12;background:#fff8e7;color:#79560c;font-size:12px;line-height:1.5}
.growth-kicker{margin:0 0 4px;color:#26756e;font-size:10px;font-weight:900;letter-spacing:0}
.growth-command-band{display:grid;gap:16px;margin:0 -18px;padding:22px 18px;border-top:1px solid #bddadb;border-bottom:1px solid #bddadb;background:#eff8f8}
.growth-command-heading{display:grid;gap:5px}
.growth-command-heading h2,.growth-section-heading h2{margin:0;font-size:19px;line-height:1.25;letter-spacing:0}
.growth-command-heading>p{margin:0;color:#5d7074;font-size:10px}
.growth-next-move{min-height:0;width:auto;display:grid;align-content:start;gap:6px;padding:13px 14px;border-left:5px solid #db2777;background:#fff}
.growth-next-move>span{color:#a8275a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:0}
.growth-next-move strong{font-size:15px;line-height:1.35}
.growth-next-move p{margin:0;color:#66747a;font-size:10px;line-height:1.45}
.growth-section{min-width:0;display:grid;gap:14px}
.growth-sales-history{padding:18px 0;border-top:1px solid #dce5e4}
.growth-sales-controls{display:flex;flex-wrap:wrap;align-items:end;gap:9px}
.growth-sales-controls label,.growth-sales-year{display:grid;gap:5px;color:#5f6e72;font-size:11px;font-weight:750}
.growth-sales-controls [hidden]{display:none}
.growth-sales-controls select,.growth-sales-year select{min-width:130px;height:36px;border:1px solid #ccd7d9;border-radius:5px;background:#fff;color:#26363a;font:inherit;font-size:12px}
.growth-sales-controls button{height:36px;margin-left:auto}
.growth-sales-status{min-height:17px;margin:0;color:#68767a;font-size:11px;line-height:1.4}
.growth-sales-warning{margin:0;padding:8px 10px;border-left:3px solid #c58b2f;background:#fff9eb;color:#79551d;font-size:10px;line-height:1.45}
.growth-sales-maintenance{color:#5e6e72;font-size:10px}
.growth-sales-maintenance summary{width:max-content;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.growth-sales-maintenance>div{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:8px}
.growth-sales-maintenance label{display:grid;gap:4px;font-weight:750}
.growth-sales-maintenance select{height:32px;border:1px solid #ccd7d9;border-radius:5px;background:#fff;color:#26363a}
.growth-sales-maintenance button{height:32px}
.growth-sales-maintenance span{color:#77868a}
.growth-sales-headline{display:flex;flex-wrap:wrap;align-items:end;gap:8px 20px}
.growth-sales-headline strong{color:#263a3c;font-size:34px;line-height:1;font-weight:850;letter-spacing:0}
.growth-sales-headline span{padding-bottom:2px;color:#50656a;font-size:12px}
.growth-sales-plot{height:240px;min-width:0;background:linear-gradient(to bottom,#fff,#f8fbfa);border-bottom:1px solid #cbd8d8;touch-action:pan-y;cursor:crosshair}
.growth-sales-plot svg{display:block;width:100%;height:100%}
.growth-sales-gridline{stroke:#dbe5e5;stroke-width:1}
.growth-sales-gridlabel{fill:#52696e;font-size:12px;font-weight:750}
.growth-sales-month-label{fill:#64787c;font-size:12px;font-weight:700}
.growth-sales-line{fill:none;stroke:#21817e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.growth-sales-single{fill:#21817e}
.growth-sales-cursor{stroke:#9bb9b7;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}
.growth-sales-marker{fill:#db2777;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.growth-sales-marker.is-hidden{display:none}
.growth-sales-inspector{display:flex;align-items:center;gap:10px;min-height:38px;color:#52676c;font-size:11px;font-weight:700}
.growth-sales-inspector input{flex:1;min-width:80px;accent-color:#21817e}
.growth-sales-inspector output{min-width:168px;text-align:right;color:#263a3c;font-size:12px;font-weight:800}
.growth-sales-scale-note{margin:0;color:#728186;font-size:10px}
.growth-sales-axis{display:flex;justify-content:space-between;color:#718085;font-size:10px}
.growth-sales-empty{height:100%;display:grid;place-items:center;margin:0;padding:14px;color:#66787b;text-align:center;font-size:12px}
.growth-sales-months{min-width:0;min-height:230px;overflow-x:auto;border-bottom:1px solid #cbd8d8}
.growth-sales-months svg{display:block;max-width:none;height:230px}
.growth-sales-month rect{fill:#277d79}
.growth-sales-month.is-incomplete rect{fill:#d39b43}
.growth-sales-month.is-missing rect{fill:url(#growthMissingMonth)}
.growth-sales-month text{fill:#607176;font-size:11px;font-weight:750}
.growth-sales-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0;color:#64757a;font-size:10px}
.growth-sales-legend span{display:inline-flex;align-items:center;gap:6px}
.growth-sales-legend i{width:10px;height:10px;display:inline-block;background:#277d79}
.growth-sales-legend i.is-current{background:#d39b43}
.growth-sales-legend i.is-missing{background:repeating-linear-gradient(135deg,#f5f7f7 0,#f5f7f7 3px,#dce5e5 3px,#dce5e5 4px);border:1px solid #dce5e5}
.growth-sales-definition{margin:0;color:#657579;font-size:10px;line-height:1.5}
.growth-sales-year{min-width:150px}
@media(max-width:680px){.growth-sales-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.growth-sales-controls label,.growth-sales-controls select{min-width:0;width:100%}.growth-sales-controls button{grid-column:1/-1;width:100%;margin:0}.growth-sales-headline strong{font-size:28px}.growth-sales-plot{height:210px}.growth-sales-inspector{flex-wrap:wrap}.growth-sales-inspector output{min-width:100%;text-align:left}.growth-sales-year{min-width:0;width:100%}}
.growth-section-heading{min-width:0;display:grid;align-items:end;gap:6px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.growth-section-heading>span{color:#68767c;font-size:10px;text-align:left}
.growth-source-state{width:max-content;max-width:100%;min-height:25px;display:inline-flex;align-items:center;padding:3px 8px;border-radius:4px;font-weight:800}
.growth-source-state.is-missing{background:#eef0f1;color:#687078}
.growth-source-state.is-connected{background:#e8f6ec;color:#2f7045}
.growth-state-label{width:max-content;max-width:100%;padding:4px 7px;border-radius:4px;background:#edf0f1;color:#657078;font-size:9px;font-weight:850;letter-spacing:0}
.growth-state-label.is-observed,.growth-state-label.is-connected{background:#e5f5ea;color:#2f7045}
.growth-state-label.is-error,.growth-state-label.is-risk{background:#fdeaea;color:#a53338}
.growth-state-label.is-stale,.growth-state-label.is-conflict,.growth-state-label.is-warning{background:#fff2d8;color:#885e12}
.growth-empty{grid-column:1/-1;margin:0;padding:18px;border-left:4px solid #9aa4a9;background:#fff;color:#67757a;font-size:11px}

.growth-conversion-program{padding:20px 0;border-top:1px solid #cfdddd;border-bottom:1px solid #cfdddd;background:#f7faf9}
.growth-program-priority{display:grid;gap:10px;padding:14px 16px;border-left:5px solid #db2777;background:#fff}
.growth-program-priority>span{color:#a8275a;font-size:9px;font-weight:900;letter-spacing:0}
.growth-program-priority ol{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:0;list-style:none}
.growth-program-priority li{min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;color:#4f6066;font-size:9px;line-height:1.35}
.growth-program-priority li b{width:24px;height:24px;display:grid;place-items:center;border:1px solid #d3dcde;border-radius:4px;background:#eff5f5;color:#176267;font-size:9px}
.growth-program-lane{min-width:0;display:grid;gap:12px;padding-top:16px;border-top:1px solid #dce3e4}
.growth-program-lane>header{display:grid;align-content:start;gap:4px}
.growth-program-lane>header span{width:max-content;max-width:100%;padding:4px 7px;border-radius:3px;background:#fce8f0;color:#a8275a;font-size:9px;font-weight:900;letter-spacing:0}
.growth-program-lane>header strong{font-size:14px;line-height:1.3}
.growth-program-lane>header p{margin:0;color:#647278;font-size:9px;line-height:1.45}
.growth-program-lane.is-next>header span{background:#e5f4f1;color:#286d67}
.growth-program-lane.is-project>header span{background:#e9f1f8;color:#315f84}
.growth-program-cards{min-width:0;display:grid;grid-template-columns:1fr;gap:10px}
.growth-program-card{min-width:0;display:grid;grid-template-rows:auto auto auto auto 1fr;gap:10px;padding:14px;border:1px solid #d9e1e3;border-top:4px solid #d05a80;border-radius:7px;background:#fff}
.growth-program-lane.is-next .growth-program-card{border-top-color:#438e82}
.growth-program-lane.is-project .growth-program-card{border-top-color:#537da3}
.growth-program-card.is-featured{border-left:4px solid #537da3;background:#f8fbfd}
.growth-program-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.growth-program-card-top span,.growth-program-card-top b{padding:4px 6px;border-radius:3px;background:#f5e8ed;color:#963658;font-size:7px;font-weight:900;letter-spacing:0}
.growth-program-card-top b{flex:none;background:#eef3f4;color:#50646b}
.growth-program-lane.is-next .growth-program-card-top span{background:#e7f3f0;color:#2d6e65}
.growth-program-lane.is-project .growth-program-card-top span{background:#e8f0f7;color:#315f84}
.growth-program-card h3{margin:0;font-size:14px;line-height:1.35;letter-spacing:0}
.growth-program-card>p{margin:0;color:#58676d;font-size:9px;line-height:1.5}
.growth-program-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}
.growth-program-card dl div{min-width:0;padding:7px;border-left:3px solid #c9dcdd;background:#f3f7f7}
.growth-program-card dt{color:#718087;font-size:7px}.growth-program-card dd{margin:2px 0 0;overflow-wrap:anywhere;font-size:9px;font-weight:850}
.growth-program-card footer{align-self:end;display:grid;gap:3px;padding-top:9px;border-top:1px solid #e1e6e7}
.growth-program-card footer span{color:#758187;font-size:7px;font-weight:900;text-transform:uppercase}.growth-program-card footer strong{font-size:9px;line-height:1.45}
.growth-program-flow{display:grid;gap:5px;margin:0;padding:0;list-style:none;color:#59686e;font-size:8px}.growth-program-flow li{padding-left:8px;border-left:2px solid #9bc8c1}.growth-program-flow b{color:#286d67}
.growth-program-steps{display:grid;grid-template-columns:1fr;gap:5px;margin:0;padding:0;counter-reset:growth-step;list-style:none}.growth-program-steps li{position:relative;padding:6px 8px 6px 30px;border-left:3px solid #c7d3dc;background:#f0f5f8;color:#5b6c74;font-size:8px;counter-increment:growth-step}.growth-program-steps li::before{content:counter(growth-step);position:absolute;left:8px;color:#56758d;font-weight:900}.growth-program-steps li.is-current{border-color:#db2777;background:#fff0f5;color:#8f2852;font-weight:850}

.growth-action-grid{display:grid;grid-template-columns:1fr;gap:10px}
.growth-action-card{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto auto auto auto auto;gap:9px;padding:14px;border:1px solid #d8e0e2;border-left:5px solid #3e91a4;border-radius:7px;background:#fff;opacity:1}
.growth-action-card[data-impact="wysoki"]{border-left-color:#d04e78}
.growth-action-card[data-decision="approved"]{border-left-color:#3f8a58;background:#f1faf4}
.growth-action-card[data-decision="rejected"]{border-left-color:#9aa2a8;background:#f7f8f8}
.growth-action-card[data-decision="later"]{border-left-color:#ce982c;background:#fff9eb}
.growth-action-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.growth-action-card>header span{color:#397484;font-size:9px;font-weight:900;text-transform:uppercase}
.growth-action-card>header b{color:#657078;font-size:9px}
.growth-action-card h3{margin:0;font-size:14px;line-height:1.35;letter-spacing:0}
.growth-action-card>p{margin:0;color:#5e6b71;font-size:10px;line-height:1.5}
.growth-action-card dl,.growth-experiment-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0}
.growth-action-card dl div,.growth-experiment-card dl div{min-width:0;padding:6px;border-left:2px solid #b9d6d7;background:#f4f8f8}
.growth-action-card dt,.growth-experiment-card dt{color:#758087;font-size:8px}
.growth-action-card dd,.growth-experiment-card dd{margin:2px 0 0;overflow-wrap:anywhere;font-size:9px;font-weight:800}
.growth-reason-field{display:grid;gap:4px;color:#69767b;font-size:9px;font-weight:800}
.growth-reason-field input{width:100%;height:34px;padding:0 9px;border:1px solid #ccd5d8;border-radius:5px;background:#fff;font-size:10px}
.growth-action-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.growth-action-buttons button{min-width:0;min-height:34px;padding:0 5px;border:1px solid #cbd3d6;border-radius:5px;background:#fff;color:#4d5b61;cursor:pointer;font-size:9px;font-weight:850}
.growth-action-buttons button:hover{border-color:#9dadb1;background:#f5f8f8}
.growth-action-buttons button[data-decision="approved"]{border-color:#d95c8a;background:#db2777;color:#fff}
.growth-action-buttons button[aria-pressed="true"]{box-shadow:0 0 0 2px #fff,0 0 0 4px #356d75}
.growth-command-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.growth-command-tools p,.growth-actions-updated{margin:0;color:#607277;font-size:10px;font-weight:500}
.growth-command-band .growth-action-grid{grid-template-columns:minmax(0,1fr)}
.growth-command-panel{min-width:0;align-self:start;display:grid;gap:14px;padding:16px;border:1px solid #d2e2e3;border-radius:8px;background:#fff}
.growth-command-tasks{background:#f9fcfc}
.growth-helper-analytics>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.growth-helper-analytics h2{margin:0;color:#243237;font-size:18px;line-height:1.25}
.growth-helper-period{margin:-5px 0 0;color:#6d7b80;font-size:9px}
.growth-helper-empty{margin:0;padding:18px;border-left:4px solid #9ca6aa;background:#f4f6f6;color:#5e6d72;font-size:11px;line-height:1.5}
.growth-helper-empty.is-error{border-color:#c64b50;background:#fff2f2;color:#873a3e}
.growth-helper-zero{margin:0;padding:9px 10px;border-left:3px solid #d09a31;background:#fff8e8;color:#75551b;font-size:10px;line-height:1.4}
.growth-helper-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.growth-helper-metrics article{min-width:0;display:grid;align-content:start;gap:3px;padding:10px;border-top:3px solid #2f8f85;background:#f1f7f6}
.growth-helper-metrics article:nth-child(2){border-color:#4a8db8;background:#f2f6fa}.growth-helper-metrics article:nth-child(3){border-color:#d59525;background:#fff8eb}.growth-helper-metrics article:nth-child(4){border-color:#db2777;background:#fff1f7}
.growth-helper-metrics span{color:#607176;font-size:8px;font-weight:850;text-transform:uppercase}.growth-helper-metrics strong{color:#23363a;font-size:23px;line-height:1}.growth-helper-metrics small{color:#718085;font-size:8px;line-height:1.3}
.growth-helper-rates{display:grid;gap:9px;padding-top:2px}
.growth-helper-rates>div,.growth-helper-breakdown>div{display:grid;gap:5px}.growth-helper-rates span,.growth-helper-breakdown span{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#53666b;font-size:9px}.growth-helper-rates b,.growth-helper-breakdown h3{color:#30464a;font-size:10px}.growth-helper-rates strong,.growth-helper-breakdown b{color:#214f55;font-size:10px}
.growth-helper-rates i,.growth-helper-breakdown i{height:6px;display:block;overflow:hidden;background:#e6ecec}.growth-helper-rates em,.growth-helper-breakdown em{height:100%;display:block;background:#2f8f85}
.growth-helper-rates>div:nth-child(2) em{background:#db2777}
.growth-helper-breakdown{display:grid;gap:8px;padding-top:11px;border-top:1px solid #e0e7e8}.growth-helper-breakdown h3{margin:0}.growth-helper-breakdown em{background:#5b9fa3}
.growth-helper-note{margin:0;padding-top:9px;border-top:1px solid #e0e7e8;color:#718085;font-size:8px;line-height:1.45}
.growth-action-group{min-width:0;display:grid;gap:8px;padding-top:10px;border-top:1px solid #c9dddd}
.growth-action-group>header,.growth-action-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#2d636b;font-size:12px;font-weight:800}
.growth-action-group>header h3{margin:0;font-size:12px}
.growth-action-group>summary{cursor:pointer;list-style:none}
.growth-action-group>summary::-webkit-details-marker{display:none}
.growth-action-group>header span,.growth-action-group>summary span{min-width:24px;padding:3px 6px;border:1px solid #bbd4d6;border-radius:5px;text-align:center;font-size:10px}
.growth-action-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:8px}
.growth-action-card{grid-template-rows:none}
.growth-action-card[data-work-status="done"]{border-left-color:#3f8a58;background:#f7fbf8}
.growth-action-card>header .growth-card-status{padding:4px 7px;border:1px solid #b9d6d7;border-radius:5px;background:#eef7f7;color:#285d64}
.growth-action-card[data-work-status="done"]>header .growth-card-status{border-color:#b5d7bd;background:#e9f6eb;color:#27613a}
.growth-action-card .growth-card-note{padding:8px 10px;border-left:3px solid #69aeb0;background:#f1fafa;color:#355b60;white-space:pre-wrap}
.growth-action-card .growth-card-updated{color:#6b767a;font-size:9px}
.growth-action-card .growth-card-warning{padding:7px 9px;border-left:3px solid #c58b2f;background:#fff9eb;color:#79551d;font-size:10px}
.growth-card-update{display:grid;gap:10px;padding-top:9px;border-top:1px solid #d9e5e6}
.growth-card-update>summary{width:max-content;cursor:pointer;color:#246874;font-size:10px;font-weight:800}
.growth-card-update[open]>summary{margin-bottom:9px}
.growth-card-update>label,.growth-card-update>.growth-action-buttons,.growth-card-update>.growth-work-controls,.growth-card-update>.growth-edit-action{margin-top:9px}
.growth-work-controls{display:grid;gap:7px;padding-top:10px;border-top:1px solid #d9e5e6}
.growth-work-controls label{display:grid;gap:4px;font-size:10px}
.growth-work-controls select,.growth-work-controls textarea{font-size:11px}
.growth-work-controls textarea{min-height:64px;resize:vertical}
.growth-work-controls button,.growth-edit-action{justify-self:start}
.growth-work-controls .form-error{margin:0;color:#a01428;font-size:10px}
.growth-action-dialog{width:min(610px,calc(100vw - 28px));max-height:min(90vh,850px);padding:20px;border:1px solid #cbdadd;border-radius:7px;background:white;color:var(--ink)}
.growth-action-dialog::backdrop{background:rgba(25,39,44,.45)}
.growth-action-dialog form{display:grid;gap:12px}
.growth-action-dialog header,.growth-action-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.growth-action-dialog header h2{margin:0;font-size:18px}
.growth-action-dialog .icon-close{position:static}
.growth-action-dialog label{font-size:11px}
.growth-action-dialog textarea{min-height:76px;font-size:12px}
.growth-action-dialog .growth-action-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.growth-action-dialog .growth-action-form-row:has(#growthActionDue){grid-template-columns:1fr 1fr 95px}
.growth-action-dialog .form-error{margin:0;color:#a01428;font-size:11px}
.growth-action-dialog footer{justify-content:flex-end}
@media(max-width:560px){.growth-command-tools{justify-content:flex-start}.growth-action-dialog .growth-action-form-row,.growth-action-dialog .growth-action-form-row:has(#growthActionDue){grid-template-columns:1fr}}
.growth-card-history{border-top:1px solid #e4e8ea}
.growth-card-history summary{padding:7px 0 0;cursor:pointer;color:#53646b;font-size:9px;font-weight:800}
.growth-card-history p{display:grid;gap:2px;margin:7px 0 0;padding-left:8px;border-left:2px solid #d7dfe1;font-size:9px}
.growth-card-history p span{color:#728087}
.growth-action-category{display:grid;gap:6px}
.growth-action-category h4{display:flex;align-items:center;gap:7px;margin:2px 0 0;color:#496368;font-size:11px}
.growth-action-category h4 span{color:#78878b;font-size:10px;font-weight:600}
.growth-action-category>div{display:grid;gap:5px}
.growth-action-card{gap:4px;padding:9px 11px;border-left-width:3px}
.growth-action-card h3{font-size:12px}
.growth-action-card .growth-task-number{color:#397484;font-variant-numeric:tabular-nums;white-space:nowrap}
.growth-action-card>header .growth-card-status{flex:none;font-size:9px}
.growth-action-card[data-status-tone="review"]>header .growth-card-status{border-color:#d8d5bd;background:#f8f6e9;color:#76631b}
.growth-action-card[data-status-tone="rejected"]>header .growth-card-status{border-color:#d4d8da;background:#f0f2f2;color:#59666b}
.growth-action-card[data-status-tone="later"]>header .growth-card-status,.growth-action-card[data-status-tone="blocked"]>header .growth-card-status{border-color:#e9d5a7;background:#fff5df;color:#79551d}
.growth-action-card .growth-card-summary{font-size:10px;line-height:1.35}
.growth-card-meta{display:flex;flex-wrap:wrap;gap:3px 12px;color:#728087;font-size:9px}
.growth-card-meta .is-overdue{color:#ac3844;font-weight:800}
.growth-card-meta .growth-delivery-state{color:#286b59;font-weight:850}
.growth-card-meta a{color:#246874;font-weight:750}
.growth-card-update{gap:8px;margin-top:3px;padding-top:5px}
.growth-card-update>summary{font-size:9px}
.growth-card-detail,.growth-card-historic{margin:8px 0 0;color:#4b6166;font-size:10px;line-height:1.45;white-space:pre-wrap}
.growth-card-detail b,.growth-card-historic b{display:block;margin-bottom:3px;color:#2f565e}
.growth-card-historic{padding:8px;border-left:3px solid #c5b56e;background:#faf9f1}
.growth-legacy-experiment{display:grid;gap:4px;margin-top:8px;padding:8px;border-left:3px solid #c5b56e;background:#faf9f1;color:#526368;font-size:9px;line-height:1.4}
.growth-legacy-experiment>p{margin:0;overflow-wrap:anywhere}
.growth-test-controls{display:grid;gap:7px;margin-top:9px;padding-top:10px;border-top:1px solid #d9e5e6}
.growth-test-controls label{display:grid;gap:4px;font-size:10px}
.growth-test-controls select,.growth-test-controls textarea{min-width:0;font-size:11px}
.growth-test-controls textarea{min-height:64px;resize:vertical}
.growth-test-controls button{justify-self:start}
.growth-test-controls .form-error{margin:0;color:#a01428;font-size:10px}
.growth-card-history p small{color:#4b6166;white-space:pre-wrap}

.growth-funnel{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible}
.growth-funnel-market{min-width:0;display:grid;gap:12px;padding:15px;border:1px solid #dae1e3;border-top:5px solid #d6537f;border-radius:7px;background:#fff}
.growth-funnel-market.is-de{border-top-color:#4a8db8}
.growth-funnel-market.is-missing{border-top-color:#9aa3a7;background:#f8f9f9}
.growth-funnel-market>header{display:flex;align-items:start;justify-content:space-between;gap:10px}
.growth-funnel-market>header span{color:#65747a;font-size:10px;font-weight:900}
.growth-funnel-market h3{margin:3px 0 0;font-size:16px}
.growth-funnel-market>header small{color:#6c797e;font-size:10px}
.growth-funnel-definition{margin:0;padding-top:8px;border-top:1px solid #e5e9ea;color:#6c797e;font-size:10px;line-height:1.45}
.growth-rate{display:grid;gap:5px}
.growth-rate>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}
.growth-rate strong{font-size:12px}.growth-rate small{color:#768187;font-size:10px}
.growth-rate-bar{height:6px;background:#e9edee;overflow:hidden}.growth-rate-bar i{height:100%;display:block;background:#d6537f}.growth-funnel-market.is-de .growth-rate-bar i{background:#4a8db8}
.growth-rate.is-missing .growth-rate-bar i{width:0!important}

.growth-product-grid{display:grid;grid-template-columns:1fr;gap:9px}
.growth-product-card{min-width:0;overflow:hidden;border:1px solid #dfe3e5;border-radius:7px;background:#fff}
.growth-product-card.is-missing{background:#fafbfb}
.growth-product-media{position:relative;height:92px;display:block;padding:0;gap:0;border-bottom:1px solid #e3e7e8;background:#f0f4f4;overflow:hidden}
.growth-product-image,.growth-product-placeholder{width:100%;height:100%;aspect-ratio:auto;display:grid;place-items:center;background:#f0f4f4;object-fit:contain;color:#7b858a;font-size:10px}
.growth-product-badges{position:absolute;inset:7px 7px auto;display:flex;align-items:start;justify-content:space-between;gap:5px}.growth-product-badges span,.growth-product-badges b{padding:4px 6px;border-radius:3px;background:rgba(255,255,255,.94);color:#3b555a;font-size:7px;font-weight:900}.growth-product-badges b{color:#176267}
.growth-product-card>div:last-child{display:grid;gap:5px;padding:8px}
.growth-product-card h3{min-height:0;display:-webkit-box;margin:0;overflow:hidden;font-size:11px;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.growth-product-card p{display:-webkit-box;margin:0;overflow:hidden;color:#68767c;font-size:9px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.growth-product-status{width:max-content;padding:3px 6px;border-radius:4px;font-size:8px;font-weight:900;text-transform:uppercase}
.growth-product-status.is-winner{background:#e5f5ea;color:#2f7045}.growth-product-status.is-new,.growth-product-status.is-opportunity{background:#e8f3fb;color:#25678d}.growth-product-status.is-losing,.growth-product-status.is-risk{background:#fdeaea;color:#a53338}.growth-product-status.is-steady{background:#fff2d8;color:#885e12}.growth-product-status.is-missing{background:#eef0f1;color:#687078}
.growth-product-result{min-width:0;display:grid;gap:3px;padding-top:2px}.growth-product-result strong{overflow-wrap:anywhere;font-size:12px}.growth-product-result span{color:#4f6067;font-size:8px}.growth-product-result small{color:#748086;font-size:7px;line-height:1.35}.growth-product-error{padding:5px 6px;border-left:3px solid #c64b50;background:#fff1f1;color:#85383c;font-size:7px;line-height:1.35}
.growth-product-card footer{display:none}

.growth-channel-grid{display:grid;grid-template-columns:1fr;gap:10px}
.growth-channel-card{min-width:0;display:grid;gap:12px;padding:14px;border:1px solid #dce2e4;border-top:4px solid #3e8a64;border-radius:7px;background:#fff}
.growth-channel-card.is-missing,.growth-channel-card.is-stale{border-top-color:#9aa2a8;background:#fafbfb}.growth-channel-card.is-error{border-top-color:#c64b50;background:#fff7f7}
.growth-channel-card>header{display:flex;align-items:start;justify-content:space-between;gap:10px}.growth-channel-card>header span:first-child{color:#637177;font-size:8px;font-weight:900}.growth-channel-card h3{margin:3px 0 0;font-size:15px}
.growth-channel-card>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0}.growth-channel-card>dl div{min-width:0;padding:7px;background:#f3f6f6}.growth-channel-card dt{color:#748086;font-size:8px}.growth-channel-card dd{margin:3px 0 0;overflow-wrap:anywhere;font-size:10px;font-weight:850}
.growth-channel-guard{padding:8px;border-left:3px solid #d49b2c;background:#fff8e8}.growth-channel-guard span{color:#805b13;font-size:8px;font-weight:900;text-transform:uppercase}.growth-channel-guard p{margin:3px 0 0;color:#5e5a4f;font-size:9px}
.growth-channel-card>footer{display:grid;gap:4px;padding-top:8px;border-top:1px solid #e7ebec}.growth-channel-card>footer span{color:#68767c;font-size:8px;font-weight:800}.growth-channel-card>footer p{margin:0;color:#68767c;font-size:8px;line-height:1.4}

.growth-source-state.is-error{background:#fff0f0;color:#9c3036}
.growth-allegro-ads{display:grid;gap:14px}
.growth-allegro-status{padding:14px;border-left:4px solid #9aa4a9;background:#f6f7f7}.growth-allegro-status strong{font-size:12px}.growth-allegro-status p{margin:5px 0 0;color:#66747a;font-size:9px;line-height:1.45}
.growth-allegro-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.growth-allegro-metrics div{min-width:0;padding:10px;border-top:3px solid #f6a800;background:#f7f8f8}.growth-allegro-metrics dt{color:#6b777d;font-size:8px}.growth-allegro-metrics dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:13px;font-weight:900}
.growth-allegro-rankings{display:grid;grid-template-columns:1fr;gap:14px}.growth-allegro-rankings section{min-width:0}.growth-allegro-rankings h3{margin:0 0 7px;font-size:12px}.growth-allegro-table-wrap{max-width:100%;overflow-x:auto;border-top:1px solid #dfe4e5}.growth-allegro-table-wrap table{width:100%;min-width:520px;border-collapse:collapse}.growth-allegro-table-wrap th,.growth-allegro-table-wrap td{padding:8px;border-bottom:1px solid #e4e8e9;text-align:right;font-size:8px;white-space:nowrap}.growth-allegro-table-wrap th:first-child,.growth-allegro-table-wrap td:first-child{text-align:left;white-space:normal}.growth-allegro-table-wrap td strong,.growth-allegro-table-wrap td small{display:block}.growth-allegro-table-wrap td small{margin-top:2px;color:#748087;font-size:7px}.growth-allegro-empty,.growth-allegro-definition{margin:0;color:#68767c;font-size:9px;line-height:1.45}.growth-allegro-definition{padding-top:9px;border-top:1px solid #e2e6e7}
.growth-allegro-import{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #dde3e4}.growth-allegro-import label{min-width:0;display:grid;gap:5px;color:#59676d;font-size:9px;font-weight:800}.growth-allegro-import input{min-width:0;padding:8px;border:1px solid #ccd5d7;background:#fff;font:inherit}.growth-allegro-import button{width:max-content}.growth-allegro-import p{min-height:1.4em;margin:0;color:#68767c;font-size:8px}

.growth-creative-grid{display:grid;grid-template-columns:1fr;gap:10px}
.growth-creative-card{overflow:hidden;border:1px solid #dfe3e5;border-radius:7px;background:#fff}.growth-creative-card.is-missing{background:#fafbfb}
.growth-creative-thumb{height:96px;display:grid;place-content:center;gap:4px;border-bottom:1px solid #dfe3e5;background:#e9f4f4;color:#176267;text-align:center}.growth-creative-card:nth-child(2) .growth-creative-thumb{background:#fff0f5;color:#9a3158}.growth-creative-card:nth-child(3) .growth-creative-thumb{background:#eef4fb;color:#2e648e}
.growth-creative-thumb b{font-size:22px}.growth-creative-thumb span{font-size:9px;font-weight:800}.growth-creative-card>div:last-child{display:grid;gap:8px;padding:12px}.growth-creative-card h3{margin:0;font-size:12px}
.growth-creative-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.growth-creative-stats span{min-width:0;display:grid;gap:2px;color:#727e84;font-size:7px}.growth-creative-stats b{overflow-wrap:anywhere;color:#4d5960;font-size:9px}
.growth-creative-clicks{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 7px;padding:6px 8px;border-radius:5px;background:#edf7f3;color:#356c57;font-size:8px;font-weight:850}.growth-creative-clicks b{font-size:12px}.growth-creative-clicks small{grid-column:1/-1;color:#7b6641;font-size:7px;font-weight:600}.growth-creative-clicks.is-fallback{background:#fff7e8;color:#7b5a18}
.growth-creative-status{width:max-content;padding:4px 7px;border-radius:4px;background:#eef0f1;color:#687078;font-size:8px;font-weight:900}

.growth-experiment-board{display:grid;grid-template-columns:1fr;gap:14px}
.growth-experiment-column{min-width:0;min-height:0;padding-top:8px;border-top:4px solid #a7afb4}.growth-experiment-column[data-stage="preparation"]{border-color:#4b91b9}.growth-experiment-column[data-stage="running"]{border-color:#d59525}.growth-experiment-column[data-stage="decision"]{border-color:#4b9862}
.growth-experiment-column>header{display:flex;justify-content:space-between;margin-bottom:7px;font-size:10px;font-weight:900}.growth-experiment-column>header span{color:#6c797e}
.growth-experiment-card{display:grid;gap:8px;padding:11px;border:1px solid #dfe3e5;border-radius:6px;background:#fff}.growth-experiment-card+ .growth-experiment-card{margin-top:8px}.growth-experiment-card[data-decision="approved"]{border-left:4px solid #3f8a58}.growth-experiment-card[data-decision="rejected"]{border-left:4px solid #999;background:#f8f9f9}.growth-experiment-card[data-decision="later"]{border-left:4px solid #cf982d;background:#fffaed}
.growth-experiment-card>header{display:flex;justify-content:space-between;gap:6px;color:#617076;font-size:8px;font-weight:850}.growth-experiment-card h3{margin:0;font-size:11px;line-height:1.35}.growth-experiment-card p{margin:0;color:#59676e;font-size:9px;line-height:1.4}.growth-experiment-card dl{grid-template-columns:1fr 1fr}.growth-experiment-result{padding:7px;border-left:3px solid #4b9862;background:#eff8f2}
.growth-experiment-empty{margin:10px 0;color:#8a9297;font-size:9px}

.growth-plan{display:grid;grid-template-columns:1fr;gap:8px}
.growth-plan-phase{min-width:0;display:grid;gap:5px;padding:12px;border-left:5px solid #a1aaae;background:#f5f7f7}
.growth-plan-phase.is-done{border-color:#48905d;background:#eff8f2}.growth-plan-phase.is-active,.growth-plan-phase.is-current{border-color:#db2777;background:#fff2f7}.growth-plan-phase.is-gate{border-color:#d59625;background:#fff8e8}
.growth-plan-phase>span{color:#65747a;font-size:8px;font-weight:900;text-transform:uppercase}.growth-plan-phase h3{margin:0;font-size:11px}.growth-plan-phase p{margin:0;color:#627076;font-size:9px;line-height:1.4}.growth-plan-phase>b{color:#7b5a16;font-size:9px}

.growth-quality-grid{display:grid;grid-template-columns:1fr;gap:8px}
.growth-quality-card{min-width:0;display:grid;gap:4px;padding:11px;border-left:4px solid #4a8db8;background:#f2f7fb}.growth-quality-card.is-good{border-color:#45905d;background:#eff8f2}.growth-quality-card.is-warning{border-color:#d59525;background:#fff8e8}.growth-quality-card.is-risk{border-color:#c64b50;background:#fff1f1}.growth-quality-card.is-missing{border-color:#929ba0;background:#f4f6f6}
.growth-quality-card span{color:#68767b;font-size:8px;font-weight:900;text-transform:uppercase}.growth-quality-card strong{font-size:11px}.growth-quality-card p{margin:0;color:#67747a;font-size:8px;line-height:1.4}

.growth-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.growth-details summary{padding:14px 0;cursor:pointer;font-size:11px;font-weight:850}.growth-details[open]{padding:0 12px 12px}
.growth-source-list{display:grid;grid-template-columns:1fr;gap:7px}.growth-source-list span{min-height:48px;display:grid;align-content:center;gap:3px;padding:8px;border-left:3px solid #8d979c;background:#f4f6f6;font-size:9px}.growth-source-list span.is-connected{border-color:#4b9964;background:#eff8f2}.growth-source-list span.is-error{border-color:#c64b50;background:#fff1f1}.growth-source-list b{font-size:10px}.growth-details>p{margin:11px 0 0;color:#67747a;font-size:9px;line-height:1.5}

@media(min-width:420px){.growth-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:560px){.growth-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-start}.growth-heading-actions button{width:auto}.growth-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-controls label{width:auto}.growth-program-priority ol{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-program-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-product-grid,.growth-channel-grid,.growth-creative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-experiment-board{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-plan{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:760px){.growth-controls{display:flex;flex-wrap:wrap;padding:12px 0 2px;border-width:0 0 1px;border-radius:0;background:transparent}.growth-controls fieldset{min-width:240px}.growth-controls label{width:120px}.growth-controls .growth-coming-filter{min-width:0}.growth-controls fieldset.growth-coming-filter{width:300px}.growth-controls label.growth-coming-filter{width:150px}.growth-command-band{margin:0 -30px;padding:25px 30px}.growth-command-heading{grid-template-columns:minmax(0,1fr) auto;align-items:end}.growth-next-move{max-width:none}.growth-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-section-heading{grid-template-columns:minmax(0,1fr) auto}.growth-section-heading>span{text-align:right}.growth-conversion-program{margin:0 -30px;padding:24px 30px}.growth-program-priority ol{grid-template-columns:repeat(5,minmax(0,1fr))}.growth-program-lane{grid-template-columns:140px minmax(0,1fr)}.growth-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-product-grid{gap:8px}.growth-product-card p{display:none}.growth-product-result{gap:2px}.growth-plan{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-allegro-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.growth-allegro-rankings{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-allegro-import{grid-template-columns:minmax(260px,1fr) auto;align-items:end}.growth-allegro-import p{grid-column:1/-1}}
@media(min-width:980px){.growth-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-program-lane{grid-template-columns:160px minmax(0,1fr)}.growth-program-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-program-lane.is-project .growth-program-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.growth-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-creative-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-experiment-board{grid-template-columns:repeat(4,minmax(0,1fr))}.growth-quality-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1180px){.growth-heading{grid-template-columns:minmax(0,1fr) auto}.growth-heading-actions{justify-content:flex-end}}
@media(min-width:1200px){.growth-command-band{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:start}.growth-command-heading{grid-column:1}.growth-action-grid{grid-column:1}}

.growth-product-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px 14px}
.growth-product-controls label{display:grid;gap:5px;color:#59676d;font-size:11px;font-weight:750}
.growth-product-controls select{min-width:150px;min-height:36px;padding:6px 9px;border:1px solid #cfd9dc;border-radius:4px;background:#fff;color:#26393e;font:inherit}
.growth-product-controls>span{margin-left:auto;color:#66747a;font-size:11px}
.growth-product-notice{margin:0;padding:9px 11px;border-left:3px solid #d49b2c;background:#fff8e9;color:#614d28;font-size:11px;line-height:1.45}
.growth-product-notice[hidden],.growth-product-more[hidden]{display:none}
.growth-product-grid{grid-template-columns:repeat(1,minmax(0,1fr));gap:10px}
.growth-product-card{display:grid;grid-template-rows:auto 1fr}
.growth-product-media{height:auto;aspect-ratio:1;background:#f5f7f7}
.growth-product-image,.growth-product-placeholder{width:100%;height:100%;aspect-ratio:1;object-fit:contain}
.growth-product-card>.growth-product-body{display:grid;align-content:start;gap:9px;padding:11px}
.growth-product-card h3{min-height:2.7em;margin:0;font-size:12px;line-height:1.35;-webkit-line-clamp:2}
.growth-product-card h3 a{color:#243237;text-decoration:none}
.growth-product-card h3 a:hover,.growth-product-card h3 a:focus-visible{text-decoration:underline}
.growth-product-result{gap:3px}
.growth-product-result strong{color:#16383e;font-size:20px;line-height:1.2}
.growth-product-result span{color:#59676d;font-size:10px;line-height:1.3}
.growth-product-empty{grid-column:1/-1;margin:0;padding:18px 0;color:#68767c;font-size:12px}
.growth-product-more{justify-self:center;margin-top:2px}
@media(min-width:560px){.growth-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:760px){.growth-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:980px){.growth-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1440px){.growth-product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:559px){.growth-product-controls label{flex:1 1 140px}.growth-product-controls select{width:100%;min-width:0}.growth-product-controls>span{width:100%;margin:0}}

.growth-ads-period{margin:0 0 12px;color:#5d6d73;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.growth-creative-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.growth-campaign-group{min-width:0;padding-top:10px;border-top:2px solid #d9e2e4}
.growth-campaign-group>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
.growth-campaign-group>header h3{min-width:0;margin:0;overflow-wrap:anywhere;font-size:14px}
.growth-campaign-group>header span{flex:none;color:#66767d;font-size:10px}
.growth-creative-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.growth-creative-card{min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr);border-radius:6px}
.growth-creative-media{width:76px;min-height:108px;display:grid;place-items:center;overflow:hidden;border-right:1px solid #e1e7e8;background:#f1f5f5;color:#79868b;text-align:center}
.growth-creative-media img{width:100%;height:100%;max-height:160px;object-fit:contain}
.growth-creative-media span{padding:7px;font-size:9px}
.growth-creative-card>.growth-creative-body{min-width:0;display:grid;align-content:start;gap:7px;padding:10px}
.growth-creative-heading{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:6px}
.growth-creative-card h4{min-width:0;margin:0;overflow-wrap:anywhere;font-size:12px;line-height:1.3}
.growth-creative-status{width:auto;max-width:100%;padding:3px 5px;overflow-wrap:anywhere;font-size:8px;line-height:1.25}
.growth-creative-status.is-active{background:#e8f5eb;color:#286d42}.growth-creative-status.is-waiting{background:#fff3e0;color:#7d5b1c}
.growth-creative-adset{margin:0;color:#68767c;font-size:9px;line-height:1.3;overflow-wrap:anywhere}
.growth-creative-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.growth-creative-stats span{padding-top:4px;border-top:1px solid #e8ecec;font-size:8px;line-height:1.3}
.growth-creative-stats b{font-size:10px;line-height:1.25}
.growth-creative-note{color:#68767c;font-size:9px;line-height:1.35}
@media(min-width:980px){.growth-creative-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.growth-creative-card{grid-template-columns:64px minmax(0,1fr)}.growth-creative-media{width:64px}.growth-creative-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.operations-view{padding:22px 0 40px;color:#223036}
.operations-header,.operations-band-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.operations-header{padding-bottom:16px;border-bottom:1px solid #d7e2e4}
.operations-header h2{margin:0;font-size:20px}.operations-header p{margin:4px 0 0;color:#66747b;font-size:11px}
.operations-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0 0 20px;background:#d9e3e5;border-bottom:1px solid #d9e3e5}
.operations-metric{min-width:0;display:grid;gap:3px;padding:14px 12px;background:#f3f8f8}
.operations-metric:is(button,a){border:0;text-align:left;cursor:pointer;font:inherit;color:inherit;text-decoration:none}.operations-metric:is(button,a):hover,.operations-metric:is(button,a):focus-visible{background:#e5f0f1;outline:2px solid #76b5b8;outline-offset:-2px}
.operations-metric strong{font-size:22px;line-height:1}.operations-metric span{font-size:10px;color:#5a6a70}
.operations-metric.is-alert{background:#fff1ef;color:#a83244}
.operations-band{padding:8px 0 19px;border-bottom:1px solid #d9e3e5}
.operations-band-heading{margin-bottom:5px}.operations-band-heading h3{margin:0;font-size:14px}.operations-band-heading span,.operations-band-heading a{font-size:11px;color:#537077}
.operations-filters{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:9px 0 7px}.operations-filters button{border:1px solid #cbd9dc;border-radius:4px;background:#fff;color:#40545b;font:inherit;font-size:10px;font-weight:700;padding:7px 9px;cursor:pointer}.operations-filters button[aria-pressed="true"]{border-color:#3c9299;background:#e8f6f5;color:#16636c}.operations-filters label{display:flex;align-items:center;gap:5px;margin-left:auto;color:#5c6e74;font-size:10px;font-weight:700}.operations-filters select{max-width:150px;border:1px solid #cbd9dc;border-radius:4px;padding:6px;background:#fff;color:#40545b;font:inherit}
.operations-list{display:grid}.operations-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 2px;border-bottom:1px solid #e7eded}
.operations-row:last-child{border-bottom:0}.operations-row.is-critical{border-left:3px solid #c44257;padding-left:10px}
.operations-row-main{min-width:0;flex:1 1 260px}.operations-row-main strong{display:block;font-size:12px;overflow-wrap:anywhere}.operations-row-main small{display:block;margin-top:4px;color:#67787e;font-size:10px;line-height:1.4}
.operations-row-main p{margin:6px 0 0;color:#43555b;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.operations-row-state{color:#47646a;font-weight:700}.operations-row-details{margin-top:7px}.operations-row-details summary{width:max-content;color:#176d75;font-size:11px;font-weight:700;cursor:pointer}.operations-row-details .operations-row-actions{margin-top:8px}
.operations-row-main a{display:inline-block;margin-top:5px;color:#166a76;text-decoration:underline;font-size:10px}.operations-row-main small a{margin-top:0}
.operations-row-actions{display:flex;gap:6px;flex-wrap:wrap}.operations-row button{flex:none}.operations-row a,.operations-state{font-size:11px}
.operations-history{flex-basis:100%;padding:8px 12px;background:#f4f7f7;border-left:2px solid #5da3a8;font-size:10px}.operations-history p{margin:4px 0}
.operations-empty{margin:0;padding:18px 0;color:#6b7b80;font-size:11px}.operations-notice{padding:9px 12px;background:#eaf6f5;font-size:11px}.operations-notice.is-error{background:#fff0f1;color:#a3243b}
.operations-dialog{width:min(620px,calc(100vw - 24px));max-height:calc(100vh - 40px);overflow:auto;border:1px solid #ccd9dc;border-radius:6px;padding:20px;background:#fff;color:#223036}
.operations-dialog::backdrop{background:rgba(24,38,42,.42)}.operations-dialog h2{margin:0 0 14px;font-size:17px;overflow-wrap:anywhere}
.operations-dialog form{display:grid;gap:12px}.operations-dialog label{min-width:0;display:grid;gap:5px;font-size:11px;font-weight:700}
.operations-dialog input,.operations-dialog select,.operations-dialog textarea{width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid #cbd8dc;border-radius:4px;background:#fff;color:#243239;font:inherit;font-weight:400}
.operations-dialog textarea{resize:vertical}.operations-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operation-documents-band .form-error { margin:10px 0; }
.operation-document-row { display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:start; gap:14px; padding:15px 0; border-bottom:1px solid #e0e5e7; }
.operation-document-row:last-child { border-bottom:0; }
.operation-document-main { min-width:0; }
.operation-document-main h4 { margin:0 0 5px; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
.operation-document-file-hint { color:var(--muted); font-size:10px; }
.operation-document-thumbnail { width:64px; height:80px; display:grid; place-items:center; padding:3px; background:#fff; border:1px solid #ccd6db; border-radius:3px; cursor:zoom-in; color:#52636c; font:inherit; font-size:10px; overflow:hidden; }
.operation-document-thumbnail:hover,.operation-document-thumbnail:focus-visible { border-color:var(--brand); outline:2px solid #fce7f3; }
.operation-document-thumbnail img { display:block; width:100%; height:100%; object-fit:contain; }
.operation-document-preview-dialog { width:min(960px,calc(100vw - 32px)); max-width:calc(100vw - 32px); padding:0; border:1px solid #bdcbd3; border-radius:6px; background:#fff; color:var(--text); }
.operation-document-preview-dialog::backdrop { background:rgb(20 30 40 / 45%); }
.operation-document-preview-dialog header,.operation-document-preview-dialog footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; }
.operation-document-preview-dialog h2 { margin:0; min-width:0; overflow-wrap:anywhere; font-size:15px; }
.operation-document-preview-dialog header { border-bottom:1px solid #e0e5e7; }
.operation-document-preview-dialog footer { justify-content:flex-end; border-top:1px solid #e0e5e7; }
.operation-document-preview-dialog .secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; flex-shrink:0; text-decoration:none; }
#operationDocumentPreviewContent { height:min(68vh,760px); display:grid; place-items:center; overflow:auto; background:#fff; }
#operationDocumentPreviewContent iframe { width:100%; height:100%; border:0; }
#operationDocumentPreviewContent img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.operation-document-main details { margin-top:9px; }
.operation-document-main summary { width:max-content; cursor:pointer; color:#315b61; font-size:11px; font-weight:700; }
.operation-document-main details p { max-width:900px; margin:8px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.6; }
.operation-document-actions { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.operation-document-actions .secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; text-decoration:none; white-space:nowrap; }
.operation-document-actions .nav-icon { width:16px; height:16px; flex-basis:16px; }
.operation-document-icon-button { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; padding:0; border:1px solid #ccd6db; border-radius:4px; background:#fff; color:#455760; cursor:pointer; }
.operation-document-icon-button:hover { border-color:#52636c; }
.operation-document-icon-button.is-danger { color:#a12942; }
.operation-document-icon-button:disabled { opacity:.5; cursor:wait; }
.operation-document-print-frame { position:fixed; bottom:0; right:0; width:1px; height:1px; border:0; opacity:0; pointer-events:none; }
#operationDocumentCurrentFile { margin:0; font-size:11px; overflow-wrap:anywhere; }
@media(max-width:680px) { .operation-document-row { grid-template-columns:64px minmax(0,1fr); gap:12px; }.operation-document-actions { grid-column:2; justify-content:flex-start; }.operation-document-preview-dialog header,.operation-document-preview-dialog footer { padding:10px; } }
.operations-purchase-context{margin:0;color:#577077;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.operations-purchase-context a{color:#166a76}
.operations-table-wrap{width:100%;overflow-x:auto}.operations-purchase-table{width:100%;border-collapse:collapse;table-layout:fixed}.operations-purchase-table th{text-align:left;padding:9px 10px;background:#edf6f6;color:#37616a;font-size:10px}.operations-purchase-table td{vertical-align:middle;padding:12px 10px;border-bottom:1px solid #e1eaeb;font-size:11px;overflow-wrap:anywhere}.operations-purchase-table th:first-child{width:33%}.operations-purchase-table th:nth-child(2){width:13%}.operations-purchase-table th:nth-child(3),.operations-purchase-table th:nth-child(4){width:20%}.operations-purchase-table th:last-child{width:14%}.operations-purchase-table td:last-child{text-align:right}.operations-purchase-table strong{display:block;font-size:12px}.operations-purchase-table small{display:block;margin-top:3px;color:#687a80;font-size:10px}.operations-purchase-table select{width:100%;min-width:0;border:1px solid #c8d8da;border-radius:4px;padding:8px 6px;color:#263940;font:inherit;font-weight:800}.operations-purchase-table select:disabled{opacity:.72}.operations-status-select.is-delivery-preparing,.operations-status-select.is-payment-prepayment{border-color:#d99aa5;background:#fff0f2;color:#8c1f35}.operations-status-select.is-delivery-in_delivery,.operations-status-select.is-payment-terms{border-color:#dcc86e;background:#fff9d9;color:#765e00}.operations-status-select.is-delivery-delivered,.operations-status-select.is-payment-paid{border-color:#8fc4a6;background:#edf9f1;color:#226443}.operations-order-date{font-variant-numeric:tabular-nums;color:#475b62}.operations-not-ordered{color:#7b868b}.operations-purchase-table .secondary-button{white-space:nowrap}
.operations-active-purchases,.operations-secondary-purchases{padding:10px 0}.operations-active-purchases>summary,.operations-secondary-purchases>summary{width:max-content;color:#365f67;font-size:11px;font-weight:800;cursor:pointer}.operations-active-purchases>.operations-table-wrap,.operations-secondary-purchases>.operations-table-wrap{margin-top:8px}.operations-secondary-purchases{border-top:1px solid #e1eaeb}.operations-delivered-purchases>summary{color:#5c747a}
.employee-deadline-table{width:100%;border-collapse:collapse;table-layout:fixed}.employee-deadline-table th{text-align:left;padding:9px 10px;border-bottom:1px solid #d7dfe2;color:#45545b;font-size:10px}.employee-deadline-table th:first-child{width:14%}.employee-deadline-table th:nth-child(2),.employee-deadline-table th:nth-child(3){width:36%}.employee-deadline-table th:last-child{width:14%}.employee-deadline-table td{padding:11px 10px;border-bottom:1px solid #e2e7e9;vertical-align:top;font-size:11px}.employee-deadline-table strong{font-size:12px}.employee-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.employee-date-field{display:grid;gap:4px;color:#5f6d73;font-size:9px;font-weight:700}.employee-date-field input{width:100%;min-width:0;box-sizing:border-box;padding:7px 6px;border:1px solid #c9d2d6;border-radius:4px;background:#fff;color:#26353b;font:inherit;font-size:10px}.employee-deadline-state{width:max-content;max-width:100%;padding:2px 5px;border-radius:3px;background:#eef1f2;color:#647278;font-size:8px;line-height:1.3}.employee-deadline-state.is-warning{background:#fff4cc;color:#755d00}.employee-deadline-state.is-urgent,.employee-deadline-state.is-overdue{background:#ffe7e9;color:#a51f39}.employee-deadline-state.is-current{background:#e9f4ed;color:#276743}.employee-deadline-table td:last-child{text-align:right}.employee-deadline-alerts{grid-column:1/-1;border:1px solid #d6dde0;border-radius:6px;background:#fff;overflow:hidden}.employee-deadline-alerts>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #d6dde0}.employee-deadline-alerts h2{margin:0;font-size:15px}.employee-deadline-alerts>header span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#b62b45;color:#fff;font-size:11px;font-weight:800}.employee-deadline-alert{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 16px;border-bottom:1px solid #e2e7e9;border-left:8px solid #d7a926;background:#fff}.employee-deadline-alert:last-child{border-bottom:0}.employee-deadline-alert.is-urgent,.employee-deadline-alert.is-overdue{border-left-color:#bd3048}.employee-deadline-alert div{display:grid;gap:3px}.employee-deadline-alert strong{font-size:13px}.employee-deadline-alert span{color:#65747a;font-size:10px}.employee-deadline-alert b{color:#8a2639;font-size:11px;white-space:nowrap}
.employee-deadline-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.employee-delete-button{border:0;background:transparent;color:#a5233d;font-size:10px;font-weight:700;cursor:pointer}.employee-delete-button:hover{text-decoration:underline}.sales-document-alert{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;border:1px solid #e2c7cc;border-left:8px solid #bd3048;border-radius:6px;background:#fff}.sales-document-alert h2{margin:0 0 4px;font-size:15px}.sales-document-alert p{margin:0;color:#65747a;font-size:11px}.sales-document-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:11px 12px;border-left:6px solid #3b8c67;background:#fff}.sales-document-summary.is-missing{border-left-color:#bd3048}.sales-document-summary strong{font-size:12px}.sales-document-summary span{color:#64737a;font-size:10px}.sales-document-missing-table{width:100%;border-collapse:collapse}.sales-document-missing-table th,.sales-document-missing-table td{padding:9px 10px;border-bottom:1px solid #e2e7e9;text-align:left;font-size:10px}.sales-document-missing-table th{color:#4d5b61;font-size:9px;text-transform:uppercase}.sales-document-missing-table td:last-child{text-align:right}.sales-document-missing-table a:not(.secondary-button){color:#176f76;font-weight:800}.sales-document-row-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.sales-document-audit-heading{align-items:flex-end;gap:18px}.sales-document-audit-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sales-document-audit-controls label{display:grid;gap:3px;color:#526168;font-size:9px;font-weight:800}.sales-document-audit-controls input{box-sizing:border-box;width:132px;height:34px;padding:5px 8px;border:1px solid #cbd3d7;border-radius:5px;background:#fff;color:#27343a;font:inherit}.sales-document-range-shortcuts{display:flex;gap:5px}.sales-document-range-shortcuts button{height:30px;padding:0 9px;border:1px solid #cbd3d7;border-radius:5px;background:#fff;color:#46545b;font-size:9px;font-weight:800;cursor:pointer}.sales-document-range-shortcuts button:hover,.sales-document-range-shortcuts button:focus-visible{border-color:#76858c;background:#f7f8f8}.sales-document-audit-controls>.secondary-button{height:34px;white-space:nowrap}
.employee-deadline-table th:first-child{width:12%}.employee-deadline-table th:nth-child(2),.employee-deadline-table th:nth-child(3){width:35%}.employee-deadline-table th:last-child{width:18%}
@media(min-width:760px){.operations-stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}
@media(min-width:760px){#ownerOperationsStats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.operations-purchase-table,.operations-purchase-table tbody,.operations-purchase-table tr,.operations-purchase-table td{display:block;width:100%}.operations-purchase-table thead{display:none}.operations-purchase-table tr{padding:10px 0;border-bottom:1px solid #d9e3e5}.operations-purchase-table td{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;padding:5px 2px;border:0}.operations-purchase-table td::before{content:attr(data-label);color:#60737a;font-size:10px;font-weight:700}.operations-purchase-table td:first-child{display:block}.operations-purchase-table td:first-child::before{display:none}.operations-purchase-table select{max-width:230px}.operations-table-action{justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:700px){.employee-deadline-table,.employee-deadline-table tbody,.employee-deadline-table tr,.employee-deadline-table td{display:block;width:100%}.employee-deadline-table thead{display:none}.employee-deadline-table tr{box-sizing:border-box;padding:12px 0;border-bottom:1px solid #d9e3e5}.employee-deadline-table td{display:grid;grid-template-columns:94px minmax(0,1fr);gap:8px;padding:6px 2px;border:0}.employee-deadline-table td::before{content:attr(data-label);color:#60737a;font-size:10px;font-weight:700}.employee-deadline-table td:first-child{display:block}.employee-deadline-table td:first-child::before{display:none}.employee-deadline-table td:last-child{display:flex;justify-content:flex-end}.employee-date-pair{grid-template-columns:minmax(0,1fr)}.employee-deadline-alert{align-items:flex-start;flex-direction:column;gap:7px}.employee-deadline-alert b{white-space:normal}}
@media(max-width:700px){.sales-document-alert,.sales-document-summary,.sales-document-audit-heading{align-items:flex-start;flex-direction:column}.sales-document-audit-controls{width:100%;justify-content:flex-start}.sales-document-audit-controls label{flex:1;min-width:120px}.sales-document-audit-controls input{width:100%}.sales-document-missing-table,.sales-document-missing-table tbody,.sales-document-missing-table tr,.sales-document-missing-table td{display:block;width:100%}.sales-document-missing-table thead{display:none}.sales-document-missing-table tr{box-sizing:border-box;padding:9px 0;border-bottom:1px solid #e2e7e9}.sales-document-missing-table td{box-sizing:border-box;padding:4px 8px;border:0}.sales-document-missing-table td:last-child{text-align:left}}
@media(max-width:520px){.operations-form-grid{grid-template-columns:minmax(0,1fr)}.operations-row-actions{width:100%}.operations-filters label{margin-left:0;width:100%}}

/* Neutral visual hierarchy: color is reserved for actions, alerts and compact status marks. */
.real-sidebar a.active { background:#f2f3f4; color:var(--brand-dark); box-shadow:inset 3px 0 0 var(--brand); }
.sidebar-nav-toggle:hover,.sidebar-nav-toggle.active,.real-sidebar .sidebar-subnav a.active { background:#f3f4f5; color:#3d474d; }
.sidebar-subnav { border-left-color:#d8dcdf; }
.seamstress-slogan-banner { border-bottom-color:var(--line); background:#fff; }
.seamstress-slogan-banner p { color:#343b40; }
.seamstress-slogan-swatches { width:8px; grid-template-columns:1fr; grid-template-rows:repeat(4,1fr); }
.rose,.aqua,.blue,.yellow,.green { --section-soft:#f7f8f8; --section-line:#dfe3e5; --section-ink:#465158; }
.work-section header { background:#f7f8f8; }
.work-section header>span,.sewing-today-heading span,.sewing-today-group.is-progress .sewing-today-heading span { border:1px solid #d9dee1; background:#fff; color:#465158; }
.messages-notice:not(.is-error),.returns-notice:not(.is-error),.returns-accounting-bar,.etsy-notice:not(.is-error),.etsy-private-note:not(.is-error) { border-color:#aeb7bc; background:#fff; color:#465158; }
.return-case-section { --return-soft:#f7f8f8!important; }
.return-case-section>summary,.return-detail-toolbar,.message-dialog-tools,.message-order-context,.message-thread { background:#f7f8f8; }
.delayed-orders-table th,.operations-purchase-table th,.etsy-tracking-table th { background:#f3f4f5; color:#4c5960; }
.delayed-orders-table td,.unpaid-orders-table td { background:#fff; border-bottom-color:#e2e5e7; }
.message-entry.is-outgoing,.message-entry.is-note { border-color:#d7dcdf; background:#fff; }
.message-status-filters button.is-active { background:#eef0f1; color:#354148; }
.message-entry.is-outgoing { box-shadow:inset 3px 0 0 #8a959b; }
.message-entry.is-note { box-shadow:inset 3px 0 0 #a7874c; }
.message-entry-translation,.message-reply-translation,.message-product-context,.message-reply,.new-message-agent { border-color:#b9c1c5; background:#fff; color:#344047; }
.message-entry-translation>strong,.message-reply-translation>header strong,.message-reply h3,.new-message-agent>p { color:#465158; }
.message-attachment,.message-reply-document,.message-reply-file { border-color:#d4dadd; background:#fff; color:#3f4d54; }
.message-attachment:hover { border-color:#8d989e; background:#f5f6f7; }
.etsy-customer-note,.etsy-mapping-form,.etsy-address-form,.etsy-mapped-components li { border-color:#d2d8db; background:#fff; }
.etsy-mapping-result:hover,.etsy-mapping-result.is-selected { border-color:#737f86; background:#f1f3f4; }
.growth-controls,.growth-command-panel,.growth-command-tasks { background:#fff; }
.growth-segmented button.is-active { background:#eceff0; color:#344047; }
.growth-command-band,.growth-conversion-program { border-color:#dce1e3; background:#f7f8f8; }
.growth-goal-band { border-color:#dce1e3; background:#f7f8f8; }
.growth-goal-ring { border:10px solid #d9dee0; background:#fff; color:#374248; }
.growth-sales-plot { background:#fff; }
.growth-product-placeholder,.growth-product-media,.growth-creative-media,.growth-creative-thumb,.growth-creative-card:nth-child(2) .growth-creative-thumb,.growth-creative-card:nth-child(3) .growth-creative-thumb { background:#f3f4f5; color:#66737a; }
.growth-program-card.is-featured,.growth-action-card[data-decision="approved"],.growth-action-card[data-decision="rejected"],.growth-action-card[data-decision="later"],.growth-action-card[data-work-status="done"],.growth-experiment-card[data-decision="rejected"],.growth-experiment-card[data-decision="later"] { background:#fff; }
.growth-program-card dl div,.growth-program-steps li,.growth-action-card dl div,.growth-experiment-card dl div,.growth-channel-card>dl div,.growth-helper-metrics article { background:#f4f5f6; }
.growth-plan-phase,.growth-plan-phase.is-done,.growth-plan-phase.is-active,.growth-plan-phase.is-current,.growth-plan-phase.is-gate,.growth-quality-card,.growth-quality-card.is-good,.growth-quality-card.is-warning,.growth-quality-card.is-risk,.growth-quality-card.is-missing,.growth-source-list span,.growth-source-list span.is-connected,.growth-source-list span.is-error { background:#f7f8f8; }
.operations-stats { background:#fff; border:1px solid #dfe3e5; }
.operations-metric,.operations-metric.is-alert { background:#fff; }
.operations-metric.is-alert { box-shadow:inset 0 3px 0 #ba3e51; }
.operations-metric:is(button,a):hover,.operations-metric:is(button,a):focus-visible { background:#f3f5f5; outline-color:#8b969b; }
.operations-filters button[aria-pressed="true"] { border-color:#727e84; background:#eceff0; color:#303a3f; }
.operations-history,.operations-notice:not(.is-error) { background:#f5f6f7; border-color:#909ba0; }

.epr-view { display:grid; gap:18px; }
.epr-toolbar { display:flex; align-items:end; justify-content:space-between; gap:20px; padding-bottom:16px; border-bottom:1px solid #dfe4e6; }
.epr-toolbar p { margin:0 0 4px; color:#68757b; }
.epr-toolbar h2 { margin:0; font-size:28px; }
.epr-year-switch { display:flex; padding:3px; border:1px solid #cdd5d9; border-radius:6px; background:#fff; }
.epr-year-switch button { min-width:72px; padding:9px 14px; border:0; border-radius:4px; background:transparent; color:#46545b; font-weight:700; cursor:pointer; }
.epr-year-switch button[aria-pressed="true"] { background:#273940; color:#fff; }
#eprDashboard { display:grid; gap:16px; }
.epr-nav-count { min-width:22px; height:22px; display:grid; place-items:center; margin-left:auto; padding:0 6px; border-radius:11px; color:#fff; font-size:12px; font-weight:900; }
.epr-nav-count.is-red { background:#b4232c; }
.epr-nav-count.is-yellow { background:#d79b0d; color:#2e260f; }
.epr-nav-count.is-green { background:#2e8a5b; }
.epr-country-section { display:grid; gap:12px; }
.epr-country-section>header { display:flex; align-items:end; justify-content:space-between; gap:20px; }
.epr-country-section h3 { margin:0 0 3px; font-size:17px; }
.epr-country-section p,.epr-country-section>header>span { margin:0; color:#6a767c; font-size:12px; }
.epr-country-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:10px; }
.epr-country-card { display:grid; grid-template-columns:12px minmax(120px,1fr) auto; gap:9px 12px; align-items:center; min-height:108px; padding:12px 14px; border:1px solid #d8dfe2; border-radius:6px; background:#fff; color:#27363d; text-align:left; cursor:pointer; }
.epr-country-card:hover { border-color:#9ba9af; }
.epr-country-card.is-selected { border-color:#ba1f68; box-shadow:0 0 0 2px rgba(186,31,104,.12); }
.epr-country-status { width:10px; height:38px; border-radius:3px; background:#d49d17; }
.epr-country-card.is-green .epr-country-status { background:#2e8a5b; }
.epr-country-card.is-yellow .epr-country-status { background:#d49d17; }
.epr-country-card.is-red .epr-country-status { background:#bd3048; }
.epr-country-main,.epr-country-meta { display:grid; gap:3px; }
.epr-country-meta { grid-column:2/4; grid-template-columns:minmax(170px,.7fr) minmax(0,1fr); align-items:baseline; }
.epr-country-main small,.epr-country-meta small { color:#6b777d; }
.epr-country-actions { justify-self:start; padding:5px 8px; border-radius:4px; font-size:11px; font-weight:800; white-space:nowrap; }
.epr-country-actions.is-green { background:#e9f4ed; color:#236744; }
.epr-country-actions.is-yellow { background:#fff3cd; color:#705400; }
.epr-country-actions.is-red { background:#fdebed; color:#9f2338; }
.epr-status { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 22px; border:1px solid #d9dfe2; border-left:8px solid #d49d17; border-radius:6px; background:#fff; }
.epr-status.is-green { border-left-color:#2e8a5b; }
.epr-status.is-yellow { border-left-color:#d49d17; }
.epr-status.is-red { border-left-color:#bd3048; }
.epr-status span,.epr-status small { color:#68757b; font-size:12px; font-weight:700; text-transform:uppercase; }
.epr-status h3 { margin:3px 0; font-size:22px; }
.epr-status p { margin:0; color:#45535a; }
.epr-status>div:last-child { display:grid; gap:3px; text-align:right; }
.epr-attention { padding:15px 17px; border:1px solid #ead99e; border-left:6px solid #d49d17; border-radius:6px; background:#fffdf5; }
.epr-attention.is-red { border-color:#efc5cc; border-left-color:#bd3048; background:#fff9fa; }
.epr-attention h3 { margin:0 0 9px; font-size:16px; }
.epr-attention ul { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.epr-attention li { display:flex; gap:8px; align-items:baseline; }
.epr-attention li span { color:#5f6a70; font-size:13px; }
.epr-attention .epr-attention-kind { flex:0 0 auto; padding:3px 6px; border-radius:4px; background:#fff0bd; color:#6f5300; font-size:10px; font-weight:900; text-transform:uppercase; }
.epr-attention .epr-attention-kind.is-waiting { background:#edf1f3; color:#4f5d64; }
.epr-attention .epr-attention-kind.is-overdue { background:#fde1e5; color:#99263a; }
.epr-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.epr-summary-grid article,.epr-panel { border:1px solid #dbe1e4; border-radius:6px; background:#fff; box-shadow:0 2px 7px rgba(35,49,55,.04); }
.epr-summary-grid article { display:grid; gap:6px; padding:16px; }
.epr-summary-grid span,.epr-summary-grid small { color:#6b777d; font-size:12px; }
.epr-summary-grid strong { color:#27363d; }
.epr-columns { display:grid; grid-template-columns:1.2fr .8fr; gap:16px; }
.epr-panel { padding:18px; }
.epr-panel>header { display:flex; align-items:start; justify-content:space-between; gap:16px; padding-bottom:14px; border-bottom:1px solid #e1e5e7; }
.epr-panel h3 { margin:0 0 4px; font-size:18px; }
.epr-panel header p { margin:0; color:#6a767c; font-size:13px; }
.epr-reconcile,.epr-task-kind { padding:4px 7px; border-radius:4px; background:#edf6f1; color:#276944; font-size:11px; font-weight:800; text-transform:uppercase; }
.epr-panel table { width:100%; margin-top:12px; border-collapse:collapse; }
.epr-panel th,.epr-panel td { padding:11px 8px; border-bottom:1px solid #e4e8ea; text-align:right; }
.epr-panel th:first-child,.epr-panel td:first-child { text-align:left; }
.epr-program-list { display:grid; gap:18px; }
.epr-program { display:grid; gap:12px; padding:16px; border:1px solid #d6dfe2; border-left:6px solid #29938c; border-radius:6px; background:#fdfefe; }
.epr-program>header { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.epr-program>header span { color:#68767c; font-size:11px; font-weight:800; text-transform:uppercase; }
.epr-program>header h3 { margin:3px 0; font-size:21px; }
.epr-program>header p { margin:0; color:#617077; }
.epr-program>header a { flex:0 0 auto; color:#155c68; font-weight:800; }
.epr-program-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.epr-program-facts article { display:grid; align-content:start; gap:5px; min-height:112px; padding:13px; border:1px solid #dfe5e7; border-radius:5px; background:#fff; }
.epr-program-facts span,.epr-program-facts small { color:#68767c; font-size:12px; }
.epr-task-buttons { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.epr-registration-edit { padding:10px 12px; border:1px solid #e0e5e7; border-radius:5px; background:#fff; }
.epr-registration-edit>summary { color:#34434a; font-weight:800; cursor:pointer; }
.epr-registration-form { display:grid; grid-template-columns:220px 240px minmax(240px,1fr) auto; gap:10px; align-items:end; margin-top:12px; }
.epr-registration-form label { display:grid; gap:5px; color:#66737a; font-size:12px; }
.epr-registration-form input,.epr-registration-form select { width:100%; min-height:40px; border:1px solid #cdd5d9; border-radius:5px; background:#fff; padding:8px 10px; }
.epr-facts { margin:10px 0 0; }
.epr-facts div { display:flex; justify-content:space-between; gap:20px; padding:9px 0; border-bottom:1px solid #e7eaec; }
.epr-facts dt { color:#6a767c; }
.epr-facts dd { margin:0; font-weight:700; text-align:right; }
.epr-note { margin:14px 0 0; padding:11px 12px; border-left:4px solid #77a5ae; background:#f5f8f8; color:#4d5b61; font-size:13px; }
.epr-task-list { display:grid; gap:0; }
.epr-task { display:grid; grid-template-columns:minmax(0,1fr) 260px 190px; gap:18px; align-items:center; padding:15px 0; border-bottom:1px solid #e2e6e8; }
.epr-task:last-child { border-bottom:0; }
.epr-task h4 { margin:6px 0 4px; }
.epr-task p { margin:0; color:#59676e; line-height:1.45; }
.epr-task.is-optional { opacity:.7; }
.epr-task-meta { display:grid; gap:7px; font-size:13px; }
.epr-task-meta a { color:#176778; font-weight:700; }
.epr-verification { display:flex; flex-wrap:wrap; gap:6px 12px; margin-top:10px; color:#657278; font-size:12px; }
.epr-verification small { flex-basis:100%; }
.epr-verification-state { padding:2px 5px; border-radius:3px; font-weight:800; }
.epr-verification-state.is-verified { background:#e9f4ed; color:#246b45; }
.epr-verification-state.is-declared { background:#fff3cd; color:#705400; }
.epr-verification-state.is-pending { background:#f1f3f4; color:#59656b; }
.epr-task-action { display:grid; gap:8px; align-items:center; }
.epr-task-status { justify-self:start; padding:4px 7px; border-radius:4px; background:#f0f2f3; color:#56636a; font-size:11px; font-weight:800; text-transform:uppercase; }
.epr-task-status.is-completed { background:#e9f4ed; color:#246b45; }
.epr-task-status.is-upcoming { background:#fff3cd; color:#705400; }
.epr-task-status.is-overdue,.epr-task-status.is-action { background:#fdebed; color:#9f2338; }
.epr-task select,.epr-evidence-form select,.epr-evidence-form input { width:100%; min-height:40px; border:1px solid #cdd5d9; border-radius:5px; background:#fff; padding:8px 10px; }
.epr-transport h4 { margin:18px 0 6px; }
.epr-transport-list { overflow-x:auto; }
.epr-transport-list table { min-width:980px; }
.epr-transport-add { margin-top:18px; padding-top:14px; border-top:1px solid #e1e5e7; }
.epr-transport-add>summary { color:#27363d; font-weight:800; cursor:pointer; }
.epr-transport-form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:end; margin-top:14px; }
.epr-transport-form label { display:grid; gap:5px; color:#66737a; font-size:12px; }
.epr-transport-form input,.epr-transport-form select,.epr-transport-form textarea { width:100%; min-height:40px; border:1px solid #cdd5d9; border-radius:5px; background:#fff; padding:8px 10px; }
.epr-transport-wide { grid-column:span 2; }
.epr-transport-check { grid-column:span 2; grid-template-columns:auto 1fr!important; align-items:center; min-height:40px; }
.epr-transport-check input { width:auto; min-height:0; }
.epr-evidence-list { display:grid; margin-top:12px; }
.epr-evidence-list a { display:flex; justify-content:space-between; gap:20px; padding:12px; border-bottom:1px solid #e2e6e8; color:#27363d; text-decoration:none; }
.epr-evidence-list a span:first-child { display:grid; gap:3px; }
.epr-evidence-list small { color:#6a767c; }
.epr-evidence-form { display:grid; grid-template-columns:180px minmax(240px,1fr) minmax(220px,1fr) auto; gap:10px; align-items:end; margin-top:16px; padding-top:16px; border-top:1px solid #dfe4e6; }
.epr-evidence-form label { display:grid; gap:5px; color:#66737a; font-size:12px; }
.epr-sources details>summary { color:#27363d; font-weight:800; cursor:pointer; }
.epr-sources details>p { color:#59676e; line-height:1.5; }
.epr-sources ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0 0; padding:0; list-style:none; }
.epr-sources li { padding:11px 12px; border:1px solid #dfe4e6; border-radius:5px; }
.epr-sources li.is-planned { background:#fafbfb; }
.epr-sources li>div { display:flex; justify-content:space-between; gap:10px; }
.epr-sources li span,.epr-sources li small { color:#68757b; font-size:11px; }
.epr-sources li p { margin:6px 0; color:#4f5d63; font-size:12px; }
.epr-confirm-task-title { margin:-4px 0 12px; color:#34434a; font-weight:800; }
.epr-confirm-context { margin-bottom:14px; padding:10px 12px; border-left:4px solid #77a5ae; background:#f7f9f9; }
.epr-confirm-context p { margin:3px 0; font-size:13px; }
.epr-confirm-dialog textarea { width:100%; resize:vertical; }
.epr-manual-confirm { grid-template-columns:auto 1fr!important; align-items:center; }

@media(max-width:1000px){
  .epr-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .epr-program-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .epr-columns { grid-template-columns:1fr; }
  .epr-task { grid-template-columns:1fr; gap:10px; }
  .epr-evidence-form { grid-template-columns:1fr 1fr; }
  .epr-registration-form { grid-template-columns:1fr 1fr; }
  .epr-transport-form { grid-template-columns:1fr 1fr; }
}

@media(max-width:820px){
  .purchase-agent-reply { grid-column:2/-1; grid-template-columns:1fr; }
  .purchase-agent-reply .primary-button { justify-self:start; }
  .epr-toolbar,.epr-status { align-items:stretch; flex-direction:column; }
  .epr-status>div:last-child { text-align:left; }
  .epr-summary-grid,.epr-evidence-form { grid-template-columns:1fr; }
  .epr-program-facts { grid-template-columns:1fr; }
  .epr-program>header { flex-direction:column; }
  .epr-registration-form { grid-template-columns:1fr; }
  .epr-transport-form { grid-template-columns:1fr; }
  .epr-transport-wide,.epr-transport-check { grid-column:auto; }
  .epr-country-section>header { align-items:start; flex-direction:column; }
  .epr-country-list { grid-template-columns:1fr; }
  .epr-country-card { grid-template-columns:10px minmax(0,1fr) auto; padding:11px; }
  .epr-country-meta { grid-column:2/4; grid-template-columns:1fr; }
  .epr-country-actions { white-space:normal; text-align:center; }
  .epr-attention li { align-items:start; flex-direction:column; gap:2px; }
  .epr-sources ul { grid-template-columns:1fr; }
}
