/* Faz 3: yönetim ekranları ve "Telefonu göster". Yeni tasarım dili yok: tokens.css belirteçleri ve mevcut bileşenler (card, btn, pillchip, seg, notif, status-badge).
   iOS 12 / Android 7: flex gap, aspect-ratio, inset yok (grid-gap ve kenar boşlukları kullanılır). */

/* ---- telefonu göster ---- */
.phone { margin-top: 12px; }
.phone .btn { margin-top: 0; }
.phone .btn + .btn { margin-top: 8px; }
.phone__note { color: var(--text-2-ink); font-size: var(--fs-foot); margin-top: 8px; line-height: 1.4; }
.phone__num { font-weight: 800; font-size: var(--fs-headline); }
.phone .ff__err { margin-top: 8px; }
.contactlist > .phone + .btn { margin-top: 8px; }

/* ---- sekmeler ve özet ---- */
a.pillchip { text-decoration: none; }
.pillchip[aria-current="page"] { background: var(--brand); color: var(--on-brand); border-color: transparent; box-shadow: 0 3px 6px rgba(242,140,40,.35); }
.adm-tabs { margin-top: 18px; }
.adm-stats { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; margin-top: 18px; }
.adm-stat { background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--r-surface); box-shadow: var(--surface-shadow); padding: 14px 16px; }
.adm-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.adm-stat__n { font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.adm-stat__l { font-size: var(--fs-foot); color: var(--text-2-ink); font-weight: 700; margin-top: 2px; }
.adm-stat.warn .adm-stat__n { color: var(--warn); }
@media (min-width: 900px) {
  .adm-stats { grid-template-columns: repeat(5, 1fr); grid-gap: 14px; }
  .adm-stat:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---- kuyruk ---- */
.adm-panel { margin-top: 6px; }
.adm-bar { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: justify; justify-content: space-between; margin-top: 10px; }
.adm-count { font-size: var(--fs-headline); font-weight: 800; }
.adm-count:focus { outline: none; }
.adm-card { padding: 0; margin-top: 12px; overflow: hidden; }
.adm-table { width: 100%; border-collapse: collapse; text-align: left; }
.adm-table th { font-size: var(--fs-cap); font-weight: 800; color: var(--text-2-ink); text-transform: uppercase; letter-spacing: .04em; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.adm-table td { padding: 12px 14px; border-top: 1px solid var(--hairline); vertical-align: top; font-size: var(--fs-sub); }
.adm-table tbody tr:first-child td { border-top: 0; }
.adm-main { display: -webkit-box; display: flex; -webkit-box-align: start; align-items: flex-start; }
.adm-main__b { min-width: 0; -webkit-box-flex: 1; flex: 1 1 auto; }
.adm-th { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; flex: none; margin-right: 12px; background: linear-gradient(180deg, var(--night-top), var(--night-bottom)); color: rgba(255,241,220,.45);
  display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; font-size: 24px; }
.adm-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-main .badge-type { font-size: 11px; padding: 3px 9px; box-shadow: none; }
.adm-title { display: block; text-align: left; font-weight: 800; font-size: var(--fs-headline); line-height: 1.2; margin: 3px 0; color: var(--text); word-break: break-word; }
@media (hover: hover) { .adm-title:hover { text-decoration: underline; } }
.adm-sub { font-size: var(--fs-foot); color: var(--text-2-ink); word-break: break-word; }
.adm-own { font-weight: 700; }
.adm-flag { display: -webkit-inline-box; display: inline-flex; -webkit-box-align: center; align-items: center; font-size: var(--fs-cap); font-weight: 800; color: var(--err-ink); background: rgba(255,59,48,.12); border-radius: 99px; padding: 2px 9px 2px 7px; margin: 2px 6px 2px 0; }
.adm-flag .ic { margin-right: 4px; font-size: 12px; }
.adm-acts { display: -webkit-box; display: flex; flex-wrap: wrap; margin: -4px; }
.adm-acts > * { margin: 4px; }
.adm-c-act { white-space: nowrap; width: 1%; }
.adm-c-post { width: 38%; }
@media (min-width: 900px) { .adm-acts { flex-wrap: nowrap; } }
.feed-more { text-align: center; padding: 18px 0 4px; }

@media (max-width: 899px) {
  .adm-card { background: transparent; border: 0; box-shadow: none; overflow: visible; margin-top: 8px; }
  .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: 100%; }
  .adm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .adm-table tr { background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--r-box); box-shadow: var(--surface-shadow); padding: 12px; margin-top: 12px; }
  .adm-table td { border: 0; padding: 6px 0; }
  .adm-table td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-cap); font-weight: 800; color: var(--text-2-ink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
  .adm-table td.adm-c-post::before, .adm-table td.adm-c-act::before { display: none; }
  .adm-table td.adm-c-act { padding-top: 10px; white-space: normal; }
  .adm-acts > .btn { -webkit-box-flex: 1; flex: 1 1 auto; }
}

/* ---- pencereler ---- */
.sheet.adm-wide { max-width: 760px; }
.adm-sheet-title { font-weight: 800; font-size: var(--fs-headline); word-break: break-word; }
.adm-sum { margin-top: 12px; line-height: 1.45; }
.adm-sum-list { margin: 10px 0 0; }
.adm-sum-list dt { font-size: var(--fs-cap); font-weight: 800; color: var(--text-2-ink); text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; }
.adm-sum-list dd { margin: 2px 0 0; white-space: pre-wrap; word-break: break-word; }
.adm-scope { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
.adm-scope legend { font-size: var(--fs-foot); font-weight: 800; color: var(--text-2-ink); padding: 0; margin-bottom: 4px; }
.adm-radio { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; min-height: 44px; }
.adm-radio input { width: 22px; height: 22px; margin: 0 12px 0 0; flex: none; accent-color: var(--brand); }
.adm-radio label { font-weight: 700; }
.notice.warn { background: rgba(255,149,0,.16); }
.notice.warn > .ic { color: var(--warn); }
.adm-prev { display: block; margin-top: 4px; }
.adm-prev__main { display: block; width: 100%; max-height: 320px; object-fit: contain; background: var(--field-bg); border-radius: 16px; }
.adm-prev__thumbs { display: -webkit-box; display: flex; overflow-x: auto; margin-top: 8px; }
.adm-prev__thumb { width: 56px; height: 56px; flex: none; margin-right: 8px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; }
.adm-prev__thumb[aria-pressed="true"] { border-color: var(--brand); }
.adm-prev__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-prev__info .dsec { margin-top: 14px; }
.adm-prev__info h3 { font-size: var(--fs-foot); font-weight: 800; color: var(--text-2-ink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.adm-prev__info .desc { white-space: pre-wrap; word-break: break-word; }
.adm-lines { word-break: break-word; }
.adm-reports li { margin-top: 4px; }
@media (min-width: 760px) {
  .adm-prev { display: -webkit-box; display: flex; -webkit-box-align: start; align-items: flex-start; }
  .adm-prev__media { width: 44%; flex: none; margin-right: 18px; }
  .adm-prev__info { -webkit-box-flex: 1; flex: 1 1 auto; min-width: 0; }
  .adm-prev__info > .mp__badges + .dsec { margin-top: 10px; }
}
.sheet .linkrow { margin-top: 14px; }

/* ---- bildirim formu ---- */
.adm-form { margin-top: 16px; }
.adm-sec { margin-top: 14px; }
.adm-count-hint { text-align: right; margin-top: 2px; }
.adm-preview { margin-top: 18px; }
.adm-preview h3 { font-size: var(--fs-foot); font-weight: 800; color: var(--text-2-ink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.adm-preview .notif__row { cursor: default; }
.adm-ph { opacity: .55; font-weight: 600; }
.adm-target { margin-top: 8px; font-weight: 700; font-size: var(--fs-sub); word-break: break-word; }
.adm-submit { margin-top: 18px; }
.adm-submit .btn { min-width: 160px; }
.adm-users { margin-top: 8px; }
.adm-users li + li { margin-top: 6px; }
.adm-user, .adm-picked__in { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border-radius: 14px; background: var(--field-bg); border: 1px solid var(--hairline); }
.adm-user:disabled { opacity: .55; cursor: not-allowed; }
@media (hover: hover) { .adm-user:not(:disabled):hover { border-color: var(--brand); } }
.adm-user .av, .adm-picked__in .av { width: 36px; height: 36px; border-radius: 18px; background: var(--brand); color: var(--on-brand); font-weight: 900; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; flex: none; margin-right: 12px; }
.adm-user__t { -webkit-box-flex: 1; flex: 1 1 auto; min-width: 0; display: block; }
.adm-user__t > * { display: block; word-break: break-word; }
.adm-user__t span { font-size: var(--fs-foot); color: var(--text-2-ink); }
.adm-picked { margin-top: 8px; }
.adm-result { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(30,142,62,.14); font-weight: 700; line-height: 1.4; }
.adm-result.show { display: -webkit-box; display: flex; -webkit-box-align: start; align-items: flex-start; }
.adm-result.warn { background: rgba(255,149,0,.16); }
.adm-result > .ic { margin: 3px 10px 0 0; font-size: 18px; color: var(--ok-ink); }
.adm-result.warn > .ic { color: var(--warn); }
.adm-result:focus { outline: none; }

/* ---- bu oturumdaki işlemler ---- */
.adm-log { margin-top: 28px; }
.adm-loglist li { padding: 10px 0; border-top: 1px solid var(--hairline); word-break: break-word; }
.adm-loglist li:first-child { border-top: 0; }
.adm-log__t { display: block; font-size: var(--fs-foot); color: var(--text-2-ink); margin-top: 2px; }
.adm-log .ff__hint { margin-top: 10px; }

/* ---- erişim yok ---- */
.adm-denied { padding-top: 56px; }
.adm-denied h1 { font-size: var(--fs-title3); font-weight: 900; }
