/*BB9 components: buttons, form fields, tables, tags, notices, cards and the
other pieces pages are built from. Every value comes from design.css.
Loaded after style.css by routing/views/Default/base.html.
All classes start with bb9_, so they never clash with older styles.
Each one is shown, with its code, on the /design page (routing/views/design_system.html).
The rules for using them are in docs/design-system.md.

Some older rules in style.css apply to every table, label and select on a page,
and style.css sets line-height:1 on the whole page.
The rules below set those properties again so the components look the same anywhere.*/


/*---------- Text ----------*/
.bb9_page_header{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	flex-wrap:wrap;
	gap:var(--bb9-space-4);
	margin-bottom:var(--bb9-space-5);
}
.bb9_page_title{
	margin:0;
	color:var(--bb9-ink);
	font-size:var(--bb9-text-2xl);
	font-weight:800;
	letter-spacing:-.4px;
	line-height:1.2;
}
.bb9_section_title{
	margin:0 0 var(--bb9-space-3);
	color:var(--bb9-ink);
	font-size:var(--bb9-text-xl);
	font-weight:var(--bb9-weight-bold);
	letter-spacing:-.2px;
}
.bb9_text{
	color:var(--bb9-text);
	font-size:var(--bb9-text-base);
	line-height:1.55;
}
.bb9_muted{
	color:var(--bb9-muted);
}
/*links: dark text with a light grey underline, which darkens when pointed at*/
.bb9_link{
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-medium);
	text-decoration:underline;
	text-decoration-color:var(--bb9-line-strong);
	text-decoration-thickness:1px;
	text-underline-offset:3px;
}
.bb9_link:hover{
	text-decoration-color:currentColor;
}
.bb9_mono{
	font-family:var(--bb9-font-mono);
	font-size:var(--bb9-text-sm);
}

/*A row of small grey buttons under a page title that go to other views of the page,
e.g. Reporting, Reviewing. The links in it are bb9_button size_small*/
.bb9_subnav{
	display:flex;
	flex-wrap:wrap;
	gap:var(--bb9-space-2);
}
/*right under a page title, e.g. Conversations > Reporting, Reviewing*/
.bb9_page_header + .bb9_subnav{
	margin:calc(-1 * var(--bb9-space-2)) 0 var(--bb9-space-5);
}


/*---------- Buttons ----------*/
/*grey: the normal button, e.g. Save, Submit, Update card*/
.bb9_button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	margin:0;
	padding:9px 16px;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-md);
	background:var(--bb9-tile);
	color:var(--bb9-ink);
	font-family:var(--bb9-font);
	font-size:var(--bb9-text-base);
	font-weight:var(--bb9-weight-semibold);
	line-height:1.2;
	text-decoration:none;
	white-space:nowrap;
	box-shadow:var(--bb9-shadow-button);
	cursor:pointer;
	transition:background .15s,border-color .15s,color .15s;
}
.bb9_button:hover{
	background:var(--bb9-tile-hover);
}
.bb9_button:active{
	box-shadow:none;
	transform:translateY(1px);
}
.bb9_button svg{
	width:16px;
	height:16px;
	fill:none;
	stroke:currentColor;
	stroke-width:2.2;
	stroke-linecap:round;
	stroke-linejoin:round;
}
/*green: adds something new or moves a step forward, e.g. + New Agent, Connect*/
.bb9_button.positive{
	border-color:var(--bb9-green-button-line);
	background:var(--bb9-green-button);
	color:var(--bb9-green-button-text);
}
.bb9_button.positive:hover{
	background:var(--bb9-green-button-hover);
}
/*purple: opens or edits something, e.g. Edit Criteria*/
.bb9_button.soft{
	border-color:var(--bb9-purple-line);
	background:var(--bb9-purple-light);
	color:var(--bb9-purple-dark);
}
.bb9_button.soft:hover{
	background:var(--bb9-purple-hover);
}
/*text only, for the less likely choice of two, e.g. Keep my plan*/
.bb9_button.quiet{
	border-color:transparent;
	background:transparent;
	box-shadow:none;
	color:var(--bb9-purple);
}
.bb9_button.quiet:hover{
	background:var(--bb9-purple-light);
}
/*cancels or ends something, e.g. Cancel my plan*/
.bb9_button.danger{
	border-color:var(--bb9-red-line);
	background:var(--bb9-red-light);
	color:var(--bb9-red-text);
}
.bb9_button.danger:hover{
	background:var(--bb9-red-hover);
}
/*inside tables and next to single fields, e.g. Mark paid*/
.bb9_button.size_small{
	padding:6px 11px;
	border-radius:var(--bb9-radius-sm);
	font-size:var(--bb9-text-sm);
}
/*fills the width of its box, e.g. Log in*/
.bb9_button.full{
	width:100%;
}
.bb9_button:disabled,
.bb9_button.disabled{
	opacity:.45;
	cursor:not-allowed;
}

/*Row of small choice buttons, e.g. the conversation controls Reply, +3 h, Booked*/
.bb9_chips{
	display:flex;
	flex-wrap:wrap;
	gap:6px;
}
.bb9_chip{
	padding:5px 11px;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-surface);
	color:var(--bb9-text);
	font-family:var(--bb9-font);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-medium);
	text-decoration:none;
	cursor:pointer;
}
.bb9_chip:hover{
	border-color:var(--bb9-purple);
	color:var(--bb9-purple);
}
.bb9_chip.on{
	border-color:var(--bb9-purple);
	background:var(--bb9-purple);
	color:var(--bb9-surface);
}


/*---------- Form fields ----------*/
.bb9_field{
	display:flex;
	flex-direction:column;
	gap:6px;
	min-width:0;
}
.bb9_label{
	margin:0;
	color:var(--bb9-ink);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-semibold);
}

