/**
 * AZKA Hub - Client area
 *
 * Minimal styles: the page inherits the theme's fonts and colors.
 */

.azka-hub-portal {
	--azka-hub-accent: #3023ae;
	--azka-hub-line: rgba(0, 0, 0, .12);
	--azka-hub-muted: rgba(0, 0, 0, .55);
	max-width: 980px;
	margin: 0 auto;
}

.azka-hub-portal__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
	padding: 10px 0 14px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--azka-hub-line);
	font-size: .9em;
}

.azka-hub-portal__links {
	display: flex;
	gap: 16px;
}

.azka-hub-portal__muted {
	color: var(--azka-hub-muted);
	font-size: .9em;
}

.azka-hub-portal__notice {
	padding: 10px 14px;
	border-left: 3px solid #b32d2e;
	background: rgba(179, 45, 46, .06);
}

/* Status badges (same colors as the admin) */
.azka-hub-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
	vertical-align: middle;
	white-space: nowrap;
}

.azka-hub-badge--ouvert {
	background: #e7f0fd;
	color: #1d4ed8;
}

.azka-hub-badge--en_cours {
	background: #fff4e0;
	color: #a15c00;
}

.azka-hub-badge--resolu {
	background: #e3f6e8;
	color: #137333;
}

.azka-hub-badge--ferme {
	background: #ececec;
	color: #50575e;
}

.azka-hub-badge--nouvelle {
	background: #e7f0fd;
	color: #1d4ed8;
}

.azka-hub-badge--traitee {
	background: #e3f6e8;
	color: #137333;
}


/* Menu when the client area is shown inside the theme */
.azka-hub-portal__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--azka-hub-line);
}

.azka-hub-portal__nav a {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	text-decoration: none;
}

.azka-hub-portal__nav a.is-current {
	background: var(--azka-hub-accent);
	color: #fff;
}

.azka-hub-count {
	display: inline-block;
	min-width: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--azka-hub-accent);
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}

/* ------------------------------------------------------------------
 * Standalone page (templates/portal/page.php)
 *
 * No theme styles: the page brings its own fonts (self-hosted, OFL), colors
 * and components, in the language of azka-agency.com: a white sheet with sharp edges,
 * a light and a heavy grotesque side by side ("NOS SERVICES"), cyan to turquoise panels
 * crossed by diagonal lines, a turquoise bar, square buttons lifted by a turquoise shadow.
 * ------------------------------------------------------------------ */

@font-face {
	font-family: "AZKA Display";
	src: url("fonts/bricolage-grotesque.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}

@font-face {
	font-family: "AZKA Text";
	src: url("fonts/figtree.woff2") format("woff2");
	font-weight: 300 900;
	font-display: swap;
}

/* Tokens: also for the client area shown inside a theme, and for the panels the script adds to <body>. */
.azka-hub-app,
.azka-hub-portal,
.azka-hub-drawer,
.azka-hub-lightbox {
	--ink: #0d1b2a;
	--ink-soft: #33414f;
	--muted: #677382;
	--paper: #f5f4f0;
	--surface: #fff;
	--line: rgba(13, 27, 42, .12);
	--field: rgba(13, 27, 42, .22);
	--cyan: #12b5e5;
	--teal: #1fcfb0;
	--coral: #ff7b57;
	--sun: #ffc743;
	--brand: linear-gradient(120deg, var(--cyan) 0%, var(--teal) 100%);
	/* The panels of the site: cyan to turquoise, crossed by diagonal lines. */
	--stripes:
		linear-gradient(128deg, transparent 0 52%, rgba(5, 70, 96, .2) 52.2%, transparent 78%),
		repeating-linear-gradient(128deg, transparent 0 30px, rgba(255, 255, 255, .2) 30px 31px),
		linear-gradient(165deg, #10b2e6 0%, #17c3d4 46%, #2fe2c6 100%);
	/* Nothing rounded, nothing blurred: what is lifted casts a turquoise shadow. */
	--radius: 0;
	--shadow: 0 0 0 transparent;
	--lift: 6px 6px 0 var(--teal);
	--display: "AZKA Display", "Avenir Next", "Segoe UI", sans-serif;
	--text: "AZKA Text", "Avenir Next", "Segoe UI", sans-serif;
}

.azka-hub-app {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	color: var(--ink);
	font: 16px/1.6 var(--text);
	-webkit-font-smoothing: antialiased;
	background: var(--paper);
	overflow-x: clip;
}

/* An architect's sheet: six columns drawn under the content, and a fine grain. */
.azka-hub-app::before,
.azka-hub-app::after {
	content: "";
	position: fixed;
	z-index: -1;
	pointer-events: none;
}

.azka-hub-app::before {
	top: 0;
	bottom: 0;
	left: 50%;
	width: min(1104px, calc(100% - 56px));
	border-right: 1px solid rgba(13, 27, 42, .055);
	background: linear-gradient(90deg, rgba(13, 27, 42, .055) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%;
	transform: translateX(-50%);
}

.azka-hub-app::after {
	inset: 0;
	opacity: .5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.1 0 0 0 0 0.16 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.azka-hub-app *,
.azka-hub-app *::before,
.azka-hub-app *::after {
	box-sizing: border-box;
}

.azka-hub-app a {
	color: inherit;
	text-underline-offset: 3px;
}

.azka-hub-app h1,
.azka-hub-app h2,
.azka-hub-app h3 {
	margin: 0 0 12px;
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.azka-hub-app h2 {
	font-size: clamp(24px, 3vw, 30px);
}

.azka-hub-app h3 {
	font-size: 19px;
}

/* Titles in two words: "MES" light, "SITES" heavy. */
.azka-hub-app :is(h1, h2, h3) .is-light {
	font-weight: 200;
}

.azka-hub-app :is(h1, h2, h3) .is-bold {
	font-weight: 800;
}

.azka-hub-icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
	vertical-align: -.2em;
}

/* Header: a bar across the page, as on the site (brand, menu, account) ---- */

.azka-hub-app__header {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid var(--line);
	/* Stays above the content sliding from one page to the next (Motion). */
	view-transition-name: azka-hub-header;
}

/* Frosted paper on a layer of its own: on the bar itself, backdrop-filter would hold the
   bottom menu of small screens (position: fixed) inside the bar. */
.azka-hub-app__header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Opaque: the view transition name of the bar keeps the blur from reaching the page under it. */
	background: var(--paper);
	-webkit-backdrop-filter: saturate(1.5) blur(16px);
	backdrop-filter: saturate(1.5) blur(16px);
}

.azka-hub-app__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1160px;
	min-height: 70px;
	margin: 0 auto;
	padding: 0 28px;
}

.azka-hub-app__brand {
	display: flex;
	flex: none;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.azka-hub-app__brand img {
	display: block;
	height: 22px;
	width: auto;
}

.azka-hub-app__sitename {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.azka-hub-app__label {
	padding: 5px 8px;
	background: var(--brand);
	color: var(--ink);
	font: 800 10px/1 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* The logo goes back to the public site, the label to the home of the client area. */
.azka-hub-app__home {
	display: flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	transition: opacity .2s;
}

.azka-hub-app__home:hover {
	opacity: .6;
}

.azka-hub-app .azka-hub-app__label {
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

.azka-hub-app .azka-hub-app__label:hover {
	background: var(--ink);
	color: #fff;
}

.azka-hub-app :is(.azka-hub-app__home, .azka-hub-app__label, .azka-hub-app__footer a):focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 3px;
}

.azka-hub-app__nav {
	position: relative;
	isolation: isolate;
	display: flex;
	gap: 2px;
	margin: 0 auto;
	overflow-x: auto;
	scrollbar-width: none;
}

.azka-hub-app__nav::-webkit-scrollbar {
	display: none;
}

/* Links are not stacking contexts: the pill and the hover background (negative z-index)
   sit in the menu, below the content of every link. */
.azka-hub-app__nav a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 13px 14px;
	color: var(--ink-soft);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .13em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .25s;
}

.azka-hub-app__nav a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: rgba(13, 27, 42, .06);
	opacity: 0;
	transition: opacity .2s;
}

.azka-hub-app__nav a:hover {
	color: var(--ink);
}

.azka-hub-app__nav a:hover::after {
	opacity: 1;
}

.azka-hub-app__nav a.is-current {
	color: #fff;
}

.azka-hub-app__nav a.is-current::after {
	opacity: 0;
}

/* Icons in the tab bar of small screens only. */
.azka-hub-app__nav .azka-hub-icon {
	display: none;
	width: 18px;
	height: 18px;
}

/* Content of a link: kept above the pill during the page change (named in render_nav()). */
.azka-hub-nav__item {
	display: flex;
	flex-direction: inherit;
	align-items: center;
	gap: inherit;
	min-width: 0;
	max-width: 100%;
}

/* Follows the current page: glides to the link clicked while the next page loads (portal.js,
   it then sits in the menu itself at the place the script gives it), and on to its place in
   the new page (view transition, Motion). A black tab with the turquoise line of the site. */
.azka-hub-nav__pill {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ink);
	view-transition-name: azka-hub-nav-pill;
}

.azka-hub-nav__pill::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--brand);
}

.azka-hub-nav__pill.is-gliding {
	inset: auto;
}

.azka-hub-app .azka-hub-count {
	min-width: 19px;
	padding: 0 5px;
	border-radius: 0;
	background: var(--coral);
	color: var(--ink);
	font: 800 11px/19px var(--text);
	letter-spacing: 0;
	text-align: center;
}

/* Account menu (details/summary: works without JavaScript) */

.azka-hub-account {
	position: relative;
	flex: none;
}

.azka-hub-account__button {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px 4px 4px;
	font-size: 14px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
	transition: background-color .2s;
}

.azka-hub-account__button::-webkit-details-marker {
	display: none;
}

.azka-hub-account__button:hover,
.azka-hub-account[open] .azka-hub-account__button {
	background: rgba(13, 27, 42, .06);
}

.azka-hub-avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--brand);
	color: var(--ink);
	font-family: var(--display);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}

.azka-hub-account__chevron {
	width: 16px;
	height: 16px;
	color: var(--muted);
	transition: transform .25s;
}

.azka-hub-account[open] .azka-hub-account__chevron {
	transform: rotate(180deg);
}

.azka-hub-account__menu {
	position: absolute;
	top: calc(100% + 15px);
	right: 0;
	z-index: 5;
	width: 280px;
	padding: 11px 8px 8px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line), 8px 8px 0 rgba(13, 27, 42, .08);
	transform-origin: top right;
	animation: azka-hub-menu .22s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-account__menu::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--brand);
}

.azka-hub-account__who {
	margin: 0 0 6px;
	padding: 10px 12px 14px;
	border-bottom: 1px solid var(--line);
}

.azka-hub-account__who strong,
.azka-hub-account__who span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azka-hub-account__who span {
	color: var(--muted);
	font-size: 13px;
}

.azka-hub-account__menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	color: var(--ink-soft);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}

.azka-hub-account__menu a:hover {
	background: rgba(18, 181, 229, .1);
	color: var(--ink);
}

/* Layout ------------------------------------------------------------ */

.azka-hub-app__main {
	flex: 1;
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 40px 28px 64px;
}

/* The pages draw their sections on the sheet itself; only the login form sits in a card. */
.azka-hub-app .azka-hub-portal {
	--azka-hub-accent: var(--ink);
	--azka-hub-line: var(--line);
	--azka-hub-muted: var(--muted);
	max-width: none;
}

.azka-hub-app__footer {
	padding: 28px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}

.azka-hub-app__footer a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	transition: color .2s;
}

.azka-hub-app__footer a:hover {
	color: var(--ink);
}

.azka-hub-app__footer .azka-hub-icon {
	width: 14px;
	height: 14px;
	transition: transform .2s;
}

.azka-hub-app__footer a:hover .azka-hub-icon {
	transform: translateX(-3px);
}

/* Page head: the language of the home page (see Client_Portal::render_head()). */
.azka-hub-head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px 32px;
	margin: 0 0 34px;
	padding: 4px 0 0 30px;
}

/* The turquoise bar of the site. */
.azka-hub-head::before {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 4px;
	left: 0;
	width: 6px;
	background: linear-gradient(180deg, var(--cyan), var(--teal));
	transform-origin: top;
	animation: azka-hub-grow .7s .05s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-head__text {
	flex: 1 1 340px;
	min-width: 0;
}

.azka-hub-app .azka-hub-head__title {
	margin: 0;
	font-size: clamp(40px, 5.2vw, 68px);
	line-height: .92;
	letter-spacing: -.04em;
	text-transform: uppercase;
}

.azka-hub-head__title span {
	display: inline-block;
	animation: azka-hub-wipe .7s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-head__title .is-bold {
	animation-delay: .06s;
}

.azka-hub-head__lead {
	max-width: 560px;
	margin: 16px 0 0;
	color: var(--ink-soft);
	font-size: 16.5px;
	line-height: 1.55;
}

.azka-hub-head__aside {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.azka-hub-head__aside .azka-hub-button {
	flex: none;
	white-space: nowrap;
}

/* Sections of a page: a title in two words on a black rule, as "VOS SITES". */
.azka-hub-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 20px;
	margin-bottom: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
}

.azka-hub-app .azka-hub-section-head h3 {
	display: flex;
	align-items: baseline;
	gap: 0 .3em;
	margin: 0;
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1;
	letter-spacing: -.03em;
	text-transform: uppercase;
}

/* Buttons and fields ------------------------------------------------ */

.azka-hub-app button,
.azka-hub-app input[type="submit"],
.azka-hub-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 20px;
	border: 0;
	border-radius: 0;
	background: var(--ink, #0d1b2a);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s, background-color .2s, color .2s;
}

.azka-hub-app button:hover,
.azka-hub-app input[type="submit"]:hover,
.azka-hub-button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--teal);
}

/* Actions: square, in spaced capitals, as the buttons of the site. */
.azka-hub-app .azka-hub-button,
.azka-hub-app button[type="submit"],
.azka-hub-app input[type="submit"] {
	padding: 15px 22px;
	color: #fff;
	font: 700 12.5px/1.1 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-button:hover,
.azka-hub-app button[type="submit"]:hover,
.azka-hub-app input[type="submit"]:hover {
	background: #000;
	box-shadow: var(--lift);
	transform: translate(-3px, -3px);
}

.azka-hub-button .azka-hub-icon {
	width: 16px;
	height: 16px;
}

.azka-hub-app .azka-hub-button.is-ghost {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	color: var(--ink);
}

.azka-hub-app .azka-hub-button.is-ghost:hover {
	background: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink), 6px 6px 0 var(--cyan);
	color: #fff;
}

