.product-type-options { display: grid; gap: .75rem; }
.product-card .stretched-link::after { content:""; position:absolute; inset:0; z-index:1; }
.product-card:has(.stretched-link:focus-visible) { outline:3px solid #00778f; outline-offset:3px; }
.product-card .stretched-link:focus-visible { outline:none; }
.company-tabs { display:flex; gap:1.5rem; flex-wrap:wrap; border-bottom:1px solid var(--line, #deddd7); margin:0 0 1.5rem; }
.company-tabs a { display:inline-flex; align-items:center; min-height:44px; padding:.6rem 0; border-bottom:3px solid transparent; color:#5d5b53; text-decoration:none; font-size:.9rem; }
.company-tabs a[aria-current="page"] { color:#181815; font-weight:600; border-bottom-color:#00778f; }
.company-tabs a:focus-visible { outline:2px solid #00778f; outline-offset:3px; }
.archive-upload { margin:0 0 1rem; }
.checkout-default-row { display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:end; gap:.5rem 1rem; }
.checkout-default-row > label:first-child { min-width:0; }
.checkout-default-row .checkout-save-address { padding-bottom:.7rem; }
@media (max-width: 700px) { .checkout-default-row { grid-template-columns:minmax(0, 1fr); } .checkout-default-row .checkout-save-address { padding-bottom:0; } }
.product-removal { max-width: 760px; margin: 0 auto; }
.product-removal-head { margin: 2rem 0 1.5rem; }
.product-removal-head h1 { margin: .35rem 0; }
.product-removal-head > p:last-child { color: var(--muted); font-size: 1.05rem; }
.product-removal-card { padding: clamp(1.25rem, 4vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.product-removal-card h2 { margin: 0 0 1rem; }
.product-removal-effects { margin: 0; padding-left: 1.25rem; }
.product-removal-effects li + li { margin-top: .7rem; }
.product-removal-companies { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.product-removal-companies h3 { margin: 0 0 .45rem; }
.product-removal-companies p { color: var(--muted); margin: 0; }
.product-removal-companies ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.product-removal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.product-removal > .alert { margin-bottom: 1rem; }
.product-removal > .alert a { text-decoration: underline; }
@media (max-width: 480px) { .product-removal-actions > * { flex: 1 1 100%; } }
.archive-upload summary { cursor:pointer; width:fit-content; color:#00778f; font-weight:600; min-height:44px; padding:.65rem 0; }
.archive-upload form { display:flex; flex-wrap:wrap; align-items:end; gap:1rem; max-width:660px; padding:.75rem 0; }
.archive-upload label { flex:1 1 230px; min-width:0; }
@media (max-width:760px) {
  .company-settings .library-actions :is(a, summary, button) { display:inline-flex; align-items:center; min-height:44px; }
  .company-settings .design-upload-card button { min-height:44px; }
}
.product-editor .product-type-option { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: border-color .15s, background .15s; }
.product-editor .product-type-option:has(input:checked) { border-color: var(--teal-dark); background: #eef7f2; box-shadow: inset 3px 0 var(--teal-dark); }
.product-type-option input { width: auto; flex: 0 0 auto; margin: .15rem 0 0; accent-color: var(--teal-dark); }
.product-type-option span { display: grid; gap: .25rem; }
.product-type-option strong { font-size: .9rem; }
.product-type-option small { font-size: .8rem; }
.product-type-option:focus-within { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.offering-journey { display: grid; gap: 1rem; margin: 1.5rem 0; }
.offering-step { border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; background: var(--surface); }
.offering-step-head { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .8rem; }
.offering-step-number { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #edf4f1; color: var(--teal-dark); font-size: .75rem; font-weight: 700; }
.offering-step h2 { margin: 0 0 .25rem; font-size: 1.05rem; }
.offering-step p { margin: 0; color: var(--muted); font-size: .85rem; }
.offering-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.offering-checks li { padding: .55rem .7rem; border-radius: 6px; background: #fff1db; color: #714b18; font-size: .8rem; }
.offering-checks li[data-ready="true"] { background: #e9f4ec; color: #225b37; }
.offering-step .primary-button { display: inline-flex; margin-top: .35rem; }
.offering-publication-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.offering-publication-actions label { flex: 1 1 240px; }
.offering-publication-actions button { flex: 0 0 auto; }

/* Illustrations fill the card's image area. */
.product-visual img.product-illustration { object-fit: cover; padding: 0; }
.editor-product-image { display: block; width: 100%; max-width: 20rem; max-height: 15rem; object-fit: contain; border: 1px solid var(--divider, #deddd7); border-radius: 12px; background: #fff; }
.product-flat { max-width: 980px; margin-inline: auto; }
.product-flat .editor-sections { min-width: 0; }
.product-flat .editor-card { margin-bottom: 1.25rem; }
.product-flat .editor-section-heading { margin-bottom: 1.25rem; }
.product-flat .product-metadata-fields { align-items:start; }
.product-flat .company-picker { border:0; padding:0; }
.product-file-card .product-type-options { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.product-file-card .product-type-option:has(input:checked) { background:#d7f2fa; border-color:#00778f; box-shadow:inset 3px 0 #00778f; }
.product-artwork-tool { position:relative; margin-top:1.25rem; padding:1.25rem; border:1px solid #87cad8; border-left:4px solid #00778f; border-radius:8px; background:#effafe; }
.product-artwork-tool::before { content:""; position:absolute; top:-9px; left:50%; width:14px; height:14px; border-left:1px solid #87cad8; border-top:1px solid #87cad8; background:#effafe; transform:translateX(-50%) rotate(45deg); }
.product-file-card[data-product-kind="variable_data"] .product-artwork-tool::before { left:83.33%; }
.product-editor .artwork-context-label { margin:0 0 .85rem; color:#005e72; font-size:.95rem; }
.product-type-hint { margin-top:.75rem !important; }
.product-artwork-current { display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-top:1rem; }
.product-artwork-current strong { overflow-wrap:anywhere; }
.product-artwork-tool [data-production-file-status]:empty { display:none; }
.product-artwork-tool [data-production-file-status]:not(:empty) { margin-top:1rem; }
.product-artwork-tool[hidden], .product-artwork-tool [hidden] { display:none; }
.variable-editor-action { display:inline-flex; align-items:center; min-height:48px; font-weight:650; }
.product-artwork-tool .variable-editor-action { margin-bottom:.75rem; }
.variable-editor-action[hidden] { display:none; }
.product-flat .page-head { flex-wrap:wrap; gap:1rem; }
.product-image-current { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.product-image-current .editor-product-image { width:120px; max-height:100px; border-radius:6px; }
.product-image-current button { min-height:44px; }
.product-flat .product-asset-delete { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:44px; padding:.6rem .9rem; color:#fff; background:#b42318; border:1px solid #b42318; font-size:.85rem; }
.product-flat .product-asset-delete:hover { background:#8e1c13; border-color:#8e1c13; color:#fff; }
.product-flat .product-asset-delete:focus-visible { outline:3px solid #b42318; outline-offset:3px; }
.product-asset-delete > span { display:inline-flex; width:18px; height:18px; flex:0 0 18px; }
.product-asset-delete svg { width:18px; height:18px; }
.product-image-field [data-image-status]:empty { display:none; }
.product-tags-field { min-width:0; }
.product-tags-field > label { margin-bottom:.4rem; }
.product-tags-field > small { display:block; margin-top:.5rem; }
.product-tags-field .ts-wrapper { min-width:0; font:inherit; }
.product-flat .ts-wrapper.multi .ts-control { min-height:44px; padding:.3rem .45rem; gap:.3rem; border:1px solid #d0d8d2; border-radius:6px; box-shadow:none; background:#fff; }
.product-flat .ts-wrapper.focus .ts-control { border-color:#00778f; outline:2px solid #00778f24; }
.product-flat .ts-control > input { width:auto !important; flex:1 1 8rem; min-height:32px; min-width:100px; padding:0 .25rem !important; font:inherit; font-size:.875rem; }
.product-flat .ts-wrapper.multi .ts-control > .item { display:inline-flex; align-items:center; max-width:100%; margin:0; padding:0 .6rem; background:#d7f2fa; border:1px solid #a9dce7; border-radius:5px; color:#00556a; font-size:.85rem; overflow-wrap:anywhere; white-space:normal; }
.product-flat .ts-wrapper.multi .ts-control > .item.active { background:#bce9f4; border-color:#00778f; color:#003e4c; }
.product-flat .ts-wrapper.multi .item .remove { display:inline-flex; align-items:center; justify-content:center; min-height:32px; min-width:28px; margin-left:.45rem; padding:0 .3rem; background:transparent; border:0; border-radius:0; cursor:pointer; border-left:1px solid #a9dce7; color:#00556a; font-size:1.2rem; text-decoration:none; }
.product-flat .ts-wrapper .remove:focus-visible { outline:2px solid #00778f; outline-offset:1px; }
.product-flat .ts-dropdown { border:1px solid #a9bfbf; border-radius:8px; box-shadow:0 8px 24px #18181514; overflow:hidden; color:var(--ink); font-size:.875rem; }
.product-flat .ts-dropdown :is(.option,.create,.no-results) { padding:.7rem .8rem; overflow-wrap:anywhere; }
.product-flat .ts-dropdown .active { background:#d7f2fa; color:#003e4c; }
.product-flat .ts-dropdown .create { color:#00778f; }
@media (max-width:760px) {
  .product-file-card .product-type-options { grid-template-columns:1fr; }
  .variable-editor-action { width:100%; justify-content:center; }
  .product-artwork-tool { padding:1rem; }
  .product-file-card[data-product-kind] .product-artwork-tool::before { left:1.5rem; }
  .product-flat .ts-wrapper.multi .item .remove { min-height:42px; min-width:36px; }
}
.product-save-actions { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.5rem 0; border-top:1px solid var(--divider, #deddd7); }
.product-save-actions p { color:#5d5b53; margin:0; }
.company-picker { border:1px solid #deddd7; border-radius:12px; padding:1rem; min-width:0; }
.company-picker-list { display:grid; gap:.65rem; max-height:260px; overflow:auto; padding:1rem 0; }
.company-picker-list [hidden] { display:none; }
.flat-catalog-layout { display:grid; grid-template-columns:minmax(180px, 220px) minmax(0, 1fr); gap:1.5rem; align-items:start; }
.catalog-folders { background:#fff; border:1px solid #deddd7; border-radius:14px; padding:1rem; min-width:0; }
.catalog-folders h2 { font-size:1.1rem; margin:0 0 1rem; }
.catalog-folders nav { display:grid; gap:.25rem; margin-bottom:1rem; }
.catalog-folders nav a { padding:.65rem .75rem; border-radius:8px; overflow-wrap:anywhere; text-decoration:none; color:inherit; }
.catalog-folders nav a[aria-current="page"] { background:#d7f2fa; font-weight:650; }
.catalog-folders nav .is-child { padding-left:1.5rem; }
.folder-tools { padding-block:1rem; border-top:1px solid #deddd7; margin-top:1rem; }
.flat-product-row { grid-template-columns:minmax(0,1fr) minmax(100px,.35fr) minmax(220px,.6fr); grid-template-areas:"name publication actions"; scroll-margin-top:1rem; }
.flat-product-row .catalog-row-name { grid-area:name; }
.flat-product-row .catalog-row-name h3 { white-space:normal; overflow-wrap:anywhere; }
.flat-product-row .catalog-row-name > small { display:block; margin-block:.35rem; }
.flat-product-row .catalog-row-publication { grid-area:publication; }
.flat-product-row .catalog-row-actions { grid-area:actions; }
.flat-product-row.is-saved { background:#d7f2fa; box-shadow:inset 4px 0 #00778f; }
.flat-product-row .catalog-row-actions { flex-wrap:wrap; justify-content:flex-end; }
.flat-product-row .catalog-row-actions a { white-space:normal; text-align:center; }
.flat-product-row .catalog-more-menu { min-width:240px; max-width:min(320px, 80vw); }
.product-tags { display:flex; flex-wrap:wrap; gap:.35rem; margin:.4rem 0; }
.product-tags span { color:#00778f; font-size:.8rem; overflow-wrap:anywhere; }
.publication-target > .checkbox-label { font-size:1.15rem; margin-bottom:1rem; }
.publication-target fieldset { min-width:0; border:0; padding:0; margin:0; }
.publication-target fieldset[hidden] { display:none; }
.product-flat .checkbox-label { display:flex; align-items:center; gap:.75rem; min-height:44px; }
.product-flat .checkbox-label input[type="checkbox"] { width:1.25rem; height:1.25rem; min-height:1.25rem; flex:0 0 1.25rem; margin:0; }
.nav-label-short { display:none; }
@media (max-width:760px) {
  .flat-product-row { scroll-margin-top:5rem; }
  .rail-nav .nav-label-wide { display:none; }
  .rail-nav .nav-label-short { display:block; }
}
.publication-target details > .editor-fields { padding-top:1rem; }
.catalog-manage { max-width:1320px; }
.catalog-manage .catalog-page-head { margin-bottom:1.25rem; }
.catalog-manage .catalog-page-head h1 { margin-bottom:.3rem; }
.catalog-manage .flat-catalog-layout { grid-template-columns:minmax(0,1fr); }
.catalog-collection { min-width:0; }
.catalog-manage .catalog-main-card { padding:1rem; }
.catalog-manage .catalog-search-form { padding:0; margin:0; border:0; }
.catalog-manage .catalog-search-primary { grid-template-columns:minmax(0,1fr) 155px auto; }
.catalog-manage .catalog-search-primary input,
.catalog-manage .catalog-search-primary select,
.catalog-manage .catalog-search-primary button { min-height:40px; font-size:.8rem; }
.catalog-toolbar-secondary { display:flex; gap:1rem; align-items:baseline; padding:.65rem 0 .8rem; }
.catalog-result-count { font-size:.78rem; color:#5d5b53; white-space:nowrap; }
.catalog-manage .catalog-filter-options { padding:0; font-size:.78rem; flex:1; }
.catalog-manage .catalog-filter-options summary { cursor:pointer; color:#5d5b53; }
.catalog-manage .catalog-filter-extra { max-width:none; }
.catalog-clear { margin-left:auto; font-size:.78rem; white-space:nowrap; }
.catalog-data-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; margin:0; }
.catalog-data-table th { padding:.55rem .6rem; border-block:1px solid #deddd7; background:#f8f7f4; text-align:left; font-size:.7rem; font-weight:600; color:#5d5b53; text-transform:none; letter-spacing:0; }
.catalog-data-table th:first-child { width:32%; }
.catalog-data-table th:nth-child(2) { width:13%; }
.catalog-data-table th:nth-child(3) { width:20%; }
.catalog-data-table th:nth-child(4) { width:20%; }
.catalog-data-table th:last-child { width:115px; }
.catalog-data-table td { padding:.65rem .6rem; border-bottom:1px solid #e7e6e2; font-size:.8rem; vertical-align:middle; overflow-wrap:anywhere; }
.catalog-data-table tbody tr:last-child td { border-bottom:0; }
.catalog-data-table tbody tr:hover { background:#fafaf8; }
.catalog-data-table .catalog-product-name { display:block; color:#181815; font-size:.87rem; font-weight:600; line-height:1.4; }
.catalog-data-table .catalog-product-name:hover { color:#00778f; text-decoration:underline; text-underline-offset:3px; }
.catalog-data-table .catalog-row-code { font-size:.69rem; color:#5d5b53; margin-top:.15rem; }
.catalog-data-table .catalog-cell-type,
.catalog-data-table .catalog-cell-companies { color:#5d5b53; }
.catalog-data-table .catalog-cell-actions { white-space:nowrap; text-align:right; overflow-wrap:normal; }
.catalog-text-action { display:inline-flex; min-height:36px; align-items:center; justify-content:center; padding:.3rem .35rem; border:0; background:transparent; color:#00778f; font:inherit; font-size:.8rem; font-weight:550; text-decoration:none; cursor:pointer; }
.catalog-text-action:hover { text-decoration:underline; text-underline-offset:3px; background:transparent; }
.catalog-text-action.danger,
.catalog-row-menu-panel .danger { color:#a12d2d; }
.catalog-text-action:focus-visible,
.catalog-row-menu > summary:focus-visible { outline:2px solid #00778f; outline-offset:2px; border-radius:4px; }
.catalog-status { display:block; color:#5d5b53; font-size:.78rem; }
.catalog-status.is-live { color:#181815; }
.catalog-status.is-live::before { content:""; display:inline-block; width:5px; height:5px; border-radius:50%; background:#00778f; margin-right:.4rem; vertical-align:middle; }
.catalog-missing { display:block; color:#815b22; font-size:.7rem; line-height:1.4; margin-top:.2rem; }
.catalog-row-menu { display:inline-block; position:relative; vertical-align:middle; margin-left:.15rem; }
.catalog-row-menu > summary { display:flex; width:32px; height:36px; align-items:center; justify-content:center; list-style:none; border-radius:6px; cursor:pointer; font-size:1.25rem; color:#5d5b53; }
.catalog-row-menu > summary::-webkit-details-marker { display:none; }
.catalog-row-menu > summary:hover,
.catalog-row-menu[open] > summary { background:#f0efeb; color:#181815; }
.catalog-row-menu-panel { position:absolute; top:calc(100% + .25rem); right:0; width:250px; max-width:80vw; z-index:30; padding:.35rem; background:#fff; border:1px solid #deddd7; border-radius:8px; box-shadow:0 8px 22px #1818151a; text-align:left; white-space:normal; }
.catalog-row-menu.opens-up .catalog-row-menu-panel { top:auto; bottom:calc(100% + .25rem); }
.catalog-row-menu-panel form { margin:0; }
.catalog-row-menu-panel .catalog-menu-action { min-height:36px; font-size:.8rem; font-weight:450; padding:.5rem .65rem; }
.catalog-row-menu-panel .catalog-menu-action:hover { background:#f8f7f4; }
.catalog-product-row { scroll-margin-top:1rem; }
.catalog-product-row.is-saved { background:#eaf7fa; }
.catalog-product-row.is-saved td:first-child { box-shadow:inset 3px 0 #00778f; }
.catalog-unfinished { margin-top:1.5rem; scroll-margin-top:5rem; }
.catalog-unfinished > header { margin:0 0 .8rem; }
.catalog-unfinished h2 { font-size:1rem; margin:0 0 .25rem; }
.catalog-unfinished h2 span { color:#5d5b53; font-weight:400; margin-left:.35rem; }
.catalog-unfinished header p { margin:0; color:#5d5b53; font-size:.8rem; }
.catalog-draft-table .catalog-cell-product small { display:block; color:#5d5b53; font-size:.73rem; line-height:1.4; margin-top:.25rem; }
.catalog-draft-table .catalog-cell-missing { color:#5d5b53; font-size:.75rem; }
.catalog-cell-updated time { display:block; font-size:.75rem; }
.catalog-cell-updated small { display:block; color:#5d5b53; font-size:.73rem; margin-top:.2rem; }
.catalog-cell-actions > form { display:inline-flex; margin:0; }
.catalog-notice { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; margin:0 0 1rem; padding:.5rem .8rem; border-left:3px solid #00778f; background:#edf7f9; font-size:.85rem; }
.catalog-notice form { margin:0; }
@media (max-width:800px) {
  .catalog-manage .catalog-main-card { padding:.8rem; }
  .catalog-manage .catalog-search-primary { grid-template-columns:minmax(0,1fr) auto; }
  .catalog-manage .catalog-search-primary .search-field { grid-column:1 / -1; }
  .catalog-data-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .catalog-data-table tbody { display:block; }
  .catalog-data-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"product actions" "type status" "companies companies"; column-gap:.75rem; padding:.8rem 0; border-top:1px solid #deddd7; }
  .catalog-data-table td { padding:.2rem .15rem; border:0; }
  .catalog-data-table .catalog-cell-product { grid-area:product; }
  .catalog-data-table .catalog-cell-type { grid-area:type; font-size:.75rem; }
  .catalog-data-table .catalog-cell-companies { grid-area:companies; font-size:.75rem; }
  .catalog-data-table .catalog-cell-companies::before { content:attr(data-label) ": "; color:#5d5b53; }
  .catalog-data-table .catalog-cell-status { grid-area:status; text-align:right; }
  .catalog-data-table .catalog-cell-actions { grid-area:actions; }
  .catalog-text-action,
  .catalog-row-menu > summary { min-height:44px; }
  .catalog-row-menu-panel .catalog-menu-action { min-height:44px; }
  .catalog-product-row { scroll-margin-top:5rem; }
  .catalog-product-row.is-saved td:first-child { box-shadow:none; }
  .catalog-product-row.is-saved { box-shadow:inset 3px 0 #00778f; padding-inline:.5rem; }
  .catalog-draft-table tr { grid-template-areas:"product actions" "type missing" "updated updated"; }
  .catalog-draft-table .catalog-cell-missing { grid-area:missing; max-width:145px; text-align:right; }
  .catalog-draft-table .catalog-cell-updated { grid-area:updated; margin-top:.3rem; }
  .catalog-cell-updated time,
  .catalog-cell-updated small { display:inline; }
  .catalog-cell-updated small::before { content:" · "; }
  .catalog-draft-table .catalog-cell-actions > a,
  .catalog-draft-table .catalog-cell-actions > form { display:flex; justify-content:flex-end; }
}
@media (max-width:1100px) {
  .flat-product-row { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"name publication" "actions actions"; }
}
@media (max-width:430px) {
  .flat-product-row { grid-template-columns:minmax(0,1fr); grid-template-areas:"name" "publication" "actions"; }
  .flat-product-row .catalog-row-actions { align-items:stretch; }
  .flat-product-row .catalog-row-actions > a { flex:1 1 auto; }
}
@media (max-width:700px) {
  .flat-catalog-layout { grid-template-columns:minmax(0,1fr); }
  .catalog-folders nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-save-actions { align-items:flex-start; flex-wrap:wrap; }
  .product-flat .editor-card { padding:1rem; }
  .flat-product-row { gap:1rem; padding:1rem; }
  .flat-product-row .catalog-row-actions { justify-content:flex-start; }
}

/* Internal tag administration */
.tag-admin-layout { display:grid; grid-template-columns:minmax(220px, .8fr) minmax(0, 2fr); gap:24px; align-items:start; }
.tag-admin-list, .tag-admin-detail { padding:24px; }
.tag-search label, .tag-inline-form label, .tag-actions form > label { display:block; font-weight:600; margin-bottom:8px; }
.tag-search > div, .tag-inline-form > div { display:flex; gap:8px; }
.tag-search input, .tag-inline-form input { min-width:0; flex:1; }
.tag-list { list-style:none; padding:0; margin:0; }
.tag-list li + li { border-top:1px solid #deddd7; }
.tag-list a { display:flex; justify-content:space-between; gap:12px; padding:13px 10px; text-decoration:none; color:inherit; border-radius:8px; }
.tag-list a[aria-current] { background:#d7f2fa; }
.tag-list span, .tag-product-list small { color:#5d5b53; font-size:.875rem; }
.tag-admin-detail h2 { margin-top:0; }
.tag-inline-form, .tag-products-form, .tag-actions { border-top:1px solid #deddd7; padding-top:20px; margin-top:24px; }
.tag-products-form h3 { margin-bottom:4px; }
.tag-product-list { max-height:320px; overflow:auto; border:1px solid #deddd7; border-radius:8px; margin:12px 0 16px; }
.tag-product-list label { display:flex; gap:12px; align-items:center; padding:10px 12px; }
.tag-product-list label + label { border-top:1px solid #eee; }
.tag-product-list span { display:flex; flex-direction:column; }
.tag-actions summary { cursor:pointer; font-weight:600; }
.tag-actions select { width:100%; margin-bottom:12px; }
.tag-actions fieldset { border:0; padding:0; margin:12px 0; }
.tag-actions button { margin:8px 8px 0 0; }
.tag-management-link { display:inline-block; margin-top:6px; }
@media (max-width:700px) { .tag-admin-layout { grid-template-columns:1fr; } .tag-admin-list, .tag-admin-detail { padding:18px; } .tag-search > div, .tag-inline-form > div { flex-wrap:wrap; } }
.tag-product-list label { justify-content:flex-start; font-weight:400; }
.tag-product-list input[type="checkbox"], .tag-danger input[type="checkbox"] { width:18px; min-width:18px; height:18px; margin:0; flex:0 0 18px; }
.tag-product-list span { min-width:0; flex:1; align-items:flex-start; }
.tag-product-list strong, .tag-product-list small, .tag-list strong { overflow-wrap:anywhere; }
.tag-list span { white-space:nowrap; }
.tag-danger label { display:flex; align-items:center; gap:8px; }
.tag-list a { flex-direction:column; align-items:flex-start; gap:2px; }
@media (max-width:700px) { .tag-admin-layout.has-selection .tag-admin-detail { order:-1; } }

.product-proof-notice { padding:.7rem .85rem; border-left:3px solid #a67423; background:#fff4df; color:#714b18; font-size:.85rem; }
.product-proof-notice[data-ready="true"] { border-color:#397859; color:#245842; background:#eaf3ed; }