.bb9_input,
.bb9_select,
.bb9_textarea{
	width:100%;
	margin:0;
	padding:9px 12px;
	border:1px solid var(--bb9-line-strong);
	border-radius:var(--bb9-radius-sm);
	background:var(--bb9-surface);
	color:var(--bb9-ink);
	font-family:var(--bb9-font);
	font-size:var(--bb9-text-base);
	line-height:1.4;
	box-sizing:border-box;
	transition:border-color .15s,box-shadow .15s;
}
/*same height whatever the font, so fields and buttons beside each other line up*/
.bb9_input,
.bb9_select{
	height:40px;
}
.bb9_input:focus,
.bb9_select:focus,
.bb9_textarea:focus{
	outline:none;
	border-color:var(--bb9-purple);
	box-shadow:0 0 0 3px var(--bb9-purple-light);
}
.bb9_input::placeholder,
.bb9_textarea::placeholder{
	color:var(--bb9-faint);
}
.bb9_select{
	appearance:none;
	padding-right:34px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:right 10px center;
	background-size:16px;
}
.bb9_textarea{
	min-height:96px;
	resize:vertical;
}
/*for prompts, instructions, IDs and other text where spacing matters*/
.bb9_input.mono,
.bb9_textarea.mono{
	font-family:var(--bb9-font-mono);
	font-size:var(--bb9-text-sm);
}


/*fields side by side; they wrap on small screens*/
.bb9_form_row{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-end;
	gap:var(--bb9-space-3);
}
.bb9_form_row > .bb9_field{
	flex:1 1 160px;
}
.bb9_form_grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
	gap:var(--bb9-space-4);
}
/*fields one under another, e.g. the login form*/
.bb9_form_stack{
	display:flex;
	flex-direction:column;
	gap:var(--bb9-space-4);
}
/*checkbox or radio with its text*/
.bb9_check{
	display:inline-flex;
	align-items:center;
	gap:8px;
	margin:0;
	color:var(--bb9-text);
	font-size:var(--bb9-text-base);
	cursor:pointer;
}
.bb9_check input{
	width:16px;
	height:16px;
	margin:0;
	padding:0;
	accent-color:var(--bb9-purple);
}
/*on/off switch, e.g. Chatbot on/off. A checkbox underneath, so forms send it as one*/
.bb9_switch{
	display:inline-flex;
	align-items:center;
	gap:10px;
	margin:0;
	color:var(--bb9-text);
	font-size:var(--bb9-text-base);
	cursor:pointer;
}
.bb9_switch input{
	position:absolute;
	opacity:0;
	width:1px;
	height:1px;
}
.bb9_switch_track{
	position:relative;
	width:36px;
	height:20px;
	flex:none;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-line-strong);
	transition:background .2s;
}
.bb9_switch_track::after{
	content:"";
	position:absolute;
	top:2px;
	left:2px;
	width:16px;
	height:16px;
	border-radius:50%;
	background:var(--bb9-surface);
	box-shadow:var(--bb9-shadow-knob);
	transition:left .2s;
}
.bb9_switch input:checked + .bb9_switch_track{
	background:var(--bb9-green);
}
.bb9_switch input:checked + .bb9_switch_track::after{
	left:18px;
}
.bb9_switch input:focus-visible + .bb9_switch_track{
	box-shadow:0 0 0 3px var(--bb9-purple-light);
}
/*input and button joined together, e.g. search, or a link with a Copy button*/
.bb9_joined{
	display:flex;
	align-self:end;
}
.bb9_field > .bb9_joined{
	align-self:stretch;
}
.bb9_joined .bb9_input{
	flex:1;
	min-width:0;
	border-top-right-radius:0;
	border-bottom-right-radius:0;
}
.bb9_joined .bb9_button{
	flex:none;
	border-top-left-radius:0;
	border-bottom-left-radius:0;
	margin-left:-1px;
}


/*---------- Tables ----------*/
.bb9_table_wrap{
	overflow-x:auto;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-lg);
	background:var(--bb9-surface);
}
.bb9_table{
	width:100%;
	border-collapse:collapse;
	line-height:1.4;
	font-size:var(--bb9-text-base);
}
.bb9_table tr{
	background:none;
}
.bb9_table th{
	padding:10px 14px;
	border:0;
	border-bottom:1px solid var(--bb9-line);
	background:var(--bb9-page);
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-semibold);
	letter-spacing:.04em;
	text-align:left;
	text-transform:uppercase;
	white-space:nowrap;
	/*when some headings take two lines, the one-line headings sit on the bottom line with them*/
	vertical-align:bottom;
}
.bb9_table td{
	padding:12px 14px;
	border-bottom:1px solid var(--bb9-line);
	color:var(--bb9-text);
	vertical-align:middle;
}
.bb9_table tbody tr:last-child td{
	border-bottom:0;
}
.bb9_table tbody tr:hover td{
	background:var(--bb9-row-hover);
}
.bb9_table th a{
	color:inherit;
	text-decoration:none;
}
.bb9_table th a:hover{
	color:var(--bb9-ink);
}
/*links in a table look like .bb9_link; buttons in a table keep their own look*/
.bb9_table td a:not(.bb9_button){
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-medium);
	text-decoration:underline;
	text-decoration-color:var(--bb9-line-strong);
	text-decoration-thickness:1px;
	text-underline-offset:3px;
}
.bb9_table td a:not(.bb9_button):hover{
	text-decoration-color:currentColor;
}
/*numbers line up on the right*/
.bb9_table .num{
	text-align:right;
	font-variant-numeric:tabular-nums;
}
/*a row that starts a group, e.g. a date in the conversations list*/
.bb9_table tr.group td{
	padding-top:8px;
	padding-bottom:8px;
	background:var(--bb9-page);
	color:var(--bb9-ink);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-semibold);
}
/*long text cut to one line with ...*/
.bb9_table .truncate{
	max-width:260px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.bb9_table .actions{
	display:flex;
	gap:var(--bb9-space-3);
	white-space:nowrap;
}
/*second, smaller line inside a cell or heading, e.g. the username under a name*/
.bb9_table td small,
.bb9_table th small{
	display:block;
	margin-top:2px;
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-normal);
	letter-spacing:0;
	text-transform:none;
}
.bb9_table th small{
	color:var(--bb9-faint);
}
/*headings that may wrap onto two lines, e.g. Review All above a switch*/
.bb9_table th.wrap{
	white-space:normal;
}


