.kdtr-panel { margin: 1rem 0; padding: 1rem; background: #f7fbfc; border: 1px solid #bdd9dd; border-radius: 10px; color: #143645; }
.kdtr-panel h2, .kdtr-panel h3 { margin: 0 0 .4rem; color: #102f49; }
.kdtr-panel > p { margin: .3rem 0 .7rem; font-size: .9rem; }
.kdtr-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid #d8e7ea; padding: .5rem 0; }
.kdtr-row > strong { font-size: .9rem; }
.kdtr-card { min-width: 0; }
.kdtr-body { margin-top: .6rem; padding: .8rem; border: 1px solid #b9d4da; border-left: 4px solid #159fa7; border-radius: 6px; background: white; }
.kdtr-row .kdtr-body { position: relative; width: min(72vw, 860px); }
.kdtr-status { display: inline-block; margin: .1rem 0; padding: .2rem .5rem; border-radius: 5px; background: #e3f1f3; font-weight: 700; }
.kdtr-status[data-status="outdated"], .kdtr-status[data-status="review_required"] { background: #fff0d3; }
.kdtr-status[data-status="approved"] { background: #def4e9; }
.kdtr-note { color: #49616b; font-size: .84rem; }
.kdtr-columns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.kdtr-columns > div { min-width: 0; padding: .7rem; border: 1px solid #d7e6ea; border-radius: 5px; overflow-wrap: anywhere; }
.kdtr-columns h4 { margin: 0 0 .4rem; color: #0d5264; }
.kdtr-columns p { margin: 0; white-space: pre-wrap; }
.kdtr-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.kdtr-actions button, .kdtr-card > button { background: #0b475d; color: white; border: 0; border-radius: 5px; padding: .4rem .65rem; cursor: pointer; }
.kdtr-actions button:focus-visible, .kdtr-card > button:focus-visible { outline: 3px solid #12aab2; outline-offset: 2px; }
.kdtr-editor { margin-top: .8rem; }
.kdtr-editor textarea { display: block; width: 100%; min-height: 7rem; margin: .3rem 0; }
.kdtr-warning { padding: .5rem; background: #fff6e5; border-left: 3px solid #cf8a18; }
.kdtr-warning ul { margin: .3rem 0; }
.kdtr-history { margin-top: .7rem; border-top: 1px solid #d7e6ea; font-size: .85rem; }
.kdtr-message { color: #9a3b20; font-weight: 600; }
.kdtr-gap-warning { margin: .8rem 0; padding: .7rem; background: #fff0d3; border-left: 4px solid #cb861a; color: #5b3c0c; font-weight: 700; }
@media (max-width: 720px) { .kdtr-columns { grid-template-columns: 1fr; } .kdtr-row { display: block; } .kdtr-row .kdtr-body { width: auto; } }
