/* A+ 校正台 — kabosu方式 (素のCSS)。白ベース + かぼすの色（kosei-machine/frontend/style.css の色 3 組と同じ。2026-10-19 峯岸さん） */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --band: #00FF00;                  /* 上の帯（kabosu の --s-band） */
  --band-ink: #1b5e20;              /* 帯の上の字 */
  --accent: #2CC62C;                /* kabosu の --s-accent */
  --deep: #1F8A1F;                  /* kabosu の --s-deep（押したとき・濃い方） */
  --accent-weak: color-mix(in srgb, #2CC62C 9%, #fff);   /* kabosu の --s-hover */
  --border: #d9dee3;
  --text: #24292f;
  --muted: #6b7280;
  --danger: #b91c1c;
  --warn: #b45309;
  --ok: #166534;
}
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px; color: var(--text); background: #f6f8fa;
}

/* ─── レイアウト: 上バー + 本文 ─── */
.topbar {
  display: flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 16px;
  background: var(--band); color: var(--band-ink);
  position: sticky; top: 0; z-index: 10;
}
.topbar .title { font-weight: bold; font-size: 16px; }
.topbar .title a { color: #fff; text-decoration: none; }   /* 名前は白文字（2026-10-19 峯岸さん） */
.topbar .sub { font-size: 12px; opacity: .85; }
.topbar .spacer { flex: 1; }
.topbar a.tb { color: var(--band-ink); font-size: 13px; text-decoration: none; opacity: .9; }
.topbar a.tb:hover { text-decoration: underline; }
.topbar button.tb {
  background: rgba(255,255,255,.35); color: var(--band-ink); border: 1px solid rgba(27,94,32,.4);
  border-radius: 6px; padding: 5px 12px; font-size: 13px; cursor: pointer;
}
.topbar button.tb.on { background: #fff; color: var(--deep); font-weight: bold; border-color: #fff; }

.layout { display: flex; min-height: calc(100vh - 48px); }
.main { flex: 1; padding: 20px 24px 60px; max-width: 980px; }
.main.wide { max-width: none; }
.main h1 { font-size: 20px; margin-bottom: 4px; }
.main .lead { color: var(--muted); margin-bottom: 16px; font-size: 13px; }

/* ─── カード ─── */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; margin-bottom: 12px;
}
.card h3 { font-size: 15px; margin-bottom: 10px; }
.card.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-weak); }
.card .head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card .head .no { font-weight: bold; color: var(--deep); }
.card .head .type { font-weight: bold; }
.card .head .en { color: var(--muted); font-size: 12px; }
.card .head .ops { margin-left: auto; display: flex; gap: 4px; }