/*links to one account's pages: an icon with its name under it, e.g. Chats, Keywords in the Users list.
Comes after the table rules so it wins over the table link look (dark, underlined)*/
.bb9_page_links{
	display:inline-flex;
	gap:2px;
	white-space:nowrap;
}
.bb9_page_links a,
.bb9_table td .bb9_page_links a{
	display:inline-flex;
	flex-direction:column;
	align-items:center;
	gap:3px;
	min-width:54px;
	padding:6px 2px;
	border-radius:var(--bb9-radius-md);
	color:var(--bb9-muted);
	font-size:11px;
	font-weight:var(--bb9-weight-semibold);
	text-decoration:none;
}
.bb9_page_links a:hover,
.bb9_table td .bb9_page_links a:hover{
	background:var(--bb9-purple-light);
	color:var(--bb9-purple);
	text-decoration:none;
}
.bb9_page_links svg{
	width:18px;
	height:18px;
	fill:none;
	stroke:currentColor;
	stroke-width:1.8;
	stroke-linecap:round;
	stroke-linejoin:round;
}
/*cell pushed to the right edge*/
.bb9_table .right{
	text-align:right;
}
/*heading and cell centred, e.g. the switches in the Users list and the daily numbers in Conversations*/
.bb9_table .center{
	text-align:center;
}
/*last cell of a row, only as wide as what's in it, with a line before it to set it apart,
e.g. the page links after the switches in the Users list. The row's spare width goes to the other columns*/
.bb9_table .end{
	width:1%;
	padding-left:var(--bb9-space-5);
	border-left:1px solid var(--bb9-line);
	white-space:nowrap;
}


/*---------- Tags and counts ----------*/
/*status tag, e.g. Active, Done, Booked*/
.bb9_tag{
	display:inline-flex;
	align-items:center;
	gap:5px;
	padding:2px 9px;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-tile);
	color:var(--bb9-text);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-semibold);
	line-height:18px;
	white-space:nowrap;
}
.bb9_tag::before{
	content:"";
	width:6px;
	height:6px;
	border-radius:50%;
	background:currentColor;
}
.bb9_tag.green{
	background:var(--bb9-green-light);
	color:var(--bb9-green-text);
}
.bb9_tag.red{
	background:var(--bb9-red-light);
	color:var(--bb9-red-text);
}
.bb9_tag.amber{
	background:var(--bb9-amber-light);
	color:var(--bb9-amber-text);
}
.bb9_tag.purple{
	background:var(--bb9-purple-light);
	color:var(--bb9-purple-dark);
}
.bb9_tag.blue{
	background:var(--bb9-blue-light);
	color:var(--bb9-blue-text);
}
.bb9_tag.grey{
	background:var(--bb9-tile);
	color:var(--bb9-muted);
}
/*small number with an icon, e.g. messages sent, replies*/
.bb9_count{
	display:inline-flex;
	align-items:center;
	gap:4px;
	padding:2px 8px;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-sm);
	background:var(--bb9-surface);
	color:var(--bb9-text);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-semibold);
	font-variant-numeric:tabular-nums;
	white-space:nowrap;
}
.bb9_count svg{
	width:12px;
	height:12px;
	fill:none;
	stroke:var(--bb9-faint);
	stroke-width:2.2;
	stroke-linecap:round;
	stroke-linejoin:round;
}
/*small grey word after the number, e.g. BB in "100% BB"*/
.bb9_count small{
	color:var(--bb9-faint);
	font-size:10px;
	font-weight:var(--bb9-weight-bold);
}
/*amber dot, e.g. new messages since the conversation was last viewed*/
.bb9_dot{
	display:inline-block;
	width:8px;
	height:8px;
	margin-left:4px;
	border-radius:50%;
	background:var(--bb9-amber);
	vertical-align:middle;
}