.azka-hub-app .azka-hub-button.is-light {
	background: #fff;
	color: var(--ink);
}

.azka-hub-app .azka-hub-button.is-light:hover {
	background: #fff;
}

.azka-hub-app .azka-hub-button.is-disabled {
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	color: rgba(255, 255, 255, .7);
	cursor: default;
	transform: none;
}

.azka-hub-app label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.azka-hub-app input[type="text"],
.azka-hub-app input[type="email"],
.azka-hub-app input[type="password"],
.azka-hub-app input[type="url"],
.azka-hub-app input[type="date"],
.azka-hub-app input[type="search"],
.azka-hub-app select,
.azka-hub-app textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--field);
	border-radius: 0;
	background: #fff;
	color: inherit;
	font: inherit;
	appearance: none;
	transition: border-color .2s, box-shadow .2s;
}

/* Without the native look, the list keeps a chevron. */
.azka-hub-app select {
	padding-right: 42px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1b2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
	cursor: pointer;
}

.azka-hub-app input:focus,
.azka-hub-app select:focus,
.azka-hub-app textarea:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(18, 181, 229, .2);
}

.azka-hub-app button:focus-visible,
.azka-hub-app a:focus-visible,
.azka-hub-app summary:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 3px;
}

/* Notices ----------------------------------------------------------- */

.azka-hub-app .azka-hub-portal__notice,
.azka-hub-app .azka-hub-portal__success {
	padding: 12px 16px;
	border-left: 3px solid;
}

.azka-hub-app .azka-hub-portal__notice {
	border-color: var(--coral);
	background: #fff0eb;
	color: #8f2d14;
}

.azka-hub-app .azka-hub-portal__success {
	border-color: var(--teal);
	background: #e6faf5;
	color: #0b5e50;
}

.azka-hub-toast {
	position: fixed;
	top: 86px;
	left: 50%;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	padding: 12px 20px 12px 12px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	box-shadow: var(--lift);
	transform: translateX(-50%);
	animation: azka-hub-drop .5s cubic-bezier(.2, .9, .3, 1.2) both;
	transition: opacity .4s, transform .4s;
}

.azka-hub-toast .azka-hub-icon {
	width: 30px;
	height: 30px;
	padding: 6px;
	background: var(--teal);
	color: var(--ink);
}

.azka-hub-toast.is-error {
	box-shadow: 6px 6px 0 var(--coral);
}

.azka-hub-toast.is-error .azka-hub-icon {
	background: var(--coral);
}

.azka-hub-toast.is-hidden {
	opacity: 0;
	transform: translate(-50%, -16px);
	pointer-events: none;
}

/* Home: welcome ----------------------------------------------------- */
/* The language of azka-agency.com: white sheet, sharp edges, light and heavy grotesque
   side by side ("NOS SERVICES"), cyan to turquoise panels crossed by diagonal lines, a
   turquoise bar down the left. */

.azka-hub-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--ink-soft);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .22em;
	text-transform: uppercase;
}

.azka-hub-kicker::before {
	content: "";
	width: 28px;
	height: 1.5px;
	background: currentColor;
}

.azka-hub-welcome {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	align-items: end;
	gap: 0 56px;
	min-height: 290px;
	margin: 4px 0 64px;
	padding: 26px 0 0 30px;
}

/* The turquoise bar of the site. */
.azka-hub-welcome::before {
	content: "";
	position: absolute;
	top: 30px;
	bottom: 4px;
	left: 0;
	width: 6px;
	background: linear-gradient(180deg, var(--cyan), var(--teal));
	transform-origin: top;
	animation: azka-hub-grow .8s .1s cubic-bezier(.2, .8, .2, 1) both;
}

/* Two panels and their gutters, from the figures to the edge of the screen. */
.azka-hub-welcome__art {
	position: absolute;
	top: -44px;
	right: calc(50% - 50vw);
	bottom: -30px;
	left: calc(100% - 420px - 30px);
	z-index: 0;
	overflow: hidden;
	background: var(--stripes);
	animation: azka-hub-slab .9s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-welcome__art span {
	position: absolute;
	background: var(--paper);
}

.azka-hub-welcome__art span:first-child {
	top: 0;
	bottom: 168px;
	left: 38%;
	width: 12px;
}

/* Above the figures: they sit on a panel of their own. */
.azka-hub-welcome__art span:last-child {
	right: 0;
	bottom: 156px;
	left: 0;
	height: 12px;
}

.azka-hub-welcome__text,
.azka-hub-welcome__figures {
	position: relative;
	z-index: 1;
}

.azka-hub-welcome__text {
	padding-bottom: 4px;
}

.azka-hub-app .azka-hub-welcome__title {
	margin: 0 0 18px;
	font-size: clamp(46px, 6.4vw, 88px);
	line-height: .9;
	letter-spacing: -.045em;
}

.azka-hub-welcome__title span {
	display: block;
	animation: azka-hub-wipe .8s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-welcome__title .is-light {
	font-weight: 200;
}

.azka-hub-welcome__title .is-bold {
	font-weight: 800;
	text-transform: uppercase;
	animation-delay: .08s;
}

.azka-hub-welcome__lead {
	max-width: 440px;
	margin: 0 0 26px;
	color: var(--ink-soft);
	font-size: 16.5px;
	line-height: 1.55;
}

.azka-hub-welcome__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

/* Square buttons, as on the site; a turquoise shadow lifts them. */
.azka-hub-app .azka-hub-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 22px;
	background: var(--ink);
	color: #fff;
	font: 700 12.5px/1 var(--text);
	letter-spacing: .16em;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s, background-color .2s, color .2s;
}

.azka-hub-app .azka-hub-cta:hover {
	background: #000;
	box-shadow: 6px 6px 0 var(--teal);
	transform: translate(-3px, -3px);
}

.azka-hub-cta .azka-hub-icon {
	width: 16px;
	height: 16px;
	transition: transform .2s;
}

.azka-hub-cta:hover .azka-hub-icon {
	transform: translateX(3px);
}

.azka-hub-app .azka-hub-cta.is-line {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	color: var(--ink);
}

.azka-hub-app .azka-hub-cta.is-line:hover {
	background: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink), 6px 6px 0 var(--cyan);
	color: #fff;
}

/* Figures on the panel: thin numerals, labels in capitals. */
.azka-hub-welcome__figures {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-self: end;
	margin: 0 0 -2px;
	color: var(--ink);
}

.azka-hub-welcome__figures > div {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	padding: 0 16px 0 18px;
	border-left: 1px solid rgba(255, 255, 255, .7);
	animation: azka-hub-rise .6s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.35s + var(--i, 0) * 80ms);
}

.azka-hub-welcome__figures dt {
	min-height: 2.7em;
	font: 700 10.5px/1.35 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.azka-hub-welcome__figures dd {
	margin: 0;
	font: 200 clamp(48px, 5vw, 68px)/.9 var(--display);
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
}

.azka-hub-welcome__figures a {
	text-decoration: none;
	transition: color .2s;
}

.azka-hub-welcome__figures a:hover {
	color: #fff;
}

/* Home: sites index ------------------------------------------------- */

.azka-hub-index {
	--cols: 64px minmax(0, 2.3fr) minmax(0, 1fr) minmax(0, 1fr) 96px 170px;
	margin-bottom: 56px;
}

.azka-hub-index__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 20px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--ink);
}

.azka-hub-app .azka-hub-index__head h2 {
	margin: 0;
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1;
	letter-spacing: -.035em;
	text-transform: uppercase;
}

.azka-hub-index__head .is-light {
	font-weight: 200;
}

.azka-hub-index__head .is-bold {
	font-weight: 800;
}

.azka-hub-app .azka-hub-index__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 700 12px/1 var(--text);
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
}

.azka-hub-index__all .azka-hub-icon {
	width: 15px;
	height: 15px;
	transition: transform .2s;
}

.azka-hub-index__all:hover .azka-hub-icon {
	transform: translateX(4px);
}

.azka-hub-index__cols {
	display: grid;
	grid-template-columns: var(--cols);
	padding: 12px 0 10px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font: 700 10.5px/1 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.azka-hub-index__cols span:first-child {
	grid-column: 2;
}

.azka-hub-index__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.azka-hub-row {
	position: relative;
	display: grid;
	grid-template-columns: var(--cols);
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	animation: azka-hub-rise .5s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.4s + var(--i, 0) * 60ms);
	transition: background-color .25s;
}

/* On hover, the turquoise bar of the site. */
.azka-hub-row::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: 0;
	width: 0;
	background: linear-gradient(180deg, var(--cyan), var(--teal));
	transition: width .3s cubic-bezier(.2, .8, .2, 1);
}

.azka-hub-row:hover {
	background: rgba(255, 255, 255, .75);
}

.azka-hub-row:hover::before {
	width: 5px;
}

.azka-hub-row__num {
	padding-left: 18px;
	color: var(--muted);
	font: 200 28px/1 var(--display);
	font-variant-numeric: tabular-nums;
}

.azka-hub-row__site {
	min-width: 0;
	padding-right: 16px;
}

.azka-hub-row__site strong {
	display: block;
	overflow: hidden;
	font: 700 19px/1.2 var(--display);
	letter-spacing: -.01em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azka-hub-app .azka-hub-row__site a {
	text-decoration: none;
}

.azka-hub-app .azka-hub-row__site a:hover strong {
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.azka-hub-row__site small {
	display: block;
	overflow: hidden;
	margin-top: 2px;
	color: var(--muted);
	font-size: 13.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azka-hub-row__open,
.azka-hub-row__due {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
}

.azka-hub-row__open strong,
.azka-hub-row__due strong {
	font: 300 28px/1 var(--display);
	letter-spacing: -.03em;
	white-space: nowrap;
}

.azka-hub-row__open span,
.azka-hub-row__due span {
	overflow: hidden;
	color: var(--muted);
	font-size: 12.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azka-hub-row__open.is-busy strong {
	font-weight: 700;
}

.azka-hub-row__open:not(.is-busy) strong {
	color: var(--muted);
}

.azka-hub-row__due.is-danger strong {
	color: #e2532d;
	font-weight: 600;
}

.azka-hub-row__due.is-warning strong {
	color: #b37a00;
	font-weight: 600;
}

.azka-hub-row__due.is-ok strong {
	color: #0b8f78;
}

.azka-hub-row__flag .is-alert {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 11px;
	background: var(--coral);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: box-shadow .2s, transform .2s;
}

.azka-hub-row__flag .is-alert:hover {
	box-shadow: 4px 4px 0 var(--ink);
	transform: translate(-2px, -2px);
}

.azka-hub-row__flag .is-ok {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	box-shadow: inset 0 0 0 1.5px var(--teal);
	color: #0b8f78;
}

.azka-hub-row__flag .azka-hub-icon {
	width: 15px;
	height: 15px;
}

.azka-hub-row__links {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	padding-right: 18px;
}

.azka-hub-app .azka-hub-row__links a {
	padding: 4px 0;
	border-bottom: 1.5px solid transparent;
	font: 700 11.5px/1 var(--text);
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color .2s;
}

.azka-hub-app .azka-hub-row__links a:hover {
	border-color: var(--cyan);
}

.azka-hub-row__tickets {
	display: flex;
	flex-wrap: wrap;
	grid-column: 2 / -1;
	gap: 6px 22px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.azka-hub-row__tickets li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
	color: var(--ink-soft);
	font-size: 13.5px;
}

.azka-hub-row__tickets .azka-hub-icon {
	width: 15px;
	height: 15px;
	color: var(--muted);
}

.azka-hub-row__tickets .azka-hub-badge,
.azka-hub-row__tickets .azka-hub-icon {
	flex: none;
}

.azka-hub-row__tickets a,
.azka-hub-row__tickets li > span {
	max-width: 340px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azka-hub-app .azka-hub-row__tickets a {
	text-decoration: none;
}

.azka-hub-app .azka-hub-row__tickets a:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* Home: extension band ---------------------------------------------- */

.azka-hub-strip {
	position: relative;
	display: grid;
	grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 40px;
	margin-bottom: 12px;
	padding: 28px 32px;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
	animation: azka-hub-rise .6s .5s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-strip::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.azka-hub-strip::after {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	width: 34%;
	background: repeating-linear-gradient(128deg, transparent 0 22px, rgba(31, 207, 176, .16) 22px 23px);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000);
	mask-image: linear-gradient(90deg, transparent, #000);
	pointer-events: none;
}

.azka-hub-strip > * {
	position: relative;
	z-index: 1;
}

.azka-hub-strip .azka-hub-kicker {
	margin-bottom: 10px;
	color: var(--teal);
	white-space: nowrap;
}

.azka-hub-app .azka-hub-strip h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.azka-hub-strip h2 span {
	display: block;
	font-weight: 200;
}

.azka-hub-strip__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}

.azka-hub-strip__steps li {
	white-space: nowrap;
}

.azka-hub-strip__steps span {
	margin-right: 4px;
	color: var(--teal);
	font: 200 20px/1 var(--display);
}

.azka-hub-strip__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 0;
}

.azka-hub-app .azka-hub-strip__actions .azka-hub-button {
	font-size: 12.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-strip__actions a:not(.azka-hub-button) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font: 700 12px/1 var(--text);
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
}

.azka-hub-strip__actions .azka-hub-icon {
	width: 15px;
	height: 15px;
}

/* Tones shared by tiles and cards. */
.tone-0 {
	--tone: #12b5e5;
	--tone-soft: #ddf4fc;
	--tone-ink: #075f7a;
}

.tone-1 {
	--tone: #1fcfb0;
	--tone-soft: #dcf7f1;
	--tone-ink: #0b6b5a;
}

.tone-2 {
	--tone: #ff7b57;
	--tone-soft: #ffe8e0;
	--tone-ink: #9a3515;
}

.tone-3 {
	--tone: #ffc743;
	--tone-soft: #fff3d1;
	--tone-ink: #7a5300;
}

/* Shared by the pages: a quiet note, an empty state. */

.azka-hub-site__quiet {
	margin: 0;
	padding: 14px 16px;
	border-left: 3px solid var(--cyan);
	background: rgba(18, 181, 229, .08);
	color: #075f7a;
	font-weight: 600;
}

.azka-hub-empty {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 28px;
	border: 1.5px dashed var(--field);
	color: var(--muted);
}

.azka-hub-empty p {
	margin: 0;
}

.azka-hub-empty .azka-hub-icon {
	width: 40px;
	height: 40px;
	color: var(--cyan);
}

/* Extension tutorial ------------------------------------------------ */

/* The black band of the home page, at full size: the steps on hairlines. */
.azka-hub-ext {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
	gap: 32px 56px;
	align-items: start;
	padding: 44px 40px 40px;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
	animation: azka-hub-rise .7s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-ext::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.azka-hub-ext::after {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	width: 40%;
	background: repeating-linear-gradient(128deg, transparent 0 22px, rgba(31, 207, 176, .14) 22px 23px);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000);
	mask-image: linear-gradient(90deg, transparent, #000);
	pointer-events: none;
}

.azka-hub-ext > * {
	position: relative;
	z-index: 1;
}

.azka-hub-app .azka-hub-ext h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	text-transform: uppercase;
}

.azka-hub-ext h2 span {
	display: block;
	font-weight: 200;
}

.azka-hub-ext__intro p {
	margin: 0;
	color: rgba(255, 255, 255, .75);
}

.azka-hub-app .azka-hub-ext__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 26px 0 0;
}

.azka-hub-ext__steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.azka-hub-ext__steps li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	animation: azka-hub-rise .6s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.3s + var(--i, 0) * 90ms);
}

.azka-hub-ext__steps li:nth-child(even) {
	padding: 22px 0 24px 24px;
	border-left: 1px solid rgba(255, 255, 255, .16);
}

.azka-hub-ext__num {
	margin-bottom: 8px;
	color: var(--teal);
	font: 200 42px/1 var(--display);
	letter-spacing: -.03em;
}

.azka-hub-ext__steps strong {
	font-family: var(--display);
	font-size: 19px;
}

.azka-hub-ext__steps li > span:last-child {
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
	line-height: 1.5;
}

/* Shown by the extension (see Feedback\Portal_Extension). */
.azka-hub-has-extension {
	display: none;
}

html[data-azka-hub-extension] .azka-hub-has-extension {
	display: block;
}

html[data-azka-hub-extension] .azka-hub-needs-extension {
	display: none !important;
}

.azka-hub-ext-ready {
	padding: 40px;
	background: var(--stripes);
	text-align: center;
}

.azka-hub-ext-ready__icon {
	width: 56px;
	height: 56px;
	padding: 12px;
	background: var(--ink);
	color: var(--teal);
}

.azka-hub-app .azka-hub-ext-ready h2 {
	text-transform: uppercase;
}

/* Questions: one line each, a square "+" that turns black once open. */
.azka-hub-faq {
	margin-top: 56px;
}

.azka-hub-app .azka-hub-faq h3 {
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1;
	letter-spacing: -.03em;
	text-transform: uppercase;
}

.azka-hub-faq details {
	border-bottom: 1px solid var(--line);
}

.azka-hub-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 2px;
	font: 700 17px/1.3 var(--display);
	list-style: none;
	cursor: pointer;
}

