/* Compact four-pane headings; the multi view has an independent 14px base font. */
.multi-pane-heading{min-height:34px;padding:3px 10px;gap:8px;flex-wrap:nowrap}
.multi-pane-title{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden}
.multi-pane-title strong{display:inline;flex-shrink:0;font-size:12px;line-height:1.3}
.multi-pane-title small{display:block;min-width:0;font-size:12px;line-height:1.3}
.multi-pane-status{font-size:10px}.multi-pane-zoom{min-height:26px;min-width:26px}
.multi-model-change{font-size:10px;flex:none;min-height:26px;padding:3px 5px;border:1px solid #8dadd644;border-radius:5px;color:#c4d5ef}
.multi-retry{display:inline-flex;min-height:34px;margin-top:10px;padding:7px 10px;font-size:12px;color:#eadcfb;border-color:#b6a0df66;background:#302741}
.multi-answer-model{display:block;margin-bottom:8px;color:#9fb3cc;font-size:11px}
.multi-thread .message-content,.multi-thread .user .message-content{font-size:1rem}
.multi-thread .message-content pre,.multi-thread .message-content table{font-size:1rem}
.multi-thread .message-content code{font-size:1em}
.multi-grid{position:relative}
.merge-diamond{position:absolute;z-index:3;top:50%;left:50%;display:grid;place-items:center;width:62px;height:62px;padding:0;border:1px solid #b9caff;border-radius:12px;background:linear-gradient(135deg,#384c79,#2c264c);box-shadow:0 0 0 5px #080e1dbb,0 0 28px #9b9cde44;color:#fff;transform:translate(-50%,-50%) rotate(45deg)}
.merge-diamond span{transform:rotate(-45deg);font-size:12px;white-space:nowrap;text-shadow:0 1px 3px #000}
.merge-diamond:hover:not(:disabled){background:linear-gradient(135deg,#53689b,#433566);box-shadow:0 0 0 5px #080e1dbb,0 0 30px #b7bfff66}
.merge-diamond:disabled{opacity:.5;cursor:default}
.multi-grid.focused .merge-diamond{display:none}
.merge-dialog{width:min(610px,calc(100vw - 24px));max-height:90dvh;overflow:auto;font-size:14px;padding:24px}
.merge-dialog .panel-heading{gap:12px}.merge-dialog h2{font-size:20px}
.merge-help{font-size:14px;color:#aabbd7;line-height:1.7;margin:14px 0}
.merge-sources{display:flex;flex-direction:column;gap:8px;margin:16px 0 20px}
.merge-source{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;background:#19283f;border:1px solid #93acdc38;border-radius:12px;padding:10px 12px}
.merge-source.excluded{background:#0e192a}.merge-source.excluded .merge-source-name{color:#8595ad;text-decoration:line-through}
.merge-dialog .merge-choice{display:flex;align-items:center;gap:9px;margin:0;min-width:0;font-size:14px;cursor:pointer}
.merge-choice input[type=checkbox]{appearance:auto;width:18px;height:18px;flex:none;margin:0;accent-color:#b4c8ff}
.merge-rank{display:grid;place-items:center;flex:none;width:23px;height:23px;border:1px solid #a2b7e05c;border-radius:6px;font-size:12px;color:#dce5ff}
.merge-source-name{min-width:0;overflow-wrap:anywhere}.merge-order{display:flex;gap:5px}
.merge-order button{justify-content:center;min-width:32px;min-height:34px;padding:4px 8px;font-size:17px}
.merge-order button:disabled{opacity:.3}
.merge-preview{grid-column:1/-1;margin:0!important;border:0!important;padding:0!important;background:none!important}
.merge-preview summary{font-size:12px;color:#93a8c9;cursor:pointer}.merge-preview p{max-height:150px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#c6d2e7;line-height:1.7;margin:8px 0;font-size:14px}
.merge-dialog label{font-size:14px}.merge-dialog select{font-size:14px;min-height:42px}
.merge-dialog #merge-instruction{background:#101d30;border:1px solid #91a7d03d;border-radius:10px;font-size:14px;min-height:75px;padding:10px}
.merge-dialog .primary{font-size:15px}.merge-dialog .form-error{font-size:14px}
@media(max-width:620px){
  .multi-pane-heading{min-height:32px;padding:3px 6px;gap:4px;flex-wrap:nowrap}
  .multi-pane-title{gap:4px}.multi-pane-title strong{font-size:10px}.multi-pane-title small{font-size:10px}
  .multi-pane-status{font-size:9px}.multi-pane-zoom{min-width:22px;min-height:24px;font-size:14px}
  .merge-diamond{width:53px;height:53px;border-radius:10px}.merge-diamond span{font-size:11px}
  .merge-dialog{padding:16px}.merge-dialog h2{font-size:18px}.merge-source{padding:9px 8px;gap:5px}
  .merge-dialog .merge-choice{gap:6px}.merge-order{gap:3px}.merge-order button{min-width:29px;padding:3px 6px}
}
