/* F08 text size. Prefix ap-. Sets only --ap-scale (defined and used in F01); colours/spacing from F01 variables. */
html.ap-slova-0 { --ap-scale: .9; }
html.ap-slova-2 { --ap-scale: 1.15; }
html.ap-slova-3 { --ap-scale: 1.3; }

/* the two buttons — fixed size on purpose (they must not grow and push the header) */
.ap-slova { display: inline-flex; align-items: center; margin-right: var(--ap-sp-2); }
.ap-slova-btns { display: inline-flex; align-items: center; gap: var(--ap-sp-1); }
.ap-slova button { display: inline-flex; align-items: center; justify-content: center; min-width: var(--ap-touch); min-height: var(--ap-touch);
	padding: 0 var(--ap-sp-2); border: 1px solid var(--ap-line); border-radius: var(--ap-radius-sm); background: var(--ap-card); color: var(--ap-text);
	font-family: var(--ap-font-head); font-weight: 700; line-height: 1; cursor: pointer; }
.ap-slova .ap-slova-manja { font-size: 16px; }
.ap-slova .ap-slova-veca { font-size: 23px; }
.ap-slova button:hover { background: var(--ap-tint); }
.ap-slova button:focus-visible { outline: 3px solid var(--ap-focus); outline-offset: 2px; }
.ap-slova button:disabled { opacity: .4; cursor: default; background: var(--ap-card); }
.ap-slova-label { font-size: 15px; color: var(--ap-muted); margin-right: var(--ap-sp-1); }

/* phones: the same buttons at the top of the open „Izbornik" menu */
.ap-menu > li.ap-slova-m { display: none; }
html.ap-m .ap-menu > li.ap-slova-m { display: flex; align-items: center; justify-content: space-between; padding: var(--ap-sp-2) 20px;
	border-bottom: 1px solid var(--ap-line); }