.azka-hub-faq summary::-webkit-details-marker {
	display: none;
}

.azka-hub-faq summary::after {
	content: "+";
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	font: 300 20px/1 var(--text);
	transition: background-color .2s, color .2s;
}

.azka-hub-faq summary:hover::after {
	background: rgba(18, 181, 229, .12);
}

.azka-hub-faq details[open] summary::after {
	content: "\2013";
	background: var(--ink);
	box-shadow: none;
	color: #fff;
}

.azka-hub-faq details p {
	max-width: 720px;
	margin: 0 0 20px;
	padding: 0 2px;
	color: var(--ink-soft);
}

/* Extension: connection ------------------------------------------- */

.azka-hub-connect {
	position: relative;
	max-width: 560px;
	margin: 4vh auto 0;
	padding: 48px 40px 44px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line), 10px 10px 0 var(--teal);
	text-align: center;
	animation: azka-hub-pop .45s cubic-bezier(.2, .9, .3, 1.15) both;
}

.azka-hub-connect::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--brand);
}

.azka-hub-connect .azka-hub-kicker {
	justify-content: center;
}

.azka-hub-connect__icon {
	width: 72px;
	height: 72px;
	margin-bottom: 18px;
	padding: 16px;
	background: var(--brand);
	color: var(--ink);
}

.azka-hub-connect p {
	color: var(--ink-soft);
}

.azka-hub-connect__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 26px;
}

.azka-hub-connected {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-bottom: 22px;
	padding: 16px 20px;
	border-left: 3px solid var(--teal);
	background: #e6faf5;
	color: #0b5e50;
}

.azka-hub-connected p {
	flex: 1;
	margin: 0;
}

.azka-hub-connected span {
	display: block;
	font-size: 14px;
}

.azka-hub-connected form {
	margin: 0;
}

.azka-hub-connected__icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	background: var(--teal);
	color: var(--ink);
}

.azka-hub-app .azka-hub-portal--extension > .azka-hub-portal__success {
	margin: 0 0 18px;
}

/* Request dialog ---------------------------------------------------- */

.azka-hub-modal {
	width: min(640px, calc(100% - 32px));
	max-height: min(92vh, 860px);
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: var(--surface, #fff);
	color: var(--ink, #0d1b2a);
	box-shadow: 12px 12px 0 var(--teal);
}

.azka-hub-modal[open] {
	animation: azka-hub-pop .35s cubic-bezier(.2, .9, .3, 1.15) both;
}

.azka-hub-modal::backdrop {
	background: rgba(13, 27, 42, .45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

/* Without JavaScript the form opens inline in the page. */
.azka-hub-modal[open]:not(:modal) {
	position: static;
	width: 100%;
	margin: 0 0 32px;
}

.azka-hub-modal__form {
	display: flex;
	flex-direction: column;
	max-height: inherit;
}

/* The head is a panel of the site. */
.azka-hub-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 26px 28px 24px;
	background: var(--stripes);
}

.azka-hub-modal__head .azka-hub-kicker {
	margin-bottom: 12px;
	color: var(--ink);
}

.azka-hub-app .azka-hub-modal__head h2 {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 38px);
	line-height: .95;
	letter-spacing: -.035em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-modal__close {
	width: 40px;
	height: 40px;
	padding: 0;
	background: #fff;
	color: var(--ink);
}

.azka-hub-app .azka-hub-modal__close:hover {
	box-shadow: 4px 4px 0 var(--ink);
}

.azka-hub-modal__body {
	padding: 24px 28px 8px;
	overflow-y: auto;
}

.azka-hub-modal__body > p {
	margin: 0 0 16px;
}

.azka-hub-types {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.azka-hub-types legend {
	margin-bottom: 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
}

.azka-hub-app .azka-hub-type {
	position: relative;
	margin: 0;
	font-weight: 600;
}

.azka-hub-type input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.azka-hub-type span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	box-shadow: inset 0 0 0 1.5px var(--line);
	font-size: 14px;
	cursor: pointer;
	transition: background-color .15s, box-shadow .15s, color .15s;
}

.azka-hub-type span:hover {
	box-shadow: inset 0 0 0 1.5px var(--cyan);
}

.azka-hub-type input:checked + span {
	background: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink), 4px 4px 0 var(--teal);
	color: #fff;
}

.azka-hub-type input:focus-visible + span {
	outline: 3px solid var(--cyan);
	outline-offset: 2px;
}

.azka-hub-more {
	margin: 0 0 18px;
}

.azka-hub-more summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.azka-hub-more summary::-webkit-details-marker {
	display: none;
}

.azka-hub-more summary::before {
	content: "+";
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	background: var(--cyan);
	color: #fff;
	font-size: 15px;
	line-height: 1;
}

.azka-hub-more[open] summary::before {
	content: "\2013";
	background: var(--ink);
}

.azka-hub-more__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
	margin-top: 14px;
}

.azka-hub-more__fields p {
	margin: 0;
}

.azka-hub-app .azka-hub-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-weight: 700;
	cursor: pointer;
}

.azka-hub-switch input {
	position: absolute;
	opacity: 0;
}

.azka-hub-switch small {
	display: block;
	color: var(--muted);
	font-weight: 500;
}

/* Square, as everything else: a white block slides along a groove. */
.azka-hub-switch__track {
	position: relative;
	flex: none;
	width: 44px;
	height: 24px;
	background: rgba(13, 27, 42, .2);
	transition: background-color .2s;
}

.azka-hub-switch__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	background: #fff;
	transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
}

.azka-hub-switch input:checked + .azka-hub-switch__track {
	background: var(--coral);
}

.azka-hub-switch input:checked + .azka-hub-switch__track::after {
	transform: translateX(20px);
}

.azka-hub-switch input:focus-visible + .azka-hub-switch__track {
	outline: 3px solid var(--cyan);
	outline-offset: 2px;
}

.azka-hub-modal__foot {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 28px 24px;
	border-top: 1px solid var(--line);
}

/* Invoices ---------------------------------------------------------- */

/* Before the invoices: a panel of the site, its gutters and a thin euro. */
.azka-hub-billing {
	display: grid;
	grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr);
	overflow: hidden;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	animation: azka-hub-rise .6s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-billing__art {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	background: var(--stripes);
}

.azka-hub-billing__art span {
	position: absolute;
	background: var(--surface);
}

.azka-hub-billing__art span:first-child {
	top: 0;
	bottom: 0;
	left: 64%;
	width: 12px;
}

.azka-hub-billing__art span:nth-child(2) {
	right: 0;
	bottom: 32%;
	left: 0;
	height: 12px;
}

.azka-hub-billing__art b {
	position: absolute;
	top: 14px;
	left: 26px;
	color: var(--ink);
	font: 200 136px/1 var(--display);
	letter-spacing: -.05em;
	animation: azka-hub-wipe .8s .2s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-billing__text {
	align-self: center;
	padding: 44px;
}

.azka-hub-app .azka-hub-billing__text h2 {
	font-weight: 800;
	letter-spacing: -.03em;
}

.azka-hub-billing__text p {
	max-width: 460px;
	color: var(--ink-soft);
	font-size: 17px;
}

.azka-hub-billing form {
	margin: 24px 0 0;
}

/* Mes sites: key figures, filters, renewals, technical sheets -------- */

/* Key figures, as on the home page: thin numerals on a black rule. */
.azka-hub-sheets__stats,
.azka-hub-invoices__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}

.azka-hub-sheets__stats li,
.azka-hub-invoices__stats li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 18px 20px 20px;
	border-left: 1px solid var(--line);
	animation: azka-hub-rise .5s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.15s + var(--i, 0) * 60ms);
}

.azka-hub-sheets__stats li:first-child,
.azka-hub-invoices__stats li:first-child {
	padding-left: 0;
	border-left: 0;
}

.azka-hub-sheets__stats li:nth-child(2) {
	--i: 1;
}

.azka-hub-sheets__stats li:nth-child(3) {
	--i: 2;
}

.azka-hub-sheets__stats li:nth-child(4) {
	--i: 3;
}

.azka-hub-sheets__stats strong,
.azka-hub-invoices__stats strong {
	font: 200 clamp(44px, 4.6vw, 60px)/.9 var(--display);
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
}

.azka-hub-sheets__stats strong.is-text {
	padding-top: 6px;
	font: 700 22px/1.1 var(--display);
	letter-spacing: -.01em;
}

