/* V4.7.0 — Duyurular */
.an-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.an-toolbar .fn-seg { margin-bottom: 0; }
.an-toolbar input[type=search] { max-width: 320px; flex: 1 1 200px; }
.an-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.an-chip { font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.an-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.an-st { font-size: 13px; }
.an-edit .panel { margin-bottom: 16px; }
.an-edit .panel-body { padding: 16px 18px; }
.an-rte { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.an-tools { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px; border-bottom: 1px solid var(--line-2); background: var(--paper); }
.an-tools button { height: 32px; min-width: 34px; padding: 0 9px; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.an-tools button svg { width: 15px; height: 15px; }
.an-area { min-height: 180px; max-height: 480px; overflow: auto; padding: 12px 14px; font-size: 15px; line-height: 1.65; outline: none; }
.an-area:focus { box-shadow: inset 0 0 0 2px #cfdcf8; }
.an-area p { margin: 0 0 10px; }
.an-chans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.an-chan { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.an-chan input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.an-chan b { display: block; font-size: 14px; }
.an-chan small { display: block; color: var(--muted); font-size: 12px; }
.an-smsinfo { word-break: break-word; }
.an-filters, .an-roles { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 4px; }
.an-roles { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.an-roles .label, .an-plans .label { width: 100%; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.an-plans { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; }
.an-check { display: inline-flex; gap: 7px; align-items: center; font-size: 14px; cursor: pointer; }
.an-check input { width: 16px; height: 16px; accent-color: var(--navy); }
.an-picked { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.an-pick { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-soft); color: #1d3f97; border-radius: 999px; padding: 4px 6px 4px 11px; font-size: 13px; font-weight: 600; }
.an-pick small { font-weight: 500; opacity: .75; }
.an-pick button { border: 0; background: rgba(29,63,151,.12); color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.an-results { border: 1px solid var(--line); border-radius: 10px; max-height: 300px; overflow: auto; }
.an-results:empty { display: none; }
.an-res { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.an-res:last-child { border-bottom: 0; }
.an-res span { flex: 1; min-width: 0; }
.an-res small { color: var(--muted); }
.an-savebar { display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--bg, #f5f6f8) 30%); }
.an-firms { display: grid; gap: 12px; }
.an-firm .panel-head { padding: 12px 16px; }
.an-rgrid { display: grid; grid-template-columns: 1fr 1fr; }
.an-rcol { padding: 12px 16px; min-width: 0; }
.an-rcol + .an-rcol { border-left: 1px solid var(--line-2); }
.an-rcol.off { opacity: .5; }
.an-rhead { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.an-rhead svg { width: 16px; height: 16px; color: var(--muted); }
.an-rhead small { margin-left: auto; color: var(--muted); }
.an-rrow { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--line-2); cursor: pointer; }
.an-rrow input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.an-rrow span { min-width: 0; }
.an-rrow b { display: block; font-size: 14px; font-weight: 600; word-break: break-all; }
.an-rrow small { display: block; color: var(--muted); font-size: 12px; }
.an-none { padding: 8px 0; font-size: 13px; }
.an-add { display: flex; gap: 6px; margin-top: 10px; }
.an-add .input { height: 36px; min-width: 0; flex: 1; }
.an-prev { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.an-prev-side { display: grid; gap: 16px; }
.an-mailhead { padding: 10px 18px; font-size: 13px; border-bottom: 1px solid var(--line-2); word-break: break-word; }
.an-mail { width: 100%; height: 640px; border: 0; display: block; background: #f1f4f9; }
.an-bubble { background: #e9f0ff; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; margin-bottom: 8px; }
.an-banner { display: flex; flex-direction: column; gap: 2px; background: #fff3e6; border: 1px solid #ffd2a8; color: #8a3c00; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.an-banner span { font-size: 12px; }
.an-card small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.an-card h3 { margin: 4px 0 8px; font-size: 17px; }
.an-body { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.an-body p { margin: 0 0 8px; }
.an-sendbar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.an-progress { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-bottom: 6px; }
.an-progress span { display: block; height: 100%; background: linear-gradient(90deg, #2764ff, #18a058); }
.an-to { word-break: break-all; font-size: 13px; }
@media (max-width: 1100px) { .an-chans { grid-template-columns: 1fr 1fr; } .an-prev { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .an-rgrid { grid-template-columns: 1fr; }
  .an-rcol + .an-rcol { border-left: 0; border-top: 1px solid var(--line-2); }
  .an-chans { grid-template-columns: 1fr; }
  .an-mail { height: 520px; }
  .an-toolbar input[type=search] { max-width: none; }
  .an-savebar { justify-content: stretch; } .an-savebar > * { flex: 1; justify-content: center; }
}
