.df-page { color:#172b45; background:#fff; border:1px solid #dbe5f0; border-radius:12px; padding:16px; }
.df-page [hidden] { display:none !important; }
.nav-item[data-tab="data-followup"] { width:100%; border:0; text-align:left; font-family:inherit; }
.nav-item[data-tab="data-followup"]:not(.active) { background:transparent; }
.df-heading,.df-toolbar,.df-tabs,.df-pager,.df-dialog-head,.df-dialog-footer { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.df-heading { justify-content:space-between; margin-bottom:12px; }
.df-heading h2 { margin:0 0 4px; font-size:19px; }
.df-page p,.df-muted { color:#52677f; font-size:12px; }
.df-heading p { margin:0; }
.df-tabs { border-bottom:1px solid #dbe5f0; padding-bottom:10px; margin-bottom:12px; }
.df-page button,.df-dialog button { cursor:pointer; min-height:36px; }
.df-tabs button[aria-selected="true"] { color:#0069ed; border-color:#9fc8ff; background:#edf5ff; font-weight:600; }
.df-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:8px; margin:12px 0; }
.df-stat { border:1px solid #dbe5f0; border-radius:8px; padding:10px 12px; font-size:12px; color:#52677f; }
.df-stat strong { display:block; margin-top:3px; font-size:22px; color:#172b45; }
.df-toolbar { align-items:flex-end; margin-bottom:12px; }
.df-toolbar label,.df-editor label { display:flex; flex-direction:column; gap:5px; font-size:12px; font-weight:600; }
.df-toolbar .df-search { flex:1; min-width:210px; }
.df-toolbar input,.df-toolbar select,.df-editor input,.df-editor select,.df-editor textarea { background:#fff; color:#172b45; border:1px solid #cedbea; border-radius:7px; padding:8px 10px; min-height:36px; font:inherit; }
.df-table-wrap { overflow-x:auto; border:1px solid #dbe5f0; border-radius:8px; }
.df-table { width:100%; border-collapse:collapse; font-size:12px; text-align:left; }
.df-table th { background:#f7f9fc; font-weight:600; color:#425b77; white-space:nowrap; }
.df-table th,.df-table td { padding:10px; border-bottom:1px solid #e8eef5; vertical-align:top; }
.df-table td { min-width:80px; }
.df-table td:first-child { min-width:30px; }
.df-table tr:last-child td { border-bottom:0; }
.df-table td small { display:block; margin-top:4px; color:#52677f; }
.df-badge { display:inline-block; border-radius:12px; padding:4px 8px; font-size:11px; background:#edf5ff; color:#0757b7; white-space:nowrap; }
.df-badge.closed,.df-badge.no_need { background:#f1f3f6; color:#536275; }
.df-badge.needs_review { background:#fff4dc; color:#805500; }
.df-pager { justify-content:flex-end; margin-top:12px; }
.df-notice { font-size:12px; color:#52677f; line-height:1.5; margin:12px 0 0; }
.df-message { padding:26px 12px; text-align:center; color:#52677f; }
.df-error { color:#af2936; }
.df-page button:focus-visible,.df-dialog button:focus-visible,.df-page input:focus-visible,.df-page select:focus-visible,.df-dialog input:focus-visible,.df-dialog textarea:focus-visible,.df-dialog select:focus-visible { outline:2px solid #0069ed; outline-offset:3px; }
.df-dialog { width:min(840px,calc(100vw - 28px)); max-height:90vh; margin:auto; border:1px solid #dbe5f0; border-radius:12px; padding:0; color:#172b45; background:#fff; }
.df-dialog::backdrop { background:rgba(24,38,58,.5); }
.df-dialog-head { justify-content:space-between; padding:14px 18px; border-bottom:1px solid #dbe5f0; }
.df-dialog-head h3 { margin:0; font-size:17px; }
.df-dialog-body { padding:16px 18px; }
.df-dialog-body h4 { margin:16px 0 10px; font-size:14px; }
.df-editor { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.df-editor .df-wide { grid-column:1/-1; }
.df-editor textarea { min-height:74px; resize:vertical; }
.df-dialog-footer { justify-content:flex-end; padding-top:12px; }
.df-replies { display:grid; gap:8px; max-height:300px; overflow:auto; }
.df-reply { padding:10px; border:1px solid #dbe5f0; border-radius:8px; }
.df-reply p,.df-send pre { white-space:pre-wrap; overflow-wrap:anywhere; margin:5px 0 0; font:inherit; }
.df-send { padding:10px 0; border-bottom:1px solid #dbe5f0; }
@media(max-width:600px) { .df-page { padding:10px; } .df-toolbar label { width:100%; } .df-editor { grid-template-columns:1fr; } .df-dialog-head,.df-dialog-body { padding:12px; } .df-stat { padding:8px; } }
