.iv-wrap { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; box-sizing: border-box; }
.iv-wrap *, .iv-wrap *::before, .iv-wrap *::after { box-sizing: inherit; } .iv-vs-grid { display: flex; flex-direction: column; gap: 0; }
.iv-vs-divider {
display: flex; align-items: center; gap: 8px;
font-size: 10px; font-weight: 700; color: #bbb;
padding: 6px 0;
}
.iv-vs-divider::before,
.iv-vs-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; } .iv-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 9px; min-width: 0; } .iv-card-inner { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.iv-card-left  { min-width: 0; } .iv-isp-name { font-size: 12px; font-weight: 700; color: #111; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .iv-score    { display: flex; align-items: center; gap: 5px; margin-bottom: 2px; }
.iv-pct      { font-size: 15px; font-weight: 700; color: #111; min-width: 32px; line-height: 1; flex-shrink: 0; }
.iv-bar-wrap { flex: 1; height: 4px; background: #f0f0f0; border-radius: 2px; overflow: hidden; min-width: 0; }
.iv-bar      { height: 100%; background: #1D9E75; border-radius: 2px; transition: width 0.4s ease; }
.iv-count    { font-size: 10px; color: #aaa; } .iv-top-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 5px; }
.iv-tag      { font-size: 10px; padding: 2px 6px; border-radius: 20px; border: 1px solid #e5e7eb; color: #6b7280; background: #f9fafb; white-space: nowrap; }
.iv-tag--top { background: #E1F5EE; border-color: #5DCAA5; color: #085041; } .iv-btns { display: flex; flex-direction: column; gap: 4px; }
.iv-btn {
display: flex; align-items: center; justify-content: center; gap: 3px;
padding: 6px 10px; border-radius: 7px; border: 1px solid #e5e7eb;
background: #fff; cursor: pointer; font-size: 11px; color: #374151;
min-height: 34px; line-height: 1; white-space: nowrap;
-webkit-tap-highlight-color: transparent;
transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.iv-btn:active { transform: scale(0.96); }
.iv-btn.iv-btn--yes.is-active { background: #E1F5EE; border-color: #5DCAA5; color: #085041; }
.iv-btn.iv-btn--no.is-active  { background: #FCEBEB; border-color: #F09595; color: #791F1F; } .iv-panel             { margin-top: 8px; }
.iv-panel[hidden]     { display: none; }
.iv-panel-inner       { background: #fff; border: 1px solid #d1d5db; border-radius: 10px; padding: 10px; }
.iv-panel-isp         { font-size: 11px; font-weight: 700; color: #111; margin-bottom: 1px; }
.iv-panel-hint        { font-size: 10px; color: #6b7280; margin-bottom: 8px; }
.iv-panel-tags        { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.iv-panel-tags .iv-tag { cursor: pointer; font-size: 11px; padding: 4px 9px; min-height: 28px; display: inline-flex; align-items: center; }
.iv-panel-tags .iv-tag.is-sel-yes { background: #E1F5EE; border-color: #5DCAA5; color: #085041; }
.iv-panel-tags .iv-tag.is-sel-no  { background: #FCEBEB; border-color: #F09595; color: #791F1F; } .iv-submit { width: 100%; padding: 9px; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; color: #111; min-height: 38px; }
.iv-submit:active { transform: scale(0.98); } .iv-done       { text-align: center; padding: 8px 0; }
.iv-done-icon  { font-size: 22px; line-height: 1; }
.iv-done-title { font-size: 12px; font-weight: 600; color: #111; margin-top: 4px; }
.iv-done-sub   { font-size: 10px; color: #aaa; margin-top: 2px; } .iv-compact .iv-card     { padding: 7px; }
.iv-compact .iv-pct      { font-size: 13px; }
.iv-compact .iv-top-tags { display: none; }
.iv-compact .iv-btn      { font-size: 10px; min-height: 30px; padding: 5px 8px; } @media (min-width: 540px) {
.iv-vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: start; flex-direction: unset; }
.iv-vs-divider { display: block; font-size: 13px; padding: 10px 2px 0; }
.iv-vs-divider::before, .iv-vs-divider::after { display: none; } .iv-card-inner { display: block; }
.iv-card          { padding: 12px; border-radius: 12px; }
.iv-isp-name      { font-size: 13px; margin-bottom: 8px; }
.iv-pct           { font-size: 20px; min-width: 44px; }
.iv-bar-wrap      { height: 6px; }
.iv-count         { font-size: 11px; margin-bottom: 8px; }
.iv-top-tags      { margin-top: 0; margin-bottom: 10px; }
.iv-tag           { font-size: 11px; padding: 3px 8px; } .iv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex-direction: unset; }
.iv-btn  { font-size: 12px; padding: 8px 4px; min-height: 40px; gap: 5px; white-space: normal; }
.iv-panel-inner   { padding: 12px; border-radius: 12px; }
.iv-panel-isp     { font-size: 12px; }
.iv-panel-hint    { font-size: 11px; margin-bottom: 10px; }
.iv-panel-tags .iv-tag { font-size: 12px; padding: 5px 10px; }
.iv-submit        { font-size: 13px; }
.iv-done-title    { font-size: 13px; }
.iv-done-sub      { font-size: 11px; }
} @media (prefers-color-scheme: dark) {
.iv-card, .iv-panel-inner                { background: #1a1a1a; border-color: #333; }
.iv-isp-name, .iv-pct,
.iv-submit, .iv-done-title               { color: #f0f0f0; }
.iv-bar-wrap                             { background: #2a2a2a; }
.iv-count, .iv-panel-hint, .iv-done-sub  { color: #666; }
.iv-tag                                  { background: #2a2a2a; border-color: #444; color: #9ca3af; }
.iv-btn                                  { background: #1a1a1a; border-color: #333; color: #d1d5db; }
.iv-btn:hover                            { background: #222; }
.iv-submit                               { background: #1a1a1a; border-color: #444; }
.iv-submit:hover                         { background: #222; }
.iv-vs-divider                           { color: #555; }
.iv-vs-divider::before,
.iv-vs-divider::after                    { background: #333; }
} .iv-picker-wrap { }
.iv-picker { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; }
.iv-picker-label { display: block; font-size: 12px; font-weight: 700; color: #111; margin-bottom: 8px; }
.iv-picker-row { display: flex; gap: 6px; align-items: center; }
.iv-picker-select {
flex: 1; min-width: 0;
height: 38px; padding: 0 10px;
border: 1px solid #e5e7eb; border-radius: 8px;
background: #fff; font-size: 13px; color: #111;
appearance: none; -webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
padding-right: 32px;
cursor: pointer;
}
.iv-picker-btn {
flex-shrink: 0;
height: 38px; padding: 0 16px;
border: 1px solid #e5e7eb; border-radius: 8px;
background: #fff; font-size: 13px; font-weight: 600; color: #111;
cursor: pointer; white-space: nowrap;
transition: background 0.12s, border-color 0.12s;
-webkit-tap-highlight-color: transparent;
}
.iv-picker-btn:hover { background: #f9fafb; }
.iv-picker-btn:active { transform: scale(0.97); }
.iv-picker-result { margin-top: 10px; }
.iv-picker-result[hidden] { display: none; }
.iv-picker-loading { text-align: center; padding: 14px 0; font-size: 12px; color: #aaa; }
@media (prefers-color-scheme: dark) {
.iv-picker { background: #1a1a1a; border-color: #333; }
.iv-picker-label { color: #f0f0f0; }
.iv-picker-select { background-color: #1a1a1a; border-color: #333; color: #f0f0f0; }
.iv-picker-btn { background: #1a1a1a; border-color: #333; color: #f0f0f0; }
.iv-picker-btn:hover { background: #222; }
}
.iv-picker-error { font-size: 11px; color: #A32D2D; margin-top: 6px; padding: 0 2px; }
.iv-picker-error[hidden] { display: none; } .iv-full-wrap .iv-full-row {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 16px;
align-items: center;
}
.iv-full-score {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.iv-full-score .iv-pct {
font-size: 28px;
min-width: auto;
}
.iv-full-meta {
display: flex;
flex-direction: column;
gap: 3px;
}
.iv-full-meta .iv-bar-wrap {
width: 80px;
height: 5px;
}
.iv-full-tags {
display: flex;
flex-wrap: wrap;
gap: 5px;
align-items: center;
min-width: 0;
}
.iv-full-label {
font-size: 11px;
color: #aaa;
white-space: nowrap;
margin-right: 2px;
}
.iv-full-btns {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.iv-full-btns .iv-btn {
padding: 9px 16px;
font-size: 13px;
min-height: 40px;
gap: 5px;
} @media (max-width: 560px) {
.iv-full-wrap .iv-full-row {
grid-template-columns: 1fr;
gap: 10px;
}
.iv-full-btns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
}
.iv-full-score .iv-pct { font-size: 20px; }
} @media (prefers-color-scheme: dark) {
.iv-full-label { color: #555; }
} .iv-ac-wrap      { position: relative; flex: 1; min-width: 0; }
.iv-ac-input {
width: 100%; height: 38px; padding: 0 10px;
border: 1px solid #e5e7eb; border-radius: 8px;
background: #fff; font-size: 13px; color: #111;
outline: none;
transition: border-color 0.15s;
}
.iv-ac-input:focus { border-color: #5DCAA5; }
.iv-ac-dropdown {
position: absolute; top: calc(100% + 4px); left: 0; right: 0;
background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
box-shadow: 0 4px 16px rgba(0,0,0,.08);
list-style: none; margin: 0; padding: 4px 0;
max-height: 220px; overflow-y: auto;
z-index: 999;
}
.iv-ac-dropdown[hidden] { display: none; }
.iv-ac-item {
padding: 8px 12px; cursor: pointer;
font-size: 13px; color: #111;
transition: background 0.1s;
}
.iv-ac-item:hover,
.iv-ac-item.is-active { background: #f0faf6; }
.iv-ac-item mark {
background: none; color: #1D9E75; font-weight: 700;
}
@media (prefers-color-scheme: dark) {
.iv-ac-input     { background: #1a1a1a; border-color: #333; color: #f0f0f0; }
.iv-ac-input:focus { border-color: #5DCAA5; }
.iv-ac-dropdown  { background: #1a1a1a; border-color: #333; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.iv-ac-item      { color: #f0f0f0; }
.iv-ac-item:hover,
.iv-ac-item.is-active { background: #0d2e22; }
}