.kbm-bar,.kbm-panel,.kbm-lock{font-family:inherit;line-height:1.65;box-sizing:border-box}.kbm-bar{max-width:1180px;margin:12px auto;padding:10px 15px;border:1px solid #cbded7;border-radius:9px;background:#f2f8f5;color:#234c46;font-size:13px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kbm-bar p{margin:0;flex:1}.kbm-bar a,.kbm-panel a{color:#17665b;text-decoration:underline}.kbm-bar[data-state=error],.kbm-bar[data-state=conflict]{background:#fff5e8;border-color:#d5b486;color:#72501f}.kbm-panel{margin:22px auto;padding:22px;border:1px solid #d5e2dc;border-radius:12px;background:#fff;max-width:1180px;color:#213f39;font-size:14px}.kbm-panel h2{font-size:23px;margin:0 0 9px}.kbm-panel h3{font-size:17px;margin:18px 0 8px}.kbm-panel p{margin:8px 0}.kbm-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.kbm-panel button,.kbm-bar button,.kbm-lock button{font:inherit;min-height:40px;padding:8px 12px;border:1px solid #76998d;border-radius:7px;background:#f4f9f6;color:#234f43;cursor:pointer}.kbm-panel button:disabled{opacity:.5;cursor:not-allowed}.kbm-panel .kbm-primary{background:#226b5c;color:#fff;border-color:#226b5c}.kbm-panel .kbm-danger{color:#8a302b;border-color:#c18a85;background:#fff6f5}.kbm-note{font-size:12px;color:#566b66}.kbm-record{display:block;padding:12px;border:1px solid #dfe7e3;border-radius:8px;margin:7px 0;overflow-wrap:anywhere}.kbm-record input{margin-right:9px}.kbm-record small{display:block;font-size:12px;color:#627770;margin:4px 0}.kbm-record pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:200px;overflow:auto;background:#f5f7f6;padding:10px}.kbm-consent{display:block;padding:12px;background:#f3f7f5;margin:10px 0}.kbm-message{min-height:1.5em;color:#76521f}.kbm-lock{position:fixed;inset:0;z-index:2147483647;background:#f5f8f7;display:grid;place-items:center;padding:24px;color:#24483e}.kbm-lock>div{max-width:500px;padding:28px;background:#fff;border:1px solid #d4dfda;border-radius:15px}.kbm-lock a{display:inline-block;color:#17665b;padding:10px}.kbm-hide-private body>*:not(.kbm-lock){visibility:hidden!important}.kbm-hide-private .kbm-lock{visibility:visible!important}.kbm-member #kbbLearningBackup{display:none!important}.kbm-panel [hidden]{display:none!important}.kbm-panel label,.kbm-panel input{font:inherit}.kbm-panel input[type=file]{max-width:100%;padding:8px}.kbm-row-summary{display:flex;gap:10px;flex-wrap:wrap}.kbm-chip{border:1px solid #d8e3dd;padding:6px 9px;border-radius:7px;font-size:12px}@media(max-width:600px){.kbm-bar{margin:10px 12px}.kbm-panel{margin:16px 0;padding:17px}.kbm-panel h2{font-size:21px}.kbm-actions button{flex:1 1 140px}.kbm-lock{padding:16px}.kbm-lock>div{padding:20px}}@media print{.kbm-bar,.kbm-panel,.kbm-lock{display:none!important}}

/* R3.3: scoped record visibility; no theme/layout replacement. */
.kbm-bar[data-state=refresh],.kbm-bar[data-state=stale]{background:#fff5e8;border-color:#d5b486;color:#72501f}
.kbm-state-details{margin:15px 0;border-top:1px solid #d5e2dc;padding-top:12px}.kbm-state-details summary{font-weight:700;cursor:pointer;min-height:36px}.kbm-record-list{margin-top:12px}.kbm-record-row{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(130px,.8fr) minmax(180px,1fr);gap:8px 16px;padding:10px 8px;border-bottom:1px solid #e5eeea;align-items:center;overflow-wrap:anywhere}.kbm-record-row strong{font-size:13px}.kbm-record-row small{font-size:12px;color:#566b66}.kbm-record-state{font-size:13px}.kbm-refresh-note{padding:14px;border:1px solid #d5b486;border-radius:8px;background:#fff8ed;margin:12px 0}.kbm-refresh-note p{font-size:13px}.kbm-state-details pre{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f6;padding:12px}.kbm-panel .kbm-state-details .kbm-note{font-size:12px}.kbm-panel button:focus-visible,.kbm-panel summary:focus-visible{outline:3px solid #3c8878;outline-offset:3px}
@media(max-width:640px){.kbm-record-row{grid-template-columns:1fr;gap:3px;padding:11px 2px}.kbm-state-details summary{line-height:1.6}.kbm-panel{min-width:0}.kbm-panel *{box-sizing:border-box}.kbm-refresh-note button{width:100%}}
