#kern-selection{padding:20px;border-bottom:1px solid #dce3e8;background:#fff;color:#1b2b37}
#kern-selection h3{margin:0;font-size:18px}#kern-selection p{margin:6px 0 12px;font-size:14px;line-height:1.5;color:#526675}
#kern-selection button{min-height:44px;padding:10px 12px;border:1px solid #b6c6d2;border-radius:5px;background:#fff;color:#1b3a57;font:600 14px/1.3 system-ui;cursor:pointer}
#kern-selection button:disabled{opacity:.55;cursor:default}#kern-selection button:focus-visible,#kern-selection input:focus-visible{outline:3px solid #2476b5;outline-offset:2px}
.ks-top,.ks-actions,.ks-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ks-top{justify-content:space-between;align-items:flex-start}
#kern-selection summary{font-size:14px;cursor:pointer;padding:12px 0;min-height:44px;font-weight:600}#kern-selection details{border-top:1px solid #e1e7ec;border-bottom:1px solid #e1e7ec;margin-bottom:12px}
.ks-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 0 16px}.ks-fields label{font-size:14px}.ks-fields input{display:block;width:100%;min-width:0;box-sizing:border-box;min-height:44px;padding:8px;margin-top:4px;border:1px solid #b6c6d2;border-radius:4px;font:16px system-ui}
.ks-list{list-style:none;margin:0 0 12px;padding:0;max-height:230px;overflow:auto}.ks-list li{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px;border:1px solid #dce3e8;border-radius:5px;margin:8px 0;overflow-wrap:anywhere}.ks-list li>div:first-child{min-width:0;flex:1}.ks-list b{font-size:14px}.ks-list small{display:block;font-size:14px;color:#526675;margin-top:4px}.ks-list .ks-active{border-left:3px solid #1b3a57;background:#f4f8fb}.ks-row-actions{flex-shrink:0}
#kern-selection .ks-note{margin:12px 0 0}.kern-draft{flex-wrap:wrap;gap:10px}.kern-draft>button{min-height:44px;white-space:normal}.kern-session{min-width:0}
@media(max-width:600px){#kern-selection{padding:16px}.ks-fields{grid-template-columns:1fr}.ks-list li{display:block}.ks-row-actions{margin-top:10px}.ks-actions>button,.ks-top>button{width:100%}}

/* v32: one action panel; status banner is informational only. */
#kern-progress-action{display:none!important}

#kern-selection{scroll-margin-top:140px}