.azka-hub-sheets__stats span,
.azka-hub-invoices__stats span {
	color: var(--ink-soft);
	font: 700 10.5px/1.4 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-sheets__stats .is-next span {
	color: var(--muted);
	font: 500 13.5px/1.4 var(--text);
	letter-spacing: 0;
	text-transform: none;
}

/* What needs attention: the rule above takes its color. */
.azka-hub-sheets__stats .is-warning::before,
.azka-hub-sheets__stats .is-alert::before,
.azka-hub-invoices__stats li::before {
	content: "";
	position: absolute;
	top: -2px;
	right: 0;
	left: 0;
	height: 4px;
}

.azka-hub-sheets__stats .is-warning::before {
	background: var(--sun);
}

.azka-hub-sheets__stats .is-warning strong {
	color: #b37a00;
}

.azka-hub-sheets__stats .is-alert::before {
	background: var(--coral);
}

.azka-hub-sheets__stats .is-alert strong {
	color: #e2532d;
}

.azka-hub-app .azka-hub-sheets__stat-link {
	position: absolute;
	top: 18px;
	right: 14px;
	padding: 7px 10px;
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--ink);
	color: var(--ink);
	font: 700 10.5px/1 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-sheets__stat-link[aria-pressed="true"] {
	background: var(--ink);
	color: #fff;
}

/* Filters: one bar for the renewals and the sheets. */
.azka-hub-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 22px;
	padding: 10px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	animation: azka-hub-rise .5s .1s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-filters .azka-hub-search {
	flex: 1 1 170px;
}

.azka-hub-app .azka-hub-filters .azka-hub-search input {
	padding-block: 11px;
	border-color: transparent;
	background: var(--paper);
}

.azka-hub-app .azka-hub-filters .azka-hub-search input:focus {
	border-color: var(--cyan);
}

.azka-hub-filters__select {
	position: relative;
	flex: 0 1 200px;
	margin: 0;
}

.azka-hub-filters__select > .azka-hub-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	color: var(--muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.azka-hub-filters__select .azka-hub-filters__caret {
	right: 14px;
	left: auto;
}

.azka-hub-app .azka-hub-filters__select select {
	width: 100%;
	margin: 0;
	padding: 11px 40px 11px 42px;
	border: 0;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}

.azka-hub-app .azka-hub-filters__select select:focus {
	box-shadow: 0 0 0 2px var(--cyan);
}

.azka-hub-filters .azka-hub-chips {
	flex-wrap: nowrap;
	gap: 2px;
	padding: 3px;
	background: var(--paper);
}

.azka-hub-app .azka-hub-filters .azka-hub-chips button {
	gap: 6px;
	padding: 9px 12px;
	background: transparent;
	box-shadow: none;
	color: var(--ink-soft);
	white-space: nowrap;
}

.azka-hub-app .azka-hub-filters .azka-hub-chips button:hover {
	background: rgba(13, 27, 42, .06);
}

.azka-hub-app .azka-hub-filters .azka-hub-chips button.is-current {
	background: var(--ink);
	color: #fff;
}

.azka-hub-filters .azka-hub-chips .azka-hub-icon {
	width: 16px;
	height: 16px;
}

.azka-hub-app .azka-hub-filters__watch {
	margin: 0 6px;
	white-space: nowrap;
}

.azka-hub-app .azka-hub-filters__reset {
	gap: 6px;
	padding: 8px 12px;
	background: none;
	color: var(--ink-soft);
	font-size: 13.5px;
}

.azka-hub-app .azka-hub-filters__reset:hover {
	background: rgba(13, 27, 42, .06);
	box-shadow: none;
	transform: none;
}

.azka-hub-filters__reset .azka-hub-icon {
	width: 15px;
	height: 15px;
}

/* Renewals: the black band of the site, as a frieze of the year or a list. */
/* Above what follows: the tooltips of the frieze may reach over the sheets. */
.azka-hub-agenda {
	position: relative;
	z-index: 3;
	margin-bottom: 48px;
	padding: 16px 24px 12px;
	overflow: visible;
	background: var(--ink);
	color: #fff;
	animation: azka-hub-rise .6s .1s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-agenda::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.azka-hub-agenda::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	height: 220px;
	background: repeating-linear-gradient(128deg, transparent 0 22px, rgba(31, 207, 176, .14) 22px 23px);
	-webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
	mask-image: linear-gradient(200deg, #000, transparent 70%);
	pointer-events: none;
}

.azka-hub-agenda > * {
	position: relative;
	z-index: 1;
}

.azka-hub-agenda__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin-bottom: 10px;
}

.azka-hub-app .azka-hub-agenda h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(22px, 2.2vw, 26px);
	line-height: 1;
	letter-spacing: -.03em;
	text-transform: uppercase;
}

.azka-hub-views {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.azka-hub-app .azka-hub-views button {
	gap: 7px;
	padding: 9px 14px;
	background: none;
	color: rgba(255, 255, 255, .75);
	font: 700 11px/1 var(--text);
	letter-spacing: .13em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-views button:hover {
	box-shadow: none;
	color: #fff;
	transform: none;
}

.azka-hub-app .azka-hub-views button[aria-pressed="true"] {
	background: #fff;
	color: var(--ink);
}

.azka-hub-views .azka-hub-icon {
	width: 15px;
	height: 15px;
}

.azka-hub-agenda__none {
	margin: 0;
	padding: 22px;
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .75);
	text-align: center;
}

.azka-hub-sheets__section .azka-hub-agenda__none {
	margin-top: 18px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	color: var(--muted);
}

/* Frieze of the year (built by portal.js): one band, a dot at the date of each renewal,
   the dates that matter labelled on it, the details in a tooltip. */
.azka-hub-tl__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-right: auto;
}

.azka-hub-tl__bar[hidden] {
	display: none;
}

.azka-hub-app .azka-hub-tl__year {
	min-width: 2.6em;
	color: #fff;
	font: 200 26px/1 var(--display);
	letter-spacing: -.03em;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.azka-hub-tl__sum {
	margin: 0 6px;
	color: rgba(255, 255, 255, .6);
	font: 700 10.5px/1 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-tl__step {
	width: 32px;
	height: 32px;
	padding: 7px;
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
	color: #fff;
}

.azka-hub-app .azka-hub-tl__today,
.azka-hub-app .azka-hub-tl__overdue {
	padding: 10px 12px;
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
	color: #fff;
	font: 700 10.5px/1 var(--text);
	letter-spacing: .13em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-tl__step:hover:not(:disabled),
.azka-hub-app .azka-hub-tl__today:hover {
	background: #fff;
	box-shadow: none;
	color: var(--ink);
	transform: none;
}

.azka-hub-app .azka-hub-tl__step:disabled {
	opacity: .3;
	cursor: default;
}

.azka-hub-app .azka-hub-tl__overdue,
.azka-hub-app .azka-hub-tl__overdue:hover {
	background: var(--coral);
	box-shadow: none;
	color: var(--ink);
	transform: none;
}

.azka-hub-tl {
	position: relative;
}

.azka-hub-tl__band {
	position: relative;
	height: 84px;
	margin: 0 8px;
}

.azka-hub-tl__line,
.azka-hub-tl__past {
	position: absolute;
	top: 32px;
	left: 0;
	height: 1px;
	pointer-events: none;
}

.azka-hub-tl__line {
	right: 0;
	background: rgba(255, 255, 255, .3);
}

.azka-hub-tl__past {
	top: 31px;
	height: 3px;
	background: var(--teal);
	opacity: .45;
}

/* Months: a tick on the line, the name under it. */
.azka-hub-tl__month {
	position: absolute;
	top: 28px;
	padding: 40px 0 0 4px;
	color: rgba(255, 255, 255, .72);
	font: 700 10px/1 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.azka-hub-tl__month::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 9px;
	background: rgba(255, 255, 255, .4);
}

.azka-hub-tl__month.is-past {
	color: rgba(255, 255, 255, .38);
}

.azka-hub-tl__month.is-now {
	color: var(--teal);
}

/* Today: a turquoise line, its date at the top. */
.azka-hub-tl__now {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 2px;
	height: 62px;
	background: var(--teal);
	transform: translateX(-1px);
	pointer-events: none;
}

.azka-hub-tl__now span {
	position: absolute;
	top: 0;
	left: 7px;
	color: var(--teal);
	font: 700 10px/1 var(--text);
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.azka-hub-tl__now.is-end span {
	right: 7px;
	left: auto;
}

/* A renewal: a dot at its date, a numbered dot for several close together. */
.azka-hub-tl__mark {
	position: absolute;
	top: 32px;
	z-index: 2;
	transform: translate(-50%, -50%);
}

.azka-hub-tl__dot {
	--dot: var(--teal);
}

.azka-hub-tl__dot.is-warning {
	--dot: var(--sun);
}

.azka-hub-tl__dot.is-danger {
	--dot: var(--coral);
}

.azka-hub-app .azka-hub-tl__dot {
	position: relative;
	display: grid;
	place-items: center;
	width: 14px;
	height: 14px;
	min-width: 0;
	padding: 0;
	background: var(--dot);
	box-shadow: 0 0 0 3px var(--ink);
	color: var(--ink);
	font: 800 11px/1 var(--text);
	letter-spacing: 0;
	transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s;
}

/* A finger-sized target around the dot. */
.azka-hub-tl__dot::after {
	content: "";
	position: absolute;
	inset: -12px;
}

.azka-hub-app .azka-hub-tl__dot.is-many {
	width: 22px;
	height: 22px;
}

.azka-hub-app .azka-hub-tl__dot.is-key {
	box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--dot);
}

.azka-hub-app .azka-hub-tl__dot:hover,
.azka-hub-app .azka-hub-tl__dot[aria-expanded="true"] {
	box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #fff;
	transform: scale(1.2);
}

.azka-hub-app .azka-hub-tl__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 6px;
}

/* The dates that matter, written on the band. */
.azka-hub-tl__flag {
	position: absolute;
	top: calc(100% + 9px);
	left: 50%;
	padding: 3px 7px 3px 6px;
	border-left: 3px solid var(--teal);
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font: 700 11px/1.2 var(--text);
	white-space: nowrap;
	transform: translateX(-50%);
	pointer-events: none;
}

.azka-hub-tl__flag.is-warning {
	border-left-color: var(--sun);
}

.azka-hub-tl__flag.is-danger {
	border-left-color: var(--coral);
}

/* Dates without urgency: written more quietly. */
.azka-hub-tl__flag:not(.is-key) {
	border-left-color: rgba(255, 255, 255, .25);
	background: transparent;
	color: rgba(255, 255, 255, .72);
	font-weight: 600;
}

.azka-hub-tl__mark.is-above .azka-hub-tl__flag {
	top: auto;
	bottom: calc(100% + 9px);
}

.azka-hub-tl__mark.is-start .azka-hub-tl__flag {
	left: -4px;
	transform: none;
}

.azka-hub-tl__mark.is-end .azka-hub-tl__flag {
	right: -4px;
	left: auto;
	transform: none;
}

.azka-hub-tl__mark.is-crowded .azka-hub-tl__flag {
	display: none;
}

.azka-hub-tl__empty {
	position: absolute;
	top: 14px;
	left: 50%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 14px;
	margin: 0;
	padding: 4px 14px;
	background: var(--ink);
	color: rgba(255, 255, 255, .75);
	font-size: 14px;
	white-space: nowrap;
	transform: translateX(-50%);
}

.azka-hub-app .azka-hub-tl__jump {
	gap: 8px;
	padding: 9px 12px;
	background: var(--brand);
	color: var(--ink);
	font: 700 10.5px/1 var(--text);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.azka-hub-tl__jump .azka-hub-icon {
	width: 14px;
	height: 14px;
}

/* The tooltip: a white sheet under the dot, with links to the sheet and to AZKA. */
.azka-hub-tl__tip {
	position: absolute;
	z-index: 6;
	width: min(340px, calc(100vw - 32px));
	background: #fff;
	color: var(--ink);
	box-shadow: 6px 6px 0 var(--teal);
	animation: azka-hub-rise .2s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-tl__tip[hidden] {
	display: none;
}

.azka-hub-tl__tip::before {
	content: "";
	position: absolute;
	top: -6px;
	left: var(--arrow, 50%);
	width: 12px;
	height: 12px;
	background: #fff;
	transform: translateX(-50%) rotate(45deg);
}

.azka-hub-tl__tip-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 10px 10px 16px;
	border-bottom: 1px solid var(--line);
}

.azka-hub-tl__tip-head strong {
	flex: 1;
	font: 700 11px/1.3 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-tl__tip-head span {
	color: var(--muted);
	font-size: 12px;
}

.azka-hub-app .azka-hub-tl__tip-close {
	width: 28px;
	height: 28px;
	padding: 6px;
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
}

.azka-hub-app .azka-hub-tl__tip-close:hover {
	background: var(--ink);
	box-shadow: none;
	color: #fff;
	transform: none;
}

.azka-hub-tl__tip ul {
	max-height: min(60vh, 420px);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.azka-hub-tl__tip li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 16px 14px 13px;
	border-left: 3px solid var(--teal);
}

.azka-hub-tl__tip li + li {
	border-top: 1px solid var(--line);
}

.azka-hub-tl__tip li.is-warning {
	border-left-color: var(--sun);
}

.azka-hub-tl__tip li.is-danger {
	border-left-color: var(--coral);
}

.azka-hub-tl__tip-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	background: var(--paper);
}

.azka-hub-tl__tip-icon .azka-hub-icon {
	width: 15px;
	height: 15px;
}

.azka-hub-tl__tip-body {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.azka-hub-tl__tip-body > strong {
	font: 700 14.5px/1.3 var(--display);
	overflow-wrap: anywhere;
}

.azka-hub-tl__tip-body > span {
	color: var(--ink-soft);
	font-size: 13px;
	line-height: 1.4;
}

.azka-hub-tl__tip-when {
	color: var(--muted);
	font: 700 10.5px/1.4 var(--text);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.azka-hub-tl__tip-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 6px;
}

.azka-hub-app .azka-hub-tl__tip-actions a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	color: var(--ink);
	font: 700 11px/1 var(--text);
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: inset 0 -1.5px 0 var(--cyan);
}

.azka-hub-app .azka-hub-tl__tip-actions a:hover {
	box-shadow: inset 0 -1.5px 0 var(--ink);
}

.azka-hub-tl__tip-actions .azka-hub-icon {
	width: 13px;
	height: 13px;
}

/* One renewal: in the list view. */
.azka-hub-agenda__list {
	display: grid;
	gap: 26px;
}

.azka-hub-app .azka-hub-agenda__month h4 {
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .6);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-agenda__month.is-overdue h4 {
	color: #ffb9a6;
}

.azka-hub-agenda__month ol {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.azka-hub-due {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
	animation: azka-hub-rise .45s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.15s + var(--i, 0) * 40ms);
	transition: background-color .2s;
}

.azka-hub-due:hover {
	background: rgba(255, 255, 255, .1);
}

.azka-hub-due__date {
	display: grid;
	align-content: center;
	justify-items: center;
	width: 52px;
	height: 54px;
	background: #fff;
	color: var(--ink);
	line-height: 1;
}

.azka-hub-due__date strong {
	font: 200 26px/1 var(--display);
	letter-spacing: -.03em;
}

.azka-hub-due__date span {
	margin-top: 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.azka-hub-due.is-danger .azka-hub-due__date {
	background: var(--coral);
	color: #fff;
}

.azka-hub-due.is-warning .azka-hub-due__date {
	background: var(--sun);
}

.azka-hub-due__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	color: var(--tone);
}

.azka-hub-due__icon .azka-hub-icon {
	width: 18px;
	height: 18px;
}

.azka-hub-due__what {
	min-width: 0;
}

.azka-hub-due__what strong {
	display: block;
	font-size: 15.5px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.azka-hub-due__what small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, .65);
	font-size: 13px;
	line-height: 1.4;
}

.azka-hub-due__when {
	padding: 5px 9px;
	background: rgba(31, 207, 176, .18);
	color: #8af2df;
	font: 700 11px/1.2 var(--text);
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.azka-hub-due.is-warning .azka-hub-due__when {
	background: rgba(255, 199, 67, .2);
	color: #ffd978;
}

.azka-hub-due.is-danger .azka-hub-due__when {
	background: rgba(255, 123, 87, .28);
	color: #ffb9a6;
}

.azka-hub-due__actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.azka-hub-app .azka-hub-due__sheet,
.azka-hub-app .azka-hub-due__talk {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 11px;
	color: rgba(255, 255, 255, .85);
	font: 700 11px/1 var(--text);
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}

.azka-hub-app .azka-hub-due__sheet:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.azka-hub-app .azka-hub-due__talk {
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	color: #fff;
}

.azka-hub-app .azka-hub-due__talk:hover {
	background: var(--brand);
	box-shadow: 4px 4px 0 #fff;
	color: var(--ink);
	transform: translate(-2px, -2px);
}

.azka-hub-due__talk .azka-hub-icon {
	width: 14px;
	height: 14px;
}

/* Sheets: one line per site (name, next renewal, points to watch), the services folded under it. */
/* With the script, a line opens the full sheet in a window: the chevron points to it. */
html.azka-hub-locked {
	overflow: hidden;
}

.azka-hub-sheets__list.is-popup .azka-hub-sheet__chevron {
	transform: rotate(-90deg);
}

.azka-hub-sheets__list.is-popup .azka-hub-sheet:hover .azka-hub-sheet__chevron {
	background: var(--ink);
	box-shadow: none;
	color: #fff;
}

.azka-hub-sheet-modal {
	width: min(780px, calc(100% - 32px));
}

.azka-hub-sheet-modal__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 12px 0 0;
	color: var(--ink-soft);
	font-size: 14px;
}

.azka-hub-sheet-modal__meta .azka-hub-icon {
	width: 15px;
	height: 15px;
}

/* A long sheet scrolls inside the window; its head never shrinks. */
.azka-hub-sheet-modal .azka-hub-modal__head {
	flex: none;
}

.azka-hub-sheet-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	padding-bottom: 26px;
}

.azka-hub-sheet-modal .azka-hub-sheet__body {
	padding: 0;
	animation: none;
}

.azka-hub-sheets__section .azka-hub-section-head {
	align-items: center;
}

.azka-hub-app .azka-hub-sheets__section h3 .azka-hub-count {
	align-self: center;
	margin-left: .3em;
	background: var(--ink);
	color: #fff;
	font-size: 12px;
	line-height: 22px;
	min-width: 22px;
}

/* A text button: spaced capitals on a turquoise line. */
.azka-hub-app .azka-hub-link-button {
	padding: 4px 0;
	background: none;
	color: var(--ink);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: inset 0 -1.5px 0 var(--cyan);
}

.azka-hub-app .azka-hub-link-button:hover {
	box-shadow: inset 0 -1.5px 0 var(--ink);
	transform: none;
}

.azka-hub-sheets__list {
	display: grid;
}

.azka-hub-sheet {
	position: relative;
	scroll-margin-top: 110px;
	border-bottom: 1px solid var(--line);
	animation: azka-hub-rise .6s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.2s + var(--i, 0) * 60ms);
	transition: background-color .25s, box-shadow .3s;
}

/* On hover and once open, the turquoise bar of the site. */
.azka-hub-sheet::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: 0;
	z-index: 1;
	width: 0;
	background: linear-gradient(180deg, var(--cyan), var(--teal));
	transition: width .3s cubic-bezier(.2, .8, .2, 1);
}