label.fl { display: block; font-size: 12px; color: var(--muted); margin: 8px 0 3px; }
label.fl .cnt { float: right; font-size: 11px; color: var(--muted); }
label.fl .cnt.over { color: var(--danger); font-weight: bold; }
input[type=text], textarea, select {
  width: 100%; padding: 7px 9px;
  border: 1px solid var(--border); border-radius: 6px;
  font: inherit; background: #fff;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
.hint { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.two-col { display: flex; gap: 12px; }
.two-col > div { flex: 1; min-width: 0; }

/* 画像欄 */
.imgfield { display: flex; gap: 12px; align-items: flex-start; }
.imgfield .img-box {
  width: 120px; height: 90px; flex-shrink: 0;
  border: 1px dashed var(--border); border-radius: 6px; background: #f1f3f5;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: var(--muted); font-size: 11px; text-align: center; cursor: pointer;
}
.imgfield .img-box img { max-width: 100%; max-height: 100%; }
.imgfield .img-box.drop { border-color: var(--accent); background: var(--accent-weak); }
.imgfield .img-meta { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.imgfield .img-meta .bad { color: var(--danger); }
.imgfield .img-meta .ok { color: var(--ok); }
.imgfield .img-ops { display: flex; gap: 6px; margin-top: 4px; }

/* 商品画像（メイン・サブ）のカード: メインは大きい枠、サブは小さい枠の並び。上げる・外す・並べるだけ */
.gal { display: flex; gap: 12px; align-items: flex-start; }
.gal-slot { position: relative; border: 1px dashed var(--border); border-radius: 6px; background: #f1f3f5; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; text-align: center; cursor: pointer; line-height: 1.3; }
.gal-slot img { max-width: 100%; max-height: 100%; }
.gal-slot.has { border-style: solid; background: #fff; }
.gal-slot.drop { border-color: var(--accent); background: var(--accent-weak); }
.gal-slot.main { width: 132px; height: 132px; flex-shrink: 0; }
.gal-subs { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.gal-subs .gal-slot { width: 72px; height: 72px; }
.gal-slot .gal-no { position: absolute; left: 0; top: 0; font-size: 10px; background: rgba(31,138,31,.9); color: #fff; padding: 0 5px; border-radius: 0 0 5px 0; }
.gal-slot .gal-ops { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: flex-end; gap: 1px; padding: 2px; background: rgba(255,255,255,.85); opacity: 0; transition: opacity .15s; }
.gal-slot:hover .gal-ops { opacity: 1; }
.gal-slot .gal-ops button { padding: 0 5px; font-size: 11px; line-height: 16px; }
.gal-slot.add { border-color: var(--accent); color: var(--deep); font-size: 12px; }
.gal-slot.add:hover { background: var(--accent-weak); }
.gal-slot .gal-dim { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9.5px; background: rgba(255,255,255,.85); color: var(--muted); padding: 0 3px; text-align: left; }
.gal-slot:hover .gal-dim { opacity: 0; }
.gal-slot.busy { opacity: .5; pointer-events: none; }
#gallery-card.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-weak); }

/* 箇条書き・行の編集 */
.rows .row { display: flex; gap: 6px; margin-bottom: 4px; align-items: center; }
.rows .row input { flex: 1; }
.rows .row .lab { flex: 0 0 160px; }
.rows .row button { flex-shrink: 0; }

/* ─── ボタン ─── */
.btns { display: flex; gap: 8px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
button.primary {
  padding: 7px 20px; border: none; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: bold;
  cursor: pointer; font-size: 13px;
}
button.primary:hover:not(:disabled) { background: var(--deep); }
button.primary:disabled { background: #b9d9b9; cursor: default; }
button.ghost {
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 13px;
}
button.ghost.small, button.danger.small { padding: 3px 8px; font-size: 12px; }
button.danger {
  padding: 7px 14px; border: 1px solid var(--danger); border-radius: 6px;
  background: #fff; color: var(--danger); cursor: pointer; font-size: 13px;
}
button.danger.arm { background: var(--danger); color: #fff; font-weight: bold; }
button.danger:disabled, button.ghost:disabled { opacity: .35; cursor: default; }
.btns .note { font-size: 12px; color: var(--muted); }

/* ─── フラッシュ / 追加フォーム ─── */
#flash {
  position: fixed; top: 60px; right: 20px; z-index: 50;
  padding: 10px 18px; border-radius: 8px;
  background: #166534; color: #fff; font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
#flash.show { opacity: 1; }
#flash.err { background: var(--danger); }
details.adder { margin-top: 20px; }
details.adder summary { cursor: pointer; font-weight: bold; color: var(--accent); padding: 8px 0; user-select: none; }
details.adder .card { margin-top: 8px; }

/* ─── ログイン ─── */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-box {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 32px 36px; width: 340px; text-align: center;
}
.login-box h1 { font-size: 18px; margin-bottom: 6px; }
.login-box .lead { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.login-box input { margin-bottom: 12px; }
.login-box .err { color: var(--danger); font-size: 12px; margin-top: 8px; min-height: 1em; }

/* ─── 一覧 ─── */
table.tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; background: #fff; }
table.tbl th { text-align: left; font-weight: normal; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--border); }
table.tbl td { padding: 8px; border-bottom: 1px solid #eef1f3; vertical-align: middle; }
table.tbl td a { color: var(--deep); font-weight: bold; text-decoration: none; }
table.tbl .num { text-align: right; white-space: nowrap; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; background: #eef1f3; color: var(--muted); }
.badge.review { background: var(--accent-weak); color: var(--deep); }
.badge.final { background: #dcfce7; color: var(--ok); }
.badge.open { background: #fee2e2; color: var(--danger); }

/* ─── 編集画面: 左フォーム + 右プレビュー ─── */
.edit-layout { display: flex; height: calc(100vh - 48px); }
.edit-form { width: 520px; flex-shrink: 0; overflow-y: auto; padding: 16px 16px 80px; border-right: 1px solid var(--border); background: #f6f8fa; }
.edit-preview { flex: 1; overflow: auto; background: #e9ecef; padding: 20px; }
/* 共有リンク */
.share { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 6px; }
.share-row { display: flex; gap: 6px; }
.share-row input { font-size: 12px; color: var(--muted); }

/* ─── 組み立て（並び）とモジュール見本（パレット） ─── */
.micon { display: block; width: 100%; height: auto; }
.micon .i-img { fill: #cfd6dd; }
.micon .i-head { fill: #24292f; }
.micon .i-line { fill: #8a94a0; }
.micon .i-row { fill: #fff; stroke: #cfd6dd; stroke-width: .6; }
.micon .i-dark { fill: rgba(0,0,0,.72); }
.micon .i-light { fill: rgba(255,255,255,.85); stroke: #cfd6dd; stroke-width: .5; }
.micon .i-txt { font: bold 6px sans-serif; fill: #fff; text-anchor: middle; }
.modlist { margin-bottom: 6px; min-height: 44px; border: 1px dashed transparent; border-radius: 6px; }
.modlist.over { border-color: var(--accent); background: var(--accent-weak); }
.modlist .empty { color: var(--muted); font-size: 12px; padding: 12px; text-align: center; }
.modlist .mi { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; background: #fff; margin-bottom: 4px; font-size: 13px; cursor: grab; position: relative; }
.modlist .mi.active { border-color: var(--accent); background: var(--accent-weak); }
.modlist .mi.dragging { opacity: .4; }
.modlist .mi.ins-before::before, .modlist .mi.ins-after::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--deep); border-radius: 2px; }
.modlist .mi.ins-before::before { top: -4px; } .modlist .mi.ins-after::after { bottom: -4px; }
.modlist .mi .no { color: var(--deep); font-weight: bold; width: 18px; }
.modlist .mi-add { display: block; width: 100%; padding: 6px; border: 1px dashed var(--accent); border-radius: 6px; background: #fff; color: var(--deep); font-size: 18px; line-height: 1; cursor: pointer; }
.modlist .mi-add:hover { background: var(--accent-weak); }
.modlist .mi .micon { width: 48px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 3px; background: #fff; }
.modlist .mi .ops { margin-left: auto; display: flex; gap: 2px; }
.modlist .mi button { padding: 1px 6px; font-size: 11px; }
/* ─── 浮いた窓（kabosu の .vw-float の写し。見出しをつかんで動かす・四辺と四隅で大きさを変える） ─── */
.vw-float { position: fixed; width: 360px; max-width: 90vw; height: 48vh; min-height: 120px;
  display: flex; flex-direction: column; background: #fff; border: 1px solid #bbb; border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25); z-index: 1000; overflow: hidden; }
.vw-float-rs { position: absolute; z-index: 5; touch-action: none; }
.vw-float-rs-n, .vw-float-rs-s { left: 14px; right: 14px; height: 6px; cursor: ns-resize; }
.vw-float-rs-n { top: 0; } .vw-float-rs-s { bottom: 0; }
.vw-float-rs-e, .vw-float-rs-w { top: 14px; bottom: 14px; width: 6px; cursor: ew-resize; }
.vw-float-rs-e { right: 0; } .vw-float-rs-w { left: 0; }
.vw-float-rs-ne, .vw-float-rs-nw, .vw-float-rs-se, .vw-float-rs-sw { width: 14px; height: 14px; }
.vw-float-rs-ne { top: 0; right: 0; cursor: nesw-resize; } .vw-float-rs-sw { bottom: 0; left: 0; cursor: nesw-resize; } .vw-float-rs-nw { top: 0; left: 0; cursor: nwse-resize; }
.vw-float-rs-se { bottom: 0; right: 0; cursor: nwse-resize; background: repeating-linear-gradient(135deg, transparent 0 3px, #9e9e9e 3px 4.5px); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.vw-float-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--band); color: var(--band-ink); cursor: move; user-select: none; touch-action: none; font-size: 13px; font-weight: bold; }   /* kabosu の浮いた窓の帯と同じ */
.vw-float-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vw-float-close { border: none; background: none; font-size: 14px; cursor: pointer; color: var(--band-ink); }
.vw-float-body { flex: 1; overflow: auto; padding: 8px 10px; font-size: 13px; }
.vw-float-body .phead { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.vw-float-body #modform .card { border: none; padding: 4px 2px; margin: 0; box-shadow: none; }
.vw-float-body #modform .card.active { box-shadow: none; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pcard { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 8px 8px 6px; cursor: grab; user-select: none; }
.pcard:hover { border-color: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.pcard.dragging { opacity: .5; }
.pcard .micon { border: 1px solid #eef1f3; border-radius: 4px; background: #fafbfc; margin-bottom: 6px; }
.pcard .pname { font-size: 12px; font-weight: bold; line-height: 1.3; }
.pcard .phint { font-size: 10.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.pcard .pguess { font-size: 10px; color: var(--warn); }
.pcard { position: relative; }
.pcard .pask { display: none; position: absolute; inset: 0; background: rgba(234,249,234,.96); border-radius: 8px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: bold; color: var(--deep); }
.pcard.ask .pask:not(.pfull) { display: flex; }
.pcard.ask.full .pask:not(.pfull) { display: none; }
.pcard.ask.full .pask.pfull { display: flex; background: rgba(254,226,226,.97); color: var(--danger); text-align: center; padding: 8px; font-size: 12px; }
.pcard .pask button { min-width: 72px; }
/* 足したばかりの行は点滅して場所を教える */
.modlist .mi.blink { animation: mi-blink .4s ease-in-out 3; }
@keyframes mi-blink { 0%, 100% { background: #fff; border-color: var(--border); } 50% { background: var(--accent); border-color: var(--accent); color: #fff; } }
.modlist .mi.blink .no { color: inherit; }

/* ─── プレビュー枠 (Amazon の商品ページの中身の部分を模した外枠) ─── */
.pv-frame { margin: 0 auto; background: #fff; }
.pv-frame.pc { width: 1244px; padding: 0; }
/* スマホ: phone.png（tabi-staff の登録者の見え方と同じ絵。800×1619・画面の部分が透明）の中に画面。画面の中だけスクロール。
   画面の位置は画像に対する割合（left 5.62% / top 2.42% / width 89.01% / height 95.16%）。絵は中身の上に重ねて押せないように（ノッチが上に乗る） */
.phone { position: relative; width: 438px; aspect-ratio: 800 / 1619; margin: 0 auto; }
.phone > img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
.phone .screen { position: absolute; left: 5.62%; top: 2.42%; width: 89.01%; height: 95.16%; overflow-y: auto; overflow-x: hidden; border-radius: 30px; background: #fff; scrollbar-width: none; }
.phone .screen::-webkit-scrollbar { display: none; }
.pv-frame.sp { width: 390px; padding: 40px 15px 24px; }   /* 上はノッチと時計のぶん（画面の上から 40px） */
.pv-empty { color: var(--muted); padding: 40px; text-align: center; }
/* モジュール境界（校正用のうすい目印。Amazon には無い） */
.pv-mod { position: relative; }
.pv-mod .pv-tag {
  position: absolute; left: 0; top: 0; z-index: 5;
  font-size: 11px; background: rgba(31,138,31,.9); color: #fff; padding: 1px 7px; border-radius: 0 0 6px 0;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.pv-mod:hover .pv-tag, .pv-mod.active .pv-tag { opacity: 1; }
.pv-mod.active { outline: 2px solid var(--deep); outline-offset: 2px; }
.pv-mod .pv-cbtn {
  position: absolute; right: 0; top: 0; z-index: 5;
  font-size: 11px; background: #fff; color: var(--accent); border: 1px solid var(--accent);
  padding: 2px 8px; border-radius: 0 0 0 6px; cursor: pointer; opacity: 0; transition: opacity .15s;
}
.pv-mod:hover .pv-cbtn, .pv-mod.has-c .pv-cbtn { opacity: 1; }
.pv-mod.has-c .pv-cbtn { background: var(--accent); color: #fff; }
.pv-placeholder {
  background: repeating-linear-gradient(45deg, #f1f3f5, #f1f3f5 10px, #e9ecef 10px, #e9ecef 20px);
  color: #6b7280; display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center;
}
.pv-auto { color: #6b7280; font-size: 12px; font-style: italic; }
.hide-tags .pv-tag, .hide-tags .pv-cbtn, .hide-tags .pv-mod.active { display: none; outline: none; }
.hide-tags .pv-gallery.active { outline: none; }
.hide-tags .fusen, .hide-tags .fusen-arrows { display: none; }   /* 「コメントを隠す」= ポストイットと矢印も */

/* ─── 校正画面: プレビュー + 右（状態の札・検査・納品・ポストイット置き場） ─── */
.proof-layout { display: flex; height: calc(100vh - 48px); }
.proof-preview { flex: 1; overflow: auto; background: #e9ecef; padding: 20px; }
.proof-side { width: 300px; flex-shrink: 0; overflow-y: auto; border-left: 1px solid var(--border); background: #fff; padding: 14px; }
.proof-side h3 { font-size: 14px; margin: 6px 0 8px; }
.pv-frame { position: relative; }
/* 状態の札: 押して直接変える。いまの札だけ塗り */
.status-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge.pick { cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--muted); font: inherit; font-size: 12px; padding: 2px 10px; }
.badge.pick.on.draft { background: #eef1f3; color: var(--text); border-color: #c9ced3; font-weight: bold; }
.badge.pick.on.review { background: var(--accent-weak); color: var(--deep); border-color: var(--accent); font-weight: bold; }
.badge.pick.on.final { background: #dcfce7; color: var(--ok); border-color: var(--ok); font-weight: bold; }
/* 置き場（Blue の付箋の帯の写し） */
.fusen-tray.over { outline: 2px dashed var(--accent); outline-offset: 2px; background: var(--accent-weak); }
.fusen-colors { display: flex; gap: 6px; margin: 10px 0; }
.fusen-colors button { flex: none; width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); cursor: pointer; }
.fusen-colors button.on { outline: 2px solid #555; outline-offset: 1px; }
.fusen-src { cursor: grab; line-height: 0; margin: 0 0 8px; width: 112px; }
.fusen-src.off { opacity: .35; cursor: not-allowed; }
.fusen-svg { display: block; filter: drop-shadow(0 1px 1.2px rgba(0,0,0,.18)); }
/* 貼った付箋: 見え方の枠の上に絶対位置。蛍光色の地・右下の折り返し・中に文字 */
.fusen-arrows { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; overflow: visible; filter: drop-shadow(0 1px 1.2px rgba(0,0,0,.18)); }
.fusen { position: absolute; z-index: 21; background: var(--fill); box-shadow: 0 2px 6px rgba(0,0,0,.22); cursor: grab; display: flex; flex-direction: column; }
.fusen.moving { cursor: grabbing; }   /* 動かしている間も透けさせない（透けると下の矢印だけ濃く見えた。2026-10-19） */
.fusen.aiming { box-shadow: 0 0 0 2px var(--back); }
.fusen-text { flex: 1; width: 100%; min-height: 0; margin: 0; padding: 12px 12px 2px 14px; border: 0; background: transparent; resize: none; font: 13px/1.5 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; color: #222; cursor: text; }
.fusen-text:focus { outline: none; }
.fusen-text::placeholder { color: rgba(0,0,0,.35); }
.fusen-meta { display: flex; gap: 6px; padding: 0 22px 5px 12px; font-size: 10px; color: rgba(0,0,0,.55); white-space: nowrap; overflow: hidden; pointer-events: none; }
.fusen-who { font-weight: bold; }
.fusen-x { position: absolute; right: 2px; top: 1px; border: 0; background: transparent; color: rgba(0,0,0,.45); font-size: 13px; cursor: pointer; line-height: 1; padding: 2px 4px; opacity: 0; }
.fusen:hover .fusen-x { opacity: 1; }
.fusen-fold { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; background: linear-gradient(135deg, transparent 50%, var(--back) 50%); pointer-events: none; }
.fusen-fold::before { content: ""; position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; background: linear-gradient(315deg, #fff 50%, transparent 50%); }   /* 折れて見えている地（白） */
.fusen-rs { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; cursor: nwse-resize; z-index: 2; touch-action: none; }
/* 左上の三角（右下の大きさの三角と対。いまの色の濃い方）: 引っぱると吹き出しの矢印が伸びる */
.fusen-tri { position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: linear-gradient(135deg, var(--back) 50%, transparent 50%); cursor: crosshair; touch-action: none; z-index: 2; }
.fusen-tri:hover { background: linear-gradient(135deg, #555 50%, transparent 50%); }
.issues .is { font-size: 12px; padding: 4px 8px; border-radius: 4px; margin-bottom: 4px; }
.issues .is.error { background: #fee2e2; color: var(--danger); }
.issues .is.warn { background: #fff3e6; color: var(--warn); }
.issues .is.note { background: #eef1f3; color: var(--muted); }
.issues .is b { font-weight: bold; }