/*Recent Conversations (conversations.html) when its table is too narrow for all its columns, e.g. on a phone:
each row becomes a small card, in four lines -
  contact, when it was last viewed, coach
  the last message
  message count, responses, Auto %, links
  time, status, queued, goal met
It looks at the width of the table's own box (a container query), not the screen's, so it works on any
screen. The column headings are hidden then; the eye icon stands in for the View heading*/
.bb9_inbox{
	container-type:inline-size;
}
.bb9_inbox_icon{
	display:none;
}
@container (max-width:860px){
	.bb9_inbox thead{
		display:none;
	}
	.bb9_inbox table,
	.bb9_inbox tr.group,
	.bb9_inbox tr.group td{
		display:block;
	}
	/*the cards share one set of columns, so the counts line up from card to card as in a table:
	each card takes its columns from the list (subgrid). The four columns share the card's width,
	each at least as wide as its widest value*/
	.bb9_inbox tbody{
		display:grid;
		grid-template-columns:repeat(4,minmax(max-content,1fr));
		column-gap:var(--bb9-space-3);
	}
	.bb9_inbox tr.group{
		grid-column:1 / -1;
	}
	.bb9_inbox tr.log_item{
		display:grid;
		grid-column:1 / -1;
		/*browsers without subgrid use the first line: four columns of its own, so the counts may not line up from card to card*/
		grid-template-columns:repeat(4,minmax(max-content,1fr));
		grid-template-columns:subgrid;
		grid-template-areas:
			"contact contact view coach"
			"last last last last"
			"messages responses auto links"
			"time status queued goal";
		align-items:center;
		row-gap:6px;
		padding:var(--bb9-space-3) 14px;
		border-top:1px solid var(--bb9-line);
	}
	/*a little smaller, so the longest status (14 letters) and the queued time fit across a phone*/
	.bb9_inbox td.status .bb9_tag{
		padding:2px 8px;
		font-size:11px;
	}
	.bb9_inbox td.auto_percent .bb9_count{
		font-size:var(--bb9-text-xs);
	}
	.bb9_inbox tr.log_item:hover{
		background:var(--bb9-row-hover);
	}
	.bb9_inbox tr.log_item td,
	.bb9_inbox tbody tr.log_item:hover td{
		display:block;
		min-width:0;
		padding:0;
		border:0;
		background:transparent;
	}
	.bb9_inbox td.contact{grid-area:contact;}
	.bb9_inbox td.view{grid-area:view;}
	.bb9_inbox td.user_name{grid-area:coach;justify-self:end;}
	.bb9_inbox td.last_message{grid-area:last;}
	.bb9_inbox td.messages{grid-area:messages;}
	.bb9_inbox td.response_count{grid-area:responses;}
	.bb9_inbox td.auto_percent{grid-area:auto;}
	.bb9_inbox td.links{grid-area:links;justify-self:end;}
	.bb9_inbox td.time{grid-area:time;}
	.bb9_inbox td.status{grid-area:status;}
	.bb9_inbox td.queued{grid-area:queued;}
	.bb9_inbox td.goals_met{grid-area:goal;justify-self:end;}
	/*the debug buttons (?debugmode=1) go on a line of their own*/
	.bb9_inbox td.conversationcontrols{grid-row:5;}
	.bb9_inbox td.contact a{
		font-size:var(--bb9-text-md);
		font-weight:var(--bb9-weight-semibold);
	}
	/*the contact and the last message span several columns; contain stops a long name or
	message from widening the columns, so it is cut off at the card's edge instead*/
	.bb9_inbox td.contact,
	.bb9_inbox td.last_message{
		contain:inline-size;
	}
	.bb9_inbox td.contact{
		overflow:hidden;
		text-overflow:ellipsis;
		white-space:nowrap;
	}
	.bb9_inbox td.last_message{
		overflow:hidden;
		color:var(--bb9-muted);
		font-size:var(--bb9-text-sm);
		white-space:nowrap;
	}
	/*counts without their boxes*/
	.bb9_inbox .bb9_count{
		padding:0;
		border:0;
		background:transparent;
	}
	.bb9_inbox .bb9_inbox_icon{
		display:inline-block;
		width:13px;
		height:13px;
		margin-right:4px;
		fill:none;
		stroke:var(--bb9-faint);
		stroke-width:2.2;
		stroke-linecap:round;
		stroke-linejoin:round;
		vertical-align:-2px;
	}
}
/*red number that needs attention*/
.bb9_badge{
	display:inline-block;
	min-width:18px;
	padding:1px 6px;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-red);
	color:var(--bb9-surface);
	font-size:11px;
	font-weight:var(--bb9-weight-bold);
	line-height:16px;
	text-align:center;
}
/*circle with someone's initials*/
.bb9_avatar{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:32px;
	height:32px;
	flex:none;
	border-radius:50%;
	background:var(--bb9-amber);
	color:var(--bb9-ink);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-bold);
}
.bb9_avatar.purple{
	background:var(--bb9-purple);
	color:var(--bb9-surface);
}


/*---------- Notices ----------*/
.bb9_notice{
	display:flex;
	align-items:flex-start;
	gap:10px;
	padding:12px 14px;
	border:1px solid;
	border-radius:var(--bb9-radius-md);
	font-size:var(--bb9-text-base);
	line-height:1.5;
}
.bb9_notice svg{
	width:18px;
	height:18px;
	flex:none;
	margin-top:1px;
	fill:none;
	stroke:currentColor;
	stroke-width:2;
	stroke-linecap:round;
	stroke-linejoin:round;
}
.bb9_notice b{
	display:block;
	color:inherit;
}
.bb9_notice.info{
	border-color:var(--bb9-purple-line);
	background:var(--bb9-purple-light);
	color:var(--bb9-purple-dark);
}
.bb9_notice.error{
	border-color:var(--bb9-red-line);
	background:var(--bb9-red-light);
	color:var(--bb9-red-text);
}
.bb9_notice.warning{
	border-color:var(--bb9-amber-line);
	background:var(--bb9-amber-light);
	color:var(--bb9-amber-text);
}


