.flush { margin-top: 0; }
h3.small { font-size: 14px; margin: 14px 0 6px; color: var(--muted); }
.card .row { margin-bottom: 8px; }

.row label.check { display: inline-flex; align-items: center; gap: 6px; }
.row label.check input { width: auto; }

.field { margin-bottom: 8px; }
.field label { display: block; font-size: 13px; margin-bottom: 2px; }
.field textarea { min-height: 44px; }
.count { display: block; font-size: 12px; color: var(--muted); text-align: right; }
.count.over { color: var(--warn); font-weight: 600; }

.ad-preview-label { margin-bottom: 6px; }
.ad-preview-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; overflow-wrap: anywhere; }
.ap-headline { font-weight: 700; margin-bottom: 4px; overflow-wrap: anywhere; }
.ap-primary { margin-bottom: 6px; overflow-wrap: anywhere; }
.ap-path { margin-bottom: 4px; overflow-wrap: anywhere; }
.ap-desc { overflow-wrap: anywhere; }

.hints-list { margin: 0 0 8px; padding-left: 20px; }
.hints-list li { margin-bottom: 4px; }

.callout { background: var(--chip); border-radius: var(--radius); padding: 10px 12px; margin: 8px 0 12px; }
.callout p { margin: 0 0 4px; }
.callout p:last-child { margin-bottom: 0; }

.vb-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.vb-head { align-items: center; margin-bottom: 6px; }
.vb-summary { overflow-wrap: anywhere; font-weight: 600; }
.vb-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 8px 0; }
.vb-results input { width: 100%; }
.vb-metrics { overflow-wrap: anywhere; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: start; }
.list .t { font-weight: 600; overflow-wrap: anywhere; }
.list .meta { grid-column: 1 / -1; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.list .acts { display: flex; gap: 4px; align-items: start; flex-wrap: wrap; }
.list .acts button { min-height: 32px; padding: 2px 8px; font-size: 13px; }

/* Preserve readable controls and touch targets on narrow screens. */
button, .btn, select, input:not([type=checkbox]):not([type=file]), textarea { min-height:44px; min-width:44px; font-size:16px; max-width:100%; }
.list .acts button { min-height:44px; min-width:44px; font-size:16px; }
.row > *, .field, .vb-card, .list li { min-width:0; }
.row label.check { min-height:44px; }
nav a { min-height:44px; display:inline-flex; align-items:center; padding:8px; }
:focus-visible { outline:3px solid var(--accent, #157056); outline-offset:3px; }
@media(max-width:420px) { .row { flex-wrap:wrap; } .row > input:not([type=checkbox]):not([type=file]), .row > select { width:100%; } .vb-results { grid-template-columns: minmax(0,1fr); } .list li { grid-template-columns:minmax(0,1fr); } }

/* Override the shared picker font inheritance within this app only. */
.wrap .language-control select { font-size:16px; min-height:44px; min-width:44px; }
