/*BB9 design values: colours, font, font sizes, spacing, corners and shadows.
Loaded before style.css by routing/views/Default/base.html.
New and redesigned pages use these variables instead of typing values,
e.g. color:var(--bb9-muted); padding:var(--bb9-space-4);
What each value is for, and the rules for restyling a page, are in docs/design-system.md.*/

:root{
	/*Text colours*/
	--bb9-ink:#111111;		/*headings, the open page in the top bar*/
	--bb9-text:#333333;		/*body text*/
	--bb9-muted:#777777;	/*labels, top bar links that are not open, secondary text*/
	--bb9-faint:#aaaaaa;	/*hints and disabled text*/

	/*Backgrounds and lines*/
	--bb9-surface:#ffffff;		/*cards, the top bar, menus, and text on purple, green, red or dark backgrounds*/
	--bb9-page:#fafafb;		/*page background behind cards*/
	--bb9-tile:#f2f2f4;		/*hover background, grey tiles*/
	--bb9-line:#e6e6ea;		/*borders and dividers, the grey button border*/

	/*Brand colours, taken from bb9.ai*/
	--bb9-purple:#7B2CBF;	/*ticked boxes, the open chip, text-only buttons. Not for links*/
	--bb9-purple-dark:#4F129B;	/*text on purple tints, e.g. the purple button and help notices*/
	--bb9-purple-light:#f3ecfc;	/*purple tint behind purple text or icons*/
	--bb9-orange:#EE6F00;		/*the open page icon in the top bar; reads as a warning, so not for normal buttons*/
	--bb9-amber:#FFB020;		/*account circle and other initials circles*/
	--bb9-gradient:linear-gradient(90deg,#7B2CBF,#EE6F00);	/*purple to orange, e.g. the line under the open page*/

	/*Status colours, already used across the app*/
	--bb9-red:#F94C59;		/*errors, unpaid bills, counts that need attention*/
	--bb9-red-light:#fdecee;	/*behind red tags, problem notices and the Cancel button*/
	--bb9-green:#69BD5C;	/*success, booked*/
	--bb9-green-light:#eaf6e8;	/*behind green tags and done steps*/
	--bb9-blue-light:#e9f0f9;	/*behind blue tags*/

	/*Shades used by the pieces in components.css and layout.css.
	Every colour on a restyled page comes from this file, so this is the one place to look one up or change it*/
	--bb9-header-dark:#1a0b2e;			/*behind the header picture while it loads*/
	--bb9-line-strong:#d9d9df;		/*border of text fields, dropdowns and bubbles sent by hand; switch when off; dashed notes in a conversation; the underline under links*/
	--bb9-tile-hover:#e8e8ed;			/*grey button when pointed at*/
	--bb9-row-hover:#fbf9fe;			/*table row when pointed at*/
	--bb9-purple-line:#e4d5f7;			/*border of purple-tinted boxes, e.g. the purple button, help notices, the customer bar*/
	--bb9-purple-hover:#eadcfb;			/*purple button when pointed at*/
	--bb9-purple-wash:rgba(123,44,191,.08);	/*customer bar link when pointed at*/
	--bb9-green-text:#2f7a25;			/*green text on light green, e.g. the Active tag, a done step*/
	--bb9-green-button:#b6ec82;			/*green button*/
	--bb9-green-button-hover:#a6e46c;	/*green button when pointed at*/
	--bb9-green-button-line:#8fd35a;	/*border of the green button*/
	--bb9-green-button-text:#1d4a10;	/*text on the green button*/
	--bb9-red-text:#b4232f;		/*red text on light red: Cancel my plan, the unpaid pill, problem notices*/
	--bb9-red-line:#f7c6cb;				/*border of red-tinted boxes*/
	--bb9-red-hover:#fbdde0;			/*red button when pointed at*/
	--bb9-amber-light:#fff4dc;		/*behind amber tags, to-do steps and warning notices*/
	--bb9-amber-text:#9a5b00;		/*amber text and icons: amber tags, to-do icons, warning notices*/
	--bb9-amber-line:#f6dfa5;		/*border of warning notices*/
	--bb9-blue-text:#2d5f99;			/*blue tag text*/
	--bb9-bubble-bb9:#fff1d6;			/*BB9's chat bubbles*/
	--bb9-bubble-bb9-line:#ffd98a;		/*border of BB9's chat bubbles*/
	--bb9-bubble-bb9-text:#3d2a00;		/*text in BB9's chat bubbles*/
	--bb9-bubble-manual:#ececf0;		/*chat bubbles for messages sent by hand*/

	/*Font. Inter is loaded from Google Fonts in Default\base.html*/
	--bb9-font:Inter,Roboto,Arial,Helvetica,sans-serif;	/*Inter; the others are used only if it fails to load*/
	--bb9-font-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;	/*typewriter font: contact IDs and tags in a conversation, prompts, log entries*/

	/*Font sizes*/
	--bb9-text-xs:12px;		/*badges, small labels*/
	--bb9-text-sm:13px;		/*table details, hints*/
	--bb9-text-base:14px;	/*body text, top bar links*/
	--bb9-text-md:16px;		/*emphasised body text*/
	--bb9-text-lg:18px;		/*card titles*/
	--bb9-text-xl:22px;		/*section headings*/
	--bb9-text-2xl:28px;	/*page headings*/
	--bb9-text-3xl:34px;	/*large numbers, hero headings*/

	/*Font weights*/
	--bb9-weight-normal:400;	/*body text*/
	--bb9-weight-medium:500;	/*links, values next to their names*/
	--bb9-weight-semibold:600;	/*buttons, labels, tags, table headings*/
	--bb9-weight-bold:700;	/*card titles, section headings*/

	/*Spacing, in steps of 4px*/
	--bb9-space-1:4px;	/*between an icon and its text*/
	--bb9-space-2:8px;	/*between top bar links*/
	--bb9-space-3:12px;	/*between buttons in a row*/
	--bb9-space-4:16px;	/*between fields in a form, around phone pages*/
	--bb9-space-5:20px;	/*inside cards*/
	--bb9-space-6:24px;	/*above page content*/
	--bb9-space-8:32px;	/*inside the login card*/
	--bb9-space-10:40px;	/*between sections, below page content*/

	/*Page width: every page's content is at most this wide, in the middle of the window*/
	--bb9-page-width:1280px;	/*widest the page content gets*/
	--bb9-page-gutter:32px;		/*space between the content and the window edge*/

	/*Corner rounding*/
	--bb9-radius-sm:6px;	/*inputs, small buttons*/
	--bb9-radius-md:10px;	/*buttons, menu items*/
	--bb9-radius-lg:14px;	/*cards, menus*/
	--bb9-radius-xl:24px;	/*the large login card*/
	--bb9-radius-pill:999px;	/*badges, round buttons*/

	/*Shadows*/
	--bb9-shadow-sm:0 1px 3px rgba(20,10,40,.08);	/*cards*/
	--bb9-shadow-lg:0 14px 40px rgba(20,10,40,.16);	/*menus that open over the page, the login card*/
	--bb9-shadow-button:0 1px 0 rgba(17,17,17,.06);	/*thin edge under buttons, so they look pressable*/
	--bb9-shadow-knob:0 1px 2px rgba(0,0,0,.2);		/*the round knob of a switch*/
}
