/* タレント商品一覧用スタイル */

.talent-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横2列固定 */
  gap: 1.2em;
  margin-top: 1em;
}

.talent-post-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  min-height: 120px; /* 最小高さ設定 */
}

.talent-post-card .thumbnail {
  width: 120px; /* サムネイル幅固定 */
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-post-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-post-card .content {
  padding: 1em;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.talent-post-card h3 {
  margin: 0 0 0.5em 0;
  font-size: 1em;
  color: #333;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.talent-post-card .plan-label {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 0.5em;
}

.talent-post-card .status-label {
  font-size: 0.75em;
  color: #999;
  margin-bottom: 0.5em;
}

.talent-post-card .post-date {
  font-size: 0.75em;
  color: #888;
  margin-bottom: 0.5em;
}

.talent-post-card .actions {
  padding-top: 0.5em;
  text-align: right;
  font-size: 0.85em;
}

.talent-post-card .actions a {
  color: #ec4899;
  text-decoration: none;
  font-weight: bold;
  margin-left: 0.5em;
}

/* .duplicate-link / .purimall-duplicate-post-details 等の複製UIの見た目は
   assets/css/post-duplicator.css（inc/posts/post-duplicator.php 共通）で定義 */

.talent-post-card .actions a:hover {
  text-decoration: underline;
}

.talent-post-card .actions .delete-link {
  margin-left: 10px;
  color: #dc3545;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.talent-post-card .actions .delete-link:hover {
  text-decoration: underline;
}

.talent-post-card-no-image {
  color: #999;
  font-size: 0.8em;
}

.talent-post-card-no-image i {
  font-size: 1.5em;
}

/* ページネーション */
.post-pagination {
  text-align: center;
  margin: 2em 0;
  padding: 1em;
}

.post-pagination a,
.post-pagination span {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.2em;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.post-pagination a:hover {
  background: #ec4899;
  color: white;
  border-color: #ec4899;
}

.post-pagination .current {
  background: #ec4899;
  color: white;
  border-color: #ec4899;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .talent-post-grid {
    grid-template-columns: 1fr; /* モバイルでは1列 */
  }
  .talent-post-card .thumbnail {
    width: 100px;
    height: 100px;
  }
}

/* UI renewal: Shop > 商品 / 商品管理 */
.talent-product-list-page{width:min(calc(100% - 16px),1080px);margin:0 auto;padding:12px 0 96px}
.fanika-product-list-hero,.fanika-product-management-hero{margin-bottom:14px;padding:18px;border:1px solid #e5ebf2;border-radius:18px;background:#fff}
.fanika-product-list-hero h1,.fanika-product-management-hero h1{margin:2px 0 5px;color:#263449;font-size:1.35rem}
.fanika-product-list-hero p,.fanika-product-management-hero p{margin:0;color:#667085;font-size:.8rem}
.fanika-product-month-filter{margin:0 0 12px;padding:12px 14px;border:1px solid #e5ebf2;border-radius:14px;background:#fff}
.fanika-product-month-filter form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.fanika-product-month-filter label{display:grid;gap:4px;color:#526173;font-size:.72rem;font-weight:700}
.fanika-product-month-filter select{min-height:38px;padding:7px 28px 7px 9px;border:1px solid #d8e1ea;border-radius:9px;background:#fff}
.fanika-product-month-filter button,.fanika-product-month-filter a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid #e6b4ce;border-radius:999px;background:#fff;color:#b52c70;font-weight:800;text-decoration:none}
.fanika-product-create-embedded{margin-top:24px;padding-top:4px;border-top:1px solid #edf1f5}
.fanika-product-management-toolbar,.fanika-product-management-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px 14px;border:1px solid #e5ebf2;border-radius:14px;background:#fff}
.fanika-product-management-toolbar>div,.fanika-product-management-bottom{display:flex;gap:8px}
.fanika-product-management-bottom{justify-content:flex-end}
.fanika-product-management-save,.fanika-product-management-reset{min-height:40px;padding:8px 15px;border-radius:999px;font-weight:800;cursor:pointer}
.fanika-product-management-save{border:1px solid #ec4899;background:#ec4899;color:#fff}
.fanika-product-management-reset{border:1px solid #d8e1ea;background:#fff;color:#526173}
.fanika-product-management-list{display:grid;gap:12px}
.fanika-product-management-card{padding:16px;border:1px solid #e5ebf2;border-radius:16px;background:#fff}
.fanika-product-management-summary{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:center}
.fanika-product-management-thumb{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border-radius:12px;background:#f5f7fa;color:#98a2b3}
.fanika-product-management-thumb img{width:100%;height:100%;object-fit:cover}
.fanika-product-management-summary h2{margin:0 0 4px;font-size:1rem;color:#263449}
.fanika-product-management-summary p,.fanika-product-management-summary small{margin:0;color:#667085;font-size:.76rem}
.fanika-product-management-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.fanika-product-management-fields label{display:grid;gap:5px;color:#526173;font-size:.72rem;font-weight:700}
.fanika-product-management-fields input,.fanika-product-management-fields select{width:100%;box-sizing:border-box;min-height:40px;padding:8px 9px;border:1px solid #d8e1ea;border-radius:9px;background:#fff;font:inherit}
.fanika-product-management-card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.fanika-product-management-card-actions a{display:inline-flex;align-items:center;min-height:34px;padding:5px 10px;border:1px solid #e5d3df;border-radius:999px;color:#b52c70;text-decoration:none;font-size:.74rem;font-weight:800}
.fanika-product-management-card-actions button[form^="fanika-management-duplicate-"]{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 10px;border:1px solid #e5d3df;border-radius:999px;background:transparent;color:#b52c70;font-size:.74rem;font-weight:800;font-family:inherit;cursor:pointer;box-shadow:none}

.fanika-product-variation-manage,.fanika-product-variation-pending{margin-top:12px;padding:10px 12px;border:1px solid #edf0f4;border-radius:12px;background:#fafbfd}
.fanika-product-variation-manage summary{cursor:pointer;color:#526173;font-size:.78rem;font-weight:800}
.fanika-product-variation-manage summary span{color:#b52c70}
.fanika-product-variation-rows{display:grid;gap:7px;margin-top:9px}
.fanika-product-variation-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;padding:8px;border-radius:9px;background:#fff;font-size:.74rem}
.fanika-product-variation-row a{color:#b52c70;font-weight:800}
.fanika-product-variation-pending{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#667085;font-size:.74rem}
.fanika-product-management-notice{margin:10px 0;padding:10px 12px;border:1px solid #cce8d8;border-radius:12px;background:#effaf4;color:#35624a}
.fanika-product-management-notice.is-error{border-color:#f0cccc;background:#fff3f3;color:#9d3232}
@media(max-width:700px){
 .talent-product-list-page{width:min(calc(100% - 12px),1080px)}
 .fanika-product-management-fields{grid-template-columns:1fr 1fr}
 .fanika-product-management-toolbar{align-items:stretch;flex-direction:column}
 .fanika-product-management-toolbar>div,.fanika-product-management-bottom{display:grid;grid-template-columns:1fr 1fr;width:100%}
 .fanika-product-management-summary{grid-template-columns:60px minmax(0,1fr)}
 .fanika-product-management-thumb{width:60px;height:60px}
 .fanika-product-variation-row{grid-template-columns:1fr 1fr}
 .fanika-product-variation-row strong{grid-column:1/-1}
}
@media(max-width:460px){.fanika-product-management-fields{grid-template-columns:1fr}.fanika-product-month-filter form{display:grid;grid-template-columns:1fr 1fr}.fanika-product-month-filter button,.fanika-product-month-filter a{width:100%}}

.fanika-product-variation-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
.fanika-product-variation-row strong{grid-column:1/-1;color:#344054}
.fanika-product-variation-row label{display:grid;gap:4px;color:#667085;font-size:.68rem;font-weight:700}
.fanika-product-variation-row input,.fanika-product-variation-row select{width:100%;box-sizing:border-box;min-height:36px;padding:7px 8px;border:1px solid #d8e1ea;border-radius:8px;background:#fff;font:inherit}
.fanika-product-variation-row>a{justify-self:start;align-self:center;padding:7px 10px;border:1px solid #e5d3df;border-radius:999px;text-decoration:none}
.fanika-product-empty{display:grid;place-items:center;gap:6px;min-height:150px;margin:12px 0;padding:22px;border:1px solid #e5ebf2;border-radius:16px;background:#fff;color:#667085;text-align:center}
.fanika-product-empty i{color:#ec4899;font-size:1.4rem}
.fanika-product-empty strong{color:#344054}
.fanika-product-empty p{margin:0;font-size:.78rem}
@media(max-width:700px){.fanika-product-variation-row{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.fanika-product-variation-row{grid-template-columns:1fr}}


.fanika-product-management-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fanika-product-management-bulk strong{color:#344054;font-size:.76rem}
.fanika-product-management-bulk select{min-height:40px;padding:8px 30px 8px 10px;border:1px solid #d8e1ea;border-radius:9px;background:#fff;color:#344054;font-weight:700}
.fanika-product-management-bulk-confirm{min-height:40px;padding:8px 14px;border:1px solid #e6b4ce;border-radius:999px;background:#fff;color:#b52c70;font-weight:800;cursor:pointer}
.fanika-product-management-select{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;color:#526173;font-size:.74rem;font-weight:800;cursor:pointer}
.fanika-product-management-select input{width:18px;height:18px;accent-color:#ec4899}
.fanika-product-management-card-actions button{min-height:34px;padding:5px 10px;font-size:.74rem}
.fanika-product-management-help{margin:10px 2px 0;color:#667085;font-size:.74rem}
@media(max-width:700px){
 .fanika-product-management-bulk{display:grid;grid-template-columns:1fr 1fr;width:100%}
 .fanika-product-management-bulk strong{grid-column:1/-1}
 .fanika-product-management-bulk select,.fanika-product-management-bulk-confirm{width:100%}
 .fanika-product-management-card-actions{display:grid;grid-template-columns:1fr 1fr}
 .fanika-product-management-card-actions a,.fanika-product-management-card-actions button{justify-content:center;text-align:center}
}
@media(max-width:460px){
 .fanika-product-management-bulk,.fanika-product-management-card-actions{grid-template-columns:1fr}
}


.fanika-product-management-summary__body{min-width:0}
.fanika-product-management-summary__heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fanika-product-management-summary__heading h2{margin:0}
.fanika-product-management-saved{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:999px;background:#fff4f8;color:#c23675;font-size:.68rem;font-weight:800}
.fanika-product-management-summary__type{margin:2px 0 2px;color:#526173;font-size:.72rem;font-weight:700}
.fanika-product-management-summary__quick{margin:4px 0 0!important;color:#344054!important;font-size:.74rem!important;font-weight:700}
@media(max-width:700px){
 .fanika-product-management-summary__heading{align-items:flex-start}
 .fanika-product-management-summary small{display:block;line-height:1.55}
}


.fanika-product-management-hero__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.fanika-product-management-back{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid #efbfd5;border-radius:10px;background:#fff;color:#c23675;text-decoration:none;font-size:.74rem;font-weight:800}
.fanika-product-management-columns{display:grid;grid-template-columns:1.05fr 1.25fr .9fr;gap:14px;padding:0 14px 6px;color:#667085;font-size:.7rem;font-weight:700}
@media(max-width:700px){
 .fanika-product-management-hero__top{display:grid;grid-template-columns:1fr}
 .fanika-product-management-back{justify-self:start}
 .fanika-product-management-columns{display:none}
}

/* Public product monthly archive: align surface and cards with the approved
   supporter plan catalog. Creator management mode remains unchanged. */
.fc-dashboard-page.talent-product-list-page.fanika-qa090-product-list-page{
  width:min(calc(100% - 32px),1080px);
  max-width:1080px;
  margin-inline:auto!important;
  padding:12px 0 96px;
  box-sizing:border-box;
}
.fanika-qa090-product-list-page .fanika-post-list-hero{
  display:block;
  margin:0 0 22px;
  padding:22px 24px;
  border:1px solid #e4e9ef;
  border-radius:16px;
  background:rgba(var(--fanika-public-surface-rgb,255,255,255),var(--fanika-public-surface-opacity,.96));
  box-shadow:none;
}
.fanika-qa090-product-list-page .fanika-post-list-hero__icon{display:none}
.fanika-qa090-product-list-page .fanika-post-list-hero__eyebrow{
  color:#e7489a;
  font-size:.72rem;
  text-transform:uppercase;
}
.fanika-qa090-product-list-page .fanika-post-list-hero__create{
  margin-top:12px;
  min-height:32px;
  padding:5px 12px;
  border:1px solid #e7d1df;
  background:#fff;
  color:#cc397f;
  font-size:.76rem;
}
.fanika-qa090-product-list-page .fanika-product-month-filter{
  display:block;
  margin:0;
  padding:20px 22px 12px;
  border:1px solid #e4e9ef;
  border-bottom:0;
  border-radius:16px 16px 0 0;
  background:rgba(var(--fanika-public-surface-rgb,255,255,255),var(--fanika-public-surface-opacity,.96));
}
.fanika-qa090-product-list-page .fanika-post-month-filter__copy{
  margin-bottom:10px;
}
.fanika-qa090-product-list-page .fanika-product-month-filter form{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:7px;
  width:100%;
}
.fanika-qa090-product-list-page .fanika-product-month-filter select{
  width:100%;
  min-width:0;
  height:38px;
  border:1px solid #dbe5ec;
  border-radius:8px;
  padding:7px 12px;
  background:#fff;
}
.fanika-qa090-product-list-page .fanika-product-month-filter button,
.fanika-qa090-product-list-page .fanika-product-month-filter a{
  align-self:flex-start;
  min-height:30px;
  padding:4px 12px;
  border:1px solid #e5e9ee;
  border-radius:999px;
  background:#fff;
  color:#d33f88;
  font-size:.75rem;
}
.fanika-qa090-product-list-page .fanika-qa090-product-month-list{
  display:block;
  padding:0 22px 18px;
  border:1px solid #e4e9ef;
  border-top:0;
  border-radius:0 0 16px 16px;
  background:transparent;
}
.fanika-qa090-product-list-page .fanika-qa090-month-group{
  display:block;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.fanika-qa090-product-list-page .fanika-post-month-group__heading{
  margin:12px 0 4px;
  font-size:.77rem;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows.talent-post-grid{
  display:block!important;
  grid-template-columns:none!important;
  gap:0;
  margin:0;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card{
  position:relative;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:14px;
  width:100%;
  min-height:110px;
  margin:0 0 12px;
  padding:16px 20px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:12px;
  box-shadow:none;
  background:rgba(var(--fanika-public-surface-rgb,255,255,255),var(--fanika-public-surface-opacity,.96));
  overflow:visible;
  box-sizing:border-box;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card>.thumbnail{
  flex:0 0 80px;
  width:80px!important;
  min-width:80px!important;
  height:80px!important;
  margin:0;
  border-radius:9px;
  overflow:hidden;
  background:#e9f0f4;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card>.content{
  flex:1;
  min-width:0;
  padding:2px 95px 0 0;
  box-sizing:border-box;
  justify-content:flex-start;
  gap:6px;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card h3{
  font-size:.88rem;
  margin:0 0 6px;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .plan-label,
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .post-date{
  font-size:.72rem;
  line-height:1.55;
  color:#76899b;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .status-label{
  position:absolute;
  right:6px;
  top:18px;
  padding:4px 9px;
  border-radius:999px;
  background:#edf8f4;
  color:#32826e;
  font-size:.72rem;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .actions{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 9px;
  margin-top:4px;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .actions a,
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .actions button{
  display:inline-flex;
  align-items:center;
  gap:3px;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#d23f87;
  font-size:.72rem;
  font-weight:700;
  box-shadow:none;
  text-decoration:none;
  cursor:pointer;
}
.fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .actions form{
  display:inline-flex;
  margin:0;
}
@media(max-width:767px){
  .fc-dashboard-page.talent-product-list-page.fanika-qa090-product-list-page{
    width:calc(100% - 32px);
    max-width:1080px;
  }
  .fanika-qa090-product-list-page .fanika-post-list-hero{padding:16px}
  .fanika-qa090-product-list-page .fanika-product-month-filter{padding:14px 14px 10px}
  .fanika-qa090-product-list-page .fanika-qa090-product-month-list{padding:0 14px 14px}
  .fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card>.thumbnail{
    flex-basis:64px;
    width:64px!important;
    min-width:64px!important;
    height:64px!important;
  }
  .fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card>.content{
    padding-right:0;
  }
  .fanika-qa090-product-list-page .fanika-qa090-month-rows .talent-post-card .status-label{
    position:static;
    display:inline-flex;
    margin-bottom:5px;
  }
}


/* Creator product management: unified 1080px filter and bulk-action box. */
.fanika-product-management-page{
  width:min(calc(100% - 16px),1080px);
  max-width:1080px;
  box-sizing:border-box;
}
.fanika-product-management-page .fanika-product-management-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:24px;
  width:100%;
  box-sizing:border-box;
  margin:12px 0;
  padding:16px 20px;
}
.fanika-product-management-page .fanika-product-management-toolbar>div{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  gap:10px;
}
.fanika-product-management-page .fanika-product-management-filter{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
.fanika-product-management-page .fanika-product-management-filter form{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:end;
  gap:10px;
}
.fanika-product-management-page .fanika-product-management-filter label{
  min-width:0;
}
.fanika-product-management-page .fanika-product-management-filter select{
  width:100%;
  box-sizing:border-box;
}
.fanika-product-management-page .fanika-product-management-bulk{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  width:100%;
}
.fanika-product-management-page .fanika-product-management-bulk select{
  width:100%;
  box-sizing:border-box;
}
.fanika-product-management-page .fanika-product-management-filter button,
.fanika-product-management-page .fanika-product-management-filter a{
  width:100%;
  box-sizing:border-box;
}
@media(max-width:700px){
  .fanika-product-management-page .fanika-product-management-toolbar{
    grid-template-columns:1fr;
    gap:16px;
  }
}
@media(max-width:460px){
  .fanika-product-management-page .fanika-product-management-filter form{
    grid-template-columns:1fr 1fr;
  }
}


/* QA: align bulk controls with product filter fields on desktop only. */
@media(min-width:701px){
  .fanika-product-management-page .fanika-product-management-toolbar__right{
    padding-top:32px;
  }
}

/* Public product catalog: match the approved plan/whisper archive layout.
   No continuous month-list frame: each configured surface stands on its own. */
.fanika-qa090-product-list-page .fanika-post-list-hero{
  border:1px solid rgba(255,255,255,.5);
  border-radius:12px;
}
.fanika-qa090-product-list-page .fanika-product-month-filter{
  margin-bottom:16px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:12px;
}
.fanika-qa090-product-list-page .fanika-qa090-product-month-list{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.fanika-qa090-product-list-page .fanika-qa090-month-group{
  margin:0 0 16px;
}
.fanika-qa090-product-list-page .fanika-post-month-group__heading{
  margin:0 0 12px;
}
@media(max-width:767px){
  .fanika-qa090-product-list-page .fanika-qa090-product-month-list{
    padding:0;
  }
}

/* The legacy fc-dashboard.css wrapper paints an extra 30%-white layer behind
   all cards. Approved plan/whisper archives have no such outer overlay. */
.fc-dashboard-page.talent-product-list-page.fanika-qa090-product-list-page{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
}

/* Creator product management: collapsible product edit panel. */
.fanika-product-management-page .fanika-product-management-edit{
  margin-top:14px;
  min-width:0;
}
.fanika-product-management-page .fanika-product-management-edit>summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px 12px;
  border:1px solid var(--fanika-ui-button-border, #dbe4ed);
  border-radius:10px;
  background:var(--fanika-ui-surface, #fff);
  color:var(--fanika-ui-accent, #ec4899);
  font-size:.78rem;
  font-weight:800;
  cursor:pointer;
  list-style:none;
}
.fanika-product-management-page .fanika-product-management-edit>summary::-webkit-details-marker{display:none}
.fanika-product-management-page .fanika-product-management-edit>summary:focus-visible{
  outline:2px solid var(--fanika-ui-accent, #ec4899);
  outline-offset:2px;
}
.fanika-product-management-page .fanika-product-management-edit__close{display:none;color:var(--fanika-ui-text-muted, #667085)}
.fanika-product-management-page .fanika-product-management-edit[open] .fanika-product-management-edit__open{display:none}
.fanika-product-management-page .fanika-product-management-edit[open] .fanika-product-management-edit__close{display:inline}
.fanika-product-management-page .fanika-product-management-edit[open]>summary{
  border-color:var(--fanika-ui-button-color, #f4a6c8);
}


/* QA098: management-only visual parity; public /shop-products/ remains unchanged. */
html:has(body .fanika-product-management-page),
body:has(.fanika-product-management-page),
body:has(.fanika-product-management-page) .site,
body:has(.fanika-product-management-page) .site-content,
body:has(.fanika-product-management-page) .site-main,
body:has(.fanika-product-management-page) .entry-content {
  background-image: none !important;
  background-color: #edf7fe !important;
  background-attachment: scroll !important;
}
.fanika-product-management-page {
  background: transparent;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}
.fanika-product-management-page > .fanika-creator-page-header.fanika-product-management-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #e5ebf2;
  border-radius: 16px;
  background: linear-gradient(100deg, #fff6dc 0%, #fff 85%) !important;
}
.fanika-product-management-page .fanika-product-management-hero .fanika-creator-page-header__icon {
  display: inline-flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  color: #ec4899;
}
.fanika-product-management-page .fanika-product-management-hero .fanika-creator-page-header__title {
  margin: 2px 0 4px;
  font-size: 1.35rem;
  line-height: 1.4;
  color: #263449;
}
.fanika-product-management-page .fanika-product-management-hero .fanika-creator-page-header__description {
  margin: 0;
  color: #667085;
  font-size: .8rem;
}
.fanika-product-management-page .fanika-product-management-toolbar,
.fanika-product-management-page .fanika-product-management-card {
  background: #fff !important;
  background-image: none !important;
}
.fanika-product-management-page .fanika-product-management-toolbar {
  gap: 18px;
}
.fanika-product-management-page .fanika-product-management-back-bottom {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 20px auto 28px;
}
.fanika-product-management-page .fanika-product-management-back-bottom .fanika-shared-back-navigation {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 !important;
}
@media (max-width: 640px) {
  .fanika-product-management-page > .fanika-creator-page-header.fanika-product-management-hero {
    padding: 16px;
  }
}
