/* Item analysis (2026-10-18), portal look (app.css variables). */
.ia-switch { display: inline-flex; gap: 4px; background: var(--blue-tint); padding: 4px; border-radius: 999px; margin: 6px 0 12px; }
.ia-tab { border: 0; background: transparent; border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--blue); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.ia-tab.on { background: #fff; box-shadow: 0 1px 4px rgba(27,65,145,.15); }
.ia-tab .ic { width: 1em; height: 1em; }
.ia-h { margin: 0; }
.ia-hist { border: 1px solid #eceff6; border-radius: 14px; padding: 10px 14px 6px; margin-bottom: 12px; background: #fbfcff; }
.ia-hist-h { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ia-bars { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; align-items: end; height: 108px; padding-top: 6px; }
.ia-bin { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.ia-bar { display: block; width: 70%; border-radius: 6px 6px 2px 2px; background: var(--blue); }
.ia-bar.g { background: var(--teal); } .ia-bar.a { background: var(--amber); } .ia-bar.r { background: var(--red); }
.ia-l { font-size: .7rem; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.ia-c { color: #13204a; font-weight: 700; min-height: 1.1em; }
.ia-mean { position: absolute; top: 4px; bottom: 18px; width: 0; border-left: 2px dashed var(--blue-dark); }
.ia-band { white-space: nowrap; }
.ia-cmp { white-space: nowrap; }
.ia-sum { display: flex; gap: 10px; align-items: flex-start; background: var(--pink-tint); border: 1px solid #f3dcd8; border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; }
.ia-sum img { border-radius: 50%; flex: none; }
.ia-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ia-counts { margin-left: 10px; }
.ia-wrap { overflow-x: auto; }
.ia-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ia-table th { text-align: left; font-size: .8rem; color: var(--muted); border-bottom: 2px solid #e6e9f2; padding: 6px 8px; white-space: nowrap; }
.ia-table td { border-bottom: 1px solid #eef0f5; padding: 7px 8px; vertical-align: top; }
.ia-table tr.ia-hard td { background: #fdf2f1; }
.ia-table tr.ia-hard td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.ia-topic { min-width: 200px; max-width: 320px; }
.ia-stem { margin-top: 2px; line-height: 1.35; }
.ia-pc { min-width: 150px; white-space: nowrap; }
.ia-pbar { display: inline-block; width: 90px; height: 10px; background: #edf0f6; border-radius: 99px; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.ia-pbar span { display: block; height: 100%; border-radius: 99px; background: var(--blue); }
.ia-pbar span.g { background: var(--teal); } .ia-pbar span.a { background: var(--amber); } .ia-pbar span.r { background: var(--red); }
.ia-wrong { min-width: 160px; max-width: 260px; }
.ia-tag { font-size: .68rem; margin-top: 3px; }
.ia-modal { max-width: 1100px; }
.ia-topic { min-width: 180px; max-width: 250px; }
.ia-pc { min-width: 120px; }
.ia-pbar { width: 64px; }
.ia-wrong { min-width: 130px; max-width: 200px; }
.ia-table td, .ia-table th { padding-left: 6px; padding-right: 6px; }