/*---------- Columns ----------*/
/*Users list (user_management.html) when its table is too narrow for all its columns (under 1100px;
it needs about 1090px): each account becomes a small card -
  name, role
  username and ID
  Org Defined ID and source
  the three switches, each with its heading's word beside it (data-label)
  the six page links
Like Recent Conversations, it looks at the width of the table's own box, not the screen's*/
.bb9_user_list{
	container-type:inline-size;
}
@container (max-width:1100px){
	.bb9_user_list thead{
		display:none;
	}
	.bb9_user_list table,
	.bb9_user_list tbody{
		display:block;
	}
	.bb9_user_list tbody tr{
		display:grid;
		grid-template-columns:repeat(3,minmax(0,1fr));
		grid-template-areas:
			"name name role"
			"org org org"
			"listening chatbot review"
			"links links links";
		align-items:center;
		gap:var(--bb9-space-2) var(--bb9-space-3);
		padding:14px;
		border-top:1px solid var(--bb9-line);
	}
	.bb9_user_list tbody tr:first-child{
		border-top:0;
	}
	/*pointing at a card changes only its background; the layout rules below must not be outranked by
	the table's own row-hover rule*/
	.bb9_user_list tbody tr:hover td{
		background:transparent;
	}
	.bb9_user_list tbody tr td{
		display:block;
		min-width:0;
		padding:0;
		border:0;
		background:transparent;
		text-align:left;
		overflow-wrap:anywhere;
	}
	.bb9_user_list td.name{grid-area:name;}
	.bb9_user_list td.role{grid-area:role;justify-self:end;}
	.bb9_user_list td.org{grid-area:org;}
	.bb9_user_list td.listening{grid-area:listening;}
	.bb9_user_list td.chatbot{grid-area:chatbot;}
	.bb9_user_list td.review{grid-area:review;}
	.bb9_user_list td.links{grid-area:links;}
	.bb9_user_list td.name b{
		color:var(--bb9-ink);
		font-size:var(--bb9-text-md);
	}
	/*each switch with its heading's word beside it, as the headings are hidden*/
	.bb9_user_list td[data-label]{
		display:flex;
		align-items:center;
		gap:var(--bb9-space-2);
		color:var(--bb9-muted);
		font-size:var(--bb9-text-xs);
		font-weight:var(--bb9-weight-semibold);
		white-space:nowrap;
	}
	.bb9_user_list td[data-label]::before{
		content:attr(data-label);
		order:1;
	}
	/*the six page links share the card's width, with a line above them.
	Written in full so it wins over the reset above, also when the row is pointed at*/
	.bb9_user_list tbody tr td.links{
		width:auto;
		padding:var(--bb9-space-2) 0 0;
		border-top:1px solid var(--bb9-line);
		border-left:0;
	}
	.bb9_user_list .bb9_page_links{
		display:grid;
		grid-template-columns:repeat(6,minmax(0,1fr));
		width:100%;
	}
	.bb9_user_list .bb9_page_links a,
	.bb9_user_list.bb9_table_wrap td .bb9_page_links a{
		min-width:0;
		padding:6px 0;
	}
}
/*phones: each switch's word above it, and the page links in two rows of three*/
@container (max-width:480px){
	.bb9_user_list td[data-label]{
		flex-direction:column;
		align-items:flex-start;
		gap:var(--bb9-space-1);
	}
	.bb9_user_list td[data-label]::before{
		order:0;
	}
	.bb9_user_list .bb9_page_links{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}

/*two boxes side by side, e.g. the daily numbers and the chart on Conversations.
The first is as wide and as tall as its content needs; the grow one takes the rest of the width.
When there isn't room for both, the grow one drops underneath. That depends on the content,
not on a screen width, so it works on any screen. Side by side, the grow one is at least
as tall as the first, so a long table doesn't leave the chart's box short.
Named bb9_columns so the rules for phones below can look at its width (a container query)*/
.bb9_columns{
	container:bb9_columns / inline-size;
	display:flex;
	flex-wrap:wrap;
	align-items:stretch;
	gap:var(--bb9-space-5);
}
.bb9_column{
	display:flex;
	flex:0 1 auto;
	align-self:flex-start;
	min-width:0;
	max-width:100%;
}
.bb9_column.grow{
	flex:1 1 420px;
	align-self:stretch;
}
/*the box inside a column fills its height*/
.bb9_column > *{
	flex:1;
	min-width:0;
}
/*Conversations' daily numbers: tighter cells, so the chart fits beside them on a laptop.
Engagement Rate and Booking Rate (class rate) stand out, because the other numbers explain them*/
.bb9_daily_numbers .bb9_table th,
.bb9_daily_numbers .bb9_table td{
	padding-right:var(--bb9-space-2);
	padding-left:var(--bb9-space-2);
}
.bb9_daily_numbers .bb9_table th{
	font-size:11px;
}
/*the date, e.g. 16 Nov, on one line on phones*/
.bb9_daily_numbers .bb9_table td:first-child{
	white-space:nowrap;
}
.bb9_daily_numbers .bb9_table .rate{
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-bold);
}
/*Phones: the table needs about 650px for all eight columns, so when the space for the numbers and
chart (.bb9_columns) is under 660px it drops to four - Date, Convos, Engaged and Booked - with each
count's rate beside it, e.g. 28 · 68%. The template marks what shows only on wider screens (.full)
and only on phones (.short)*/
.bb9_daily_numbers .short{
	display:none;
}
@container bb9_columns (max-width:660px){
	.bb9_daily_numbers .full{
		display:none;
	}
	.bb9_daily_numbers .short{
		display:inline;
	}
	.bb9_daily_numbers .bb9_table td{
		white-space:nowrap;
	}
	/*the full width, like the chart's card under it*/
	.bb9_column:has(> .bb9_daily_numbers){
		flex:1 1 100%;
	}
	.bb9_daily_numbers .bb9_table{
		width:100%;
	}
}


/*date range slider under a chart (jQRangeSlider, e.g. under the Conversations chart).
Its date labels hang off both ends of the bar, so it is pulled in from the sides to keep them inside the card*/
.bb9_card .ui-rangeSlider{
	margin:var(--bb9-space-6) var(--bb9-space-10) var(--bb9-space-2);
}
.bb9_card .ui-rangeSlider-label{
	color:var(--bb9-muted);
	font-family:var(--bb9-font);
	font-size:var(--bb9-text-xs);
}


/*---------- Cards ----------*/
.bb9_card{
	padding:var(--bb9-space-5);
	line-height:1.4;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-lg);
	background:var(--bb9-surface);
	box-shadow:var(--bb9-shadow-sm);
}
.bb9_card_header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:var(--bb9-space-3);
	margin-bottom:var(--bb9-space-4);
}
.bb9_card_title{
	margin:0;
	color:var(--bb9-ink);
	font-size:var(--bb9-text-lg);
	font-weight:var(--bb9-weight-bold);
}
.bb9_cards{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
	gap:var(--bb9-space-4);
}
/*small print at the bottom of a card, under a line*/
.bb9_card_footer{
	padding-top:var(--bb9-space-4);
	border-top:1px solid var(--bb9-line);
	color:var(--bb9-muted);
	font-size:var(--bb9-text-sm);
	line-height:1.5;
}
.bb9_card_footer p + p{
	margin-top:6px;
}
/*one narrow box in the middle of the page, e.g. Login*/
.bb9_narrow{
	max-width:400px;
	margin:var(--bb9-space-8) auto 0;
}
.bb9_narrow > .bb9_card{
	padding:var(--bb9-space-8);
}
/*name and value pairs, e.g. Included usage: 40 conversations / month*/
.bb9_details{
	display:grid;
	line-height:1.4;
	grid-template-columns:auto 1fr;
	gap:var(--bb9-space-2) var(--bb9-space-5);
	margin:0;
	font-size:var(--bb9-text-base);
}
.bb9_details dt{
	color:var(--bb9-muted);
}
.bb9_details dd{
	margin:0;
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-medium);
	text-align:right;
}
/*large price or amount*/
.bb9_amount{
	color:var(--bb9-ink);
	font-size:var(--bb9-text-3xl);
	font-weight:800;
	letter-spacing:-.6px;
	line-height:1.1;
	font-variant-numeric:tabular-nums;
}
.bb9_amount small{
	margin-left:4px;
	color:var(--bb9-muted);
	font-size:var(--bb9-text-base);
	font-weight:var(--bb9-weight-medium);
	letter-spacing:0;
}


