.studio-market { border-color: #b7ceda; background: linear-gradient(135deg,#f5fafb,#fff 45%); }
.studio-translation { padding:16px; border:1px solid #d6e2e9; border-radius:14px; background:#f5fafb; }
.studio-translation h3 { margin:0 0 8px; font-size:15px; }
.studio-translation .button { margin:8px 8px 0 0; min-height:44px; white-space:normal; }
.studio-donor-translation-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.studio-donor-reference { margin-top:16px; padding:14px; border:1px solid #d6e2e9; border-radius:10px; background:#fff; }
.studio-donor-reference summary { cursor:pointer; font-weight:700; }
.studio-donor-reference-text { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.5; font-size:13px; }
.studio-market-actions,.studio-market-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; align-items:center; }
.studio-market-links { font-size:12px; margin-bottom:16px; }
.studio-market-links a { color:#22586c; text-decoration:underline; text-underline-offset:3px; }
.studio-market-summary { padding:18px; margin-top:16px; border:1px solid #b7d2cc; border-radius:16px; background:#eef7f3; }
.studio-market-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:14px 0; }
.studio-market-stat { display:flex; flex-direction:column; gap:5px; }
.studio-market-stat strong { color:#174d3c; font-size:24px; letter-spacing:-.03em; }
.studio-market-stat small { color:#536f65; font-size:12px; }
.studio-market-summary p { margin:8px 0; }
.studio-market-donor { border:1px solid #ced8ea; border-radius:14px; padding:16px; margin:16px 0; background:#f5f7fc; }
.studio-market-donor h3 { margin:0 0 8px; font-size:15px; }
.studio-market-donor a { color:#274e85; overflow-wrap:anywhere; }
.studio-market-group { margin-top:18px; }
.studio-market-group summary { cursor:pointer; font-size:14px; font-weight:700; padding:10px 0; }
.studio-market-list { display:grid; gap:9px; margin-top:8px; }
.studio-donor-start .button { min-height:44px; white-space:normal; }
.studio-market-sort { display:grid; gap:6px; margin-top:18px; color:#243f60; font-size:13px; font-weight:700; }
.studio-market-sort select { width:100%; min-width:0; min-height:44px; padding:10px 12px; border:1px solid #b7ceda; border-radius:10px; background:#fff; color:#243f60; font:inherit; }
.studio-market-row.is-selected { border-color:#438b70; box-shadow:inset 3px 0 #438b70; background:#f1f9f5; }
.studio-market-row.is-selected .button:disabled { opacity:1; color:#256448; border-color:#b7d2cc; }
.studio-market-row { display:grid; grid-template-columns:112px minmax(0,1fr) auto; gap:8px 14px; padding:14px; border:1px solid #e0e6ed; border-radius:12px; background:#fff; }
.studio-market-row-info { min-width:0; grid-column:2; grid-row:1; }
.studio-market-row a { color:#243f60; font-size:13px; font-weight:600; overflow-wrap:anywhere; line-height:1.45; }
.studio-market-row p { font-size:12px; color:#627181; margin:5px 0 0; }
.studio-market-row .button { grid-column:2/-1; grid-row:2; justify-self:start; min-height:44px; padding:8px 12px; font-size:12px; white-space:normal; }
.studio-market-price { grid-column:3; grid-row:1; white-space:nowrap; font-weight:700; color:#1d493b; font-size:15px; }
.studio-market-photo { grid-column:1; grid-row:1/3; width:112px; min-width:0; align-self:start; }
.studio-market-photo-button { display:block; width:100%; padding:0; border:1px solid #c6d4df; border-radius:10px; background:#fff; color:#243f60; cursor:zoom-in; overflow:hidden; font:inherit; }
.studio-market-photo-button:hover { border-color:#427a98; background:#f1f7fb; }
.studio-market-photo-button:focus-visible { outline:3px solid #286c97; outline-offset:3px; }
.studio-market-photo img { display:block; width:100%; height:112px; object-fit:contain; background:#fff; }
.studio-market-photo-caption { display:flex; align-items:center; justify-content:space-between; gap:5px; padding:7px; border-top:1px solid #e0e6ed; font-size:11px; line-height:1.3; text-align:start; overflow-wrap:anywhere; }
.studio-market-photo-caption span { font-size:19px; flex:none; }
.studio-market-photo-missing { display:flex; align-items:center; justify-content:center; width:100%; min-height:112px; padding:10px; box-sizing:border-box; border:1px dashed #c6d4df; border-radius:10px; background:#f3f6f8; color:#627181; font-size:12px; line-height:1.4; text-align:center; overflow-wrap:anywhere; }
.studio-market-donor-item { display:flex; align-items:center; gap:14px; }
.studio-market-donor-item .studio-market-photo { flex:none; }
.studio-market-donor-item > a { min-width:0; }
.studio-market-photo-dialog { width:min(760px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:20px; box-sizing:border-box; border:1px solid #c6d4df; border-radius:18px; background:#fff; color:#243f60; box-shadow:0 24px 80px #102d4a55; overflow:auto; }
.studio-market-photo-dialog::backdrop { background:#14283dcc; }
.studio-market-photo-header { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.studio-market-photo-header h2 { margin:0; font-size:18px; line-height:1.4; overflow-wrap:anywhere; }
.studio-market-photo-dialog .button { min-height:44px; white-space:normal; flex-shrink:0; }
.studio-market-photo-large { display:flex; align-items:center; justify-content:center; width:100%; min-height:160px; margin:18px 0; background:#f6f8fa; border-radius:12px; overflow:hidden; }
.studio-market-photo-large img { display:block; max-width:100%; max-height:65dvh; object-fit:contain; }
.studio-market-photo-large .studio-market-photo-missing { min-height:220px; }
.studio-market-excluded { font-size:12px; color:#796341; }
.studio-market #productMarketStatus { margin-top:12px; }
.studio-market .notice { margin-top:14px; }
@media (max-width:600px) {
  .studio-donor-translation-comparison { grid-template-columns:1fr; }
  .studio-translation .button { width:100%; margin-inline:0; }
  .studio-market-stats { grid-template-columns:1fr 1fr; }
  .studio-market-stat:first-child { grid-column:1/-1; }
  .studio-market-stat:first-child strong { font-size:32px; }
  .studio-market-actions .button { flex:1; }
  .studio-market-row { grid-template-columns:96px minmax(0,1fr); gap:8px 12px; padding:12px; }
  .studio-market-photo { width:96px; }
  .studio-market-photo img { height:96px; }
  .studio-market-photo-missing { min-height:96px; }
  .studio-market-price { grid-column:2; grid-row:2; }
  .studio-market-row .button { grid-column:1/-1; grid-row:3; width:100%; }
  .studio-market-photo-dialog { padding:16px; }
  .studio-market-photo-header { flex-direction:column-reverse; gap:12px; }
  .studio-market-photo-header .button { align-self:end; }
}