.azka-hub-sheet:hover,
.azka-hub-sheet[open] {
	background: var(--surface);
}

.azka-hub-sheet:hover::before,
.azka-hub-sheet[open]::before {
	width: 5px;
}

.azka-hub-sheet.is-target,
.azka-hub-sheet:target {
	box-shadow: 0 0 0 2px var(--teal), var(--lift);
}

.azka-hub-sheets__cols {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(170px, auto) 34px;
	gap: 18px;
	padding: 14px 18px 10px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font: 700 10.5px/1 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.azka-hub-sheets__cols span:last-child {
	grid-column: 3 / 5;
	text-align: right;
	padding-right: 52px;
}

.azka-hub-sheet__head {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(170px, auto) 34px;
	align-items: center;
	gap: 10px 18px;
	padding: 16px 18px;
	list-style: none;
	cursor: pointer;
}

.azka-hub-sheet__head::-webkit-details-marker {
	display: none;
}

.azka-hub-sheet__head:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: -3px;
}

.azka-hub-sheet__name {
	min-width: 0;
}

.azka-hub-sheet__name strong {
	display: block;
	font-family: var(--display);
	font-size: 18px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.azka-hub-sheet__name small {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 14px;
}

/* The state of the site in two short lines, as text: no coloured boxes. */
.azka-hub-sheet__status {
	display: grid;
	justify-items: end;
	gap: 5px;
	text-align: right;
}

.azka-hub-sheet__alerts,
.azka-hub-sheet__ok {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font: 700 11.5px/1.2 var(--text);
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.azka-hub-sheet__alerts {
	color: #c2421b;
}

.azka-hub-sheet__alerts.is-warning {
	color: #9a6a00;
}

.azka-hub-sheet__quiet {
	color: var(--muted);
	font-size: 13px;
}

.azka-hub-sheet__ok {
	color: #0b8f78;
}

.azka-hub-sheet__status .azka-hub-icon {
	width: 15px;
	height: 15px;
}

.azka-hub-sheet__next {
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr);
	align-items: baseline;
	gap: 2px 10px;
	min-width: 0;
	color: var(--ink-soft);
}

.azka-hub-sheet__next::before {
	content: "";
	grid-row: span 2;
	align-self: center;
	width: 8px;
	height: 8px;
	background: var(--teal);
}

.azka-hub-sheet__next strong {
	font-size: 14px;
	line-height: 1.3;
}

.azka-hub-sheet__next small {
	grid-column: 2;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.35;
}

.azka-hub-sheet__next.is-none::before {
	background: var(--line);
}

.azka-hub-sheet__next.is-danger small {
	color: #c2421b;
}

.azka-hub-sheet__next.is-warning::before {
	background: var(--sun);
}

.azka-hub-sheet__next.is-danger::before {
	background: var(--coral);
}

.azka-hub-sheet__chevron {
	width: 34px;
	height: 34px;
	padding: 7px;
	box-shadow: inset 0 0 0 1.5px var(--line);
	color: var(--ink-soft);
	transition: transform .3s cubic-bezier(.3, 1.3, .5, 1), background-color .2s, color .2s;
}

.azka-hub-sheet[open] .azka-hub-sheet__chevron {
	background: var(--ink);
	box-shadow: none;
	color: #fff;
	transform: rotate(180deg);
}

/* Lined up under the name of the site. */
.azka-hub-sheet__body {
	display: grid;
	gap: 22px;
	padding: 4px 18px 22px;
}

.azka-hub-sheet[open] .azka-hub-sheet__body {
	animation: azka-hub-rise .4s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-sheet__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
}

.azka-hub-app .azka-hub-sheet__url {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-sheet__url:hover {
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 5px;
}

.azka-hub-sheet__url .azka-hub-icon {
	width: 14px;
	height: 14px;
}

.azka-hub-app .azka-hub-sheet__foot .azka-hub-button {
	padding: 12px 16px;
}

/* Services: one line each, in columns that read across. */
.azka-hub-app .azka-hub-services {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 15px;
	line-height: 1.4;
}

.azka-hub-app .azka-hub-services th,
.azka-hub-app .azka-hub-services td {
	padding: 14px 18px 14px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	text-align: left;
	vertical-align: top;
}

.azka-hub-app .azka-hub-services tbody tr:last-child > * {
	border-bottom: 0;
}

.azka-hub-app .azka-hub-services thead th {
	padding-top: 0;
	padding-bottom: 10px;
	border-bottom: 1.5px solid var(--ink);
	color: var(--muted);
	font: 700 10.5px/1.2 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.azka-hub-app .azka-hub-services thead th:nth-child(1) {
	width: 23%;
}

.azka-hub-app .azka-hub-services thead th:nth-child(2) {
	width: 24%;
}

.azka-hub-app .azka-hub-services thead th:nth-child(4) {
	width: 25%;
}

.azka-hub-app .azka-hub-services th.azka-hub-service__name {
	color: var(--ink-soft);
	font-weight: 600;
}

.azka-hub-service__name .azka-hub-icon {
	width: 16px;
	height: 16px;
	margin: -2px 10px 0 0;
	color: var(--cyan);
	vertical-align: middle;
}

.azka-hub-app .azka-hub-services .azka-hub-service__provider {
	font-family: var(--display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.azka-hub-app .azka-hub-services .azka-hub-service__provider.is-unknown {
	color: var(--muted);
	font-family: var(--text);
	font-size: 15px;
	font-weight: 500;
}

.azka-hub-app .azka-hub-services .azka-hub-service__holder {
	color: var(--ink-soft);
	overflow-wrap: anywhere;
}

.azka-hub-service__cap {
	display: none;
}

.azka-hub-app .azka-hub-services .is-empty {
	color: var(--muted);
}

/* The date, then how long until it: in colour only when it is close. */
.azka-hub-service__date time {
	display: block;
	font-weight: 600;
}

.azka-hub-service__date small {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 2px;
	color: var(--muted);
	font-size: 13px;
}

.azka-hub-service__date small::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--teal);
}

.azka-hub-service__date.is-warning small {
	color: #7a5300;
	font-weight: 700;
}

.azka-hub-service__date.is-warning small::before {
	background: var(--sun);
}

.azka-hub-service__date.is-danger small {
	color: #b23a16;
	font-weight: 700;
}

.azka-hub-service__date.is-danger small::before {
	background: var(--coral);
}

/* Points to watch: a level, a title, the explanation. On hairlines, without backgrounds. */
.azka-hub-risks {
	display: grid;
	margin: 0;
	padding: 0;
	border-top: 1.5px solid var(--ink);
	list-style: none;
}

.azka-hub-risks li {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 6px 18px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.azka-hub-risks__level {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font: 700 10.5px/1.2 var(--text);
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.azka-hub-risks__level::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--cyan);
}

.azka-hub-risks .is-danger .azka-hub-risks__level {
	color: #b23a16;
}

.azka-hub-risks .is-danger .azka-hub-risks__level::before {
	background: var(--coral);
}

.azka-hub-risks .is-warning .azka-hub-risks__level {
	color: #7a5300;
}

.azka-hub-risks .is-warning .azka-hub-risks__level::before {
	background: var(--sun);
}

.azka-hub-risks .is-todo .azka-hub-risks__level::before {
	background: none;
	box-shadow: inset 0 0 0 1.5px var(--muted);
}

.azka-hub-risks__text {
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.55;
}

.azka-hub-risks__text strong {
	display: block;
	margin-bottom: 2px;
	color: var(--ink);
	font-size: 15.5px;
	line-height: 1.35;
}

.azka-hub-risks__ok {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 0;
	border-top: 1.5px solid var(--ink);
	border-bottom: 1px solid var(--line);
	color: #0b6b5a;
	font-weight: 600;
}

.azka-hub-risks__ok .azka-hub-icon {
	width: 18px;
	height: 18px;
	color: var(--teal);
}

/* "En parler": a quiet text link, the same on every line. */
.azka-hub-app .azka-hub-risks__talk {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	background: none;
	color: var(--muted);
	font: 700 10.5px/1 var(--text);
	letter-spacing: .13em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .2s, box-shadow .2s;
}

.azka-hub-app .azka-hub-risks__talk:hover,
.azka-hub-app .azka-hub-risks__talk:focus-visible {
	box-shadow: inset 0 -1.5px 0 var(--cyan);
	color: var(--ink);
	transform: none;
}

.azka-hub-risks__talk .azka-hub-icon {
	width: 13px;
	height: 13px;
}

.azka-hub-sheets__foot {
	margin: 30px 0 0;
	color: var(--muted);
	text-align: center;
}

.azka-hub-app .azka-hub-sheets__foot .azka-hub-link-button {
	display: inline;
	padding: 0;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

/* "Écrire à AZKA": the message dialog ------------------------------- */

.azka-hub-contact__about {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 18px;
	padding: 12px 14px;
	border-left: 3px solid var(--sun);
	background: #fff3d1;
	color: #644300;
	font-size: 14px;
	line-height: 1.5;
}

.azka-hub-contact__about .azka-hub-icon {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: #b07800;
}

.azka-hub-contact__about strong {
	margin-right: 4px;
}

.azka-hub-detail .azka-hub-contact__about {
	margin: 0 0 14px;
}

.azka-hub-contact__files {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
}

.azka-hub-contact__files .azka-hub-reply__files {
	padding: 0;
}

.azka-hub-app .azka-hub-contact__attach {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	outline: 1.5px dashed var(--field);
	outline-offset: -1.5px;
	color: var(--ink-soft);
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s, outline-color .2s;
}

.azka-hub-app .azka-hub-contact__attach:hover,
.azka-hub-contact .is-dragover .azka-hub-contact__attach {
	background: rgba(18, 181, 229, .08);
	outline-color: var(--cyan);
}

.azka-hub-contact__attach:focus-within {
	outline: 3px solid var(--cyan);
}

.azka-hub-contact__attach input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.azka-hub-contact__attach > .azka-hub-icon {
	width: 38px;
	height: 38px;
	padding: 9px;
	background: var(--brand);
	color: var(--ink);
}

.azka-hub-contact__attach small {
	display: block;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 500;
}

.azka-hub-app .azka-hub-contact .azka-hub-reply__file button {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	padding: 0;
	background: rgba(13, 27, 42, .82);
	color: #fff;
}

.azka-hub-contact__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.5;
}

.azka-hub-contact__note .azka-hub-icon {
	margin-top: 2px;
}

.azka-hub-contact .is-busy button[type="submit"] {
	opacity: .6;
	pointer-events: none;
}

.azka-hub-rcard__noshot.is-message {
	background: var(--stripes);
	color: var(--ink);
}

/* Invoices list ------------------------------------------------------ */

.azka-hub-invoices__stats {
	grid-template-columns: repeat(2, minmax(0, 300px));
}

.azka-hub-invoices__stats small {
	color: var(--muted);
	font-size: 13px;
}

.azka-hub-invoices__stats li.is-ok::before {
	background: var(--teal);
}

.azka-hub-invoices__stats li.is-due::before {
	background: var(--sun);
}

.azka-hub-invoices__stats li.is-late::before {
	background: var(--coral);
}

.azka-hub-invoices__stats li.is-late strong {
	color: #e2532d;
}

.azka-hub-invoices__year {
	margin-top: 34px;
}

/* The year in thin numerals, on a black rule. */
.azka-hub-app .azka-hub-invoices__year h3 {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	font: 200 34px/1 var(--display);
	letter-spacing: -.03em;
}

.azka-hub-invoice-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.azka-hub-invoice {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) 160px 130px 128px auto;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	animation: azka-hub-rise .45s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.1s + var(--i, 0) * 35ms);
	transition: background-color .25s;
}

.azka-hub-invoice::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: 0;
	width: 0;
	background: linear-gradient(180deg, var(--cyan), var(--teal));
	transition: width .3s cubic-bezier(.2, .8, .2, 1);
}

.azka-hub-invoice:hover {
	background: rgba(255, 255, 255, .75);
}

