body.admin { font-size: 17px; }
.ad-head { background: #fff; border-bottom: 1px solid var(--line); }
.ad-head-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 24px; flex-wrap: wrap; }
.ad-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 20px; }
.ad-brand img { width: 110px; }
.ad-user { display: flex; gap: 18px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.ad-body { display: flex; min-height: calc(100vh - 70px); }
.ad-nav { flex: 0 0 220px; background: var(--tan); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.ad-nav a { color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.ad-nav a:hover { background: rgba(255,255,255,.6); }
.ad-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.ad-main { flex: 1; min-width: 0; padding: 32px clamp(16px, 3vw, 40px) 64px; max-width: 1100px; }
.ad-main h1 { font-size: 34px; }
.ad-narrow { max-width: 460px; margin: 40px auto; }
.ad-form { max-width: 820px; }
.ad-form .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; }
.hint { font-weight: 400; font-size: 14px; color: var(--muted-2); }
.current { display: flex; align-items: center; gap: 12px; font-weight: 400; font-size: 15px; flex-wrap: wrap; }
.current img { width: 120px; height: 68px; object-fit: cover; border-radius: 6px; }
.choice.inline { display: inline-flex; margin: 0; }
.slug-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 400; font-size: 15px; }
.slug-row input { flex: 1 1 200px; }
.ad-actions { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.ad-danger { color: #9b1c1c; border-color: #9b1c1c; }
.ad-danger:hover { background: #9b1c1c; border-color: #9b1c1c; }
.ad-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ad-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ad-table th { text-align: left; background: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 10px 14px; }
.ad-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.ad-inline { display: inline; }
.ad-inline select { width: auto; padding: 6px 10px; font-size: 15px; }
.linkbtn { background: none; border: 0; color: var(--accent); font: 600 15px var(--sans); cursor: pointer; text-decoration: underline; padding: 0 8px 0 0; }
.ad-big { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; margin: 0 0 6px; color: var(--accent); }
.ad-label { font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.ad-list { margin: 0; padding-left: 18px; }
.ad-list li { margin-bottom: 6px; }
.ad-msg { margin-bottom: 16px; }
.ad-msg.done { opacity: .65; }
.ad-msg-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.ad-dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: 16px; }
.ad-dl dt { font-weight: 700; color: var(--muted); }
.ad-dl dd { margin: 0; }
@media (max-width: 800px) {
  .ad-body { flex-direction: column; }
  .ad-nav { flex-direction: row; flex-wrap: wrap; flex-basis: auto; padding: 10px; }
  .ad-dl { grid-template-columns: 1fr; }
}
.ad-access summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-top: 4px; }
.ad-perms { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; border: 0; padding: 0; }
.ad-perms .choice { display: block; font-weight: 400; }
.ad-perms .hint { display: block; margin-left: 26px; font-size: 13px; }
.ad-perms hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.bb .card { margin-bottom: 22px; }
.bb-h2 { font-size: 22px; margin: 0 0 12px; }
.bb-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.bb-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 4px; background: var(--cream); }
.bb-private { background: var(--rose); }
.bb-row-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.bb-row-head select { width: auto; padding: 4px 8px; font-size: 14px; }
.bb-tag { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--accent); }
.bb-tools { margin-left: auto; display: flex; gap: 4px; }
.bb-tools button { border: 1px solid var(--line); background: #fff; border-radius: 6px; width: 30px; height: 28px; cursor: pointer; font-size: 14px; }
.bb-ev-grid { display: grid; grid-template-columns: 150px 120px 1fr; gap: 10px; }
@media (max-width: 700px) { .bb-ev-grid { grid-template-columns: 1fr 1fr; } .bb-wide { grid-column: 1 / -1; } }
.bb-opts { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; }
.bb-row .field { margin-bottom: 8px; }
.bb-save { position: sticky; bottom: 0; background: var(--cream); padding: 12px 0; border-top: 1px solid var(--line); }
.bb-row textarea { min-height: 52px; }