/*numbers at the top of a page, e.g. Monthly revenue*/
.bb9_stats{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
	gap:var(--bb9-space-3);
}
.bb9_stat{
	padding:var(--bb9-space-4) 18px;
	line-height:1.4;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-lg);
	background:var(--bb9-surface);
}
.bb9_stat_label{
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-semibold);
	letter-spacing:.04em;
	text-transform:uppercase;
}
.bb9_stat_value{
	margin-top:6px;
	color:var(--bb9-ink);
	font-size:var(--bb9-text-2xl);
	font-weight:var(--bb9-weight-bold);
	letter-spacing:-.4px;
	font-variant-numeric:tabular-nums;
}


/*bar that fills up, e.g. conversations used this billing period*/
.bb9_progress{
	height:8px;
	overflow:hidden;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-tile);
}
.bb9_progress span{
	display:block;
	height:100%;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-gradient);
}

.bb9_progress_label{
	display:flex;
	justify-content:space-between;
	margin-bottom:6px;
	color:var(--bb9-text);
	font-size:var(--bb9-text-sm);
}


/*---------- Conversation ----------*/
.bb9_timeline{
	display:flex;
	line-height:1.4;
	flex-direction:column;
	gap:10px;
	max-width:640px;
}
/*date between messages*/
.bb9_timeline_day{
	align-self:center;
	padding:3px 10px;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-tile);
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
	font-weight:var(--bb9-weight-semibold);
}
/*system note, e.g. Status OPEN*/
.bb9_timeline_note{
	align-self:center;
	padding:6px 12px;
	border:1px dashed var(--bb9-line-strong);
	border-radius:var(--bb9-radius-md);
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
	text-align:center;
}
.bb9_message{
	display:flex;
	flex-direction:column;
	gap:4px;
	max-width:75%;
}
.bb9_message.contact{
	align-self:flex-start;
}
.bb9_message.bb9{
	align-self:flex-end;
	align-items:flex-end;
}
.bb9_bubble{
	padding:10px 14px;
	border:1px solid var(--bb9-line);
	border-radius:16px;
	color:var(--bb9-ink);
	font-size:var(--bb9-text-base);
	line-height:1.45;
}
.bb9_message.contact .bb9_bubble{
	border-bottom-left-radius:4px;
	background:var(--bb9-surface);
}
/*BB9's messages use the app-wide amber*/
.bb9_message.bb9 .bb9_bubble{
	border-color:var(--bb9-bubble-bb9-line);
	border-bottom-right-radius:4px;
	background:var(--bb9-bubble-bb9);
	color:var(--bb9-bubble-bb9-text);
}
/*messages sent by hand, not by BB9: grey*/
.bb9_message.manual{
	align-self:flex-end;
	align-items:flex-end;
}
.bb9_message.manual .bb9_bubble{
	border-color:var(--bb9-line-strong);
	border-bottom-right-radius:4px;
	background:var(--bb9-bubble-manual);
	color:var(--bb9-ink);
}
/*scheduled, queued or draft messages that have not been sent yet*/
.bb9_message.queued .bb9_bubble{
	opacity:.55;
	border-style:dashed;
}
.bb9_message_meta{
	color:var(--bb9-faint);
	font-size:var(--bb9-text-xs);
}
/*---------- Conversation page (routing/views/conversation.html) ----------*/
/*A restyle only: every part stays where the old page puts it (style.css still places them).
These rules change colours, borders, fonts and spacing, and only inside .bb9_conversation,
because the demo uses the same messages template with its old look. The Tester (chat_tester.html) is inside .bb9_conversation too*/
/*style.css sets line-height:1 on the whole page; text here gets normal line spacing back*/
.bb9_conversation{
	color:var(--bb9-text);
	font-family:var(--bb9-font);	/*the demo's page (landingbase.html) is in Roboto*/
	font-size:var(--bb9-text-base);
	line-height:1.5;
}
/*the titles are bb9_card_title; this adds the space under them*/
.bb9_conversation h3{
	margin:0 0 var(--bb9-space-2);
	line-height:1.35;
}
/*the contact's name in the title is a link, but as bold as the title around it*/
.bb9_conversation h3 .bb9_link{
	font-weight:inherit;
}
.bb9_conversation p{
	margin:0 0 var(--bb9-space-1);
}
.bb9_conversation .content{
	margin:var(--bb9-space-3) 10px;
}
/*Reviewing: "n more conversations to review" with Refresh*/
.bb9_conversation #text_review_more{
	padding-bottom:var(--bb9-space-3);
	border-bottom:1px solid var(--bb9-line);
}
/*External Contact ID and Tags: small system details, in the typewriter font*/
.bb9_conversation .bb9_conversation_details{
	color:var(--bb9-muted);
	font-family:var(--bb9-font-mono);
	font-size:var(--bb9-text-xs);
	line-height:1.7;
}
.bb9_conversation .bb9_conversation_details a{
	color:inherit;
}
/*Show Logs, Stop Refresh, Tester, and the Conversation Controls: rows of buttons.
The old .navbar floats each li with padding; here they sit in a wrapping row instead,
8px apart like other rows of small buttons (bb9_subnav), and the controls 6px apart like bb9_chips*/
.bb9_conversation .navbar ul{
	display:flex;
	flex-wrap:wrap;
	gap:var(--bb9-space-2);
	margin:0;
}
.bb9_conversation .navbar.conversationcontrols ul{
	gap:6px;
}
.bb9_conversation .navbar ul ~ ul{
	margin-top:var(--bb9-space-2);
}
.bb9_conversation .navbar li{
	float:none;
	padding:0;
}
/*Tester (chat_tester.html): "Test Reply with … agent" sits in a box inside Testing Tools;
this lines it up with the row of buttons under it*/
.bb9_conversation .navbar > .content{
	margin-left:0;
	margin-right:0;
}
/*Tester: its two columns are 620px wide in the template; on a phone they shrink to fit*/
.bb9_conversation.content-container[style*="620px"]{
	max-width:100%;
}
/*Looks Right, Looks Wrong, Looks Done: a row of buttons, 12px apart*/
.bb9_conversation .manual_review .conversationcontrols{
	display:flex;
	flex-wrap:wrap;
	gap:var(--bb9-space-2) var(--bb9-space-3);
}
/*a control being sent (conversation_controls.js adds control_working until it is done)*/
.bb9_conversation .control_working{
	opacity:.5;
}
/*the Copy buttons next to the title and the contact ID are small grey buttons (bb9_button size_small);
style.css nudges them up 3px, which is kept*/
.bb9_conversation .copy_button{
	margin-left:var(--bb9-space-2);
	vertical-align:middle;
}
/*Manual Review Needed and Custom Reply: white cards*/
.bb9_conversation .bb9_card .formrow{
	padding:var(--bb9-space-2) 0;
	border-color:var(--bb9-line);
}
/*the labels (bb9_label) sit after their dropdowns, as on the live page*/
.bb9_conversation .bb9_card label{
	margin-left:var(--bb9-space-2);
}
/*the hint "If it's wrong, please use the Conversation Controls to fix it"*/
.bb9_conversation .bb9_card .small{
	color:var(--bb9-muted);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-normal);
}
.bb9_conversation .bb9_card .bb9_textarea{
	margin-top:6px;
}
/*the 24 hour warning next to Add Time Delay*/
.bb9_conversation span.tooltip{
	color:var(--bb9-amber-text);
	font-weight:var(--bb9-weight-normal);
}
/*Instructions for Tools: hints, at the hint size*/
.bb9_conversation .bb9_conversation_help{
	color:var(--bb9-muted);
	font-size:var(--bb9-text-sm);
	line-height:1.6;
}
.bb9_conversation .bb9_conversation_help h3{
	color:var(--bb9-ink);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-bold);
}