.azka-hub-invoice:hover::before {
	width: 5px;
}

.azka-hub-invoice__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	box-shadow: inset 0 0 0 1.5px var(--line);
	color: var(--ink-soft);
}

.azka-hub-invoice.is-ok .azka-hub-invoice__icon {
	box-shadow: inset 0 0 0 1.5px var(--teal);
	color: #0b8f78;
}

.azka-hub-invoice.is-warning .azka-hub-invoice__icon {
	box-shadow: inset 0 0 0 1.5px var(--sun);
	color: #a15c00;
}

.azka-hub-invoice.is-danger .azka-hub-invoice__icon {
	background: var(--coral);
	box-shadow: none;
	color: #fff;
}

.azka-hub-invoice__main {
	min-width: 0;
}

.azka-hub-invoice__main strong {
	display: block;
	font-family: var(--display);
	font-size: 17px;
}

.azka-hub-invoice__main small {
	display: block;
	overflow: hidden;
	color: var(--muted);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azka-hub-invoice__due {
	color: var(--muted);
	font-size: 13px;
	text-align: right;
	white-space: nowrap;
}

.azka-hub-invoice.is-danger .azka-hub-invoice__due {
	color: #9a3515;
	font-weight: 700;
}

.azka-hub-invoice__amount {
	font: 300 22px/1.1 var(--display);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
	text-align: right;
	white-space: nowrap;
}

.azka-hub-invoice__amount small {
	display: block;
	color: var(--muted);
	font-family: var(--text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.azka-hub-invoice__state {
	justify-self: start;
	padding: 5px 9px;
	background: rgba(13, 27, 42, .06);
	color: var(--ink-soft);
	font: 700 10.5px/1.2 var(--text);
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.azka-hub-invoice.is-ok .azka-hub-invoice__state {
	background: #e3f6e8;
	color: #137333;
}

.azka-hub-invoice.is-warning .azka-hub-invoice__state {
	background: #fff4e0;
	color: #a15c00;
}

.azka-hub-invoice.is-danger .azka-hub-invoice__state {
	background: #ffe8e0;
	color: #b3261e;
}

.azka-hub-app .azka-hub-invoice__pdf {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 13px;
	background: var(--ink);
	color: #fff;
	font: 700 11px/1 var(--text);
	letter-spacing: .13em;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s;
}

.azka-hub-app .azka-hub-invoice__pdf:hover {
	box-shadow: 4px 4px 0 var(--teal);
	transform: translate(-2px, -2px);
}

/* Before the script runs (or without it), the server's filter applies. */
.azka-hub-invoices:not(.is-live)[data-filter="a_regler"] .azka-hub-invoice[data-group="reglees"],
.azka-hub-invoices:not(.is-live)[data-filter="reglees"] .azka-hub-invoice[data-group="a_regler"] {
	display: none;
}

/* Utilities --------------------------------------------------------- */

.azka-hub-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.azka-hub-app [hidden],
.azka-hub-drawer [hidden] {
	display: none !important;
}

html.azka-hub-noscroll {
	overflow: hidden;
}

/* Mes retours: filters, search ------------------------------------- */

.azka-hub-search {
	position: relative;
	flex: 0 1 320px;
	margin: 0;
}

.azka-hub-search .azka-hub-icon {
	position: absolute;
	top: 50%;
	left: 16px;
	color: var(--muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.azka-hub-app .azka-hub-search input {
	padding: 13px 16px 13px 44px;
	font-size: 15px;
}

.azka-hub-reports__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 26px;
}

/* Filters as tabs: a black block with the turquoise line, as the menu. */
.azka-hub-segment {
	position: relative;
	display: inline-flex;
	padding: 3px;
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
}

.azka-hub-segment a {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 15px;
	color: var(--ink-soft);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .13em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .3s;
}

.azka-hub-segment a.is-current,
.azka-hub-segment.is-live::before {
	background: linear-gradient(var(--teal), var(--teal)) bottom / 100% 3px no-repeat, var(--ink);
}

.azka-hub-segment a.is-current {
	color: #fff;
}

/* With the script, one black block slides under the current filter. */
.azka-hub-segment.is-live a.is-current {
	background: none;
}

.azka-hub-segment.is-live::before {
	content: "";
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 0;
	width: var(--thumb-w, 0);
	transform: translateX(var(--thumb-x, 0));
}

.azka-hub-segment.is-ready::before {
	transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1);
}

.azka-hub-segment__count {
	min-width: 20px;
	padding: 0 6px;
	background: rgba(13, 27, 42, .08);
	font-size: 11px;
	letter-spacing: 0;
	line-height: 20px;
	text-align: center;
	transition: background-color .3s;
}

.azka-hub-segment a.is-current .azka-hub-segment__count {
	background: rgba(255, 255, 255, .2);
}

.azka-hub-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.azka-hub-app .azka-hub-chips button {
	padding: 9px 14px;
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--line);
	color: var(--ink-soft);
	font-size: 13.5px;
}

.azka-hub-app .azka-hub-chips button:hover {
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	transform: none;
}

.azka-hub-app .azka-hub-chips button.is-current {
	background: rgba(18, 181, 229, .14);
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	color: var(--ink);
}

/* Before the script runs (or without it), the server's filter applies. */
.azka-hub-reports:not(.is-live)[data-filter="a_traiter"] .azka-hub-rcard[data-group="termines"],
.azka-hub-reports:not(.is-live)[data-filter="termines"] .azka-hub-rcard[data-group="a_traiter"] {
	display: none;
}

/* Report cards ------------------------------------------------------ */

.azka-hub-rgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.azka-hub-rcard {
	--accent: #3b82f6;
	view-transition-class: azka-hub-card;
	animation: azka-hub-pop .6s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(var(--i, 0) * 45ms);
}

.azka-hub-rcard.is-en_cours {
	--accent: var(--sun);
}

.azka-hub-rcard.is-resolu {
	--accent: var(--teal);
}

.azka-hub-rcard.is-ferme {
	--accent: #b9c0c8;
}

/* A sheet on hairlines; lifted on hover, with the turquoise shadow. */
.azka-hub-rcard__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	text-decoration: none;
	transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s;
}

.azka-hub-rcard__link::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 2;
	height: 4px;
	background: var(--accent);
}

.azka-hub-rcard__link:hover,
.azka-hub-rcard__link:focus-visible {
	transform: translate(-4px, -4px);
	box-shadow: 0 0 0 1px var(--ink), 8px 8px 0 var(--teal);
}

.azka-hub-rcard__shot {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background: repeating-linear-gradient(128deg, transparent 0 14px, rgba(13, 27, 42, .035) 14px 15px), #eef2f3;
}

.azka-hub-rcard__shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.azka-hub-rcard__link:hover .azka-hub-rcard__shot img {
	transform: scale(1.05);
}

.azka-hub-rcard__noshot {
	display: grid;
	place-items: center;
	height: 100%;
	color: rgba(13, 27, 42, .22);
}

.azka-hub-rcard__noshot .azka-hub-icon {
	width: 46px;
	height: 46px;
}

.azka-hub-rcard__shot .azka-hub-badge {
	position: absolute;
	top: 14px;
	left: 12px;
}

.azka-hub-rcard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 15px 18px 16px;
}

.azka-hub-rcard__num {
	overflow: hidden;
	color: var(--muted);
	font: 700 10.5px/1.3 var(--text);
	letter-spacing: .12em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.azka-hub-rcard__title {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--display);
	font-size: 18px;
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.azka-hub-rcard__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 10px;
	color: var(--muted);
	font-size: 13px;
}

.azka-hub-rcard__messages {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	color: var(--ink);
	font-weight: 700;
}

.azka-hub-rcard__messages .azka-hub-icon {
	width: 14px;
	height: 14px;
}

.azka-hub-reports__empty {
	display: grid;
	justify-items: center;
	gap: 14px;
	margin-top: 4px;
	padding: 56px 24px;
	border: 1.5px dashed var(--field);
	color: var(--ink-soft);
	font-weight: 600;
	text-align: center;
	animation: azka-hub-rise .5s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-reports__empty p {
	margin: 0;
}

.azka-hub-reports__empty-art {
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	background: var(--stripes);
	animation: azka-hub-float 4s ease-in-out infinite;
}

.azka-hub-reports__empty-art .azka-hub-icon {
	width: 30px;
	height: 30px;
}

/* Side panel -------------------------------------------------------- */

/* A sheet slid over the page, edged with the turquoise bar of the site. */
.azka-hub-drawer {
	--from: translateX(105%);
	position: fixed;
	inset: 0 0 0 auto;
	width: min(800px, 94vw);
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: linear-gradient(180deg, var(--cyan), var(--teal)) left / 5px 100% no-repeat, var(--paper);
	color: var(--ink);
	font: 16px/1.6 var(--text);
	box-shadow: -30px 0 80px -40px rgba(13, 27, 42, .6);
	animation: azka-hub-drawer-in .55s cubic-bezier(.2, .9, .2, 1) both;
}

.azka-hub-drawer[open] {
	display: flex;
	flex-direction: column;
}

.azka-hub-drawer::backdrop {
	background: rgba(13, 27, 42, .4);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: azka-hub-fade .4s ease both;
}

.azka-hub-drawer.is-closing {
	animation: azka-hub-drawer-out .34s cubic-bezier(.5, 0, .75, 0) both;
}

.azka-hub-drawer.is-closing::backdrop {
	animation: azka-hub-fade-out .34s ease both;
}

.azka-hub-drawer__bar {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.azka-hub-drawer__bar a,
.azka-hub-drawer .azka-hub-drawer__bar button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
	color: var(--ink);
	cursor: pointer;
	transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s;
}

.azka-hub-drawer__bar a:hover,
.azka-hub-drawer .azka-hub-drawer__bar button:hover {
	box-shadow: 0 0 0 1px var(--ink), 4px 4px 0 var(--teal);
	transform: translate(-2px, -2px);
}

.azka-hub-drawer .azka-hub-drawer__close:hover .azka-hub-icon {
	transform: rotate(90deg);
}

.azka-hub-drawer__bar .azka-hub-icon {
	width: 20px;
	height: 20px;
	transition: transform .3s;
}

.azka-hub-drawer__body {
	flex: 1;
	padding: 34px 40px 28px 44px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.azka-hub-drawer .azka-hub-detail__back {
	display: none;
}

.azka-hub-drawer .azka-hub-detail__head {
	padding-right: 110px;
}

.azka-hub-drawer .azka-hub-toast {
	position: absolute;
	top: 20px;
}

/* While the report loads: its title and capture, already. */
.azka-hub-skeleton {
	padding-right: 110px;
}

.azka-hub-skeleton h2 {
	margin: 14px 0;
	font-size: clamp(28px, 3.6vw, 40px);
}

.azka-hub-skeleton__line,
.azka-hub-skeleton__shot {
	background: linear-gradient(90deg, rgba(13, 27, 42, .06) 20%, rgba(13, 27, 42, .13) 40%, rgba(13, 27, 42, .06) 60%);
	background-size: 300% 100%;
	animation: azka-hub-shimmer 1.3s linear infinite;
}

.azka-hub-skeleton__line {
	height: 14px;
	margin: 0 0 12px;
}

.azka-hub-skeleton__line.is-short {
	width: 30%;
}

.azka-hub-skeleton__line.is-mid {
	width: 65%;
}

.azka-hub-skeleton__shot {
	aspect-ratio: 16 / 10;
	margin: 26px -110px 24px 0;
	overflow: hidden;
}

.azka-hub-skeleton__shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	opacity: .5;
	filter: blur(3px);
}

/* Report detail ----------------------------------------------------- */

.azka-hub-detail {
	animation: azka-hub-rise .45s cubic-bezier(.2, .8, .2, 1) both;
}

/* On a page of its own (link from an email), on a white sheet. */
.azka-hub-app .azka-hub-portal > .azka-hub-detail {
	max-width: 880px;
	margin: 0 auto;
	padding: 36px 40px 36px 44px;
	background: linear-gradient(180deg, var(--cyan), var(--teal)) left / 5px 100% no-repeat, var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.azka-hub-detail__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	color: var(--muted);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
}

.azka-hub-detail__back:hover {
	color: var(--ink);
}

.azka-hub-detail__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--muted);
	font: 700 11px/1.3 var(--text);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.azka-hub-detail__num {
	padding: 5px 9px;
	background: var(--ink);
	color: #fff;
	font: 700 13px/1 var(--display);
	letter-spacing: .02em;
}

.azka-hub-app .azka-hub-detail h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.03em;
}

.azka-hub-detail__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.azka-hub-detail__page {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	box-shadow: inset 0 0 0 1.5px var(--cyan);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s;
}

.azka-hub-detail__page:hover {
	background: rgba(18, 181, 229, .14);
}

.azka-hub-detail__page .azka-hub-icon {
	width: 15px;
	height: 15px;
}

/* Progress: Reçu → En cours → Résolu */

.azka-hub-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 28px 0;
	padding: 20px 8px 16px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	list-style: none;
}

.azka-hub-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font: 700 10.5px/1.2 var(--text);
	letter-spacing: .14em;
	text-align: center;
	text-transform: uppercase;
}

.azka-hub-steps li + li::before {
	content: "";
	position: absolute;
	top: 14px;
	right: calc(50% + 22px);
	left: calc(-50% + 22px);
	height: 3px;
	background: rgba(13, 27, 42, .1);
}

.azka-hub-steps li.is-done + li::before,
.azka-hub-steps li.is-done + li.is-current::before {
	background: var(--brand);
	transform-origin: left;
	animation: azka-hub-fill .6s .25s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-steps__dot {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	background: var(--surface);
	box-shadow: inset 0 0 0 2px rgba(13, 27, 42, .14);
	color: transparent;
}

.azka-hub-steps__dot .azka-hub-icon {
	width: 16px;
	height: 16px;
}

.azka-hub-steps .is-done .azka-hub-steps__dot {
	background: var(--brand);
	box-shadow: none;
	color: var(--ink);
}

.azka-hub-steps .is-current {
	color: var(--ink);
}

.azka-hub-steps .is-current:not(.is-done) .azka-hub-steps__dot {
	background: var(--ink);
	box-shadow: none;
	animation: azka-hub-pulse 2s ease-out infinite;
}

.azka-hub-steps .is-current:not(.is-done) .azka-hub-steps__dot .azka-hub-icon {
	display: none;
}

.azka-hub-steps .is-current:not(.is-done) .azka-hub-steps__dot::after {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--teal);
}

