.wdr-entry,.wdr-page{box-sizing:border-box;color:#243447}
.wdr-entry{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.5rem;margin:1rem 0;border:1px solid #d5e1eb;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(32,64,98,.05)}
.wdr-entry h2,.wdr-page h1,.wdr-files h2{margin:.15rem 0 .35rem}
.wdr-entry p,.wdr-head p,.wdr-muted{margin:.2rem 0;color:#65778a}
.wdr-eyebrow{font-size:.78rem;color:#426c93;letter-spacing:.05em}
.wdr-entry-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.wdr-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.3rem .65rem;background:#eff3f7;color:#53697c;font-size:.82rem;white-space:nowrap}
.wdr-chip.submitted{background:#e3f4ec;color:#17754e}.wdr-chip.draft,.wdr-chip.missing{background:#fff4df;color:#936018}
.wdr-page{max-width:880px;margin:0 auto;padding:1.25rem 1rem 7rem}
.wdr-page button,.wdr-entry button{min-height:44px;padding:.62rem .9rem;border:1px solid #c5d4e0;border-radius:10px;background:#fff;color:#28537b;cursor:pointer;font:inherit}
.wdr-page button.primary,.wdr-entry button.primary{background:#28689f;border-color:#28689f;color:#fff}
.wdr-page button:disabled{opacity:.6;cursor:wait}.wdr-page button:focus-visible,.wdr-entry button:focus-visible,.wdr-page input:focus-visible,.wdr-page textarea:focus-visible{outline:3px solid #78a8d4;outline-offset:2px}
.wdr-head{display:flex;justify-content:space-between;gap:1rem;align-items:start;margin-bottom:1.2rem}.wdr-head h1{font-size:1.8rem}.wdr-head p{line-height:1.6}
.wdr-toolbar{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;margin-bottom:1rem}.wdr-toolbar label{display:flex;gap:.55rem;align-items:center;white-space:nowrap}
.wdr-page input[type=date],.wdr-page input[type=time],.wdr-page textarea{font:inherit;border:1px solid #c9d6e0;border-radius:10px;padding:.7rem;background:#fff;color:#243447}
.wdr-editor-label{display:block;font-weight:700;margin:.6rem 0}.wdr-editor-label textarea{display:block;box-sizing:border-box;width:100%;min-height:240px;margin-top:.5rem;line-height:1.7;font-weight:400;resize:vertical}
.wdr-readonly{min-height:100px;border:1px solid #d7e1ea;border-radius:12px;background:#fff;padding:1rem;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.wdr-readonly p{margin:0}.wdr-files{margin:1.25rem 0}.wdr-files h2{font-size:1.15rem}.wdr-files h2 small{font-size:.8rem;color:#6c7d8d;font-weight:400}
.wdr-files ul{list-style:none;padding:0;margin:.5rem 0}.wdr-file{display:flex;align-items:center;gap:.55rem;padding:.6rem 0;border-bottom:1px solid #e4e9ef}.wdr-file-name{overflow-wrap:anywhere;flex:1;min-width:0}.wdr-file small{color:#6c7d8d;white-space:nowrap}
.wdr-file-kind{flex:none;color:#537497;background:#edf3f8;border-radius:6px;padding:.25rem .4rem;font-size:.78rem}
.wdr-files img,.wdr-files video{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:.8rem 0;border-radius:10px}.wdr-files audio{max-width:100%;margin:.8rem 0}
.wdr-add{border:1px solid #d7e1ea;border-radius:12px;background:#fff;padding:.8rem 1rem}.wdr-add summary{cursor:pointer;color:#28689f;font-weight:700}.wdr-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-top:1rem}.wdr-add-grid label{display:block;position:relative;text-align:center;border:1px solid #cbd9e4;border-radius:10px;padding:.75rem;cursor:pointer}.wdr-add-grid input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.wdr-add p{color:#66798b;font-size:.85rem;line-height:1.5}
.wdr-actions{display:flex;gap:.7rem;justify-content:flex-end;margin:1.2rem 0}.wdr-error{color:#ad3030;line-height:1.5;overflow-wrap:anywhere}.wdr-loading{color:#61778c;padding:1.5rem}.wdr-summary{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.wdr-summary span{border-radius:10px;padding:.65rem .9rem;background:#eaf1f7}
.wdr-table-wrap{overflow-x:auto;border:1px solid #d7e1ea;border-radius:12px;background:#fff}.wdr-table-wrap table{width:100%;border-collapse:collapse;min-width:520px}.wdr-table-wrap th,.wdr-table-wrap td{text-align:left;padding:.7rem;border-bottom:1px solid #e4eaf0}.wdr-table-wrap tr:last-child td{border-bottom:0}
.wdr-page form[data-wdr-settings]{display:grid;gap:1rem;max-width:600px}.wdr-page form[data-wdr-settings]>label{display:grid;gap:.4rem}.wdr-page form[data-wdr-settings] fieldset{display:flex;gap:.6rem;flex-wrap:wrap;border:1px solid #d7e1ea;border-radius:10px}.wdr-page form[data-wdr-settings] fieldset label{display:inline-flex;align-items:center;gap:.2rem}
.wdr-page pre{white-space:pre-wrap;max-height:240px;overflow:auto;padding:.8rem;background:#f3f6f8;border-radius:8px}
.wdr-status{color:#28537b;line-height:1.5;overflow-wrap:anywhere;scroll-margin-bottom:7rem}.wdr-status:empty,.wdr-error:empty{display:none}.wdr-error{scroll-margin-bottom:7rem}.wdr-error button{margin:.3rem .5rem}.wdr-add-grid input{height:100%;min-height:0;margin:0;padding:0;box-sizing:border-box}.wdr-add-grid label:focus-within{outline:3px solid #78a8d4;outline-offset:2px}
@media(max-width:640px){.wdr-entry{align-items:stretch;flex-direction:column;padding:1rem}.wdr-entry-actions{justify-content:space-between}.wdr-head{align-items:stretch;flex-direction:column}.wdr-head h1{font-size:1.5rem}.wdr-head button{align-self:flex-start}.wdr-page{padding:1rem .8rem calc(6rem + env(safe-area-inset-bottom))}.wdr-editor-label textarea{min-height:38vh}.wdr-actions button{flex:1}.wdr-add-grid{grid-template-columns:1fr 1fr}.wdr-file{flex-wrap:wrap}.wdr-file-name{flex-basis:60%}}
