body{background:#f5f7fa;color:#1f2937}.app-shell{min-height:calc(100vh - 56px)}.app-sidebar{width:245px;min-width:245px;min-height:calc(100vh - 56px)}.app-sidebar .nav-link{color:#374151;border-radius:.45rem;padding:.55rem .75rem;margin:.08rem 0}.app-sidebar .nav-link:hover{background:#e9ecef}.app-sidebar .nav-link.active{background:#0d6efd;color:#fff}.card{border:0}.page-title{font-size:1.45rem;font-weight:700}.login-bg{background:linear-gradient(135deg,#eef2ff,#f8fafc)}.login-card{width:min(430px,100%)}.form-section{background:#fff;border-radius:.7rem;padding:1rem 1.2rem;margin-bottom:1rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.04)}.table>thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;color:#6b7280;white-space:nowrap}.table td{vertical-align:middle}@media(max-width:850px){.app-shell{display:block!important}.app-sidebar{width:100%;min-width:100%;min-height:auto}.app-sidebar .nav{display:grid;grid-template-columns:1fr 1fr}}
.nav-sub{margin:.15rem 0 .5rem 1rem;border-left:2px solid #d1d5db;padding-left:.55rem}.nav-sub a{display:block;color:#6b7280;text-decoration:none;font-size:.86rem;padding:.24rem .35rem;border-radius:.25rem}.nav-sub a:hover{background:#e9ecef;color:#111827}.detail-grid dt{color:#6b7280;font-weight:600}.detail-grid dd{margin-bottom:.7rem}.preserve-lines{white-space:normal}.attachment-thumb{width:82px;height:82px;object-fit:cover;border-radius:.4rem;border:1px solid #dee2e6}.attachment-file-icon{width:72px;height:82px;border:1px solid #dee2e6;border-radius:.4rem;display:flex;align-items:center;justify-content:center;font-weight:700;color:#dc3545;background:#fff}.min-w-0{min-width:0}

.draft-editor{min-height:360px;font-family:Georgia,'Times New Roman',serif;font-size:1rem;line-height:1.55}.document-body{font-family:Georgia,'Times New Roman',serif;font-size:1.03rem;line-height:1.65;white-space:normal}.attachment-file-icon{font-size:.78rem;text-align:center;padding:.25rem}.attachment-word{color:#0d6efd;background:#eef5ff}.attachment-excel{color:#198754;background:#eefaf3}.attachment-pdf{color:#dc3545;background:#fff3f3}