/*The messages: conversation_timeline.html, inside #conversation*/
.bb9_conversation #conversation .metadatarow{
	padding:4px 2px;
}
/*10px above and below, so two messages in a row sit as far apart as two status lines*/
.bb9_conversation #conversation .messagerow{
	padding:10px 2px;
}
/*date between messages: a grey pill in the middle*/
.bb9_conversation #conversation .messagedate{
	display:table;
	float:none;
	margin:var(--bb9-space-4) auto var(--bb9-space-2);
	padding:3px 14px;
	border-radius:var(--bb9-radius-pill);
	background:var(--bb9-tile);
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
}
.bb9_conversation #conversation .messagedate b{
	font-weight:var(--bb9-weight-semibold);
}
/*every message: the padding and corners of a chat bubble (bb9_bubble)*/
.bb9_conversation #conversation .message{
	padding:10px 14px;
	border:1px solid var(--bb9-line);
	border-radius:16px;
	background:var(--bb9-surface);
	color:var(--bb9-ink);
	font-size:var(--bb9-text-base);
	line-height:1.45;
	overflow-wrap:anywhere;
}
/*links in a message, e.g. Attachment*/
.bb9_conversation #conversation .message a{
	color:inherit;
	text-decoration:underline;
	text-underline-offset:3px;
}
/*the contact's messages: white, on the left*/
.bb9_conversation #conversation .message.inbound{
	border-bottom-left-radius:4px;
}
/*BB9's messages: amber, on the right, with their details under them*/
.bb9_conversation #conversation .message.outbound{
	float:right;
	margin-left:50px;
	border-color:var(--bb9-bubble-bb9-line);
	border-bottom-right-radius:4px;
	background:var(--bb9-bubble-bb9);
	color:var(--bb9-bubble-bb9-text);
}
.bb9_conversation #conversation .message.outbound + .messagetime{
	clear:both;
}
/*no space under the details line, so the next item is as far from it as from a message with no line under it*/
.bb9_conversation #conversation .message + .messagetime{
	padding-bottom:0;
}
/*messages sent by hand: grey*/
.bb9_conversation #conversation .message.outbound.manual{
	border-color:var(--bb9-line-strong);
	background:var(--bb9-bubble-manual);
	color:var(--bb9-ink);
}
.bb9_conversation #conversation .message.scheduled,
.bb9_conversation #conversation .message.queued,
.bb9_conversation #conversation .message.draft{
	border-style:dashed;
}
/*a tag added to the contact, or a custom field set: purple*/
.bb9_conversation #conversation .message.TAG,
.bb9_conversation #conversation .message.FIELD{
	border-color:var(--bb9-purple-line);
	border-radius:var(--bb9-radius-sm);
	background:var(--bb9-purple-light);
	color:var(--bb9-purple-dark);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-semibold);
}
/*a question BB9 checked: the question, then the answer*/
.bb9_conversation #conversation .message.criteria{
	padding:12px 14px;
	border-color:var(--bb9-line);
	border-radius:var(--bb9-radius-md);
	background:var(--bb9-page);
	color:var(--bb9-text);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-normal);
}
.bb9_conversation #conversation .message.criteria .question{
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-semibold);
}
.bb9_conversation #conversation .message.criteria .answer{
	color:var(--bb9-muted);
}
/*the line beside or under each message: message number, agent, sent or not, platform, time*/
.bb9_conversation #conversation .messagetime{
	padding:6px 4px;
	color:var(--bb9-faint);
	font-size:var(--bb9-text-xs);
}
.bb9_conversation #conversation .messagetime b{
	color:var(--bb9-muted);
	font-weight:var(--bb9-weight-medium);
}
.bb9_conversation #conversation .messagetime a{
	color:var(--bb9-muted);
	text-decoration:underline;
	text-decoration-color:var(--bb9-line-strong);
	text-underline-offset:2px;
}
/*status changes and log lines between messages: bold grey with room around them, as on the old page.
Users found them hard to read in light grey and the typewriter font*/
.bb9_conversation #conversation .messagerow.logmessage{
	padding:2px;
}
.bb9_conversation #conversation .logmessage .messagetime{
	padding:7px;
	color:var(--bb9-muted);
}
.bb9_conversation #conversation .logmessage .messagetime b{
	font-weight:var(--bb9-weight-bold);
}
/*Goal and the latest statuses, under the messages: light grey boxes, with the padding of a notice*/
/*the boxes after the first one: 20px apart, as messages are*/
.bb9_conversation #conversation .metadatarow + .metadatarow > .message.metadata{
	margin-top:12px;
}
.bb9_conversation #conversation .message.metadata{
	padding:12px 14px;
	border-radius:var(--bb9-radius-md);
	background:var(--bb9-page);
	color:var(--bb9-text);
	font-size:var(--bb9-text-sm);
}
.bb9_conversation #conversation .message.metadata b{
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-semibold);
}
/*Agent, Followup, "by" and the comment. The labels (Agent, Followup) are set to normal weight
in the template; the values next to them are medium, as values next to their names are*/
.bb9_conversation #conversation .message.metadata .small{
	color:var(--bb9-muted);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-medium);
}
/*the Agent and Followup values have a fixed width of 350px in the template;
this lets them shrink to stay beside their label on a phone*/
.bb9_conversation #conversation .message.metadata .small[style*="350px"]{
	max-width:calc(100% - 60px);
}
.bb9_conversation #conversation .message.metadata.yellow{
	border-color:var(--bb9-amber-line);
	background:var(--bb9-amber-light);
}
.bb9_conversation #conversation .message.metadata.yellow b{
	color:var(--bb9-amber-text);
}
.bb9_conversation #conversation .message.metadata.green{
	border-color:var(--bb9-green-button-line);
	background:var(--bb9-green-light);
}
.bb9_conversation #conversation .message.metadata.green b{
	color:var(--bb9-green-text);
}
/*Mark (goal met): the look of a small grey button (bb9_button size_small). The class can't go on the
link itself, because the demo shares this template and keeps its old look*/
.bb9_conversation #conversation .message.metadata.yellow a{
	margin-top:-5px;
	padding:6px 11px;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-sm);
	background:var(--bb9-tile);
	box-shadow:var(--bb9-shadow-button);
	color:var(--bb9-ink);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-semibold);
	line-height:1.2;
	text-decoration:none;
}
.bb9_conversation #conversation .message.metadata.yellow a:hover{
	background:var(--bb9-tile-hover);
}
/*debugging lines printed at the end, when there are any*/
.bb9_conversation #conversation .log_item{
	color:var(--bb9-faint);
	font-family:var(--bb9-font-mono);
	font-size:var(--bb9-text-xs);
}

