/* Fonts from this computer */
.df-backdrop { z-index: 900; }
.df-win { width: min(640px, 96vw); max-height: 92vh; display: flex; flex-direction: column; background: #fff; color: #1b2433; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.55); font-family: 'Kantumruy Pro', system-ui, -apple-system, sans-serif; overflow: auto; padding: 16px 18px; user-select: none; }
.df-head { display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.df-x { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 8px; font-size: 16px; color: #5a6578; cursor: pointer; }
.df-x:hover { background: #e7eaf0; }
.df-lead { margin: 6px 0 12px; font-size: 13.5px; color: #5a6578; line-height: 1.5; }
.df-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.df-msg { flex-basis: 100%; font-size: 13px; color: #b45309; min-height: 18px; }
.df-btn { border: 1px solid #d5dbe6; background: #fff; color: #1b2433; padding: 9px 14px; border-radius: 9px; font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; }
.df-btn:hover { background: #eef2f8; }
.df-btn:disabled { opacity: .5; cursor: default; }
.df-btn.primary { background: #0e72ed; border-color: #0e72ed; color: #fff; }
.df-btn.primary:hover:not(:disabled) { background: #0b5fc4; }
.df-scan { margin-top: 10px; }
.df-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.df-q { flex: 1; min-width: 140px; border: 1px solid #d5dbe6; border-radius: 9px; padding: 8px 10px; font: 14px inherit; font-family: inherit; user-select: text; }
.df-chip { border: 1px solid #d5dbe6; background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 12.5px inherit; font-family: inherit; color: #4a566a; cursor: pointer; }
.df-chip.on { background: #e8f1ff; border-color: #4da3ff; color: #0e5fd8; }
.df-list { max-height: 240px; overflow: auto; border: 1px solid #e3e6eb; border-radius: 10px; }
.df-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f0f2f6; cursor: pointer; }
.df-row:last-child { border-bottom: 0; }
.df-row:hover { background: #f6f9ff; }
.df-row.have { cursor: default; }
.df-name { flex: 1; font-weight: 600; font-size: 14px; }
.df-sub { font-size: 12px; color: #7a8599; }
.df-tag { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.df-tag.khmer { background: #fde7ec; color: #c0264a; }
.df-tag.en { background: #e6f0ff; color: #1d5fc7; }
.df-rm { border: 0; background: transparent; color: #c0392b; font: 600 12.5px inherit; font-family: inherit; cursor: pointer; }
.df-rm:hover { text-decoration: underline; }
.df-empty { padding: 16px; color: #7a8599; font-size: 13px; margin: 0; }
.df-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 13px; color: #5a6578; }
.df-have { margin-top: 14px; }
.df-have h4 { margin: 0 0 6px; font-size: 13px; color: #4a566a; }
.df-have .df-row { border: 1px solid #eef0f4; border-radius: 9px; margin-bottom: 4px; }
.df-end { display: flex; justify-content: flex-end; margin-top: 12px; }
