/* Inherit the compact, light Operate language of integrated analysis. */
.ich { color: #23324a; font: 14px/1.6 "Microsoft YaHei", "PingFang SC", sans-serif; display: grid; gap: 18px; min-width: 0; padding: 18px 0; }
.ich header, .ich footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ich h2, .ich h3, .ich h4, .ich p { margin: 0; }
.ich h2 { font-size: 18px; } .ich h3 { font-size: 16px; } .ich h4 { font-size: 14px; }
.ich small { display: block; color: #526177; font-size: 13px; }
.ich h2 small { display: inline; font-weight: 400; }
.ich fieldset { min-width: 0; border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.ich legend { padding: 0 0 12px; font-weight: 600; }
.ich label { display: grid; gap: 6px; min-width: 0; }
.ich input:not([type="checkbox"]), .ich select, .ich textarea { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #b8c5d6; border-radius: 6px; background: white; color: #23324a; min-height: 38px; font: inherit; padding: 8px 10px; }
.ich textarea { resize: vertical; caret-color: #315f97; }
.ich :is(button, input, textarea, select, summary):focus-visible { outline: 2px solid #315f97; outline-offset: 3px; }
.ich ::selection { background: #d5e5fa; color: #18243a; }
.ich input[type="checkbox"] { accent-color: #315f97; margin-top: 5px; }
.ich .ich-check, .ich-source > label { display: flex; align-items: flex-start; gap: 8px; }
.ich-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 16px 0; }
.ich-sources > section { min-width: 0; }
.ich-source { padding: 12px 0; border-bottom: 1px solid #dbe3ed; }
.ich summary { color: #315f97; cursor: pointer; min-height: 28px; }
.ich details p, .ich blockquote { max-width: 72ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.ich details[open] > :not(summary) { margin-top: 10px; }
.ich-output { display: grid; gap: 16px; border-top: 1px solid #dbe3ed; padding-top: 20px; }
.ich-citations { padding-left: 20px; } .ich-citations li + li { margin-top: 14px; }
.ich blockquote { margin: 6px 0; padding: 0; border: 0; }
.ich .ich-status { color: #384d6b; min-height: 24px; }
.ich button { min-height: 38px; justify-self: start; }
.ich button:disabled { opacity: .6; cursor: not-allowed; }
.ich-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ich-selection > label, .ich-selection > button { margin-top: 14px; }
.ich-history { margin-top: 10px; font-size: 14px; overflow-wrap: anywhere; }
.ich-history summary { color: #315f97; cursor: pointer; }
.ich-history blockquote { margin: 6px 0; padding: 0; border: 0; white-space: pre-wrap; }
/* The local tool owns its save action; do not overlay the unrelated AI/workpaper dock. */
#view-walkthrough:has(.aia-host:not([hidden]) .ich) .uaw-bottom { display: none; }
.aia-host:has(.ich) [data-aia-new][hidden] { display: none; }
@media (max-width: 640px) { .ich-sources { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