/*one line of status under a conversation, e.g. Goal: Done*/
.bb9_status_row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:var(--bb9-space-3);
	padding:10px 14px;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-md);
	background:var(--bb9-surface);
	font-size:var(--bb9-text-sm);
}
.bb9_status_row b{
	color:var(--bb9-ink);
}


/*---------- Checklist ----------*/
.bb9_checklist{
	overflow:hidden;
	line-height:1.4;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-lg);
	background:var(--bb9-surface);
}
.bb9_checklist_item{
	display:flex;
	align-items:center;
	gap:14px;
	padding:14px var(--bb9-space-4);
	border-bottom:1px solid var(--bb9-line);
}
.bb9_checklist_item:last-child{
	border-bottom:0;
}
.bb9_checklist_icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:28px;
	height:28px;
	flex:none;
	border-radius:50%;
}
.bb9_checklist_icon svg{
	width:16px;
	height:16px;
	fill:none;
	stroke:currentColor;
	stroke-width:2.6;
	stroke-linecap:round;
	stroke-linejoin:round;
}
.bb9_checklist_item.done .bb9_checklist_icon{
	background:var(--bb9-green-light);
	color:var(--bb9-green-text);
}
.bb9_checklist_item.todo .bb9_checklist_icon{
	background:var(--bb9-amber-light);
	color:var(--bb9-amber-text);
}
.bb9_checklist_item.problem .bb9_checklist_icon{
	background:var(--bb9-red-light);
	color:var(--bb9-red);
}
.bb9_checklist_text{
	flex:1;
	min-width:0;
}
.bb9_checklist_text b{
	display:block;
	color:var(--bb9-ink);
	font-weight:var(--bb9-weight-semibold);
}
.bb9_checklist_item.done .bb9_checklist_text b{
	color:var(--bb9-muted);
}
.bb9_checklist_text small{
	display:block;
	margin-top:2px;
	color:var(--bb9-muted);
	font-size:var(--bb9-text-sm);
}


/*---------- Other ----------*/
/*Prev / page numbers / Next*/
.bb9_pagination{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:4px;
}
.bb9_pagination a{
	display:flex;
	align-items:center;
	justify-content:center;
	min-width:34px;
	height:34px;
	padding:0 10px;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-sm);
	background:var(--bb9-surface);
	color:var(--bb9-text);
	font-size:var(--bb9-text-sm);
	font-weight:var(--bb9-weight-medium);
	text-decoration:none;
}
.bb9_pagination a:hover{
	background:var(--bb9-tile);
}

.bb9_pagination a.disabled{
	opacity:.4;
	pointer-events:none;
}


/*one log entry: a line of details, then the message*/
.bb9_log{
	overflow:hidden;
	line-height:1.4;
	border:1px solid var(--bb9-line);
	border-radius:var(--bb9-radius-md);
	background:var(--bb9-surface);
}
.bb9_log_head{
	display:flex;
	flex-wrap:wrap;
	gap:6px 14px;
	padding:8px 12px;
	border-bottom:1px solid var(--bb9-line);
	background:var(--bb9-page);
	color:var(--bb9-muted);
	font-size:var(--bb9-text-xs);
}
.bb9_log_head b{
	color:var(--bb9-ink);
}
.bb9_log pre{
	margin:0;
	padding:10px 12px;
	color:var(--bb9-ink);
	font-family:var(--bb9-font-mono);
	font-size:12px;
	white-space:pre-wrap;
	word-break:break-word;
}
