.cdm-office {font-family:Tahoma,Arial,sans-serif;font-size:14px;line-height:1.65;color:#182a3a}
.cdm-office * {box-sizing:border-box}
.cdm-office [hidden] {display:none!important}
.cdm-office-dialog {width:min(960px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:14px;padding:24px;background:#fff;box-shadow:0 20px 80px #12263955}
.cdm-office-dialog::backdrop {background:#102438aa;backdrop-filter:blur(3px)}
.cdm-office header {display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #dce4ed;margin-bottom:16px}
.cdm-office h2 {font-size:22px;margin:0 0 12px;line-height:1.5}
.cdm-office h3 {font-size:16px;margin:0;overflow-wrap:anywhere}
.cdm-office button {font:inherit;font-weight:600;color:#153d64;background:#edf4fb;border:1px solid #bdcddd;border-radius:7px;padding:8px 12px;cursor:pointer;line-height:1.5;margin:3px}
.cdm-office button:hover {background:#dceafb}
.cdm-office button:disabled {opacity:.5;cursor:wait}
.cdm-office button:focus-visible,.cdm-office input:focus-visible,.cdm-office textarea:focus-visible,.cdm-office select:focus-visible {outline:3px solid #2072ce;outline-offset:2px}
.cdm-office [data-action="issue"],.cdm-office [data-action="save-record"],.cdm-office [data-action="download"] {background:#164a7c;color:white;border-color:#164a7c}
.cdm-office [data-action="archive"],.cdm-office [data-action="archive-record"] {color:#a32922;background:#fff3f2;border-color:#ecc9c6}
.cdm-office label {display:block;font-weight:600;margin:9px 0}
.cdm-office input:not([type="checkbox"]),.cdm-office textarea,.cdm-office select {display:block;width:100%;min-height:40px;border:1px solid #acbdce;background:#fff;color:#182a3a;border-radius:6px;padding:8px;font:inherit;line-height:1.5}
.cdm-office input[type="checkbox"] {width:18px;height:18px;margin-right:8px}
.cdm-office textarea {resize:vertical}
.cdm-office fieldset {border:1px solid #dce4ed;border-radius:8px;margin:12px 0;padding:14px;min-width:0}
.cdm-office fieldset:disabled {opacity:.8}
.cdm-office .cdm-check {display:flex;gap:8px;align-items:center}
.cdm-office-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
.cdm-office-actions {display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:12px 0}
.cdm-office-error {background:#fff0dd;border:1px solid #e8ba7a;padding:12px;border-radius:8px;color:#683a09;white-space:pre-wrap}
.cdm-office-table {overflow:auto}
.cdm-office table {width:100%;border-collapse:collapse;text-align:left;background:white}
.cdm-office th,.cdm-office td {padding:12px;border-bottom:1px solid #dce4ed;vertical-align:top;min-width:110px;overflow-wrap:anywhere}
.cdm-office th {background:#edf3f9}
.cdm-expiry-item {border:1px solid #e0d7c9;border-left:4px solid #c6751d;border-radius:8px;padding:16px;margin:14px 0;background:#fffcf6}
.cdm-expiry-item p {margin:6px 0}
.cdm-office .cdm-due {font-weight:600;color:#962c20}
.cdm-app .cdm-action-col {min-width:175px}
.cdm-app .cdm-doc-button,.cdm-app .cdm-alerts-button {font:inherit;border:1px solid #bccddd;background:#eef5fc;color:#154e7e;border-radius:7px;padding:7px 10px;cursor:pointer;margin:4px}
@media(max-width:640px){.cdm-office-grid{grid-template-columns:1fr}.cdm-office-dialog{padding:16px}.cdm-office h2{font-size:19px}.cdm-office button{min-height:42px}}