/* Capture */

.azka-hub-detail__shot {
	margin: 0 0 22px;
}

.azka-hub-detail__shot a {
	position: relative;
	display: block;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--line);
	cursor: zoom-in;
	transition: box-shadow .25s;
}

.azka-hub-detail__shot a:hover {
	box-shadow: 0 0 0 1px var(--ink), 6px 6px 0 var(--teal);
}

.azka-hub-detail__shot img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.azka-hub-detail__shot a:hover img {
	transform: scale(1.015);
}

.azka-hub-detail__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	background: var(--ink);
	color: #fff;
	font: 700 11px/1 var(--text);
	letter-spacing: .13em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .25s, transform .25s;
}

.azka-hub-detail__shot a:hover .azka-hub-detail__zoom,
.azka-hub-detail__shot a:focus-visible .azka-hub-detail__zoom {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.azka-hub-detail__zoom {
		opacity: 1;
		transform: none;
	}
}

.azka-hub-detail__desc {
	margin: 0 0 32px;
	padding: 18px 22px;
	border-left: 3px solid var(--cyan);
	background: rgba(18, 181, 229, .09);
	font-size: 16px;
}

.azka-hub-detail__desc p {
	margin: 0 0 8px;
}

.azka-hub-detail__desc p:last-child {
	margin: 0;
}

/* Conversation */

.azka-hub-app .azka-hub-thread h3 {
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font: 700 11.5px/1 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.azka-hub-thread__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.azka-hub-msg {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	max-width: 86%;
	animation: azka-hub-pop .5s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.1s + var(--i, 0) * 45ms);
}

.azka-hub-msg .azka-hub-avatar {
	width: 32px;
	height: 32px;
	font-size: 11.5px;
}

.azka-hub-msg.is-team .azka-hub-avatar {
	background: var(--ink);
	color: #fff;
}

.azka-hub-msg__bubble {
	min-width: 0;
	padding: 12px 16px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.azka-hub-msg.is-mine {
	flex-direction: row-reverse;
	align-self: flex-end;
}

.azka-hub-msg.is-mine .azka-hub-msg__bubble {
	background: linear-gradient(135deg, rgba(18, 181, 229, .18), rgba(31, 207, 176, .24));
	box-shadow: none;
}

.azka-hub-msg__who {
	margin: 0 0 3px;
	color: var(--muted);
	font-size: 12.5px;
}

.azka-hub-msg__who strong {
	color: var(--ink);
}

.azka-hub-msg__text p {
	margin: 0 0 6px;
	overflow-wrap: anywhere;
}

.azka-hub-msg__text p:last-child {
	margin: 0;
}

.azka-hub-event {
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 8px;
	padding: 6px 12px;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 600;
	text-align: center;
	animation: azka-hub-rise .45s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.1s + var(--i, 0) * 45ms);
}

.azka-hub-event .azka-hub-icon {
	width: 14px;
	height: 14px;
}

.azka-hub-thread__list > .is-new {
	animation: azka-hub-pop .6s cubic-bezier(.3, 1.4, .5, 1) both;
}

/* Composer: stays at the bottom of the panel. */

.azka-hub-reply {
	position: sticky;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
	padding: 8px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 0 0 1.5px var(--field);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: box-shadow .2s;
}

.azka-hub-reply:focus-within {
	box-shadow: 0 0 0 1.5px var(--cyan), 6px 6px 0 rgba(31, 207, 176, .45);
}

.azka-hub-app .azka-hub-reply textarea,
.azka-hub-drawer .azka-hub-reply textarea {
	flex: 1;
	min-height: 46px;
	max-height: 40vh;
	padding: 11px 12px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	resize: none;
	field-sizing: content;
}

.azka-hub-app .azka-hub-reply textarea:focus,
.azka-hub-drawer .azka-hub-reply textarea:focus {
	outline: none;
	box-shadow: none;
}

.azka-hub-app .azka-hub-reply button,
.azka-hub-drawer .azka-hub-reply button {
	flex: none;
	padding: 15px 18px;
}

.azka-hub-reply.is-busy button {
	opacity: .55;
	pointer-events: none;
}

.azka-hub-reply.is-dragover {
	background: rgba(232, 248, 252, .96);
	box-shadow: 0 0 0 2px var(--cyan), 6px 6px 0 rgba(31, 207, 176, .45);
}

/* Images: button, previews before sending */

.azka-hub-reply .azka-hub-reply__attach {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0;
	color: var(--ink-soft);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.azka-hub-reply .azka-hub-reply__attach:hover {
	background: rgba(18, 181, 229, .13);
	color: var(--ink);
}

.azka-hub-reply .azka-hub-reply__attach:focus-within {
	outline: 3px solid var(--cyan);
	outline-offset: 2px;
}

.azka-hub-reply.has-files .azka-hub-reply__attach {
	color: #0b8fb6;
}

.azka-hub-reply__attach input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.azka-hub-reply__attach .azka-hub-icon {
	width: 22px;
	height: 22px;
}

.azka-hub-reply__files {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	gap: 8px;
	padding: 4px 4px 0;
}

.azka-hub-reply__file {
	position: relative;
	width: 70px;
	height: 70px;
	margin: 0;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--line);
	animation: azka-hub-pop .4s cubic-bezier(.3, 1.4, .5, 1) both;
}

.azka-hub-reply__file img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.azka-hub-app .azka-hub-reply .azka-hub-reply__file button,
.azka-hub-drawer .azka-hub-reply .azka-hub-reply__file button {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	padding: 0;
	background: rgba(13, 27, 42, .82);
	color: #fff;
}

.azka-hub-reply__file button .azka-hub-icon {
	width: 12px;
	height: 12px;
}

/* Images in the conversation */

.azka-hub-msg__images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	width: min(340px, 100%);
	margin-top: 8px;
}

.azka-hub-msg__text + .azka-hub-msg__images {
	margin-top: 10px;
}

.azka-hub-msg__who + .azka-hub-msg__images {
	margin-top: 6px;
}

.azka-hub-msg__images.is-1 {
	grid-template-columns: 1fr;
	width: min(300px, 100%);
}

.azka-hub-msg__images.is-3 a:first-child {
	grid-column: span 2;
}

.azka-hub-msg__images a {
	display: block;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--line);
	cursor: zoom-in;
}

.azka-hub-msg__images img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.azka-hub-msg__images.is-1 img {
	aspect-ratio: auto;
	max-height: 320px;
}

.azka-hub-msg__images a:hover img {
	transform: scale(1.04);
}

.azka-hub-msg__purged {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 12.5px;
	font-style: italic;
}

.azka-hub-detail__error {
	margin: 0 0 12px;
}

.azka-hub-reopen {
	margin-top: 22px;
	padding: 14px 18px;
	border-left: 3px solid var(--coral);
	background: #fff4ee;
}

.azka-hub-reopen summary {
	color: #8f2d14;
	font-weight: 700;
	cursor: pointer;
}

.azka-hub-reopen form {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.azka-hub-reopen label {
	margin: 0;
}

.azka-hub-reopen button {
	justify-self: start;
}

/* Lightbox ---------------------------------------------------------- */

.azka-hub-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(8, 14, 22, .93);
}

.azka-hub-lightbox[open] {
	display: grid;
	place-items: center;
	overflow: auto;
	animation: azka-hub-fade .25s ease both;
}

.azka-hub-lightbox::backdrop {
	background: transparent;
}

.azka-hub-lightbox img {
	display: block;
	max-width: 94vw;
	max-height: 90vh;
	box-shadow: 10px 10px 0 var(--teal);
	cursor: zoom-in;
	animation: azka-hub-zoom .4s cubic-bezier(.2, .9, .3, 1.15) both;
}

.azka-hub-lightbox.is-zoomed {
	place-items: start;
}

.azka-hub-lightbox.is-zoomed img {
	max-width: none;
	max-height: none;
	box-shadow: none;
	cursor: zoom-out;
}

.azka-hub-lightbox__close {
	position: fixed;
	top: 18px;
	right: 18px;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	cursor: pointer;
}

.azka-hub-lightbox__close .azka-hub-icon {
	width: 22px;
	height: 22px;
}

/* Login ------------------------------------------------------------- */

/* A panel of the site down the right of the screen, the form on a white sheet. */
.azka-hub-app--guest {
	background-color: var(--paper);
	background-image: var(--stripes);
	background-position: right top;
	background-repeat: no-repeat;
	background-size: 30vw 100%;
}

/* No bar over the panel: the brand alone. */
.azka-hub-app--guest .azka-hub-app__header {
	border-bottom: 0;
}

.azka-hub-app--guest .azka-hub-app__header::before {
	display: none;
}

.azka-hub-app--guest .azka-hub-app__main {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 9vh;
}

.azka-hub-app .azka-hub-portal--login {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 40px 36px 32px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line), 10px 10px 0 var(--teal);
	animation: azka-hub-rise .6s cubic-bezier(.2, .8, .2, 1) both;
}

.azka-hub-portal--login::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--brand);
}

.azka-hub-app--guest .azka-hub-portal > p:first-child {
	margin-top: 0;
	font-family: var(--display);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.03em;
}

.azka-hub-app #loginform p {
	margin: 0 0 16px;
}

.azka-hub-app #loginform .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.azka-hub-app #loginform .login-submit input {
	width: 100%;
}

/* Badges: small square tags in spaced capitals. */

.azka-hub-app .azka-hub-badge {
	padding: 4px 8px;
	border-radius: 0;
	font: 700 10.5px/1.3 var(--text);
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* Motion ------------------------------------------------------------ */

@keyframes azka-hub-grow {
	from {
		transform: scaleY(0);
	}
}

@keyframes azka-hub-slab {
	from {
		clip-path: inset(0 0 0 100%);
	}

	to {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes azka-hub-wipe {
	from {
		clip-path: inset(0 0 100% 0);
		transform: translateY(.35em);
	}

	to {
		clip-path: inset(0 0 -10% 0);
		transform: none;
	}
}

@keyframes azka-hub-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes azka-hub-pop {
	from {
		opacity: 0;
		transform: translateY(18px) scale(.97);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes azka-hub-drop {
	from {
		opacity: 0;
		transform: translate(-50%, -24px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%);
	}
}

@keyframes azka-hub-menu {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(.96);
	}
}

@keyframes azka-hub-float {
	50% {
		transform: translateY(-6px) rotate(-4deg);
	}
}

@keyframes azka-hub-drawer-in {
	from {
		transform: var(--from);
	}
}

@keyframes azka-hub-drawer-out {
	to {
		transform: var(--from);
	}
}

@keyframes azka-hub-fade {
	from {
		opacity: 0;
	}
}

@keyframes azka-hub-fade-out {
	to {
		opacity: 0;
	}
}

@keyframes azka-hub-shimmer {
	to {
		background-position: -150% 0;
	}
}

@keyframes azka-hub-fill {
	from {
		transform: scaleX(0);
	}
}

@keyframes azka-hub-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(31, 207, 176, .55);
	}

	70%,
	100% {
		box-shadow: 0 0 0 12px rgba(31, 207, 176, 0);
	}
}

@keyframes azka-hub-zoom {
	from {
		opacity: 0;
		transform: scale(.92);
	}
}

/* From one page of the client area to the next (cross-document view transitions; Chrome,
   Edge, Safari). The next page of the menu slides in from the right, the previous one from
   the left; other changes (a form sent, a report opened in full) rise into place.
   Direction set in <head> (transitions.js), the menu answers the click (portal.js). */
@view-transition {
	navigation: auto;
}

.azka-hub-app__main {
	view-transition-name: azka-hub-main;
}

::view-transition-group(azka-hub-main) {
	animation-duration: .6s;
	animation-timing-function: cubic-bezier(.16, 1, .3, 1);
}

::view-transition-old(azka-hub-main) {
	animation: azka-hub-page-out .22s ease-in both;
}

::view-transition-new(azka-hub-main) {
	animation: azka-hub-page-in .5s cubic-bezier(.2, .8, .2, 1) .05s both;
}

html:active-view-transition-type(azka-hub-forward) {
	--azka-hub-shift: 1;
}

html:active-view-transition-type(azka-hub-back) {
	--azka-hub-shift: -1;
}

html:active-view-transition-type(azka-hub-forward, azka-hub-back)::view-transition-old(azka-hub-main) {
	mix-blend-mode: normal;
	animation: azka-hub-slide-out .3s cubic-bezier(.55, 0, .8, .4) both;
}

html:active-view-transition-type(azka-hub-forward, azka-hub-back)::view-transition-new(azka-hub-main) {
	mix-blend-mode: normal;
	animation: azka-hub-slide-in .65s cubic-bezier(.16, 1, .3, 1) .1s both;
}

/* The dark pill of the menu slides to the new page, a little springy. */
::view-transition-group(azka-hub-nav-pill) {
	animation-duration: .55s;
	animation-timing-function: cubic-bezier(.3, 1.25, .45, 1);
}

/* Cards gliding to their new place when the list is filtered. */
::view-transition-group(*.azka-hub-card) {
	animation-duration: .42s;
	animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}

@keyframes azka-hub-page-out {
	to {
		opacity: 0;
		transform: translateY(-8px);
	}
}

@keyframes azka-hub-page-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
}

@keyframes azka-hub-slide-out {
	to {
		opacity: 0;
		transform: translateX(calc(var(--azka-hub-shift, 1) * -64px));
	}
}

@keyframes azka-hub-slide-in {
	from {
		opacity: 0;
		transform: translateX(calc(var(--azka-hub-shift, 1) * 110px));
	}
}

/* Browsers without these transitions: the content of each page rises into place. */
.azka-hub-no-vt .azka-hub-app__main {
	animation: azka-hub-page-in .5s cubic-bezier(.2, .8, .2, 1) backwards;
}

/* While the next page loads: the page dims and a bar runs along the top. */
.azka-hub-app.is-leaving {
	cursor: progress;
}

.azka-hub-app.is-leaving .azka-hub-app__main {
	opacity: .5;
	transition: opacity .35s .12s;
}

.azka-hub-loading {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	height: 3px;
	background: var(--brand);
	box-shadow: 0 0 14px rgba(31, 207, 176, .75);
	transform-origin: 0 50%;
	pointer-events: none;
	animation: azka-hub-loading 5s cubic-bezier(.08, .7, .2, 1) .12s both;
}

@keyframes azka-hub-loading {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(.94);
	}
}

@media (prefers-reduced-motion: reduce) {
	.azka-hub-app *,
	.azka-hub-app *::before,
	.azka-hub-app *::after,
	.azka-hub-modal,
	.azka-hub-drawer,
	.azka-hub-drawer *,
	.azka-hub-lightbox,
	.azka-hub-lightbox * {
		animation: none !important;
		transition: none !important;
	}

	@view-transition {
		navigation: none;
	}
}

/* Small screens ----------------------------------------------------- */

@media (max-width: 900px) {
	.azka-hub-sheets__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.azka-hub-sheets__stats li:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.azka-hub-sheets__stats li:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.azka-hub-invoice {
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		grid-template-areas: "icon main amount pdf" "icon due state pdf";
		gap: 4px 14px;
	}

	.azka-hub-invoice__icon {
		grid-area: icon;
	}

	.azka-hub-invoice__main {
		grid-area: main;
	}

	.azka-hub-invoice__due {
		grid-area: due;
		text-align: left;
	}

	.azka-hub-invoice__amount {
		grid-area: amount;
	}

	.azka-hub-invoice__state {
		grid-area: state;
		justify-self: end;
	}

	.azka-hub-invoice__pdf {
		grid-area: pdf;
	}

	.azka-hub-ext,
	.azka-hub-billing {
		grid-template-columns: 1fr;
	}

	/* Home: the panel goes under the text, the index loses its column heads. */
	.azka-hub-welcome {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
		min-height: 0;
		margin-bottom: 48px;
		padding: 10px 0 0 24px;
	}

	.azka-hub-welcome::before {
		top: 14px;
		bottom: auto;
		height: 190px;
	}

	/* The panel becomes a band under the text, from edge to edge, with the figures on it. */
	.azka-hub-welcome__art {
		display: none;
	}

	.azka-hub-welcome__figures {
		margin: 0 calc(50% - 50vw + 12px) -28px calc(50% - 50vw - 12px);
		padding: 26px 18px 22px calc(9% + 36px);
		background: var(--stripes);
	}

	.azka-hub-welcome__figures::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 9%;
		width: 10px;
		background: var(--paper);
	}

	.azka-hub-index {
		--cols: 46px minmax(0, 1fr) minmax(0, 1fr) auto;
	}

	.azka-hub-index__cols {
		display: none;
	}

	.azka-hub-row {
		grid-template-areas: "num site site flag" ". open due due" ". tickets tickets tickets" ". links links links";
		row-gap: 10px;
		padding: 16px 0;
	}

	.azka-hub-row__num {
		grid-area: num;
		align-self: start;
		padding-left: 10px;
		font-size: 22px;
	}

	.azka-hub-row__site {
		grid-area: site;
	}

	.azka-hub-row__open {
		grid-area: open;
	}

	.azka-hub-row__due {
		grid-area: due;
	}

	.azka-hub-row__flag {
		grid-area: flag;
		align-self: start;
		padding-right: 10px;
	}

	.azka-hub-row__tickets {
		flex-direction: column;
		grid-area: tickets;
		gap: 8px;
		margin: 0;
	}

	.azka-hub-row__tickets li {
		width: 100%;
	}

	.azka-hub-row__tickets a,
	.azka-hub-row__tickets li > span {
		flex: 0 1 auto;
		min-width: 0;
		max-width: none;
	}

	.azka-hub-row__done {
		display: none;
	}

	.azka-hub-row__links {
		grid-area: links;
		justify-content: flex-start;
		padding-right: 0;
	}

	.azka-hub-strip {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.azka-hub-billing__art {
		min-height: 200px;
	}
}

@media (max-width: 820px) {
	.azka-hub-app__inner {
		gap: 16px;
		min-height: 60px;
		padding: 0 16px;
	}

	.azka-hub-account {
		margin-left: auto;
	}

	.azka-hub-account__button {
		padding: 3px;
	}

	.azka-hub-account__name,
	.azka-hub-account__chevron {
		display: none;
	}

	.azka-hub-toast {
		top: 74px;
	}

	/* The menu becomes a black tab bar along the bottom of the screen. */
	.azka-hub-app__nav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 20;
		justify-content: space-around;
		margin: 0;
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
		background: rgba(13, 27, 42, .94);
		box-shadow: inset 0 3px 0 var(--teal);
		-webkit-backdrop-filter: saturate(1.4) blur(16px);
		backdrop-filter: saturate(1.4) blur(16px);
	}

	.azka-hub-app__nav a {
		flex: 1 1 0;
		flex-direction: column;
		gap: 4px;
		min-width: 0;
		padding: 9px 4px 8px;
		color: rgba(255, 255, 255, .72);
		font-size: 9.5px;
		letter-spacing: .08em;
	}

	.azka-hub-app__nav a::after {
		display: none;
	}

	.azka-hub-app__nav a:hover {
		color: #fff;
	}

	.azka-hub-app__nav a.is-current {
		color: var(--ink);
	}

	.azka-hub-app__nav .azka-hub-icon {
		display: block;
		width: 21px;
		height: 21px;
	}

	.azka-hub-nav__label {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.azka-hub-nav__rest {
		display: none;
	}

	.azka-hub-nav__pill {
		background: var(--brand);
	}

	.azka-hub-nav__pill::after {
		display: none;
	}

	.azka-hub-app__nav .azka-hub-count {
		position: absolute;
		top: 3px;
		left: calc(50% + 6px);
		min-width: 17px;
		line-height: 17px;
	}

	.azka-hub-app__footer {
		padding-bottom: 100px;
	}

	.azka-hub-app .azka-hub-app__label {
		display: none;
	}

	.azka-hub-head {
		padding-left: 22px;
	}

	.azka-hub-head::before {
		width: 5px;
	}

	.azka-hub-head__aside {
		flex: 1 1 100%;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.azka-hub-app--guest {
		background-size: 100% 90px;
	}
}

@media (max-width: 640px) {
	.azka-hub-app__main {
		padding: 26px 16px 40px;
	}

	.azka-hub-app .azka-hub-portal--login {
		padding: 30px 22px 24px;
	}

	.azka-hub-head {
		margin-bottom: 26px;
	}

	.azka-hub-ext {
		padding: 30px 20px 24px;
	}

	.azka-hub-ext__steps {
		grid-template-columns: 1fr;
	}

	.azka-hub-ext__steps li,
	.azka-hub-ext__steps li:nth-child(even) {
		padding: 18px 0 20px;
		border-left: 0;
	}

	.azka-hub-welcome__figures {
		padding-left: 8%;
	}

	.azka-hub-welcome__figures > div {
		padding: 0 10px 0 12px;
	}

	.azka-hub-strip {
		padding: 26px 20px;
	}

	.azka-hub-strip__steps {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.azka-hub-more__fields {
		grid-template-columns: 1fr;
	}

	.azka-hub-billing__text {
		padding: 26px 22px;
	}

	.azka-hub-agenda {
		padding: 24px 16px 18px;
	}

	/* The band scrolls sideways; the year and its buttons go on a line of their own. */
	.azka-hub-tl__scroll {
		margin-inline: -16px;
		padding-inline: 16px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: thin;
	}

	.azka-hub-tl__band {
		min-width: 860px;
	}

	.azka-hub-tl__bar {
		order: 3;
		flex: 1 1 100%;
	}

	.azka-hub-due {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas: "date what" "date when" "actions actions";
		gap: 6px 12px;
	}

	.azka-hub-due__date {
		grid-area: date;
		align-self: start;
	}

	.azka-hub-due__icon {
		display: none;
	}

	.azka-hub-due__what {
		grid-area: what;
	}

	.azka-hub-due__when {
		grid-area: when;
		justify-self: start;
	}

	.azka-hub-due__actions {
		grid-area: actions;
		justify-content: flex-end;
	}

	.azka-hub-filters .azka-hub-search,
	.azka-hub-filters__select {
		flex: 1 1 100%;
	}

	.azka-hub-filters .azka-hub-chips {
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.azka-hub-sheets__cols {
		display: none;
	}

	.azka-hub-sheet__head {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "name chevron" "next next" "status status";
		gap: 8px 12px;
		padding: 14px 12px;
	}

	.azka-hub-sheet__name {
		grid-area: name;
	}

	.azka-hub-sheet__next {
		grid-area: next;
	}

	.azka-hub-sheet__status {
		grid-area: status;
		justify-items: start;
		text-align: left;
	}

	.azka-hub-sheet__chevron {
		grid-area: chevron;
	}

	.azka-hub-sheet__body {
		padding: 0 12px 18px;
	}

	/* Services: a block each, the provider first, the date on the right. */
	.azka-hub-app .azka-hub-services,
	.azka-hub-app .azka-hub-services tbody {
		display: block;
	}

	.azka-hub-app .azka-hub-services thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.azka-hub-app .azka-hub-services tbody tr:last-child {
		border-bottom: 0;
	}

	.azka-hub-app .azka-hub-services tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3px 14px;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}

	.azka-hub-app .azka-hub-services tr:first-child {
		border-top: 1.5px solid var(--ink);
	}

	.azka-hub-app .azka-hub-services th,
	.azka-hub-app .azka-hub-services td {
		padding: 0;
		border: 0;
	}

	.azka-hub-app .azka-hub-services th.azka-hub-service__name {
		grid-column: 1 / -1;
		color: var(--muted);
		font: 700 10.5px/1.2 var(--text);
		letter-spacing: .14em;
		text-transform: uppercase;
	}

	.azka-hub-service__name .azka-hub-icon {
		width: 14px;
		height: 14px;
		margin-right: 7px;
	}

	.azka-hub-app .azka-hub-services .azka-hub-service__provider {
		grid-column: 1;
		margin-top: 4px;
	}

	.azka-hub-app .azka-hub-services .azka-hub-service__holder {
		grid-column: 1;
		font-size: 13.5px;
	}

	.azka-hub-app .azka-hub-services .azka-hub-service__date {
		grid-column: 2;
		grid-row: 2 / span 2;
		margin-top: 4px;
		font-size: 14px;
		text-align: right;
	}

	.azka-hub-app .azka-hub-services .is-empty {
		display: none;
	}

	.azka-hub-service__cap {
		display: inline;
		color: var(--muted);
	}

	/* Points to watch: the level above the title, "En parler" under the text. */
	.azka-hub-risks li {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.azka-hub-app .azka-hub-risks__talk {
		justify-self: start;
	}

	.azka-hub-invoices__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.azka-hub-invoices__stats li {
		padding-right: 12px;
	}

	.azka-hub-invoices__stats strong {
		font-size: 34px;
	}

	.azka-hub-invoice {
		padding: 12px 10px;
	}

	.azka-hub-invoice__icon {
		display: none;
	}

	.azka-hub-invoice {
		grid-template-columns: minmax(0, 1fr) auto auto;
		grid-template-areas: "main amount pdf" "due state pdf";
	}

	.azka-hub-app .azka-hub-invoice__pdf {
		width: 42px;
		height: 42px;
		padding: 0;
		justify-content: center;
	}

	.azka-hub-invoice__pdf span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	/* The dialog becomes a sheet rising from the bottom. */
	.azka-hub-modal {
		width: 100%;
		max-width: none;
		max-height: 94vh;
		margin: auto 0 0;
		box-shadow: none;
	}

	.azka-hub-modal__head,
	.azka-hub-modal__body,
	.azka-hub-modal__foot {
		padding-left: 18px;
		padding-right: 18px;
	}

	.azka-hub-app .azka-hub-portal > .azka-hub-detail {
		padding: 24px 18px 24px 22px;
	}

	.azka-hub-rgrid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	/* Cards become rows: capture on the left. */
	.azka-hub-rcard__link {
		flex-direction: row;
	}

	.azka-hub-rcard__link::before {
		inset: 0 auto 0 0;
		width: 4px;
		height: auto;
	}

	.azka-hub-rcard__link:hover,
	.azka-hub-rcard__link:focus-visible {
		transform: translate(-3px, -3px);
		box-shadow: 0 0 0 1px var(--ink), 6px 6px 0 var(--teal);
	}

	.azka-hub-rcard__shot {
		flex: none;
		width: 112px;
		aspect-ratio: auto;
		border-right: 1px solid var(--line);
		border-bottom: 0;
	}

	.azka-hub-rcard__shot .azka-hub-badge {
		display: none;
	}

	.azka-hub-rcard__body {
		padding: 12px 14px;
	}

	.azka-hub-rcard__title {
		font-size: 15.5px;
	}

	.azka-hub-search {
		flex: 1 1 100%;
	}

	.azka-hub-segment {
		width: 100%;
	}

	.azka-hub-segment a {
		flex: 1;
		justify-content: center;
		padding: 11px 8px;
	}

	/* The side panel becomes a sheet rising from the bottom, edged with the bar on top. */
	.azka-hub-drawer {
		--from: translateY(100%);
		inset: auto 0 0;
		width: 100%;
		height: 94vh;
		height: 94dvh;
		background: linear-gradient(90deg, var(--cyan), var(--teal)) top / 100% 4px no-repeat, var(--paper);
	}

	.azka-hub-drawer__bar {
		top: 14px;
		right: 12px;
	}

	.azka-hub-drawer__body {
		padding: 26px 18px 18px;
	}

	.azka-hub-drawer .azka-hub-detail__head,
	.azka-hub-skeleton {
		padding-right: 96px;
	}

	.azka-hub-skeleton__shot {
		margin-right: -96px;
	}

	.azka-hub-msg {
		max-width: 94%;
	}

	/* Send button: icon only, more room to write (the label stays for screen readers). */
	.azka-hub-app .azka-hub-reply button[type="submit"],
	.azka-hub-drawer .azka-hub-reply button[type="submit"] {
		width: 46px;
		height: 46px;
		padding: 0;
	}

	.azka-hub-reply button[type="submit"] span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

@media (max-width: 480px) {
	.azka-hub-sheets__stats strong {
		font-size: 42px;
	}

	.azka-hub-sheets__stats li {
		padding-right: 10px;
		padding-left: 14px;
	}

	.azka-hub-app .azka-hub-sheets__stat-link {
		top: 14px;
		right: 8px;
	}
}
