/* Net Launch Portal */
:root {
	--nlp-accent: #1f6fe5;
	--nlp-ink: #111a2e;
	--nlp-text: #1d2433;
	--nlp-muted: #66718a;
	--nlp-faint: #8d97ab;
	--nlp-line: #e4e8f0;
	--nlp-soft: #f4f6fa;
	--nlp-card: #fff;
	--nlp-night: #0b1022;
	--nlp-navy: #13294b;
	--nlp-good: #16a34a;
	--nlp-bad: #dc2626;
	--nlp-warn: #d97706;
	--nlp-r: 14px;
	--nlp-shadow: 0 1px 2px rgba(17, 26, 46, 0.05), 0 4px 16px rgba(17, 26, 46, 0.04);
	--nlp-accent-soft: color-mix(in srgb, var(--nlp-accent) 10%, #fff);
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
}
body.nlp {
	margin: 0;
	font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--nlp-text);
	background: var(--nlp-soft);
	-webkit-font-smoothing: antialiased;
}
.nlp a {
	color: var(--nlp-accent);
}
.nlp img {
	max-width: 100%;
}
.nlp h1,
.nlp h2,
.nlp h3 {
	color: var(--nlp-ink);
	line-height: 1.2;
	margin: 0;
}
.nlp button,
.nlp input,
.nlp select,
.nlp textarea {
	font: inherit;
	color: inherit;
}
.nlp [hidden] {
	display: none !important;
}
.nlp-i {
	flex: none;
	vertical-align: middle;
}
.nlp-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.nlp-skip {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
}
.nlp-skip:focus {
	left: 8px;
}
.nlp :focus-visible {
	outline: 3px solid color-mix(in srgb, var(--nlp-accent) 45%, transparent);
	outline-offset: 2px;
}
.nlp-muted {
	color: var(--nlp-faint);
}
.nlp-bad {
	color: var(--nlp-bad);
	font-weight: 600;
}

/* Buttons */
.nlp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
	white-space: nowrap;
}
.nlp-btn:active {
	transform: translateY(1px);
}
.nlp .nlp-btn--primary {
	background: var(--nlp-accent);
	color: #fff;
	box-shadow: 0 1px 2px rgba(17, 26, 46, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.nlp .nlp-btn--primary:hover {
	background: color-mix(in srgb, var(--nlp-accent) 86%, #000);
}
.nlp .nlp-btn--ghost {
	background: #fff;
	border-color: var(--nlp-line);
	color: var(--nlp-ink);
}
.nlp .nlp-btn--ghost:hover {
	border-color: #c8cfdc;
	background: #fbfcfe;
}
.nlp .nlp-btn--bad {
	background: var(--nlp-bad);
	color: #fff;
}
.nlp-btn--sm {
	min-height: 34px;
	padding: 6px 12px;
	font-size: 13.5px;
	border-radius: 8px;
}
.nlp-btn--block {
	width: 100%;
}
.nlp-btn[disabled],
.nlp-btn.is-busy {
	opacity: 0.6;
	pointer-events: none;
}
.nlp-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nlp-accent);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
}
.nlp-link:hover {
	text-decoration: underline;
}
.nlp-link--bad {
	color: var(--nlp-bad);
}

/* Form fields */
.nlp-form {
	display: grid;
	gap: 16px;
}
.nlp-form > .nlp-btn {
	justify-self: start;
}
.nlp-form > .nlp-btn--block {
	justify-self: stretch;
}
.nlp-field {
	display: grid;
	gap: 6px;
	align-content: start;
}
.nlp-field > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--nlp-ink);
}
.nlp-field small {
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp input[type="text"],
.nlp input[type="email"],
.nlp input[type="password"],
.nlp input[type="search"],
.nlp input[type="date"],
.nlp input[type="time"],
.nlp input[type="tel"],
.nlp input[type="url"],
.nlp input[type="number"],
.nlp select,
.nlp textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 13px;
	border: 1px solid #d5dbe6;
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.nlp textarea {
	min-height: 0;
	resize: vertical;
	line-height: 1.5;
}
.nlp select {
	padding-right: 34px;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2366718a' stroke-width='1.8' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
	cursor: pointer;
}
.nlp input:focus,
.nlp select:focus,
.nlp textarea:focus {
	outline: none;
	border-color: var(--nlp-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--nlp-accent) 18%, transparent);
}
.nlp-static {
	margin: 0;
	padding: 10px 13px;
	border-radius: 10px;
	background: var(--nlp-soft);
	font-weight: 500;
}
.nlp-2col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}
.nlp-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}
.nlp-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--nlp-accent);
}
.nlp-pw {
	position: relative;
	display: block;
}
.nlp-pw input {
	padding-right: 70px;
}
.nlp-pw__show {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	padding: 6px 10px;
	border: 0;
	border-radius: 7px;
	background: var(--nlp-soft);
	color: var(--nlp-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.nlp-strength {
	font-size: 13px;
	font-weight: 600;
	min-height: 1em;
}
.nlp-strength.is-weak {
	color: var(--nlp-bad);
}
.nlp-strength.is-ok {
	color: var(--nlp-warn);
}
.nlp-strength.is-good {
	color: var(--nlp-good);
}

/* Switches */
.nlp-switch {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: start;
	cursor: pointer;
}
.nlp-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.nlp-switch__ui {
	position: relative;
	width: 44px;
	height: 26px;
	margin-top: 1px;
	border-radius: 99px;
	background: #cfd6e2;
	transition: background 0.2s;
}
.nlp-switch__ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s;
}
.nlp-switch input:checked + .nlp-switch__ui {
	background: var(--nlp-accent);
}
.nlp-switch input:checked + .nlp-switch__ui::after {
	transform: translateX(18px);
}
.nlp-switch input:focus-visible + .nlp-switch__ui {
	outline: 3px solid color-mix(in srgb, var(--nlp-accent) 45%, transparent);
	outline-offset: 2px;
}
.nlp-switch strong {
	display: block;
	color: var(--nlp-ink);
}
.nlp-switch small {
	display: block;
	color: var(--nlp-muted);
	font-size: 13.5px;
}

/* Alerts and toasts */
.nlp-alert {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	margin: 0 0 16px;
}
.nlp-alert--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}
.nlp-alert--ok {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}
.nlp-toast {
	position: fixed;
	left: 50%;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 32px);
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--nlp-ink);
	color: #fff;
	font-weight: 500;
	font-size: 14.5px;
	box-shadow: 0 10px 30px rgba(11, 16, 34, 0.25);
	transform: translateX(-50%);
	animation: nlp-toast 0.3s ease;
}
.nlp-toast .nlp-i {
	padding: 3px;
	border-radius: 50%;
	background: var(--nlp-good);
	box-sizing: content-box;
}
.nlp-toast--error .nlp-i {
	background: var(--nlp-bad);
}
.nlp-toast.is-hiding {
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity 0.3s, transform 0.3s;
}
@keyframes nlp-toast {
	from {
		opacity: 0;
		transform: translate(-50%, 10px);
	}
}

/* ---------- Sign-in pages ---------- */
body.nlp--auth {
	min-height: 100vh;
	background: radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--nlp-accent) 35%, var(--nlp-night)), var(--nlp-night) 70%);
}
.nlp-auth {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 32px 16px;
}
.nlp-auth__card {
	width: 100%;
	max-width: 420px;
	padding: 36px 34px 32px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.nlp-auth__brand {
	display: flex;
	justify-content: center;
	margin: 0 0 22px;
}
.nlp-auth__brand img {
	max-height: 64px;
	max-width: 220px;
	object-fit: contain;
}
.nlp-auth__name {
	font-size: 22px;
	font-weight: 800;
	color: var(--nlp-ink);
	letter-spacing: -0.01em;
	text-align: center;
}
.nlp-auth__title {
	margin: 0 0 18px !important;
	font-size: 21px;
	text-align: center;
}
.nlp-auth__text {
	margin: -6px 0 18px;
	color: var(--nlp-muted);
	text-align: center;
	font-size: 14.5px;
}
.nlp-auth__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 14px;
}
.nlp-auth__row a {
	font-weight: 600;
	text-decoration: none;
}
.nlp-auth__back {
	margin: 16px 0 0;
	text-align: center;
	font-size: 14px;
}
.nlp-auth__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* ---------- App frame ---------- */
.nlp-top {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--nlp-night);
	color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nlp-top__in {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 24px;
	min-height: 64px;
}
.nlp-top__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: #fff !important;
	text-decoration: none;
}
.nlp-top__logo {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 40px;
	min-width: 0;
	max-width: 120px;
	padding: 5px 8px;
	border-radius: 9px;
	background: #fff;
	overflow: hidden;
}
.nlp-top__logo img {
	/* 1.33.1: always inside its white box, whatever shape the logo is. */
	display: block;
	width: auto;
	height: auto;
	max-height: 30px;
	max-width: 100%;
	object-fit: contain;
}
.nlp-top__name {
	display: flex;
	flex-direction: column;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nlp-top__name small {
	font-weight: 500;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}
.nlp-nav {
	display: flex;
	gap: 4px;
	margin-left: auto;
}
.nlp .nlp-nav__a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.72);
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.nlp .nlp-nav__a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
}
.nlp .nlp-nav__a.is-active {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}
.nlp-nav__n {
	min-width: 20px;
	padding: 1px 6px;
	border-radius: 99px;
	background: var(--nlp-accent);
	color: #fff;
	font-size: 12px;
	text-align: center;
}
.nlp-nav__n--warn {
	background: var(--nlp-warn);
}
.nlp-top__me {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.nlp-top__who {
	font-weight: 600;
	font-size: 14px;
}
.nlp .nlp-top__out {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13.5px;
	text-decoration: none;
}
.nlp .nlp-top__out:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
}
.nlp-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--nlp-accent) 22%, #fff);
	color: color-mix(in srgb, var(--nlp-accent) 70%, #000);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
}
.nlp-top .nlp-avatar {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}
.nlp-avatar--sm {
	width: 38px;
	height: 38px;
	font-size: 13px;
}
.nlp-avatar--lg {
	width: 56px;
	height: 56px;
	font-size: 19px;
}
.nlp-preview-bar {
	padding: 9px 24px;
	background: #fff7e6;
	border-bottom: 1px solid #fde3a7;
	color: #7a4d00;
	font-size: 13.5px;
	text-align: center;
}
.nlp-main {
	max-width: 1240px;
	margin: 0 auto;
	padding: 30px 24px 40px;
	min-height: calc(100vh - 140px);
}
.nlp-foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px 24px 28px;
	color: var(--nlp-faint);
	font-size: 13px;
}
.nlp-foot span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
}
.nlp-foot img {
	padding: 3px;
	border-radius: 5px;
	background: var(--nlp-night);
	box-sizing: content-box;
}
.nlp-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}
.nlp-head h1 {
	font-size: 28px;
	letter-spacing: -0.02em;
}
.nlp-sub {
	margin: 4px 0 0;
	color: var(--nlp-muted);
}
.nlp-hint {
	margin: 10px 0 0;
	color: var(--nlp-muted);
	font-size: 13.5px;
}
.nlp-hint--center {
	text-align: center;
}

/* Cards */
.nlp-card {
	padding: 22px;
	border: 1px solid var(--nlp-line);
	border-radius: var(--nlp-r);
	background: var(--nlp-card);
	box-shadow: var(--nlp-shadow);
}
.nlp-card + .nlp-card {
	margin-top: 18px;
}
.nlp-card--quiet {
	background: #fbfcfd;
	box-shadow: none;
}
.nlp-card__h {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px !important;
	font-size: 16px !important;
}
.nlp-card__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 16px;
}
.nlp-card__bar .nlp-card__h {
	margin: 0 !important;
}

/* Chips (filters) */
.nlp-chips {
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}
.nlp .nlp-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	padding: 7px 13px;
	border: 1px solid var(--nlp-line);
	border-radius: 99px;
	background: #fff;
	color: var(--nlp-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s;
}
.nlp .nlp-chip b {
	color: var(--nlp-faint);
	font-weight: 600;
}
.nlp .nlp-chip:hover {
	border-color: #c8cfdc;
}
.nlp .nlp-chip.is-on {
	background: var(--nlp-ink);
	border-color: var(--nlp-ink);
	color: #fff;
}
.nlp .nlp-chip.is-on b {
	color: rgba(255, 255, 255, 0.65);
}
.nlp-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c, var(--nlp-accent));
	flex: none;
}

/* Search and filters */
.nlp-tools {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 0 18px;
}
.nlp-tools label {
	flex: 0 0 auto;
}
.nlp-tools select {
	min-width: 160px;
}
.nlp-search {
	position: relative;
	flex: 1 1 280px !important;
}
.nlp-search .nlp-i {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--nlp-faint);
}
.nlp-search input {
	padding-left: 38px !important;
}
.nlp-tools__clear {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.js .nlp-tools__go {
	display: none;
}

/* Enquiry list */
.nlp-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--nlp-line);
	border-radius: var(--nlp-r);
	background: #fff;
	box-shadow: var(--nlp-shadow);
	overflow: hidden;
}
.nlp-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(180px, 1.1fr) minmax(0, 2.2fr) 150px 110px;
	gap: 18px;
	align-items: center;
	padding: 15px 20px;
	border-top: 1px solid var(--nlp-line);
	transition: background 0.12s;
}
.nlp-list--simple .nlp-row {
	grid-template-columns: minmax(180px, 1.1fr) minmax(0, 2.2fr) 110px;
}
.nlp-row:first-child {
	border-top: 0;
}
.nlp-row:hover {
	background: #f8faff;
}
.nlp-row.is-unread {
	background: var(--nlp-accent-soft);
}
.nlp-row.is-unread:hover {
	background: color-mix(in srgb, var(--nlp-accent) 14%, #fff);
}
.nlp-row__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.nlp-row__who {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.nlp-row__who > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.nlp-row__who strong {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--nlp-ink);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nlp-row.is-unread .nlp-row__who strong {
	font-weight: 800;
}
.nlp-row__who small {
	color: var(--nlp-muted);
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nlp-new {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nlp-accent);
	flex: none;
}
.nlp-row__what {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.nlp-row__msg {
	color: var(--nlp-text);
	font-size: 14.5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nlp-row__tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.nlp-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--nlp-soft);
	color: var(--nlp-muted);
	font-size: 12px;
	font-weight: 600;
}
.nlp-tag--files {
	background: #eef4ff;
	color: #1e4fae;
}
.nlp-tag--due {
	background: #fff4e0;
	color: #a35400;
}
.nlp-row__status {
	position: relative;
	z-index: 2;
}
.nlp-row__when {
	color: var(--nlp-muted);
	font-size: 13px;
	text-align: right;
	white-space: nowrap;
}

/* Status pill (select) */
.nlp-status {
	position: relative;
	margin: 0;
}
.nlp .nlp-status select {
	min-height: 32px;
	width: auto;
	max-width: 100%;
	padding: 4px 30px 4px 26px;
	border: 1px solid color-mix(in srgb, var(--c) 30%, #fff);
	border-radius: 99px;
	background-color: color-mix(in srgb, var(--c) 10%, #fff);
	background-position: right 10px center;
	color: color-mix(in srgb, var(--c) 80%, #000);
	font-size: 13px;
	font-weight: 700;
}
.nlp-status::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: var(--c);
	pointer-events: none;
}
.nlp-status.is-saved select {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent);
}

.nlp-empty {
	padding: 60px 20px;
	border: 1px dashed #d3d9e4;
	border-radius: var(--nlp-r);
	background: #fff;
	color: var(--nlp-muted);
	text-align: center;
}
.nlp-empty .nlp-i {
	color: #b6bfce;
}
.nlp-empty h2 {
	margin: 12px 0 6px !important;
	font-size: 18px;
}
.nlp-empty p {
	margin: 0;
}
.nlp-pages {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 20px 0 0;
	color: var(--nlp-muted);
	font-size: 14px;
}

/* ---------- One enquiry ---------- */
.nlp .nlp-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 16px;
	color: var(--nlp-muted);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.nlp .nlp-back:hover {
	color: var(--nlp-ink);
}
.nlp-lead-head {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 22px;
}
.nlp-lead-head__t {
	flex: 1 1 260px;
	min-width: 0;
}
.nlp-lead-head h1 {
	font-size: 26px;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}
.nlp-lead-head__acts {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.nlp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 22px;
	align-items: start;
}
.nlp-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0;
}
.nlp-fields__row {
	padding: 11px 0;
	border-top: 1px solid var(--nlp-line);
	min-width: 0;
}
.nlp-fields__row--long {
	grid-column: 1 / -1;
}
.nlp-fields dt {
	margin: 0 0 3px;
	color: var(--nlp-muted);
	font-size: 12.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.nlp-fields dd {
	margin: 0;
	color: var(--nlp-ink);
	overflow-wrap: anywhere;
}
.nlp-fields__row--long dd {
	white-space: normal;
	font-size: 15.5px;
	line-height: 1.6;
}
.nlp-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
}
.nlp-thumb {
	margin: 0;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	overflow: hidden;
	background: var(--nlp-soft);
}
.nlp-thumb > a {
	display: block;
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
}
.nlp-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s;
}
.nlp-thumb > a:hover img {
	transform: scale(1.03);
}
.nlp-thumb figcaption {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: #fff;
	font-size: 12.5px;
}
.nlp-thumb figcaption span {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--nlp-muted);
}
.nlp-thumb figcaption a {
	display: inline-flex;
	padding: 4px;
	border-radius: 6px;
	color: var(--nlp-ink);
}
.nlp-thumb figcaption a:hover {
	background: var(--nlp-soft);
}
.nlp-docs {
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.nlp-thumbs + .nlp-docs {
	margin-top: 16px;
}
.nlp-docs li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
}
.nlp-docs__ext {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fdecec;
	color: #b42318;
	font-size: 11px;
	font-weight: 800;
	flex: none;
}
.nlp-docs__name {
	flex: 1;
	min-width: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.nlp-docs__name small {
	display: block;
	color: var(--nlp-muted);
	font-weight: 500;
}

/* Replies */
.nlp-thread {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-msg {
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--nlp-accent-soft);
	border: 1px solid color-mix(in srgb, var(--nlp-accent) 18%, #fff);
}
.nlp-msg.is-failed {
	background: #fef2f2;
	border-color: #fecaca;
}
.nlp-msg__meta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	font-size: 13px;
	color: var(--nlp-muted);
}
.nlp-msg__meta strong {
	color: var(--nlp-ink);
}
.nlp-msg__ok {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--nlp-good);
	font-weight: 600;
}
.nlp-msg__bad {
	color: var(--nlp-bad);
	font-weight: 600;
}
.nlp-msg__subj {
	margin: 6px 0 4px;
	font-weight: 700;
	color: var(--nlp-ink);
}
.nlp-msg__body {
	font-size: 14.5px;
}
.nlp-msg__files {
	margin: 8px 0 0;
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp-compose-open {
	margin-top: 14px;
}
.nlp-compose {
	display: grid;
	gap: 14px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--nlp-line);
}
.nlp-thread + .nlp-hint + .nlp-compose-open[hidden] + .nlp-compose {
	margin-top: 16px;
}
.nlp-compose__to {
	margin: 0;
	font-size: 14px;
	color: var(--nlp-ink);
	overflow-wrap: anywhere;
}
.nlp-compose__to span {
	display: inline-block;
	margin-right: 6px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--nlp-soft);
	color: var(--nlp-muted);
	font-size: 12.5px;
	font-weight: 600;
}
.nlp-sigprev {
	padding: 10px 14px;
	border-left: 3px solid var(--nlp-line);
	color: var(--nlp-muted);
	font-size: 13.5px;
}
.nlp-sigprev.is-off {
	opacity: 0.35;
	text-decoration: line-through;
}
.nlp-sigprev img {
	max-height: 60px;
	width: auto;
}
.nlp-compose__opts {
	display: flex;
	gap: 10px 20px;
	flex-wrap: wrap;
	align-items: center;
}
.nlp-attach {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px dashed #c3cbd8;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.nlp-attach:hover {
	border-color: var(--nlp-accent);
	color: var(--nlp-accent);
}
.nlp-attach input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.nlp-attached {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-attached li {
	padding: 4px 10px;
	border-radius: 7px;
	background: var(--nlp-soft);
	font-size: 13px;
}
.nlp-compose__go {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
}
.nlp-compose__go .nlp-hint {
	margin: 0;
}

/* Lead tracking */
.nlp-head-status {
	display: none;
	width: 100%;
}
.nlp-head-status .nlp-status select {
	min-height: 40px;
	font-size: 14px;
}
.nlp-statusbtns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px;
	margin: 0 0 18px;
}
.nlp-statusbtns button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 11px;
	border: 1px solid var(--nlp-line);
	border-radius: 10px;
	background: #fff;
	font-weight: 600;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.nlp-statusbtns button:hover {
	border-color: var(--c);
}
.nlp-statusbtns button.is-on {
	border-color: var(--c);
	background: color-mix(in srgb, var(--c) 10%, #fff);
	color: color-mix(in srgb, var(--c) 80%, #000);
	box-shadow: inset 0 0 0 1px var(--c);
}
.nlp-follow,
.nlp-value {
	margin: 0 0 16px;
}
.nlp-quick {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 8px 0 0;
}
.nlp-quick button {
	padding: 5px 10px;
	border: 1px solid var(--nlp-line);
	border-radius: 99px;
	background: #fff;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--nlp-muted);
	cursor: pointer;
}
.nlp-quick button:hover {
	color: var(--nlp-ink);
	border-color: #c8cfdc;
}
.nlp-due {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	padding: 8px 10px;
	border-radius: 9px;
	background: #fff4e0;
	color: #a35400;
	font-size: 13.5px;
	font-weight: 600;
}
.nlp-money {
	position: relative;
	display: block;
}
.nlp-money b {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--nlp-muted);
	font-weight: 600;
}
.nlp-money input {
	padding-left: 28px !important;
}
.nlp-value.is-saved input,
.nlp-follow.is-saved input {
	border-color: var(--nlp-good);
}
.nlp-noteform {
	display: grid;
	gap: 8px;
}
.nlp-noteform .nlp-btn {
	justify-self: start;
}
.nlp-notes {
	display: grid;
	gap: 0;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.nlp-notes li {
	position: relative;
	padding: 10px 26px 10px 0;
	border-top: 1px solid var(--nlp-line);
}
.nlp-notes p {
	margin: 0;
	font-size: 14px;
	overflow-wrap: anywhere;
}
.nlp-notes small {
	color: var(--nlp-faint);
	font-size: 12px;
}
.nlp-notes .is-log p {
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp-notes .is-log p::before {
	content: "→ ";
}
.nlp-notes__del {
	position: absolute;
	top: 8px;
	right: 0;
	margin: 0;
}
.nlp-notes__del button {
	padding: 4px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--nlp-faint);
	cursor: pointer;
}
.nlp-notes__del button:hover {
	background: #fef2f2;
	color: var(--nlp-bad);
}
.nlp-meta {
	display: grid;
	gap: 10px;
	margin: 0;
	font-size: 14px;
}
.nlp-meta dt {
	color: var(--nlp-muted);
	font-size: 12.5px;
	font-weight: 600;
}
.nlp-meta dd {
	margin: 0;
	overflow-wrap: anywhere;
}
.nlp-meta__acts {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--nlp-line);
}
.nlp-meta__acts form {
	margin: 0;
}
.nlp-confirm {
	margin: 14px 0 0;
	padding: 14px;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	font-size: 14px;
}
.nlp-confirm p {
	margin: 0 0 10px;
	color: #991b1b;
	font-weight: 600;
}

/* Lightbox */
.nlp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 16px 16px;
	background: rgba(8, 12, 26, 0.92);
}
.nlp-lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.nlp-lightbox__bar {
	position: absolute;
	top: 12px;
	right: 12px;
	left: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 14px;
}
.nlp-lightbox__bar span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nlp-lightbox__bar div {
	display: flex;
	gap: 8px;
	flex: none;
}
.nlp .nlp-lightbox__bar a,
.nlp-lightbox__bar button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border: 0;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
}
.nlp-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}
.nlp-lightbox__nav--prev {
	left: 14px;
}
.nlp-lightbox__nav--next {
	right: 14px;
}

/* ---------- Results ---------- */
.nlp-tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 18px;
}
.nlp-tile {
	padding: 18px;
	border: 1px solid var(--nlp-line);
	border-radius: var(--nlp-r);
	background: #fff;
	box-shadow: var(--nlp-shadow);
}
.nlp-tile span {
	display: block;
	color: var(--nlp-muted);
	font-size: 13px;
	font-weight: 600;
}
.nlp-tile b {
	display: block;
	margin: 6px 0 2px;
	color: var(--nlp-ink);
	font-size: 28px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.nlp-tile small {
	color: var(--nlp-faint);
	font-size: 12.5px;
}
.nlp-tile--good b {
	color: var(--nlp-good);
}
.nlp-tile--warn b {
	color: var(--nlp-warn);
}
.nlp-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
}
.nlp-cols .nlp-card + .nlp-card {
	margin-top: 0;
}
.nlp-bars {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	height: 200px;
	padding: 0 4px;
}
.nlp-bars__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	gap: 6px;
}
.nlp-bars__n {
	font-size: 13px;
	font-weight: 700;
	color: var(--nlp-ink);
}
.nlp-bars__bar {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	max-width: 48px;
	border-radius: 8px 8px 3px 3px;
	background: color-mix(in srgb, var(--nlp-accent) 22%, #fff);
	overflow: hidden;
}
.nlp-bars__bar i {
	display: block;
	width: 100%;
	background: var(--nlp-good);
}
.nlp-bars__m {
	font-size: 12.5px;
	color: var(--nlp-muted);
	font-weight: 600;
}
.nlp-legend {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 0;
	color: var(--nlp-muted);
	font-size: 12.5px;
}
.nlp-legend i {
	width: 10px;
	height: 10px;
	border-radius: 3px;
}
.nlp-legend__all {
	background: color-mix(in srgb, var(--nlp-accent) 22%, #fff);
}
.nlp-legend__won {
	margin-left: 10px;
	background: var(--nlp-good);
}
.nlp-hbars {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-hbars li {
	display: grid;
	gap: 5px;
}
.nlp-hbars li > a,
.nlp-hbars__row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: var(--nlp-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.nlp-hbars__row span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nlp-hbars li > i {
	display: block;
	height: 8px;
	min-width: 3px;
	border-radius: 99px;
	background: var(--c, var(--nlp-accent));
}

/* ---------- Settings ---------- */
.nlp-settings {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}
.nlp-settings .nlp-card + .nlp-card {
	margin-top: 0;
}
.nlp-settings .nlp-hint {
	margin: -8px 0 16px;
}
.nlp-editor {
	border: 1px solid #d5dbe6;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.nlp-editor:focus-within {
	border-color: var(--nlp-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--nlp-accent) 18%, transparent);
}
.nlp-editor__bar {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	padding: 6px;
	border-bottom: 1px solid var(--nlp-line);
	background: var(--nlp-soft);
}
.nlp-editor__bar button {
	min-width: 34px;
	height: 32px;
	padding: 0 9px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: none;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}
.nlp-editor__bar button:hover {
	background: #fff;
	border-color: var(--nlp-line);
}
.nlp-editor__area {
	min-height: 140px;
	padding: 14px;
	font-size: 14.5px;
	outline: none;
	overflow-wrap: anywhere;
}
.nlp-editor__area:empty::before {
	content: "Your name\A Your job title\A Phone · website";
	white-space: pre;
	color: var(--nlp-faint);
}
.nlp-editor__area img {
	max-height: 70px;
	width: auto;
}

/* ---------- Phones and tablets ---------- */
@media (max-width: 1080px) {
	.nlp-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.nlp-top__who {
		display: none;
	}
}
@media (max-width: 900px) {
	.nlp-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.nlp-grid__side {
		position: static;
	}
	.nlp-head-status {
		display: block !important;
	}
	.nlp-cols,
	.nlp-settings {
		grid-template-columns: minmax(0, 1fr);
	}
	.nlp-row,
	.nlp-list--simple .nlp-row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "who when" "what what" "status status";
		gap: 8px 12px;
	}
	.nlp-row__who {
		grid-area: who;
	}
	.nlp-row__when {
		grid-area: when;
		align-self: start;
	}
	.nlp-row__what {
		grid-area: what;
		padding-left: 50px;
	}
	.nlp-row__status {
		grid-area: status;
		padding-left: 50px;
	}
	.nlp-row__msg {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
}
@media (max-width: 760px) {
	.nlp-top__in {
		flex-wrap: wrap;
		gap: 8px 12px;
		padding: 10px 16px 0;
		min-height: 0;
	}
	.nlp-top__brand {
		flex: 1;
	}
	.nlp-top__me {
		padding-left: 0;
		border-left: 0;
	}
	.nlp-top .nlp-avatar {
		/* Shown on phones too (1.27.2): with Pro the name is hidden, so this is the only
		   sign of who's signed in. */
		width: 30px;
		height: 30px;
		font-size: 12px;
	}
	.nlp-top__out span {
		display: none;
	}
	.nlp-nav {
		order: 3;
		width: calc(100% + 32px);
		margin: 0 -16px;
		padding: 0 10px 8px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.nlp-nav::-webkit-scrollbar {
		display: none;
	}
	.nlp .nlp-nav__a {
		flex: none;
		padding: 8px 12px;
		font-size: 14px;
	}
	.nlp-main {
		padding: 20px 16px 32px;
	}
	.nlp-foot {
		padding: 16px 16px 28px;
	}
	.nlp-head h1 {
		font-size: 24px;
	}
	.nlp-head .nlp-btn {
		width: 100%;
	}
	.nlp-tools select {
		min-width: 0;
		width: 100%;
	}
	.nlp-tools label {
		flex: 1 1 140px;
	}
	.nlp-search {
		flex-basis: 100% !important;
	}
	.nlp-row {
		padding: 14px 16px;
	}
	.nlp-card {
		padding: 18px 16px;
	}
	.nlp-fields {
		grid-template-columns: minmax(0, 1fr);
	}
	.nlp-lead-head h1 {
		font-size: 22px;
	}
	.nlp-lead-head__acts {
		width: 100%;
	}
	.nlp-lead-head__acts .nlp-btn {
		flex: 1;
	}
	.nlp-thumbs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.nlp-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.nlp-tile {
		padding: 14px;
	}
	.nlp-tile b {
		font-size: 23px;
	}
	.nlp-2col {
		grid-template-columns: minmax(0, 1fr);
	}
	.nlp-auth__card {
		padding: 28px 22px 24px;
	}
	.nlp-compose__go .nlp-btn {
		width: 100%;
	}
	.nlp-bars {
		gap: 8px;
		height: 170px;
	}
}
@media (max-width: 480px) {
	.nlp-nav .nlp-i {
		display: none;
	}
	.nlp .nlp-nav__a {
		gap: 6px;
		padding: 8px 10px;
	}
	.nlp-top__logo {
		max-width: 96px;
		padding: 5px 6px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.nlp * {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------- 1.1: Standard + Pro ---------- */
.nlp-head__acts {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.nlp-tag--src {
	background: #f3f0ff;
	color: #5b3cc4;
}
.nlp-tag--owner {
	background: #eefaf3;
	color: #17703d;
}
.nlp-tag--quote {
	background: #e9f7f6;
	color: #0b6e66;
}
.nlp-tag--q-accepted {
	background: #e8f8ee;
	color: #15803d;
}
.nlp-tag--q-declined {
	background: #f3f4f6;
	color: #6b7280;
}
.nlp .nlp-btn--wa {
	color: #128c4a;
}
.nlp-hint--tight {
	margin: -6px 0 12px;
}
.nlp-good {
	margin: 0;
	color: var(--nlp-good);
	font-weight: 600;
}
.nlp-warn {
	margin: 4px 0 0;
	padding: 9px 12px;
	border-radius: 9px;
	background: #fff4e0;
	color: #8a4b00;
	font-size: 13.5px;
}
.nlp-card--glow {
	border-color: color-mix(in srgb, var(--nlp-good) 40%, #fff);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--nlp-good) 12%, transparent), var(--nlp-shadow);
}
.nlp-form--tight {
	gap: 12px;
	margin-top: 12px;
}
.nlp-narrow {
	max-width: 720px;
}
.nlp-inline {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.nlp-sub-h {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 8px 0 8px !important;
	padding-top: 14px;
	border-top: 1px solid var(--nlp-line);
	font-size: 15px;
}
.nlp-check--box {
	align-self: end;
	min-height: 44px;
}
details > summary {
	list-style: none;
	cursor: pointer;
}
details > summary::-webkit-details-marker {
	display: none;
}
details[open] > summary.nlp-btn {
	margin-bottom: 4px;
}

/* Pro teaser */
.nlp-pro-teaser {
	background: linear-gradient(160deg, #fff 55%, color-mix(in srgb, var(--nlp-accent) 8%, #fff));
	border-color: color-mix(in srgb, var(--nlp-accent) 25%, #fff);
}
.nlp-pro-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0 0 8px;
	padding: 3px 9px;
	border-radius: 99px;
	background: var(--nlp-ink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.nlp-ticks {
	display: grid;
	gap: 7px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
.nlp-ticks li {
	position: relative;
	padding-left: 24px;
}
.nlp-ticks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--nlp-good) 15%, #fff);
	color: var(--nlp-good);
	font-size: 11px;
	font-weight: 800;
	line-height: 17px;
	text-align: center;
}
.nlp-interest form {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}
.nlp-interest .nlp-btn--primary {
	justify-self: start;
}

/* Quotes and visits on the enquiry page */
.nlp-qlist,
.nlp-vlist {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-q {
	padding: 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 11px;
	--c: var(--nlp-accent);
}
.nlp-q--accepted {
	--c: var(--nlp-good);
	background: #f3fbf6;
}
.nlp-q--declined,
.nlp-q--expired {
	--c: #94a3b8;
	opacity: 0.8;
}
.nlp-q__top {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: var(--nlp-ink);
}
.nlp-q__top b {
	font-size: 16px;
}
.nlp-q__st {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 4px 0 0;
	color: var(--nlp-muted);
	font-size: 13px;
	font-weight: 600;
}
.nlp-q__why {
	margin: 6px 0 0;
	color: var(--nlp-muted);
	font-size: 13px;
	font-style: italic;
}
.nlp-q__links {
	display: flex;
	gap: 14px;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
}
.nlp-q__links a {
	text-decoration: none;
}
.nlp-vlist {
	margin-bottom: 12px;
}
.nlp-vlist li {
	display: grid;
	gap: 2px;
	padding: 10px 12px;
	border-left: 3px solid var(--nlp-accent);
	border-radius: 0 10px 10px 0;
	background: var(--nlp-accent-soft);
	font-size: 14px;
}
.nlp-vlist li.is-past {
	border-left-color: #cbd5e1;
	background: var(--nlp-soft);
	opacity: 0.75;
}
.nlp-vlist strong {
	color: var(--nlp-ink);
}
.nlp-vlist__acts {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
}
.nlp-vlist__acts a {
	text-decoration: none;
}
.nlp-vlist__cancel summary {
	color: var(--nlp-bad);
}
.nlp-vlist__cancel form {
	display: grid;
	gap: 8px;
	margin-top: 8px;
	font-weight: 500;
}
.nlp-vlist__cancel .nlp-btn {
	justify-self: start;
}

/* Reply box: saved replies */
.nlp-compose__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.nlp .nlp-tpl select {
	min-height: 36px;
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: 14px;
	width: auto;
}

/* Settings */
.nlp-settings__col {
	display: grid;
	gap: 18px;
	align-content: start;
}
.nlp-settings__col .nlp-card + .nlp-card {
	margin-top: 0;
}
.nlp-radios {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 14px 0 0;
	border: 0;
	border-top: 1px solid var(--nlp-line);
}
.nlp-radios legend {
	padding: 14px 0 0;
	margin-bottom: 2px;
	float: left;
	width: 100%;
	font-weight: 700;
	font-size: 14px;
	color: var(--nlp-ink);
}
.nlp-radios .nlp-hint {
	margin: 0;
}
.nlp-radio {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	cursor: pointer;
}
.nlp-radio input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--nlp-accent);
}
.nlp-radio strong {
	display: block;
	color: var(--nlp-ink);
	font-size: 14.5px;
}
.nlp-radio small {
	display: block;
	color: var(--nlp-muted);
	font-size: 13px;
	overflow-wrap: anywhere;
}
.nlp-radio.is-off {
	opacity: 0.5;
	cursor: not-allowed;
}
.nlp-tabs {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border-radius: 11px;
	background: var(--nlp-soft);
	justify-self: start;
}
.nlp-tabs button {
	padding: 7px 14px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--nlp-muted);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.nlp-tabs button[aria-selected="true"] {
	background: #fff;
	color: var(--nlp-ink);
	box-shadow: 0 1px 3px rgba(17, 26, 46, 0.1);
}
.nlp-editor__bar select {
	width: auto !important;
	min-height: 32px !important;
	height: 32px;
	padding: 2px 26px 2px 8px !important;
	font-size: 13px !important;
	background-position: right 8px center !important;
}
.nlp-editor__sep {
	width: 1px;
	align-self: stretch;
	margin: 3px 2px;
	background: var(--nlp-line);
}
.nlp-editor__color {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 32px;
	border-radius: 7px;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: currentColor;
	cursor: pointer;
}
.nlp-editor__color:hover {
	background: #fff;
}
.nlp-editor__color input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.nlp-codepane textarea {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	background: #0f172a !important;
	color: #e2e8f0 !important;
	border-color: #0f172a !important;
}
.nlp-codepane .nlp-hint {
	margin-top: 8px;
}
.nlp-howto {
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--nlp-soft);
	font-size: 13.5px;
}
.nlp-howto summary {
	color: var(--nlp-accent);
	font-weight: 600;
}
.nlp-howto ul {
	margin: 10px 0 2px;
	padding-left: 18px;
	display: grid;
	gap: 6px;
}
.nlp-sigpreview__label {
	margin: 0 0 6px;
	color: var(--nlp-muted);
	font-size: 12.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.nlp-sigpreview__mail {
	padding: 16px 18px;
	border: 1px solid var(--nlp-line);
	border-radius: 10px;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	overflow-x: auto;
}
.nlp-sigpreview__mail > p {
	margin: 0 0 8px;
	color: #9aa4b5;
}
.nlp-sigpreview__mail img {
	max-width: 100%;
	height: auto;
}
.nlp-tpls {
	display: grid;
	gap: 12px;
}
.nlp-tplrow {
	display: grid;
	gap: 6px;
	padding: 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 11px;
	background: #fbfcfe;
}
.nlp-tplrow input {
	font-weight: 600;
}
.nlp-tplrow .nlp-link {
	justify-self: end;
	font-size: 13px;
}

/* Visits page */
.nlp-day {
	margin: 22px 0 10px !important;
	font-size: 15px !important;
	color: var(--nlp-muted) !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.nlp-day:first-of-type {
	margin-top: 0 !important;
}
.nlp .nlp-visits .nlp-row {
	grid-template-columns: 110px minmax(160px, 1fr) minmax(0, 2fr);
}
.nlp-visit__time {
	display: flex;
	flex-direction: column;
	font-weight: 800;
	color: var(--nlp-ink);
	font-size: 16px;
}
.nlp-visit__time small {
	font-weight: 500;
	font-size: 12.5px;
	color: var(--nlp-muted);
}

/* Quote builder */
.nlp-qtable {
	display: grid;
	gap: 8px;
}
.nlp-qrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 80px 140px 110px 36px;
	gap: 10px;
	align-items: start;
}
.nlp-qrow--head {
	color: var(--nlp-muted);
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.nlp-qrow--head span:nth-child(n + 2) {
	text-align: right;
}
.nlp-qrow textarea {
	min-height: 44px !important;
	overflow: hidden;
	resize: none !important;
}
.nlp-qrow input[name="qty[]"] {
	text-align: center;
}
.nlp-qrow input[name="price[]"] {
	text-align: right;
}
.nlp-qrow__amt {
	padding: 11px 0;
	text-align: right;
	font-weight: 700;
	color: var(--nlp-ink);
}
.nlp-qrow__del {
	width: 36px;
	height: 44px;
	border: 0;
	border-radius: 9px;
	background: none;
	color: var(--nlp-faint);
	cursor: pointer;
}
.nlp-qrow__del:hover {
	background: #fef2f2;
	color: var(--nlp-bad);
}
.nlp-qtable > .nlp-btn {
	justify-self: start;
	margin-top: 4px;
}
.nlp-qtotals {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--nlp-line);
}
.nlp-qtotals dl {
	display: grid;
	gap: 6px;
	min-width: 260px;
	margin: 0 0 0 auto;
}
.nlp-qtotals dl div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}
.nlp-qtotals dt {
	color: var(--nlp-muted);
}
.nlp-qtotals dd {
	margin: 0;
	font-weight: 600;
}
.nlp-qtotals__total {
	margin-top: 4px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--nlp-accent-soft);
}
.nlp-qtotals__total dt {
	color: var(--nlp-ink);
	font-weight: 700;
}
.nlp-qtotals__total dd {
	font-size: 22px;
	font-weight: 800;
	color: var(--nlp-accent);
}
.nlp-quote .nlp-cols {
	margin-top: 18px;
}
.nlp-quote .nlp-card .nlp-check {
	margin-top: 10px;
}
.nlp-qgo {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
	padding: 14px 0;
	background: linear-gradient(rgba(244, 246, 250, 0), var(--nlp-soft) 45%);
	pointer-events: none;
}
.nlp-qgo > * {
	pointer-events: auto;
}
.nlp-tiles--q {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 520px;
}

/* The customer's quote page */
body.nlp--quote {
	background: var(--nlp-soft);
}
.nlp-pq {
	max-width: 820px;
	margin: 0 auto;
	padding: 32px 16px 40px;
}
.nlp-pq__card {
	padding: 34px;
	border: 1px solid var(--nlp-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(17, 26, 46, 0.08);
}
.nlp-pq__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 3px solid var(--nlp-accent);
}
.nlp-pq__head .nlp-auth__brand {
	justify-content: flex-start;
	margin: 0;
}
.nlp-pq__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	color: var(--nlp-muted);
	font-size: 14px;
}
.nlp-pq__label {
	color: var(--nlp-accent);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.nlp-pq__meta strong {
	color: var(--nlp-ink);
}
.nlp-pq__for {
	margin: 18px 0;
	font-size: 16px;
}
.nlp-pq__banner {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--nlp-soft);
	font-weight: 600;
}
.nlp-pq__banner--ok {
	background: #ecfdf3;
	color: #166534;
}
.nlp-pq__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.nlp-pq__table th {
	padding: 10px 12px;
	background: var(--nlp-accent);
	color: #fff;
	font-size: 13px;
	text-align: right;
}
.nlp-pq__table th:first-child {
	text-align: left;
	border-radius: 8px 0 0 8px;
}
.nlp-pq__table th:last-child {
	border-radius: 0 8px 8px 0;
}
.nlp-pq__table td {
	padding: 12px;
	border-bottom: 1px solid var(--nlp-line);
	text-align: right;
	vertical-align: top;
	white-space: nowrap;
}
.nlp-pq__table td:first-child {
	text-align: left;
	white-space: normal;
}
.nlp-pq__qp {
	display: none;
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp-pq__totals {
	display: grid;
	gap: 6px;
	max-width: 320px;
	margin: 16px 0 0 auto;
}
.nlp-pq__totals div {
	display: flex;
	justify-content: space-between;
}
.nlp-pq__totals dt {
	color: var(--nlp-muted);
}
.nlp-pq__totals dd {
	margin: 0;
	font-weight: 600;
}
.nlp-pq__total {
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--nlp-accent-soft);
}
.nlp-pq__total dt {
	color: var(--nlp-ink) !important;
	font-weight: 700;
}
.nlp-pq__total dd {
	font-size: 24px;
	font-weight: 800 !important;
	color: var(--nlp-accent);
}
.nlp-pq__h {
	margin: 22px 0 6px !important;
	font-size: 14px !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--nlp-muted) !important;
}
.nlp-pq__p {
	margin: 0;
	font-size: 14.5px;
}
.nlp-pq__valid {
	margin: 22px 0 0;
	color: var(--nlp-muted);
	font-size: 14px;
}
.nlp-pq__accept {
	margin-top: 10px;
	padding: 20px;
	border-radius: 14px;
	background: var(--nlp-accent-soft);
	border: 1px solid color-mix(in srgb, var(--nlp-accent) 20%, #fff);
}
.nlp-pq__accept .nlp-pq__h {
	margin-top: 0 !important;
	color: var(--nlp-ink) !important;
	font-size: 17px !important;
	text-transform: none;
	letter-spacing: 0;
}
.nlp-pq__accept .nlp-btn {
	min-height: 52px;
	font-size: 16px;
}
.nlp-pq__no {
	margin: 12px 0 0;
	font-size: 14px;
}
.nlp-pq__no summary {
	color: var(--nlp-muted);
	text-decoration: underline;
}
.nlp-pq__no form {
	margin-top: 10px;
}
.nlp-pq__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--nlp-line);
	color: var(--nlp-muted);
	font-size: 14px;
}
.nlp-pq__foot p {
	margin: 0;
}
.nlp-pq__by {
	justify-content: center;
	color: var(--nlp-faint);
}

@media (max-width: 900px) {
	.nlp .nlp-visits .nlp-row {
		grid-template-columns: 90px minmax(0, 1fr);
		grid-template-areas: "time who" "time what";
	}
	.nlp-visit__time {
		grid-area: time;
	}
	.nlp-visits .nlp-row__what {
		padding-left: 0;
	}
}
@media (max-width: 760px) {
	.nlp-head__acts {
		width: 100%;
	}
	.nlp-head__acts .nlp-btn {
		flex: 1;
	}
	.nlp-qrow--head {
		display: none;
	}
	.nlp-qrow {
		grid-template-columns: 70px 1fr auto 36px;
		grid-template-areas: "desc desc desc desc" "qty price amt del";
		padding: 10px;
		border: 1px solid var(--nlp-line);
		border-radius: 11px;
	}
	.nlp-qrow > label:nth-child(1) {
		grid-area: desc;
	}
	.nlp-qrow > label:nth-child(2) {
		grid-area: qty;
	}
	.nlp-qrow > label:nth-child(3) {
		grid-area: price;
	}
	.nlp-qrow__amt {
		grid-area: amt;
	}
	.nlp-qrow__del {
		grid-area: del;
	}
	.nlp-qtotals dl {
		min-width: 0;
		width: 100%;
	}
	.nlp-qgo .nlp-btn {
		flex: 1;
	}
	.nlp-pq__card {
		padding: 22px 16px;
	}
	.nlp-pq__head {
		flex-direction: column;
	}
	.nlp-pq__meta {
		align-items: flex-start;
	}
	.nlp-pq__qp {
		display: block;
	}
	.nlp-pq__table th:nth-child(2),
	.nlp-pq__table td:nth-child(2),
	.nlp-pq__table th:nth-child(3),
	.nlp-pq__table td:nth-child(3) {
		display: none;
	}
	.nlp-lead-head__acts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- 1.2: Help, tour, set-up, notes, Today, Portal Pro ---------- */
:root {
	--nlp-gold: #d4a72c;
	--nlp-gold-lt: #f6dd8a;
	--nlp-gold-dk: #a87b10;
}
body.nlp-noscroll {
	overflow: hidden;
}
.nlp-link--muted {
	color: var(--nlp-muted);
	font-weight: 500;
}

/* Gold PRO badge */
.nlp-probadge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	border-radius: 99px;
	background: linear-gradient(135deg, var(--nlp-gold-lt), var(--nlp-gold) 55%, var(--nlp-gold-dk));
	color: #241900;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
	box-shadow: 0 1px 3px rgba(168, 123, 16, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	vertical-align: middle;
	white-space: nowrap;
}
.nlp-probadge .nlp-i {
	fill: currentColor;
	stroke: none;
}
.nlp-probadge--sm {
	padding: 1px 6px;
	font-size: 9.5px;
}
.nlp-probadge--auth {
	margin-top: 12px;
	padding: 4px 12px;
	font-size: 11.5px;
}
.nlp-auth__brand {
	flex-direction: column;
	align-items: center;
}

/* Portal Pro theme: deep navy and gold */
.nlp--pro .nlp-top {
	background: linear-gradient(115deg, #070b18 0%, #101d3a 55%, #172449 100%);
}
.nlp--pro .nlp-top::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--nlp-gold) 20%, var(--nlp-gold-lt) 50%, var(--nlp-gold) 80%, transparent);
	opacity: 0.85;
}
.nlp--pro .nlp-top__name small {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
}
.nlp--pro .nlp-nav__a.is-active {
	background: rgba(246, 221, 138, 0.1);
	box-shadow: inset 0 -2px 0 var(--nlp-gold);
}
.nlp-nav__a--pro .nlp-i {
	color: var(--nlp-gold-lt);
}
.nlp--pro .nlp-top .nlp-avatar {
	box-shadow: 0 0 0 2px var(--nlp-gold);
	background: rgba(246, 221, 138, 0.15);
}
.nlp-card--pro {
	position: relative;
	border-color: color-mix(in srgb, var(--nlp-gold) 30%, var(--nlp-line));
}
.nlp-card--pro::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 18px;
	right: 18px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--nlp-gold-dk), var(--nlp-gold-lt), var(--nlp-gold-dk));
}
.nlp-card--pro .nlp-card__h > .nlp-i {
	color: var(--nlp-gold-dk);
}
.nlp-sub-h--pro {
	color: var(--nlp-ink);
}
body.nlp--auth.nlp--pro {
	background: radial-gradient(900px 500px at 50% -10%, rgba(212, 167, 44, 0.25), transparent 60%), radial-gradient(1200px 600px at 50% -10%, #172449, var(--nlp-night) 70%);
}
.nlp--auth.nlp--pro .nlp-auth__card {
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 167, 44, 0.35);
}

/* Help button and panel */
.nlp .nlp-top__help {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 11px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 99px;
	background: transparent;
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}
.nlp .nlp-top__help:hover {
	background: rgba(255, 255, 255, 0.08);
}
.nlp-tip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	margin-left: 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--nlp-soft);
	color: var(--nlp-muted);
	font-size: 11.5px;
	font-weight: 800;
	vertical-align: middle;
	cursor: pointer;
}
.nlp-tip:hover {
	background: var(--nlp-accent-soft);
	color: var(--nlp-accent);
}
.nlp-help {
	position: fixed;
	inset: 0;
	z-index: 90;
}
.nlp-help__scrim {
	position: absolute;
	inset: 0;
	background: rgba(8, 12, 26, 0.45);
	animation: nlp-fade 0.2s ease;
}
.nlp-help__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background: #fff;
	box-shadow: -20px 0 60px rgba(8, 12, 26, 0.25);
	animation: nlp-slide 0.25s ease;
}
@keyframes nlp-slide {
	from {
		transform: translateX(30px);
		opacity: 0;
	}
}
@keyframes nlp-fade {
	from {
		opacity: 0;
	}
}
.nlp-help__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px 10px;
}
.nlp-help__head h2 {
	font-size: 20px;
}
.nlp-help__x {
	padding: 6px;
	border: 0;
	border-radius: 8px;
	background: none;
	cursor: pointer;
}
.nlp-help__x:hover {
	background: var(--nlp-soft);
}
.nlp-help__search {
	margin: 0 20px;
}
.nlp-help__quick {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 12px 20px 4px;
}
.nlp-help__list {
	flex: 1;
	overflow-y: auto;
	padding: 6px 20px 16px;
}
.nlp-help__group h3 {
	margin: 18px 0 6px !important;
	color: var(--nlp-muted) !important;
	font-size: 12px !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.nlp-help__item {
	border-bottom: 1px solid var(--nlp-line);
}
.nlp-help__item summary {
	position: relative;
	padding: 11px 26px 11px 0;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--nlp-ink);
}
.nlp-help__item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 9px;
	color: var(--nlp-faint);
	font-size: 18px;
	font-weight: 500;
}
.nlp-help__item[open] summary::after {
	content: "–";
}
.nlp-help__a {
	padding: 0 0 12px;
	font-size: 14px;
	color: var(--nlp-text);
}
.nlp-help__a p {
	margin: 0 0 8px;
}
.nlp-help__a ul {
	margin: 0 0 8px;
	padding-left: 18px;
	display: grid;
	gap: 5px;
}
.nlp-help__none {
	margin: 20px 0;
	color: var(--nlp-muted);
}
.nlp-help__contact {
	padding: 14px 20px 20px;
	border-top: 1px solid var(--nlp-line);
	background: var(--nlp-soft);
}
.nlp-help__contact h3 {
	margin: 0 0 8px !important;
	font-size: 15px;
}
.nlp-help__contact .nlp-btn {
	justify-self: start;
}

/* Tour */
.nlp-tour {
	position: fixed;
	inset: 0;
	z-index: 95;
}
.nlp-tour__spot {
	position: fixed;
	border-radius: 12px;
	box-shadow: 0 0 0 9999px rgba(8, 12, 26, 0.62), 0 0 0 3px var(--nlp-gold-lt);
	transition: all 0.3s ease;
	pointer-events: none;
}
.nlp-tour.is-center .nlp-tour__spot {
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	box-shadow: 0 0 0 9999px rgba(8, 12, 26, 0.62);
}
.nlp-tour__card {
	position: fixed;
	width: 340px;
	padding: 20px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	transition: top 0.3s ease, left 0.3s ease;
}
.nlp-tour.is-center .nlp-tour__card {
	top: 50%;
	left: 50%;
	width: min(420px, calc(100% - 32px));
	padding: 28px;
	transform: translate(-50%, -50%);
	text-align: center;
}
.nlp-tour__badge {
	margin: 0;
}
.nlp-tour__badge:empty {
	display: none;
}
.nlp-tour.is-center .nlp-tour__badge {
	margin-bottom: 10px;
}
.nlp-tour__card h2 {
	margin: 6px 0 6px !important;
	font-size: 18px;
}
.nlp-tour.is-center .nlp-tour__card h2 {
	font-size: 22px;
}
.nlp-tour__text {
	margin: 0 0 16px;
	color: var(--nlp-muted);
	font-size: 14.5px;
}
.nlp-tour__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.nlp-tour.is-center .nlp-tour__foot {
	justify-content: center;
	flex-direction: column-reverse;
}
.nlp-tour__dots {
	color: var(--nlp-faint);
	font-size: 12.5px;
	font-weight: 600;
}

/* Get set up */
.nlp-setup {
	margin: 0 0 18px;
	background: linear-gradient(135deg, #fff 60%, var(--nlp-accent-soft));
}
.nlp--pro .nlp-setup {
	background: linear-gradient(135deg, #fff 60%, #fdf6e1);
}
.nlp-setup__top {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.nlp-setup__top .nlp-card__h {
	margin-bottom: 8px !important;
}
.nlp-setup__prog {
	display: grid;
	gap: 6px;
	min-width: 180px;
	font-size: 13px;
	font-weight: 700;
	color: var(--nlp-ink);
	text-align: right;
}
.nlp-setup__prog i {
	display: block;
	height: 8px;
	border-radius: 99px;
	background: var(--nlp-line);
	overflow: hidden;
}
.nlp-setup__prog b {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--nlp-good), #4ade80);
}
.nlp-setup__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 12px 24px;
	margin: 14px 0 6px;
	padding: 0;
	list-style: none;
}
.nlp-setup__list li {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: start;
	gap: 2px 10px;
	font-size: 14.5px;
	line-height: 1.35;
}
.nlp-setup__list li > a,
.nlp-setup__list li > span:not(.nlp-setup__tick) {
	padding-top: 1px;
}
.nlp-setup__mark {
	grid-column: 2;
}
.nlp-setup__list li a {
	font-weight: 600;
	text-decoration: none;
}
.nlp-setup__list li.is-done {
	color: var(--nlp-muted);
	text-decoration: line-through;
}
.nlp-setup__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 20px;
	height: 20px;
	border: 2px solid #cbd5e1;
	border-radius: 50%;
	color: #fff;
}
.is-done .nlp-setup__tick {
	border-color: var(--nlp-good);
	background: var(--nlp-good);
}
.nlp-setup__mark,
.nlp-setup__hide {
	margin: 0;
}
.nlp-setup__mark .nlp-link {
	font-size: 12.5px;
	font-weight: 500;
}
.nlp-setup__hide {
	text-align: right;
}
.nlp-setup__hide .nlp-link {
	font-size: 12.5px;
}

/* Reminders banner */
.nlp-remind {
	margin: 0 0 18px;
	padding: 14px 18px;
	border: 1px solid #fcd9a4;
	border-radius: var(--nlp-r);
	background: #fffaf0;
}
.nlp-remind h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px !important;
	font-size: 15.5px !important;
	color: #8a4b00 !important;
}
.nlp-remind ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-remind li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff;
}
.nlp-remind li a {
	flex: 1;
	min-width: 0;
	color: var(--nlp-text);
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nlp-remind li a span {
	color: var(--nlp-muted);
}
.nlp-remind form {
	margin: 0;
}
.nlp-overdue {
	color: var(--nlp-bad);
	font-style: normal;
	font-size: 12.5px;
	font-weight: 700;
}

/* Notes section */
.nlp-noteadd {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
}
.nlp-noteadd .nlp-btn {
	justify-self: start;
}
.nlp-noteadd__opts {
	display: flex;
	gap: 8px 18px;
	flex-wrap: wrap;
	align-items: center;
}
.nlp-attach--sm {
	padding: 5px 10px;
	font-size: 13.5px;
}
.nlp-star .nlp-i {
	color: var(--nlp-gold);
}
.nlp-remindpick summary {
	font-size: 14px;
}
.nlp-remindpick__box {
	position: absolute;
	z-index: 10;
	display: grid;
	gap: 8px;
	width: 280px;
	margin-top: 8px;
	padding: 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 26, 46, 0.15);
}
.nlp-remindpick {
	position: relative;
}
.nlp-notelist {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-n {
	padding: 12px 14px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: #fff;
}
.nlp-n.is-important {
	border-color: color-mix(in srgb, var(--nlp-gold) 55%, #fff);
	background: #fffbea;
	box-shadow: inset 3px 0 0 var(--nlp-gold);
}
.nlp-n.is-due {
	box-shadow: inset 3px 0 0 var(--nlp-warn);
}
.nlp-n__head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp-n__head strong {
	color: var(--nlp-ink);
}
.nlp-avatar--xs {
	width: 24px;
	height: 24px;
	font-size: 10px;
}
.nlp-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 1px 8px;
	border-radius: 99px;
	font-size: 11.5px;
	font-weight: 700;
}
.nlp-pill--imp {
	background: #fdf0c4;
	color: #7a5600;
}
.nlp-n__text {
	margin: 8px 0 0;
	font-size: 14.5px;
	overflow-wrap: anywhere;
}
.nlp-n__files {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.nlp-n__files a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--nlp-soft);
	color: var(--nlp-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.nlp-n__files small {
	color: var(--nlp-faint);
	font-weight: 500;
}
.nlp-n__remind {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 8px 0 0;
	padding: 3px 10px;
	border-radius: 99px;
	background: #fff4e0;
	color: #8a4b00;
	font-size: 12.5px;
	font-weight: 700;
}
.nlp-n__remind.is-done {
	background: #ecfdf3;
	color: #166534;
}
.nlp-n__acts {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 8px;
}
.nlp-n__acts form {
	margin: 0;
}
.nlp-n__acts .nlp-link {
	font-size: 12.5px;
}
.nlp-tag--imp {
	background: #fdf0c4;
	color: #7a5600;
}
.nlp-ico-imp {
	color: var(--nlp-gold);
}

/* Today */
.nlp-today-hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 18px;
	padding: 26px 28px;
	border-radius: 18px;
	background: radial-gradient(600px 220px at 100% 0, rgba(212, 167, 44, 0.28), transparent 70%), linear-gradient(120deg, #0a1022, #172449);
	color: #fff;
	box-shadow: 0 14px 40px rgba(11, 16, 34, 0.18);
}
.nlp-today-hero h1 {
	color: #fff !important;
	font-size: 28px;
	letter-spacing: -0.02em;
}
.nlp-today-hero .nlp-sub {
	color: rgba(255, 255, 255, 0.72);
}
.nlp-today-hero__date {
	margin: 0 0 4px;
	color: var(--nlp-gold-lt);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.nlp-today-tiles {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nlp .nlp-today-tiles .nlp-tile {
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s;
}
.nlp .nlp-today-tiles .nlp-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(17, 26, 46, 0.08);
}
.nlp-tile--gold {
	border-color: color-mix(in srgb, var(--nlp-gold) 45%, #fff);
	background: linear-gradient(160deg, #fff 55%, #fdf6e1);
}
.nlp-tile--gold b {
	color: var(--nlp-gold-dk);
}
.nlp-tlist {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp .nlp-tlist a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 8px;
	border-radius: 10px;
	color: var(--nlp-text);
	text-decoration: none;
}
.nlp .nlp-tlist a:hover {
	background: var(--nlp-soft);
}
.nlp-tlist a > span {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}
.nlp-tlist strong {
	color: var(--nlp-ink);
}
.nlp-tlist small {
	color: var(--nlp-muted);
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nlp-tlist a > b {
	flex: none;
	color: var(--nlp-ink);
}
.nlp-tlist a > b:first-child {
	min-width: 64px;
	color: var(--nlp-gold-dk);
}
.nlp-tlist em {
	flex: none;
	color: var(--nlp-muted);
	font-style: normal;
	font-size: 12.5px;
	font-weight: 600;
}

@media (max-width: 900px) {
	.nlp-today-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	.nlp .nlp-top__help span {
		display: none;
	}
	.nlp .nlp-top__help {
		padding: 7px;
		border: 0;
	}
	.nlp-today-hero {
		padding: 20px;
	}
	.nlp-today-hero h1 {
		font-size: 23px;
	}
	.nlp-setup__prog {
		text-align: left;
		min-width: 0;
		width: 100%;
	}
	.nlp-remindpick__box {
		left: 0;
		width: min(280px, calc(100vw - 40px));
		box-sizing: border-box;
	}
}

/* Keep the top bar on one line when Pro adds tabs. */
.nlp-top__brand {
	flex: none;
	max-width: 260px;
}
.nlp-nav {
	min-width: 0;
}
.nlp .nlp-nav__a {
	white-space: nowrap;
}
.nlp .nlp-top__out,
.nlp .nlp-top__help {
	white-space: nowrap;
}
@media (max-width: 1400px) {
	.nlp--pro .nlp-top__who,
	.nlp--pro .nlp-top__out span {
		display: none;
	}
	.nlp--pro .nlp-nav__a {
		padding: 9px 10px;
		gap: 6px;
	}
	.nlp--pro .nlp-top__in {
		gap: 14px;
	}
}
@media (max-width: 1200px) {
	.nlp--pro .nlp-nav .nlp-i {
		display: none;
	}
	.nlp .nlp-top__help span {
		display: none;
	}
	.nlp .nlp-top__help {
		padding: 7px;
	}
}

.nlp-cols > *,
.nlp-settings > *,
.nlp-grid > * {
	min-width: 0;
}
.nlp-tlist li,
.nlp-remind li,
.nlp-notelist li {
	min-width: 0;
}
.nlp-help__search {
	flex: none !important;
	display: block;
}
.nlp-help__panel > * {
	flex-shrink: 0;
}
.nlp-help__panel > .nlp-help__list {
	flex: 1 1 auto;
	flex-shrink: 1;
	min-height: 0;
}

/* Sign-in email (1.3.0) */
.nlp-info {
	display: flex;
	gap: 7px;
	align-items: flex-start;
	margin: 4px 0 0;
	padding: 9px 12px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--nlp-good) 9%, #fff);
	color: #14532d;
	font-size: 13.5px;
}
.nlp-info .nlp-i { flex: none; margin-top: 2px; color: var(--nlp-good); }
.nlp-emailfield { display: grid; gap: 6px; }
.nlp-emailfield > label > span { font-size: 13.5px; font-weight: 600; color: var(--nlp-ink); }
.nlp-emailfield .nlp-link { font-size: inherit; }
.nlp-emailpw { margin-top: 4px; }

/* Quote design (1.3.0) */
.nlp-qd {
	display: grid;
	gap: 20px;
	align-items: start;
}
.nlp-qd__form {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.nlp-qd__form > .nlp-card {
	display: grid;
	gap: 14px;
	margin: 0;
}
.nlp-qd__form .nlp-card__h { margin: 0; }
.nlp-qd__preview { display: none; }
@media (min-width: 1100px) {
	.nlp-qd { grid-template-columns: minmax(0, 1fr) 470px; }
	.nlp-qd__preview {
		display: grid;
		grid-template-rows: auto 1fr;
		position: sticky;
		top: 84px;
		height: calc(100vh - 104px);
		min-height: 520px;
		border: 1px solid var(--nlp-line);
		border-radius: var(--nlp-r);
		background: #525659;
		overflow: hidden;
		box-shadow: var(--nlp-shadow);
	}
	.nlp-qd__preview iframe { width: 100%; height: 100%; border: 0; background: #525659; }
}
.nlp-qd__previewbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: var(--nlp-card);
	border-bottom: 1px solid var(--nlp-line);
	font-size: 13.5px;
}
.nlp-qd__previewbar span { color: var(--nlp-muted); }
.nlp-qd__save {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	padding: 12px 0;
	background: linear-gradient(to top, var(--nlp-soft) 70%, transparent);
}

/* Layout picker */
.nlp-qd__layouts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}
.nlp-qd__layout {
	position: relative;
	display: grid;
	gap: 4px;
	padding: 10px;
	border: 1.5px solid var(--nlp-line);
	border-radius: 12px;
	cursor: pointer;
	background: var(--nlp-card);
	transition: border-color .15s, box-shadow .15s;
}
.nlp-qd__layout input { position: absolute; opacity: 0; pointer-events: none; }
.nlp-qd__layout:hover { border-color: color-mix(in srgb, var(--nlp-accent) 45%, var(--nlp-line)); }
.nlp-qd__layout:has(input:checked) {
	border-color: var(--nlp-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--nlp-accent) 16%, transparent);
}
.nlp-qd__layout:has(input:focus-visible) { outline: 2px solid var(--nlp-accent); outline-offset: 2px; }
.nlp-qd__layout strong { font-size: 13.5px; color: var(--nlp-ink); margin-top: 4px; }
.nlp-qd__layout small { font-size: 12px; color: var(--nlp-muted); line-height: 1.35; }

/* Mini page drawings */
.nlp-mini {
	position: relative;
	display: block;
	aspect-ratio: 210 / 297;
	border: 1px solid #dfe3ea;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
	--c1: var(--qd-c1, #1f6fe5);
	--c2: var(--qd-c2, #111a2e);
}
.nlp-mini b, .nlp-mini i, .nlp-mini em, .nlp-mini u { position: absolute; display: block; }
.nlp-mini b { left: 10%; top: 6%; width: 26%; height: 7%; border-radius: 2px; background: var(--c2); opacity: .8; }
.nlp-mini i { left: 10%; height: 2.5%; border-radius: 2px; background: #cfd5df; }
.nlp-mini i:nth-of-type(1) { top: 19%; width: 34%; }
.nlp-mini i:nth-of-type(2) { top: 24%; width: 26%; }
.nlp-mini em { left: 10%; right: 10%; height: 5.5%; }
.nlp-mini em:nth-of-type(1) { top: 34%; background: var(--c1); }
.nlp-mini em:nth-of-type(2) { top: 41%; background: color-mix(in srgb, var(--c1) 7%, #fff); }
.nlp-mini em:nth-of-type(3) { top: 48%; background: color-mix(in srgb, var(--c1) 7%, #fff); }
.nlp-mini u { right: 10%; top: 58%; width: 34%; height: 6%; background: color-mix(in srgb, var(--c1) 14%, #fff); }
.nlp-mini::after { content: ""; position: absolute; right: 10%; top: 7%; width: 22%; height: 5%; border-radius: 2px; background: var(--c1); }
/* Bold header */
.nlp-mini--banner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 17%; background: var(--c1); }
.nlp-mini--banner b { z-index: 1; background: #fff; opacity: 1; top: 5%; }
.nlp-mini--banner::after { z-index: 1; background: #fff; opacity: .9; }
.nlp-mini--banner em:nth-of-type(1) { background: var(--c2); }
.nlp-mini--banner u { background: var(--c1); }
/* Clean & simple */
.nlp-mini--minimal::after { background: var(--c2); height: 4%; }
.nlp-mini--minimal::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15.5%; height: 1px; background: var(--c1); }
.nlp-mini--minimal em { background: none !important; border-bottom: 1px solid #e3e7ee; }
.nlp-mini--minimal em:nth-of-type(1) { border-bottom: 2px solid var(--c1); }
.nlp-mini--minimal u { background: none; border-top: 1.5px solid var(--c2); }
/* Side stripe */
.nlp-mini--stripe::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4%; background: var(--c1); }
.nlp-mini--stripe em { background: none !important; border-bottom: 1px solid #e3e7ee; }
.nlp-mini--stripe em:nth-of-type(1) { background: color-mix(in srgb, var(--c1) 14%, #fff) !important; border: 0; }
.nlp-mini--stripe u { background: var(--c1); }

.nlp-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 3px;
	border-radius: 4px;
	vertical-align: -2px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.nlp-colour { display: flex; gap: 8px; align-items: center; }
.nlp-colour input[type="color"] { width: 46px; height: 40px; padding: 3px; border-radius: 10px; flex: none; cursor: pointer; }
.nlp-colour input[type="text"] { min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: lowercase; }
.nlp-qd__thumb {
	display: block;
	max-width: 180px;
	max-height: 60px;
	margin-top: 6px;
	padding: 6px;
	border: 1px solid var(--nlp-line);
	border-radius: 8px;
	background: #fff;
	object-fit: contain;
}
.nlp-qd__thumb--page { max-width: 90px; max-height: 128px; padding: 0; }
.nlp-qd__current { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0; }
.nlp-qd__current .nlp-qd__thumb { margin: 0; }
.nlp-qd__upload, .nlp-qd__letteropts { display: grid; gap: 12px; }
.nlp-qd input[type="file"] { padding: 9px; font-size: 13.5px; }
.nlp-qd input[type="range"] { padding: 0; accent-color: var(--nlp-accent); }
.nlp-qd output { font-variant-numeric: tabular-nums; }
.nlp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -6px; }
.nlp-chip {
	padding: 4px 9px;
	border: 1px solid color-mix(in srgb, var(--nlp-accent) 30%, #fff);
	border-radius: 999px;
	background: var(--nlp-accent-soft);
	color: var(--nlp-accent);
	font: 600 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
	cursor: pointer;
}
.nlp-chip:hover { background: color-mix(in srgb, var(--nlp-accent) 18%, #fff); }
.nlp-qd__tagshelp { margin: 4px 0 -4px; }

/* Settings: link to the quote design */
.nlp-qdlink {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: var(--nlp-soft);
}
.nlp-qdlink > span:nth-child(2) { display: grid; flex: 1 1 180px; gap: 2px; }
.nlp-qdlink small { color: var(--nlp-muted); font-size: 12.5px; }
.nlp-qdlink__thumb {
	position: relative;
	flex: none;
	width: 34px;
	height: 46px;
	border: 1px solid #dfe3ea;
	border-radius: 4px;
	background: #fff;
}
.nlp-qdlink__thumb i { position: absolute; left: 5px; right: 5px; height: 4px; border-radius: 1px; background: #d5dbe5; }
.nlp-qdlink__thumb i:nth-child(1) { top: 6px; right: 14px; background: var(--nlp-accent); }
.nlp-qdlink__thumb i:nth-child(2) { top: 18px; background: var(--nlp-accent); opacity: .85; }
.nlp-qdlink__thumb i:nth-child(3) { top: 26px; }
.nlp-pq__small { max-width: 640px; margin: 6px auto 0; color: var(--nlp-faint); font-size: 12px; text-align: center; }
.nlp-qd__form .nlp-hint { margin: 0; }

/* Team: quiet "Add a team member" and the Settings team list */
.nlp-addteam {
	margin-top: 12px;
}
.nlp-addteam__btn {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border: 1px dashed var(--nlp-line, #d5dbe5);
	border-radius: 10px;
	color: var(--nlp-muted);
	font-size: 14px;
	cursor: pointer;
	list-style: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.nlp-addteam__btn::-webkit-details-marker {
	display: none;
}
.nlp-addteam__btn::before {
	content: "+";
	font-weight: 700;
}
.nlp-addteam__btn:hover,
.nlp-addteam__btn:focus-visible,
.nlp-addteam__more[open] .nlp-addteam__btn {
	color: var(--nlp-ink);
	border-color: color-mix(in srgb, var(--nlp-accent) 45%, #fff);
}
.nlp-addteam__more .nlp-hint {
	margin-top: 8px;
}
.nlp-addteam__done {
	display: flex;
	gap: 6px;
	align-items: flex-start;
	margin: 0;
	color: var(--nlp-muted);
	font-size: 13.5px;
}
.nlp-addteam__done svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--nlp-good);
}
.nlp-teamlist {
	display: grid;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.nlp-teamlist li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nlp-teamlist small {
	display: block;
	color: var(--nlp-muted);
	font-size: 12.5px;
}
.nlp-teamlist__you {
	color: var(--nlp-muted);
	font-size: 12.5px;
	font-style: normal;
}
.nlp-teamlist__av {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--nlp-accent) 12%, #fff);
	color: var(--nlp-ink);
	font-size: 13px;
	font-weight: 700;
}
.nlp-teamcount {
	margin: 12px 0 0;
	color: var(--nlp-muted);
	font-size: 13px;
	font-weight: 600;
}

/* ---------- Customers, book-again reminders ---------- */
.nlp-subtabs {
	margin-bottom: 18px;
}
.nlp-protag {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 6px;
	border-radius: 99px;
	background: linear-gradient(135deg, #e9c46a, #c99a2e);
	color: #1b1405;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	vertical-align: 1px;
}
.nlp-filters {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.nlp-filters .nlp-search {
	flex: 1;
	max-width: 520px;
}
.nlp-custlist .nlp-row {
	align-items: center;
	gap: 14px;
}
.nlp-cust__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 13.5px;
	margin-left: auto;
}
.nlp-cust__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
	min-width: 0;
}
.nlp-muted {
	color: var(--nlp-muted);
}
.nlp-tag--warn {
	background: #fff4e5;
	color: #9a4b00;
	border-color: #f6d4a6;
}
.nlp-tiles--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 18px;
}
.nlp-rems {
	display: grid;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}
.nlp-rem {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 12px 14px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: #fff;
}
.nlp-rem.is-due {
	border-color: #f6c58a;
	background: #fffaf2;
}
.nlp-rem.is-done {
	opacity: 0.7;
}
.nlp-rem__main {
	display: grid;
	gap: 2px;
	flex: 1 1 220px;
	min-width: 0;
}
.nlp-rem__who {
	font-weight: 700;
	color: var(--nlp-ink);
	text-decoration: none;
}
.nlp-rem__who:hover {
	text-decoration: underline;
}
.nlp-rem__what {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}
.nlp-rem__what svg {
	color: var(--nlp-accent);
	flex-shrink: 0;
}
.nlp-rem__when {
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp-rem.is-due .nlp-rem__when {
	color: #9a4b00;
	font-weight: 600;
}
.nlp-warn-inline {
	color: #b42318;
	font-weight: 600;
}
.nlp-rem__contact,
.nlp-rem__acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.nlp-rems--big .nlp-rem {
	padding: 14px 16px;
}
.nlp-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--nlp-muted);
	cursor: pointer;
}
.nlp-icon-btn:hover,
.nlp-icon-btn:focus-visible {
	background: #fdecec;
	color: #b42318;
}
.nlp-addrem > summary {
	list-style: none;
	display: inline-flex;
}
.nlp-addrem > summary::-webkit-details-marker {
	display: none;
}
.nlp-addrem[open] > summary {
	display: none;
}
.nlp-remdone {
	margin-top: 12px;
}
.nlp-remdone > summary {
	cursor: pointer;
	list-style: none;
	margin-bottom: 10px;
}
.nlp-baform {
	display: grid;
	gap: 12px;
	margin-top: 4px;
}
.nlp-baform fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
.nlp-baform legend {
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
}
.nlp-baform__when {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.nlp-baform__when legend {
	width: 100%;
}
.nlp-pill {
	position: relative;
}
.nlp-pill input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.nlp-pill span {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid var(--nlp-line);
	border-radius: 99px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
}
.nlp-pill input:checked + span {
	border-color: var(--nlp-accent);
	background: color-mix(in srgb, var(--nlp-accent) 10%, #fff);
	color: var(--nlp-ink);
	box-shadow: inset 0 0 0 1px var(--nlp-accent);
}
.nlp-pill input:focus-visible + span {
	outline: 2px solid var(--nlp-accent);
	outline-offset: 2px;
}
.nlp-field--inline {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nlp-field--inline > span:first-child {
	margin: 0;
}
.nlp-baform .nlp-btn--primary {
	justify-self: start;
}
.nlp-card--ask {
	border-color: #9fd8b4;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08);
}
.nlp-ask {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	color: #146c34;
	font-weight: 700;
}
.nlp-custcard {
	display: grid;
	gap: 2px;
	margin: 0 0 12px;
}
.nlp-custcard a {
	color: var(--nlp-ink);
	text-decoration: none;
}
.nlp-custcard a:hover strong {
	text-decoration: underline;
}
.nlp-custcard small {
	color: var(--nlp-muted);
}
.nlp-row__end {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	white-space: nowrap;
}
.nlp-pill-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 99px;
	background: color-mix(in srgb, var(--c) 12%, #fff);
	color: color-mix(in srgb, var(--c) 75%, #000);
	font-size: 12.5px;
	font-weight: 700;
}
.nlp-timeline {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-timeline li {
	display: grid;
	gap: 1px;
	padding-left: 14px;
	border-left: 2px solid var(--nlp-line);
	font-size: 14px;
}
.nlp-timeline small {
	color: var(--nlp-muted);
	font-size: 12.5px;
}
@media (max-width: 760px) {
	.nlp-tiles--3 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.nlp-custlist .nlp-row {
		flex-wrap: wrap;
	}
	.nlp-cust__stats {
		margin-left: 52px;
		width: 100%;
	}
	.nlp-cust__tags {
		margin-left: 52px;
		justify-content: flex-start;
	}
	.nlp-rem__contact {
		width: 100%;
	}
}
.nlp-histlist .nlp-row {
	display: flex;
	align-items: center;
	gap: 12px;
	grid-template-columns: none;
}
.nlp-histlist .nlp-row__what {
	display: grid;
	gap: 2px;
	flex: 1;
	min-width: 0;
}
.nlp-histlist .nlp-row__msg {
	font-weight: 600;
}
.nlp-histlist .nlp-row__end b {
	font-size: 14px;
}

/* ---------- Upgrade to Portal Pro page ---------- */
.nlp-nav__a--pro.nlp-nav__a[href$="/pro/"] {
	color: #e9c46a;
}
.nlp-pro-badge--gold {
	background: linear-gradient(135deg, #e9c46a, #c99a2e);
	color: #1b1405;
}
.nlp-btn--gold {
	background: linear-gradient(135deg, #e9c46a, #c99a2e);
	border-color: #c99a2e;
	color: #1b1405;
	font-weight: 800;
}
.nlp-btn--gold:hover,
.nlp-btn--gold:focus-visible {
	filter: brightness(1.05);
	color: #1b1405;
}
.nlp-prohero {
	position: relative;
	margin: 0 0 26px;
	padding: clamp(26px, 5vw, 46px);
	border-radius: 20px;
	background: radial-gradient(120% 140% at 100% 0%, #24366b 0%, #0b1022 60%);
	color: #fff;
	overflow: hidden;
}
.nlp-prohero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: linear-gradient(90deg, #c99a2e, #e9c46a, #c99a2e);
}
.nlp-prohero h1 {
	max-width: 22ch;
	margin: 6px 0 12px;
	font-size: clamp(28px, 4.2vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}
.nlp-prohero > p {
	max-width: 62ch;
	margin: 0 0 20px;
	color: #c9d2e6;
	font-size: 16.5px;
}
.nlp-prohero__jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}
.nlp-prohero__jump a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 99px;
	color: #fff;
	font-size: 13.5px;
	text-decoration: none;
}
.nlp-prohero__jump a:hover,
.nlp-prohero__jump a:focus-visible {
	border-color: #e9c46a;
	color: #e9c46a;
}
.nlp-profeat {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
	margin: 0 0 18px;
	padding: clamp(20px, 3.5vw, 34px);
	border: 1px solid var(--nlp-line);
	border-radius: 18px;
	background: #fff;
	scroll-margin-top: 90px;
}
.nlp-profeat:nth-of-type(even) .nlp-art {
	order: -1;
}
.nlp-profeat.is-focus {
	border-color: #e9c46a;
	box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.25);
}
.nlp-profeat h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 21px;
}
.nlp-profeat__ico {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #fdf6e3;
	color: #a77b16;
	flex-shrink: 0;
}
.nlp-profeat p {
	margin: 0 0 10px;
	line-height: 1.6;
}
.nlp-profeat__why {
	padding: 10px 14px;
	border-left: 3px solid #e9c46a;
	background: #fffbf0;
	border-radius: 0 10px 10px 0;
}
.nlp-profeat h3 {
	margin: 14px 0 6px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nlp-muted);
}
.nlp-profeat__how {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: s;
}
.nlp-profeat__how li {
	position: relative;
	padding-left: 32px;
	counter-increment: s;
}
.nlp-profeat__how li::before {
	content: counter(s);
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nlp-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 22px;
	text-align: center;
}
.nlp-art {
	position: relative;
	display: grid;
	gap: 10px;
	align-content: center;
	justify-items: center;
	min-height: 210px;
	padding: 26px 20px;
	border-radius: 16px;
	background: linear-gradient(160deg, #f4f6fb, #e9eef8);
	font-size: 13px;
}
.nlp-art__eg {
	position: absolute;
	top: 10px;
	right: 12px;
	color: #8a94a8;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.nlp-art__doc,
.nlp-art__mail {
	display: grid;
	gap: 7px;
	width: min(100%, 250px);
	padding: 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(17, 26, 46, 0.12);
	border-top: 3px solid var(--nlp-accent);
}
.nlp-art__doc span {
	color: var(--nlp-muted);
}
.nlp-art__doc i,
.nlp-art__mail i {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: #e6eaf2;
}
.nlp-art__doc i.s,
.nlp-art__mail i.s {
	width: 60%;
}
.nlp-art__doc em {
	font-style: normal;
	text-align: right;
}
.nlp-art button {
	padding: 8px 12px;
	border: 0;
	border-radius: 7px;
	background: var(--nlp-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	pointer-events: none;
}
.nlp-art__tl {
	display: grid;
	gap: 8px;
	width: min(100%, 250px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.nlp-art__tl li {
	display: flex;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 9px;
	background: #fff;
	color: var(--nlp-muted);
}
.nlp-art__tl li.on {
	color: var(--nlp-ink);
	box-shadow: 0 4px 14px rgba(17, 26, 46, 0.08);
}
.nlp-art__tl li.win {
	background: #e8f7ee;
	color: #146c34;
	font-weight: 700;
}
.nlp-art__tl b {
	min-width: 44px;
}
.nlp-art__stats,
.nlp-art__tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.nlp-art__stats span,
.nlp-art__tiles span {
	padding: 8px 12px;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(17, 26, 46, 0.08);
}
.nlp-art__stats b,
.nlp-art__tiles b {
	display: block;
	font-size: 18px;
}
.nlp-art__stars {
	color: #f5b301;
	font-size: 34px;
	letter-spacing: 4px;
}
.nlp-art__q {
	margin: 0;
	font-size: 15px;
	font-style: italic;
}
.nlp-art__g {
	color: var(--nlp-muted);
}
.nlp-art__cal {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
	width: min(100%, 300px);
}
.nlp-art__cal span {
	min-height: 18px;
	text-align: center;
	color: var(--nlp-muted);
	font-weight: 700;
}
.nlp-art__cal span.b {
	padding: 8px 4px;
	border-radius: 7px;
	background: color-mix(in srgb, var(--nlp-accent) 14%, #fff);
	color: var(--nlp-ink);
	font-size: 11.5px;
}
.nlp-art__team {
	display: flex;
}
.nlp-art__team span {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-left: -8px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--nlp-ink);
	color: #e9c46a;
	font-weight: 800;
}
.nlp-procta {
	text-align: center;
	padding: clamp(22px, 4vw, 38px);
	border-color: #e9c46a;
}
.nlp-procta h2 {
	margin: 0 0 8px;
	font-size: 24px;
}
.nlp-procta form {
	max-width: 520px;
	margin: 0 auto;
	text-align: left;
}
.nlp-procta .nlp-btn--gold {
	width: 100%;
	justify-content: center;
}
@media (max-width: 760px) {
	.nlp-profeat {
		grid-template-columns: minmax(0, 1fr);
	}
	.nlp-profeat:nth-of-type(even) .nlp-art {
		order: 0;
	}
}
.nlp-prohero .nlp-pro-badge--gold,
.nlp .nlp-btn--gold,
.nlp a.nlp-btn--gold,
.nlp a.nlp-btn--gold:hover,
.nlp a.nlp-btn--gold:visited {
	color: #1b1405;
}
.nlp-prohero .nlp-pro-badge--gold svg {
	color: #1b1405;
}

/* ---------- Mail shots ---------- */
.nlp-ms-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 18px;
}
.nlp-ms-via {
	font-size: 13.5px;
}
.nlp-ms-new {
	position: relative;
}
.nlp-ms-new > summary {
	list-style: none;
}
.nlp-ms-new > summary::-webkit-details-marker {
	display: none;
}
.nlp-starters {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	left: 0;
	display: grid;
	gap: 8px;
	width: min(92vw, 380px);
	padding: 14px;
	border: 1px solid var(--nlp-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(17, 26, 46, 0.16);
}
.nlp-starters .nlp-hint {
	margin: 0;
}
.nlp-starter {
	display: grid;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 10px;
	background: #fff;
	text-align: left;
	font: inherit;
	cursor: pointer;
}
.nlp-starter:hover,
.nlp-starter:focus-visible {
	border-color: var(--nlp-accent);
	background: color-mix(in srgb, var(--nlp-accent) 6%, #fff);
}
.nlp-starter small {
	color: var(--nlp-muted);
}
.nlp-mslist .nlp-row {
	display: flex;
	align-items: center;
	gap: 14px;
}
.nlp-mslist .nlp-row__what {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 2px;
}
.nlp-mslist .nlp-row__msg {
	font-weight: 700;
}
.nlp-ms-stats {
	display: flex;
	gap: 12px;
	font-size: 13.5px;
	white-space: nowrap;
}
.nlp-ms-count {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--nlp-accent) 7%, #fff);
}
.nlp-ms-count strong {
	font-size: 20px;
}
.nlp-ms-count small {
	color: var(--nlp-muted);
}
.nlp-ticklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 6px 14px;
	max-height: 280px;
	margin: 10px 0 0;
	padding: 0;
	overflow: auto;
	list-style: none;
}
.nlp-ticklist small {
	display: block;
	margin-left: 22px;
	color: var(--nlp-muted);
}
.nlp-ms-filter,
.nlp-ms-pick {
	margin-top: 12px;
}
.nlp-ms-img {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
}
.nlp-ms-img img {
	width: 120px;
	height: auto;
	border-radius: 8px;
}
.nlp-ms-actions,
.nlp-ms-go {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
}
.nlp-ms-go {
	padding-top: 12px;
	border-top: 1px solid var(--nlp-line);
}
.nlp-ms-del {
	margin: 14px 0 0;
}
.nlp-link--danger {
	color: #b42318;
}
.nlp-ms-prev {
	position: sticky;
	top: 80px;
}
.nlp-ms-prev iframe {
	display: block;
	width: 100%;
	height: 640px;
	border: 1px solid var(--nlp-line);
	border-radius: 10px;
	background: #f4f5f7;
}
.nlp-dns {
	display: grid;
	gap: 8px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}
.nlp-dns li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.nlp-dns small {
	display: block;
	color: var(--nlp-muted);
}
.nlp-dns__mark {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
}
.nlp-dns .is-ok .nlp-dns__mark {
	background: #16a34a;
}
.nlp-dns .is-bad .nlp-dns__mark {
	background: #dc2626;
}
.nlp-dns .is-warn .nlp-dns__mark {
	background: #d97706;
}
.nlp-progress {
	height: 10px;
	margin: 0 0 8px;
	border-radius: 99px;
	background: var(--nlp-line);
	overflow: hidden;
}
.nlp-progress span {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: var(--nlp-accent);
}
.nlp-errlist {
	margin: 10px 0 0;
	padding-left: 18px;
	font-size: 13px;
	color: #b42318;
}
@media (max-width: 1000px) {
	.nlp-ms-prev {
		position: static;
	}
	.nlp-ms-prev iframe {
		height: 520px;
	}
}
.nlp-ms-edit .nlp-card,
[data-nlp-sending] .nlp-card {
	display: grid;
	gap: 14px;
}
.nlp-ms-edit .nlp-card > .nlp-card__h,
[data-nlp-sending] .nlp-card > .nlp-card__h {
	margin-bottom: 0;
}
.nlp-ms-edit .nlp-card[hidden],
[data-nlp-sending] .nlp-card[hidden],
.nlp-ms-edit [hidden] {
	display: none;
}
.nlp .nlp-link.nlp-link--danger {
	color: #b42318;
}
.nlp-ms-count .nlp-link {
	margin-left: auto;
}

/* ---------- Your website (Pro) ---------- */
.nlp-web-tiles {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nlp-web-ch {
	font-weight: 700;
}
.nlp-web-ch span {
	font-weight: 400;
	color: var(--nlp-muted);
}
.nlp-web-ch--up {
	color: var(--nlp-good) !important;
}
.nlp-web-ch--down {
	color: var(--nlp-bad) !important;
}
.nlp-web-funnel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 18px;
	padding: 18px 22px;
}
.nlp-web-funnel > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.nlp-web-funnel b {
	font-size: 26px;
	line-height: 1.1;
}
.nlp-web-funnel span {
	color: var(--nlp-muted);
	font-size: 14px;
}
.nlp-web-funnel small {
	display: block;
	font-size: 12px;
}
.nlp-web-funnel i {
	color: var(--nlp-line);
	font-style: normal;
	font-size: 22px;
}
.nlp-web-funnel__money b {
	color: var(--nlp-good);
}
.nlp-web-daily {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 150px;
	padding-top: 6px;
}
.nlp-web-daily span {
	flex: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
}
.nlp-web-daily i {
	display: block;
	border-radius: 4px 4px 1px 1px;
	background: var(--nlp-accent);
	opacity: 0.85;
}
.nlp-web-daily span:hover i {
	opacity: 1;
}
.nlp-web-daily.is-week {
	gap: 10px;
	height: 170px;
}
.nlp-web-daily em {
	font-style: normal;
	font-size: 12px;
	color: var(--nlp-muted);
	text-align: center;
	margin-top: 6px;
}
.nlp-web-bars {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nlp-web-bars li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 10px;
	padding: 7px 0;
}
.nlp-web-bars i {
	grid-column: 1 / -1;
	display: block;
	height: 6px;
	border-radius: 3px;
	background: var(--nlp-accent);
}
.nlp-web-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.nlp-web-table th {
	text-align: left;
	color: var(--nlp-muted);
	font-weight: 600;
	font-size: 12px;
	padding: 0 6px 6px 0;
}
.nlp-web-table td {
	padding: 8px 6px 8px 0;
	border-top: 1px solid var(--nlp-line);
	overflow-wrap: anywhere;
}
.nlp-web-table td:nth-child(2),
.nlp-web-table th:nth-child(2) {
	text-align: right;
	padding-right: 14px;
}
.nlp-web-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nlp-web-list li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid var(--nlp-line);
}
.nlp-web-list li:first-child {
	border-top: 0;
}
.nlp-web-list span {
	overflow-wrap: anywhere;
}
.nlp-card__h small {
	font-weight: 400;
	color: var(--nlp-muted);
	font-size: 13px;
}
.nlp-web-opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 18px;
}
.nlp-web-foot {
	margin-top: 12px;
}
.nlp-art__spark {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 70px;
	margin-top: 14px;
}
.nlp-art__spark i {
	width: 16px;
	border-radius: 3px 3px 0 0;
	background: var(--nlp-accent);
}
@media (max-width: 900px) {
	.nlp-web-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.nlp-web-funnel {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.nlp-web-funnel i {
		display: none;
	}
	.nlp-web-funnel > div {
		flex: 1 1 40%;
	}
	.nlp-web-opt {
		flex-direction: column;
		align-items: stretch;
	}
}
@media (min-width: 1081px) {
	.nlp-today-tiles:has(> :nth-child(5)) {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Top bar: Pro has 8 tabs, so it always uses the compact top bar and a little
   more width, and the menu can never run under Help / Sign out. */
.nlp-top__me {
	flex: none;
}
.nlp--pro .nlp-top__in {
	max-width: 1380px;
	gap: 14px;
}
.nlp--pro .nlp-top__who,
.nlp--pro .nlp-top__out span {
	display: none;
}
.nlp--pro .nlp-nav__a {
	padding: 9px 10px;
	gap: 6px;
}
@media (min-width: 761px) {
	.nlp-nav {
		overflow-x: auto;
		scrollbar-width: none;
	}
	.nlp-nav::-webkit-scrollbar {
		display: none;
	}
}
/* Small laptops and tablets: the Pro menu gets its own row under the name. */
@media (min-width: 761px) and (max-width: 1100px) {
	.nlp--pro .nlp-top__in {
		flex-wrap: wrap;
		padding-bottom: 0;
	}
	.nlp--pro .nlp-top__me {
		margin-left: auto;
	}
	.nlp--pro .nlp-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
		padding-bottom: 8px;
	}
}
@media (min-width: 1001px) and (max-width: 1100px) {
	.nlp--pro .nlp-nav .nlp-i {
		display: inline-block;
	}
}

/* ---------- Phone notifications ---------- */
.nlp-push-status {
	margin: 0 0 10px;
	font-weight: 600;
}
.nlp-push-acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.nlp-push-acts:empty,
.nlp-push-acts:not(:has(> :not([hidden]))) {
	display: none;
}
.nlp-push-ios {
	padding: 12px 14px;
	margin: 0 0 14px;
	border-radius: 10px;
	background: var(--nlp-accent-soft);
}
.nlp-push-ios ol {
	margin: 6px 0 8px 18px;
	padding: 0;
}
.nlp-push-ios p {
	margin: 0;
}
.nlp-push-prefs {
	margin-top: 6px;
}
.nlp-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 8px 0;
	cursor: pointer;
}
.nlp-check input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: var(--nlp-accent);
}
.nlp-check span {
	display: flex;
	flex-direction: column;
}
.nlp-check small {
	color: var(--nlp-muted);
}
.nlp-push-devices ul {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}
.nlp-push-devices li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid var(--nlp-line);
}
.nlp-push-devices small {
	color: var(--nlp-muted);
}

/* ==================================================================
 * Update A (1.7): diary, team roles, money, sounds, filters on phones
 * ================================================================== */
.nlp .nlp-btn--xs { min-height: 30px; padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.nlp .nlp-btn--good { background: var(--nlp-good); color: #fff; }
.nlp .nlp-btn--good:hover { background: color-mix(in srgb, var(--nlp-good) 86%, #000); }
.nlp-link--sm { font-size: 13px; }
.nlp-btnrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nlp-checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; border: 0; padding: 0; margin: 4px 0 10px; }
.nlp-checkgrid legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--nlp-ink); }
.nlp-num { width: 70px; }
.nlp-empty--sm { padding: 28px 16px; }

/* Booking types, people, outcomes */
.nlp-vtype { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.nlp-person { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--nlp-text); }
.nlp-person::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.nlp-outcome { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 0; position: relative; z-index: 2; }
.nlp-outcome__is { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.nlp-outcome__is--done { color: var(--nlp-good); background: color-mix(in srgb, var(--nlp-good) 12%, #fff); }
.nlp-outcome__is--noshow, .nlp-outcome__is--skipped { color: var(--nlp-warn); background: color-mix(in srgb, var(--nlp-warn) 12%, #fff); }
.nlp-visit.is-done { opacity: 0.75; }

/* Repeat bookings on an enquiry */
.nlp-series { border: 1px solid var(--nlp-line); border-left: 4px solid var(--nlp-good); border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; background: color-mix(in srgb, var(--nlp-good) 4%, #fff); }
.nlp-series__what { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nlp-series__more { margin: 4px 0 0; color: var(--nlp-muted); font-size: 13.5px; }
.nlp-series__change summary { margin-top: 6px; cursor: pointer; }
.nlp-series__forms { display: grid; gap: 10px; margin-top: 10px; }
.nlp-inline-form { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 13.5px; }
.nlp-inline-form input[type="date"], .nlp-inline-form input[type="time"] { border: 1px solid var(--nlp-line); border-radius: 8px; padding: 5px 8px; background: #fff; }
.nlp-money--sm input { width: 90px; }
.nlp-repeat { border-left: 3px solid var(--nlp-accent-soft); padding-left: 12px; margin: 2px 0 6px; }
.nlp-repeat .nlp-radios label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* Diary page */
.nlp-dbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.nlp-seg { display: inline-flex; background: #fff; border: 1px solid var(--nlp-line); border-radius: 11px; padding: 3px; gap: 2px; }
.nlp-seg a { padding: 6px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--nlp-muted); text-decoration: none; }
.nlp-seg a.is-on { background: var(--nlp-accent); color: #fff; }
.nlp-seg a:not(.is-on):hover { background: var(--nlp-soft); color: var(--nlp-ink); }
.nlp-whoform select { border: 1px solid var(--nlp-line); border-radius: 10px; padding: 8px 32px 8px 12px; background-color: #fff; font-weight: 600; min-height: 40px; }
.nlp-calnav { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.nlp-calnav__title { font-size: 18px; margin-left: 8px; }
.nlp-dchip { display: block; font-size: 12px; line-height: 1.3; padding: 3px 6px; margin-top: 3px; border-radius: 6px; background: color-mix(in srgb, var(--c) 12%, #fff); border-left: 3px solid var(--c); color: var(--nlp-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlp .nlp-dchip { color: var(--nlp-ink); }
.nlp-dchip b { font-weight: 700; }
.nlp-dchip.is-done { opacity: 0.6; text-decoration: line-through; }
.nlp-dchip.is-busy { background: repeating-linear-gradient(45deg, #f1f3f8, #f1f3f8 6px, #e8ebf2 6px, #e8ebf2 12px); border-left-color: var(--nlp-faint); color: var(--nlp-muted); }
.nlp-month { background: #fff; border: 1px solid var(--nlp-line); border-radius: var(--nlp-r); overflow: hidden; box-shadow: var(--nlp-shadow); }
.nlp-month__head, .nlp-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.nlp-month__head span { padding: 8px; font-size: 12px; font-weight: 700; color: var(--nlp-muted); text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--nlp-line); }
.nlp-month__day { min-height: 104px; padding: 6px; border-right: 1px solid var(--nlp-line); border-bottom: 1px solid var(--nlp-line); position: relative; }
.nlp-month__day:nth-child(7n) { border-right: 0; }
.nlp-month__day.is-other { background: #fafbfd; }
.nlp-month__day.is-other .nlp-month__n { color: var(--nlp-faint); }
.nlp-month__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; font-size: 13px; color: var(--nlp-ink); text-decoration: none; }
.nlp-month__day.is-today .nlp-month__n { background: var(--nlp-accent); color: #fff; }
.nlp-month__more { display: block; font-size: 12px; margin-top: 3px; font-weight: 600; }
.nlp-month__dots { display: none; gap: 3px; justify-content: center; margin-top: 2px; }
.nlp-month__dots i { width: 6px; height: 6px; border-radius: 50%; }
.nlp-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.nlp-week__day { background: #fff; border: 1px solid var(--nlp-line); border-radius: 12px; padding: 8px; min-height: 160px; }
.nlp-week__day.is-today { border-color: var(--nlp-accent); box-shadow: 0 0 0 2px var(--nlp-accent-soft); }
.nlp-week__h { display: block; font-size: 13px; color: var(--nlp-muted); text-decoration: none; margin-bottom: 4px; }
.nlp-week__h b { color: var(--nlp-ink); }
.nlp-week__none { display: block; font-size: 12px; color: var(--nlp-faint); margin-top: 6px; }
.nlp-visits .nlp-row { border-left: 4px solid var(--c, var(--nlp-accent)); }
@media (max-width: 760px) {
	.nlp-dbar { flex-direction: column; align-items: stretch; }
	.nlp-seg { width: 100%; }
	.nlp-seg a { flex: 1; text-align: center; padding: 7px 6px; }
	.nlp-whoform, .nlp-whoform select { width: 100%; }
	.nlp-month__day { min-height: 54px; padding: 3px; text-align: center; }
	.nlp-month__day .nlp-dchip, .nlp-month__more { display: none; }
	.nlp-month__day.has-items .nlp-month__dots { display: flex; }
	.nlp-month__head span { padding: 6px 2px; text-align: center; font-size: 11px; }
	.nlp-week { grid-template-columns: minmax(0, 1fr); }
	.nlp-week__day { min-height: 0; }
	.nlp-calnav__title { font-size: 16px; }
}

/* Calendar link and sounds */
.nlp-calbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.nlp-callink summary { cursor: pointer; margin-bottom: 8px; }
.nlp-callink input { font-size: 12.5px; }

/* Team */
.nlp-teamlist__main { display: block; flex: 1; min-width: 0; }
.nlp-teamlist__main small { display: block; }
.nlp-teamlist__av { color: #fff; }
.nlp-role { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--nlp-soft); color: var(--nlp-muted); vertical-align: middle; }
.nlp-role--owner { background: #fff6dd; color: #92600a; }
.nlp-role--manager { background: var(--nlp-accent-soft); color: var(--nlp-accent); }
.nlp-member { margin-top: 6px; }
.nlp-member summary { cursor: pointer; }
.nlp-member form { margin-top: 10px; }
.nlp-member__remove { margin-top: 4px; }
.nlp-member form:has(input[name="role"][value="manager"]:checked) .nlp-staffonly { display: none; }
.nlp-teampolicy { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; background: var(--nlp-soft); }

/* Results: money and website share */
.nlp-money-card { margin-bottom: 18px; }
.nlp-tiles--money { margin: 0 0 6px; }
.nlp-bars--money { height: 140px; }
.nlp-bars--money .nlp-bars__bar { background: color-mix(in srgb, var(--nlp-good) 75%, #fff); }
.nlp-webshare { margin: 0 0 10px; font-size: 14.5px; }
.nlp-webshare strong { color: var(--nlp-good); }

/* Filters on phones: one "Showing" button that opens a panel */
.nlp-fbtn { display: none; }
@media (max-width: 760px) {
	.js .nlp-chips[data-nlp-sheet] { display: none; }
	.js .nlp-fbtn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 9px 14px; border: 1px solid var(--nlp-line); border-radius: 12px; background: #fff; font-weight: 600; color: var(--nlp-ink); margin: 0 0 12px; cursor: pointer; }
	.nlp-fbtn__count { color: var(--nlp-muted); font-weight: 500; }
	.nlp-sheet { position: fixed; inset: 0; z-index: 100000; background: rgba(11, 16, 34, 0.45); display: flex; align-items: flex-end; }
	.nlp-sheet__panel { background: #fff; width: 100%; max-height: 80vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(11, 16, 34, 0.2); }
	.nlp-sheet__grip { width: 40px; height: 4px; border-radius: 4px; background: var(--nlp-line); margin: 4px auto 10px; }
	.nlp-sheet__h { font-size: 16px; margin: 0 0 8px; }
	.nlp-sheet__list { list-style: none; margin: 0; padding: 0; }
	.nlp-sheet__list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--nlp-line); text-decoration: none; color: var(--nlp-ink); font-weight: 500; }
	.nlp-sheet__list a.is-on { color: var(--nlp-accent); font-weight: 700; }
	.nlp-sheet__list a b { color: var(--nlp-muted); font-weight: 600; font-size: 13px; }
}
.nlp-card .nlp-sub-h { margin-top: 14px; }
.nlp .nlp-month__n { color: var(--nlp-ink); }
.nlp .nlp-month__day.is-today .nlp-month__n { color: #fff; }

/* Proposals and documents */
.nlp-doclist { list-style: none; margin: 0 0 12px; padding: 0; }
.nlp-doclist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--nlp-line); }
.nlp-doclist li > span:nth-child(2), .nlp-doclist li > span:first-child:not(.nlp-docs__ext) { flex: 1; min-width: 0; }
.nlp-doclist small { display: block; color: var(--nlp-muted); }
.nlp-pq__scope h3 { font-size: 15px; margin: 14px 0 4px; }
.nlp-pq__scope p { margin: 0 0 8px; }
.nlp-pq__scope ul { margin: 0 0 10px; padding-left: 20px; }
.nlp-pq__docs { list-style: none; padding: 0; margin: 0 0 16px; }
.nlp-pq__docs li { padding: 8px 0; border-bottom: 1px solid var(--nlp-line); }
.nlp-pq__docs a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.nlp-pq__docs small { color: var(--nlp-muted); margin-left: 6px; }

/* ---------- Add-ons, invoices, card payments (1.8.0) ---------- */
.nlp-row-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nlp-addons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nlp-addon__top { display: flex; gap: 12px; align-items: flex-start; }
.nlp-addon__top > div { flex: 1; }
.nlp-addon__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--nlp-accent) 12%, #fff); color: var(--nlp-accent); }
.nlp-addon__list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.nlp-addon__list li { display: flex; gap: 8px; align-items: flex-start; }
.nlp-addon__list .nlp-i { flex: 0 0 auto; margin-top: 3px; color: #1a8a4a; }
.nlp-addon.is-on { border-color: #b7e4c7; }
.nlp-tag--ok { background: #e3f6e8; color: #166534; }
.nlp-invst { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #eef1f6; color: #3a4a66; vertical-align: middle; }
.nlp-invst--due { background: #e8efff; color: #1f4fb5; }
.nlp-invst--part { background: #fff4e0; color: #8a4b00; }
.nlp-invst--overdue { background: #fdecec; color: #b42318; }
.nlp-invst--paid { background: #e3f6e8; color: #166534; }
.nlp-invst--void { background: #f1f1f1; color: #888; text-decoration: line-through; }
.nlp-invlist .nlp-row { align-items: center; }
.nlp-inv__amt { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.nlp-inv__amt small { color: #b42318; font-size: 12px; }
.nlp-invmoney { display: grid; gap: 6px; margin: 0 0 14px; }
.nlp-invmoney div { display: flex; justify-content: space-between; }
.nlp-invmoney dd { margin: 0; font-weight: 600; }
.nlp-invmoney__due { border-top: 1px solid #e4e8f0; padding-top: 8px; font-size: 1.1em; }
.nlp-invpays, .nlp-invlog, .nlp-invmini__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.nlp-invmini__list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nlp-invrecord > summary { list-style: none; display: inline-flex; cursor: pointer; }
.nlp-invrecord > summary::-webkit-details-marker { display: none; }
.nlp-invrecord[open] > summary { margin-bottom: 12px; }
.nlp-paybtn { font-size: 1.1em; padding-top: 16px; padding-bottom: 16px; }
.nlp-pq__payhint { text-align: center; color: #66718a; font-size: 13px; margin: 8px 0 0; }

/* ---------- Add-ons: Active badge ---------- */
.nlp-addon__active { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 4px; border-radius: 999px; background: #e3f6e8; color: #166534; font-weight: 700; font-size: 13px; white-space: nowrap; }
.nlp-addon__tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1a8a4a; color: #fff; }
.nlp-addon__tick .nlp-i { stroke-width: 3; }
.nlp-addon.is-on { box-shadow: inset 4px 0 0 #1a8a4a; }

/* ---------- Online booking: customer pages ---------- */
.nlp--book .nlp-pq { max-width: 640px; }
.nlp-bk__h { margin: 0 0 8px; font-size: 24px; line-height: 1.25; }
.nlp-bk__h2 { margin: 22px 0 10px; font-size: 16px; }
.nlp-bk__svcs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.nlp-bk__svc { display: grid; gap: 3px; padding: 16px 18px; border: 1px solid var(--nlp-line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.nlp-bk__svc:hover, .nlp-bk__svc:focus-visible { border-color: var(--nlp-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nlp-accent) 15%, transparent); }
.nlp-bk__svc strong { font-size: 16px; }
.nlp-bk__meta { color: var(--nlp-muted); font-size: 14px; }
.nlp-bk__desc { font-size: 14px; }
.nlp-bk__chosen { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--nlp-soft); }
.nlp-bk__chosen > div { display: grid; gap: 2px; }
.nlp-bk__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.nlp-bk__day { display: grid; justify-items: center; gap: 1px; padding: 8px 2px; border: 1px solid var(--nlp-line); border-radius: 10px; font-size: 12px; color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; }
.nlp-bk__day b { font-size: 18px; letter-spacing: 0; }
a.nlp-bk__day:hover { border-color: var(--nlp-accent); }
.nlp-bk__day.is-on { background: var(--nlp-accent); border-color: var(--nlp-accent); color: #fff; }
.nlp-bk__day.is-off { opacity: .38; background: repeating-linear-gradient(135deg, transparent 0 6px, #f1f3f7 6px 8px); }
.nlp-bk__pager { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.nlp-bk__part { margin: 14px 0 6px; color: var(--nlp-muted); font-size: 13px; font-weight: 600; }
.nlp-bk__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.nlp-bk__time { padding: 10px 6px; border: 1px solid var(--nlp-line); border-radius: 10px; text-align: center; font-weight: 600; color: inherit; text-decoration: none; }
.nlp-bk__time:hover { border-color: var(--nlp-accent); }
.nlp-bk__time.is-on { background: var(--nlp-accent); border-color: var(--nlp-accent); color: #fff; }
.nlp-bk__form { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--nlp-line); }
.nlp-bk__sum { display: flex; gap: 8px; align-items: center; margin: 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--nlp-accent) 8%, #fff); }
.nlp-bk__sum > svg { flex: none; }
.nlp-bk__sum > span { min-width: 0; }
.nlp-bk__policy { margin: 0; font-size: 14px; color: #3b4558; }
.nlp-bk__small { margin: 0; font-size: 13px; color: var(--nlp-muted); text-align: center; }
.nlp-bk__dl { display: grid; gap: 10px; margin: 16px 0 20px; }
.nlp-bk__dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.nlp-bk__dl dt { color: var(--nlp-muted); }
.nlp-bk__dl dd { margin: 0; font-weight: 600; }
.nlp-bk__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.nlp-bk__cancel { margin-top: 18px; }
.nlp-bk__cancel summary { cursor: pointer; color: var(--nlp-muted); font-size: 14px; }
.nlp-bk__cancel form { margin-top: 12px; }
.nlp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.nlp--embed { background: transparent; }
.nlp--embed .nlp-pq { max-width: none; padding: 0; }
.nlp--embed .nlp-pq__card { box-shadow: none; padding: 22px; }
@media (max-width: 520px) {
	.nlp--book .nlp-pq__card { padding: 20px 16px; }
	.nlp-bk__days { gap: 4px; }
	.nlp-bk__day { font-size: 10.5px; padding: 6px 0; }
	.nlp-bk__day b { font-size: 15px; }
	.nlp-bk__dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Online booking: settings ---------- */
.nlp-card__h3 { margin: 22px 0 4px; font-size: 15px; }
.nlp-field__l { margin: 0; font-size: 13.5px; font-weight: 600; }
.nlp-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.nlp-bk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.nlp-bk-svcs { display: grid; gap: 12px; }
.nlp-bk-svcrow { display: grid; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--nlp-line); border-radius: 12px; }
.nlp-bk-svcrow legend { padding: 0 6px; font-weight: 700; }
.nlp-bk-hours { display: grid; gap: 8px; }
.nlp-bk-hour { display: grid; grid-template-columns: 150px 1fr auto 1fr; gap: 8px; align-items: center; max-width: 480px; }
.nlp-bk-live { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 520px) { .nlp-bk-hour { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nlp-bk-hour > span { display: none; } .nlp-bk-hour > .nlp-check { grid-column: 1 / -1; } }

/* Top bar with every tab (Pro + Invoices + Add-ons): a little wider, and words
   only (no icons) until there's room, so nothing hides off the end. */
.nlp--pro .nlp-top__in { max-width: 1480px; }
@media (min-width: 1101px) and (max-width: 1560px) {
	.nlp--pro .nlp-nav .nlp-i { display: none; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
	.nlp--pro .nlp-nav__a { padding: 9px 8px; }
}
.nlp-addons > .nlp-card { margin: 0; }
.nlp-bk-svcrow > summary { cursor: pointer; font-weight: 700; list-style-position: inside; }
.nlp-bk-svcrow[open] > summary { margin-bottom: 4px; }

/* Breathing room: a small heading straight above a list, and a hint after a form. */
.nlp-sub-h + .nlp-vlist,
.nlp-sub-h + .nlp-doclist { margin-top: 12px; }
form + .nlp-hint,
.nlp-form + .nlp-hint { margin-top: 16px; }
/* Inside forms the grid gap already spaces a small heading. */
.nlp-form > .nlp-sub-h { margin-bottom: -4px !important; }
/* Hints and boxes inside fold-out sections (e.g. "Change the email wording"). */
details > .nlp-field { display: block; margin-top: 12px; }
.nlp-settings details > .nlp-hint,
details > .nlp-field + .nlp-hint { margin-top: 8px; }
.nlp-custkinds { margin: 4px 0 14px; }
.nlp-custkinds__hint { margin: -6px 0 14px; }
.nlp-tag--cold { background: #eef0f4; color: #5b6478; }
.nlp-ms-nocold { margin-top: 10px; }

/* Active list: note about hidden won/lost enquiries */
.nlp-closed-note { margin: 14px 0 0; text-align: center; }

/* Online booking cancelled by the customer */
.nlp-tag--cancelled { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

/* Deposit to refund (cancelled booking) */
.nlp-refund-due { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #fecaca; background: #fef2f2; border-radius: 12px; }
.nlp-refund-due p { margin: 0 0 10px; color: #7f1d1d; }
.nlp-refund-due__acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }

/* Invoice refunds */
.nlp-refunded { color: #b91c1c; font-size: .9em; }
.nlp-invmoney__ref dd { color: #b91c1c; }
.nlp-invrefund { margin: 6px 0 4px; }
.nlp-invrefund > summary { display: inline; cursor: pointer; }
.nlp-invrefund .nlp-form { margin-top: 10px; padding: 12px; border: 1px solid var(--nlp-line, #e3e7ee); border-radius: 10px; background: #fafbfc; }

/* Import customers */
.nlp-table-wrap { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--nlp-line); border-radius: 10px; }
.nlp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nlp-table th, .nlp-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--nlp-line); white-space: nowrap; }
.nlp-table th { background: var(--nlp-soft); font-weight: 600; color: var(--nlp-muted); }
.nlp-import-sum { margin: 0 0 16px; padding-left: 18px; }
.nlp-import-sum li { margin: 4px 0; }

/* ------------------------------------------------------------------
   Settings: even spacing in every card (1.11.3).
   Each block in a card sits 16px below the one before; help text right
   under a form field tucks in 8px under it; each sub-section starts with
   a thin line and equal space either side; buttons get equal space above
   and below.
   ------------------------------------------------------------------ */
.nlp-settings .nlp-card > * {
	margin-top: 0;
	margin-bottom: 0;
}
.nlp-settings .nlp-card > * + * {
	margin-top: 16px;
}
.nlp-settings .nlp-card > .nlp-card__h {
	margin-bottom: 16px !important;
}
.nlp-settings .nlp-card > .nlp-card__h + * {
	margin-top: 0;
}
.nlp-settings .nlp-card > h3,
.nlp-settings .nlp-card > .nlp-card__h3 {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--nlp-line);
	font-size: 15px;
}
.nlp-settings .nlp-card > h3 + *,
.nlp-settings .nlp-card > .nlp-card__h3 + * {
	margin-top: 8px;
}
/* Inside a form, the gap between items does the spacing. */
.nlp-settings .nlp-form > p,
.nlp-settings .nlp-form > .nlp-hint,
.nlp-settings .nlp-form > .nlp-muted {
	margin: 0;
}
/* Help text that explains the field just above it. */
.nlp-settings .nlp-form > .nlp-field + .nlp-hint,
.nlp-settings .nlp-form > .nlp-check + .nlp-hint,
.nlp-settings .nlp-form > label + .nlp-hint {
	margin-top: -8px;
}
/* Sub-headings inside a form: a little extra space above, close to their content. */
.nlp-settings .nlp-form > .nlp-card__h3,
.nlp-settings .nlp-form > h3 {
	margin: 8px 0 -8px;
	font-size: 15px;
}
/* Status bands (e.g. "Backed up today") never overlap the text after them. */
.nlp-settings .nlp-info,
.nlp-settings .nlp-warn {
	position: static;
	height: auto;
}
/* "Back up now" and its note sit side by side, centred, when there's room. */
.nlp-settings #backups .nlp-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
/* Assistant: what it knows about the business. */
.nlp-ai-profile {
	max-height: 280px;
	overflow: auto;
	padding: 12px 14px;
	border: 1px solid var(--nlp-line);
	border-radius: 10px;
	background: var(--nlp-soft);
	font-size: 14px;
	line-height: 1.5;
	white-space: pre-line;
}

/* Phone notifications: what was sent lately (1.11.4). */
.nlp-push-log summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.nlp-push-log ul { list-style: none; margin: 10px 0 0; padding: 0; }
.nlp-push-log li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--nlp-line); font-size: 13.5px; }
.nlp-push-log li small { display: block; color: var(--nlp-muted); font-size: 12px; }
.nlp-push-log b { flex: none; font-size: 12.5px; text-align: right; }
.nlp-push-log b.is-ok { color: var(--nlp-good); }
.nlp-push-log b.is-bad { color: var(--nlp-bad); }
.nlp-push-log .nlp-hint { margin: 10px 0 0 !important; }

/* Self-check results show on separate lines. */
.nlp-push-status { white-space: pre-line; }

/* Weather strip on Today (1.11.13) */
.nlp-wx {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 16px;
	padding: 10px 14px;
	background: var(--nlp-card);
	border: 1px solid var(--nlp-line);
	border-radius: var(--nlp-r);
	box-shadow: var(--nlp-shadow);
	font-size: 14px;
	color: var(--nlp-text);
}
.nlp-wx__i { display: inline-flex; color: var(--nlp-warn); }
.nlp-wx__t { flex: 1 1 260px; }
.nlp-wx__t em { font-style: normal; font-weight: 600; color: var(--nlp-warn); }
.nlp-wx__c { color: var(--nlp-faint); font-size: 11px; }
.nlp-wx--warn { border-color: color-mix(in srgb, var(--nlp-warn) 40%, var(--nlp-line)); }
.nlp-tlist .nlp-wx__at { color: var(--nlp-muted); }

/* Credit notes (1.12.0) */
.nlp-h3 { margin: 16px 0 6px; font-size: 13px; font-weight: 700; color: var(--nlp-ink); }
.nlp-cnlist { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; }
.nlp-cnlist li { padding: 3px 0; }
.nlp-cnlist a { display: inline-flex; align-items: center; gap: 5px; color: var(--nlp-accent); text-decoration: none; }
.nlp-invmini__list .nlp-cnlist { margin: 2px 0 0 12px; }

/* Price list (1.12.0) */
.nlp-qadd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.nlp-pricepick select { max-width: 340px; padding: 7px 10px; font-size: 14px; border-radius: 10px; }
.nlp-pricepick__set { font-size: 13px; }
.nlp-pricestart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.nlp-inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0; }
.nlp-inline-form .nlp-field { margin: 0; }
.nlp-pricerow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 130px 150px 150px 36px;
	gap: 10px;
	align-items: center;
	padding: 4px 0;
}
.nlp-pricerow--head { color: var(--nlp-muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.nlp-pricerow input[name$="[price]"] { text-align: right; }
.nlp-pricerow .nlp-check { margin: 0; font-size: 13.5px; }
.nlp-pricerow.is-check input[type="text"] { border-color: color-mix(in srgb, var(--nlp-warn) 45%, var(--nlp-line)); }
.nlp-pricecheck { display: inline-block; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--nlp-warn) 14%, #fff); color: var(--nlp-warn); font-size: 11.5px; font-weight: 700; }
.nlp-pricetable { margin-bottom: 12px; }
@media (max-width: 760px) {
	.nlp-pricerow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; padding: 10px 0; border-bottom: 1px solid var(--nlp-line); }
	.nlp-pricerow--head { display: none; }
	.nlp-pricerow > label:nth-of-type(1) { grid-column: 1 / -1; }
	.nlp-pricerow > label:nth-of-type(4) { grid-column: 1 / 3; grid-row: 3; }
	.nlp-pricerow > .nlp-qrow__del { grid-column: 3; grid-row: 3; }
}

/* WhatsApp ready messages (1.12.0) */
.nlp-wam { position: relative; display: inline-block; z-index: 3; }
.nlp-wam > summary { list-style: none; cursor: pointer; }
.nlp-wam > summary::-webkit-details-marker { display: none; }
.nlp-wam[open] { z-index: 40; }
.nlp-wam__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	width: min(360px, 86vw);
	max-height: 60vh;
	overflow: auto;
	padding: 6px;
	background: var(--nlp-card);
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(17, 26, 46, 0.16);
	white-space: normal;
	text-align: left;
}
.nlp-wam__menu a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--nlp-text); font-size: 13.5px; line-height: 1.4; text-decoration: none; font-weight: 400; }
.nlp-wam__menu a:hover, .nlp-wam__menu a:focus { background: var(--nlp-soft); }
.nlp-wam__menu .nlp-wam__own { font-weight: 600; color: var(--nlp-accent); border-top: 1px solid var(--nlp-line); border-radius: 0 0 8px 8px; }
.nlp-wam__menu .nlp-wam__edit { font-size: 12px; color: var(--nlp-muted); padding-top: 4px; }
@media (max-width: 760px) {
	.nlp-wam__menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 70vh; }
}
/* Let an open WhatsApp menu show outside its list card. */
ul:has(details.nlp-wam[open]), .nlp-row:has(details.nlp-wam[open]) { overflow: visible; }
.nlp-row:has(details.nlp-wam[open]) { z-index: 5; }
@media (max-width: 760px) {
	.nlp-wam[open] { z-index: 1000; }
}
@media (max-width: 760px) {
	body:has(details.nlp-wam[open]) .nlp-ai-fab { display: none; }
}
.nlp-wam--left .nlp-wam__menu { left: 0; right: auto; }

/* Accounting card (1.12.0) */
.nlp-acct { margin-top: 12px; }
.nlp-acct__h { margin: 14px 0 6px; font-weight: 700; font-size: 14px; color: var(--nlp-ink); }
.nlp-acct-ask { margin-top: 6px; }
.nlp-acct-ask > summary { cursor: pointer; font-size: 13.5px; }

/* Settings › Weather (1.12.1): switches evenly spaced, Save lined up underneath. */
.nlp-switches { display: grid; gap: 14px; margin: 4px 0 16px; }
.nlp-switches .nlp-switch { margin: 0; }

/* Edit an enquiry's name, email or phone (1.13.1) */
.nlp-editcontact { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--nlp-line, #e3e7ee); }
.nlp-editcontact > summary { display: inline-flex; align-items: center; gap: 6px; }
.nlp-editcontact[open] > summary { margin-bottom: 14px; }
.nlp-editcontact__form { gap: 14px; }
.nlp-editcontact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nlp-editcontact__grid .nlp-field { margin: 0; }
.nlp-editcontact__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.nlp-editcontact__orig { margin: 0; }
@media (max-width: 700px) {
	.nlp-editcontact__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Money checks (1.13.3) */
.nlp-checks { margin: 4px 0 18px; padding: 14px 16px; border: 1px solid #f3d9a4; border-radius: 12px; background: #fffaf0; }
.nlp-checks .nlp-sub-h { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: #92400e; }
.nlp-checks ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.nlp-checks li { padding: 12px; border: 1px solid var(--nlp-line, #e3e7ee); border-radius: 10px; background: #fff; }
.nlp-checks li p { margin: 0 0 10px; }
.nlp-checks__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-checks-ok { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; color: #15803d; font-weight: 600; }
.nlp-checks-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fffaf0; border: 1px solid #f3d9a4; color: #92400e; }
.nlp-check--dep { align-items: flex-start; }
.nlp-check--dep span, .nlp-check--dep strong { display: inline; }

/* Accounting periods (1.13.5) */
.nlp-acct__range { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.nlp-acct__range[hidden] { display: none; }
.nlp-acct__range .nlp-field { margin: 0; }
.nlp-acct-warn { margin: 10px 0 6px; padding: 10px 12px; border-radius: 10px; background: #fffaf0; border: 1px solid #f3d9a4; color: #7c2d12; }
@media (max-width: 520px) { .nlp-acct__range { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Accounting card: import file first, tidy automatic-link box (1.13.7) */
.nlp-acct-imp { margin: 16px 0 6px; padding: 4px 16px 14px; border: 1px solid #c9d8f2; border-radius: 12px; background: #f5f8fe; }
.nlp-acct-imp .nlp-acct__h { margin-top: 12px; }
.nlp-acct-imp .nlp-hint:last-child { margin-bottom: 0; }
.nlp-acct-link { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--nlp-line, #e3e7ee); display: grid; gap: 10px; justify-items: start; }
.nlp-acct-link .nlp-hint, .nlp-acct-link form { margin: 0; }

/* ===== Mini CRM, places, directions, weather on bookings (1.14.0) ===== */
.nlp-crm { background: var(--nlp-card); border: 1px solid var(--nlp-line); border-radius: var(--nlp-r); box-shadow: var(--nlp-shadow); padding: 20px 22px; margin: 0 0 18px; display: grid; gap: 14px; }
.nlp-crm__top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nlp-crm__who { min-width: 0; }
.nlp-crm__who h1 { margin: 0; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.nlp-crm__who .nlp-sub { margin: 4px 0 0; }
.nlp-crm__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--nlp-text); font-size: 14.5px; }
.nlp-crm__facts li { display: inline-flex; align-items: flex-start; gap: 7px; min-width: 0; }
.nlp-crm__facts li > svg { flex: none; margin-top: 3px; color: var(--nlp-muted); }
.nlp-crm__facts span { overflow-wrap: anywhere; }
.nlp-crm__note { display: flex; gap: 8px; margin: 0; padding: 10px 12px; background: #fff8e6; border: 1px solid #f3dfa6; border-radius: 10px; color: #5c4710; font-size: 14px; line-height: 1.45; }
.nlp-crm__note svg { flex: none; margin-top: 2px; }
.nlp-crm__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-crm__acts > .nlp-btn, .nlp-crm__acts > .nlp-wam > summary, .nlp-crm__acts .nlp-dir .nlp-btn { min-height: 46px; padding: 10px 20px; font-size: 15px; }
.nlp-crm__more { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; border-top: 1px solid var(--nlp-line); }
.nlp-crm__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
@media (max-width: 760px) {
	.nlp-crm { padding: 16px; }
	.nlp-crm__who h1 { font-size: 22px; }
	.nlp-crm__facts { flex-direction: column; }
	.nlp-crm__acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.nlp-crm__acts > *, .nlp-crm__acts > .nlp-wam > summary, .nlp-crm__acts .nlp-dir, .nlp-crm__acts .nlp-dir > * { width: 100%; }
	.nlp-crm__acts > .nlp-wam > summary { display: flex; }
}
.nlp-cust__last { white-space: nowrap; }

/* Details: locked until Edit */
.nlp-cdet__edit > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nlp-cdet__edit > summary::-webkit-details-marker { display: none; }
.nlp-cdet__edit > summary .nlp-card__h { margin: 0; }
.nlp-cdet__close, .nlp-cdet__edit[open] .nlp-cdet__open { display: none; }
.nlp-cdet__edit[open] .nlp-cdet__close { display: inline; }
.nlp-cdet__edit[open] > summary { margin-bottom: 14px; }
.nlp-cdet__edit[open] + .nlp-cdet__view { display: none; }
.nlp-cdet__view { margin: 14px 0 0; display: grid; gap: 10px; }
.nlp-cdet__view div { display: grid; gap: 2px; }
.nlp-cdet__view dt { font-size: 12.5px; font-weight: 600; color: var(--nlp-muted); }
.nlp-cdet__view dd { margin: 0; overflow-wrap: anywhere; }

/* Quick-choice chips and pick buttons */
.nlp-qchip { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border: 1px solid var(--nlp-line); border-radius: 999px; background: #fff; color: var(--nlp-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.nlp-qchip:hover { border-color: color-mix(in srgb, var(--nlp-accent) 40%, var(--nlp-line)); }
.nlp-qchip.is-on { background: var(--nlp-accent-soft); border-color: color-mix(in srgb, var(--nlp-accent) 45%, #fff); color: var(--nlp-accent); }
.nlp-pick { position: relative; display: inline-flex; }
.nlp-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nlp-pick > span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--nlp-line); border-radius: 10px; background: #fff; font-weight: 600; font-size: 14px; color: var(--nlp-text); }
.nlp-pick--sm > span { min-height: 34px; padding: 6px 11px; font-size: 13px; }
.nlp-pick input:checked + span { background: var(--nlp-accent-soft); border-color: var(--nlp-accent); color: var(--nlp-accent); }
.nlp-pick input:focus-visible + span { outline: 2px solid var(--nlp-accent); outline-offset: 2px; }
.nlp-picks { display: flex; flex-wrap: wrap; gap: 8px; }

/* History */
.nlp-clog__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 10px; }
.nlp-clog__head .nlp-card__h { margin: 0; }
.nlp-clog__filters { display: flex; flex-wrap: wrap; gap: 6px; }
html:not(.js) .nlp-clog__filters { display: none; }
.nlp-clog__add { margin: 0 0 14px; }
.nlp-clog__add > summary { list-style: none; }
.nlp-clog__add > summary::-webkit-details-marker { display: none; }
.nlp-clog__add[open] > summary { margin-bottom: 12px; }
.nlp-clog__add form { padding: 14px; border: 1px solid var(--nlp-line); border-radius: 12px; background: var(--nlp-soft); }
.nlp-clog__kinds, .nlp-clog__outs { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.nlp-clog__kinds legend, .nlp-clog__outs legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; padding: 0; }
.js .nlp-clog__add .nlp-clog__outs:not(.is-on) { display: none; }
.nlp-clog__when { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--nlp-muted); }
.nlp-clog__when input { padding: 6px 8px; border: 1px solid var(--nlp-line); border-radius: 8px; font: inherit; font-size: 13px; }
.nlp-clog__list { list-style: none; margin: 0; padding: 0; }
.nlp-clog__item { position: relative; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--nlp-line); }
.nlp-clog__item:first-child { border-top: 0; }
.nlp-clog__i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--nlp-soft); color: var(--nlp-muted); }
.nlp-clog__item--call .nlp-clog__i { background: #e8f1ff; color: var(--nlp-accent); }
.nlp-clog__item--wa .nlp-clog__i { background: #e6f7ec; color: #128c4a; }
.nlp-clog__item--email .nlp-clog__i { background: #f1ecff; color: #6d4ad6; }
.nlp-clog__item--note .nlp-clog__i, .nlp-clog__item--visit .nlp-clog__i { background: #fff4dc; color: #a16207; }
.nlp-clog__body { min-width: 0; }
.nlp-clog__t { margin: 3px 0 0; font-size: 14.5px; }
.nlp-clog__note { margin: 4px 0 0; font-size: 14px; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
.nlp-clog__meta { display: block; margin-top: 3px; color: var(--nlp-muted); font-size: 12.5px; }
.nlp-clog__item--sys .nlp-clog__t { font-size: 13.5px; color: var(--nlp-muted); }
.nlp-clog__item--sys .nlp-clog__t strong { font-weight: 500; }
.nlp-clog__edit > summary { list-style: none; cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--nlp-muted); }
.nlp-clog__edit > summary::-webkit-details-marker { display: none; }
.nlp-clog__edit > summary:hover, .nlp-clog__edit[open] > summary { background: var(--nlp-soft); color: var(--nlp-accent); }
.nlp-clog__edit[open] { grid-column: 1 / -1; grid-row: 2; }
.nlp-clog__edit[open] > summary { position: absolute; right: 0; top: 10px; }
.nlp-clog__edit form { margin-top: 4px; padding: 12px; border: 1px solid var(--nlp-line); border-radius: 12px; background: var(--nlp-soft); }

/* "How did it go?" sheet */
.nlp-how { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(11, 16, 34, 0.45); }
.nlp-how[hidden] { display: none; }
.nlp-how__box { width: min(520px, 100%); background: #fff; border-radius: 18px 18px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(11, 16, 34, 0.25); animation: nlp-how-up 0.22s ease-out; }
@media (min-width: 761px) {
	.nlp-how { align-items: center; }
	.nlp-how__box { border-radius: 18px; }
}
@keyframes nlp-how-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.nlp-how__h { font-size: 18px; margin: 0 0 12px; }
.nlp-how__outs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nlp-how__outs .nlp-pick > span { min-height: 46px; font-size: 15px; }
.nlp-how__btns { display: flex; gap: 8px; }
.nlp-how__btns .nlp-btn { flex: 1; min-height: 48px; }
html.nlp-how-open { overflow: hidden; }

/* Where box */
.nlp-where { display: grid; gap: 6px; }
.nlp-where__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.nlp-where__check { color: var(--nlp-muted); font-size: 12.5px; min-height: 1.2em; }
.nlp-where__check.is-good { color: var(--nlp-good); font-weight: 600; }
.nlp-where__check.is-good::before { content: "✓ "; }
.nlp-where__check.is-rough { color: var(--nlp-warn); }
.nlp-where__check.is-warn { color: var(--nlp-bad); font-weight: 600; }
.nlp-where__check.is-warn::before { content: "⚠ "; }
.nlp-where__link { display: grid; gap: 4px; margin-top: 4px; }
.nlp-where__link[hidden] { display: none; }
.nlp-where__link > span { font-weight: 600; font-size: 14px; }
.nlp-join { white-space: nowrap; }
.nlp-join svg { vertical-align: -2px; }

/* Weather on a booking */
.nlp-wxv { display: flex; align-items: flex-start; gap: 5px; margin-top: 3px; color: #36608f; font-size: 12.5px; line-height: 1.35; }
.nlp-wxv svg { flex: none; margin-top: 1px; color: #e3a008; }
.nlp-wxv--warn { color: #9a3412; font-weight: 600; }
.nlp-wxv--none, .nlp-wxv--later { color: var(--nlp-muted); }
.nlp-vlist .nlp-wxv { margin: 0; }

/* Directions */
.nlp-dir { display: inline-flex; align-items: stretch; }
.nlp-dir .nlp-dir__go { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.nlp-dir .nlp-dir__more { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; padding-left: 9px; padding-right: 9px; }
.nlp-dir__menu .nlp-wam__menu { width: min(240px, 86vw); }
.nlp-row__end .nlp-dir + .nlp-wam, .nlp-vlist__acts .nlp-dir { margin-right: 4px; }

/* Double booking warning (1.15.0) */
.nlp-clash { display: grid; gap: 6px; }
.nlp-clash__msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff4e5; border: 1px solid #f5c98b; color: #8a4b08; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.nlp-clash__ok[hidden] { display: none; }
.nlp-clash__ok { font-weight: 600; }
.nlp-clash__ok.is-nudge { animation: nlp-nudge 0.3s ease-in-out 2; }
@keyframes nlp-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.nlp-inline-form .nlp-clash { flex-basis: 100%; }

/* Settings sections (1.15.0) */
.nlp-sgrps { display: grid; gap: 12px; }
.nlp-sgrp { background: var(--nlp-card); border: 1px solid var(--nlp-line); border-radius: var(--nlp-r); box-shadow: var(--nlp-shadow); }
.nlp-sgrp__head { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--nlp-r); }
.nlp-sgrp__head::-webkit-details-marker { display: none; }
.nlp-sgrp__head:hover { background: var(--nlp-soft); }
.nlp-sgrp__head:focus-visible { outline: 2px solid var(--nlp-accent); outline-offset: 2px; }
.nlp-sgrp__i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--nlp-accent-soft); color: var(--nlp-accent); }
.nlp-sgrp__t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nlp-sgrp__t strong { font-size: 16.5px; color: var(--nlp-ink); }
.nlp-sgrp__t small { color: var(--nlp-muted); font-size: 13.5px; line-height: 1.35; }
.nlp-sgrp__chev { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--nlp-muted); border-bottom: 2px solid var(--nlp-muted); transform: rotate(45deg); margin: -4px 6px 0 0; transition: transform 0.2s; }
.nlp-sgrp[open] .nlp-sgrp__chev { transform: rotate(-135deg); margin-top: 4px; }
.nlp-sgrp[open] .nlp-sgrp__head { border-bottom: 1px solid var(--nlp-line); border-radius: var(--nlp-r) var(--nlp-r) 0 0; }
.nlp-sgrp__body { padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; background: var(--nlp-soft); border-radius: 0 0 var(--nlp-r) var(--nlp-r); }
.nlp-sgrp__body > .nlp-card { margin: 0; scroll-margin-top: 90px; }
.nlp-sgrp__body > :only-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .nlp-sgrp__body { grid-template-columns: minmax(0, 1fr); padding: 12px; } .nlp-sgrp__head { padding: 14px 14px; } }
.nlp-upload-warn { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff4e5; border: 1px solid #f5c98b; color: #8a4b08; font-size: 13px; font-weight: 600; }
.nlp-upload-warn[hidden] { display: none; }

/* Mail shots: find someone in a big list (1.15.3) */
.nlp-ms-find {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	margin: 6px 0 4px;
}
.nlp-ms-find .nlp-field {
	flex: 1;
	margin: 0;
}

/* "What do these mean?" / "Want a tip?" boxes (1.17.0) */
.nlp-explain {
	margin-top: 14px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: var(--nlp-soft);
}
.nlp-explain > summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	font-weight: 600;
	color: var(--nlp-accent);
	cursor: pointer;
	list-style: none;
}
.nlp-explain > summary::-webkit-details-marker {
	display: none;
}
.nlp-explain > summary::before {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.15s;
}
.nlp-explain[open] > summary::before {
	transform: rotate(45deg);
}
.nlp-explain > :not(summary) {
	margin: 0 14px 12px;
	font-size: 14px;
	line-height: 1.55;
}
.nlp-explain__list {
	padding-left: 18px;
}
.nlp-explain__list li + li {
	margin-top: 6px;
}
.nlp-explain .nlp-copy {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--nlp-card, #fff);
	word-break: break-all;
	user-select: all;
}
.nlp-bars__sub {
	display: block;
	font-size: 11px;
	color: var(--nlp-muted);
	font-weight: 500;
}
.nlp-card__headrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}
.nlp-card__headrow .nlp-card__h {
	margin: 0;
}
.nlp-custcard__team {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--nlp-line);
}
.nlp-custcard__team .nlp-sub-h {
	margin: 0 0 6px;
}
/* Team results and targets (1.17.0) */
.nlp-chips--who { margin-top: -4px; }
.nlp-target { padding: 16px 18px; }
.nlp-target__top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 15px; }
.nlp-target__pct { font-weight: 700; color: var(--nlp-accent); }
.nlp-target__pct.is-hit { color: var(--nlp-good); }
.nlp-meter { height: 10px; border-radius: 99px; background: var(--nlp-soft); overflow: hidden; }
.nlp-meter i { display: block; height: 100%; border-radius: 99px; background: var(--nlp-accent); }
.nlp-meter.is-hit i { background: var(--nlp-good); }
.nlp-meter--sm { height: 6px; min-width: 90px; margin-bottom: 3px; }
.nlp-teamres td small { color: var(--nlp-muted); font-size: 12px; }
/* Staff access presets (1.17.0) */
.nlp-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.nlp-presets button { display: grid; gap: 2px; text-align: left; padding: 8px 12px; border: 1px solid var(--nlp-line); border-radius: 10px; background: var(--nlp-card); cursor: pointer; font: inherit; }
.nlp-presets button:hover, .nlp-presets button.is-on { border-color: var(--nlp-accent); background: var(--nlp-accent-soft, #eef3ff); }
.nlp-presets small { color: var(--nlp-muted); font-size: 12px; }
.nlp-checkgrid__h { margin: 10px 0 4px; font-size: 13px; font-weight: 700; color: var(--nlp-muted); text-transform: uppercase; letter-spacing: .04em; }

/* Results: whose results drop-down, teams (1.17.4) */
.nlp-whopick{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.nlp-whopick select,.nlp-whopick label{margin:0!important}
.nlp-whopick label{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px}
.nlp-whopick select{width:auto!important;min-width:240px;max-width:100%;padding:8px 34px 8px 12px;border-radius:10px;font:inherit;font-size:15px}
.nlp-teamres__team{display:block;font-size:12px;opacity:.7;margin-top:2px}
.nlp-teamtag{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:10px;font-size:11px;font-weight:600;background:rgba(37,99,235,.12);color:#2563eb;vertical-align:middle}


/* Phone notifications dropped out: the red bar (tap to fix) */
.nlp-pushfix {
	position: fixed;
	left: 12px;
	right: 12px;
	top: calc(env(safe-area-inset-top, 0px) + 10px);
	z-index: 100000;
	display: block;
	width: auto;
	padding: 14px 16px;
	border: 0;
	border-radius: 12px;
	background: #b91c1c;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.nlp-pushfix:disabled { cursor: default; opacity: .95; }
.nlp-pushfix.is-ok { background: #15803d; }
@media (min-width: 720px) {
	.nlp-pushfix { left: 50%; right: auto; transform: translateX(-50%); max-width: 520px; }
}

/* Put the portal on your phone */
.nlp-app {
	position: fixed;
	inset: 0;
	z-index: 96;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(8, 12, 26, 0.62);
	animation: nlp-app-in 0.2s ease;
}
@keyframes nlp-app-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.nlp-app__card {
	width: min(440px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 26px 24px 20px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	text-align: center;
}
.nlp-app__phone {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	color: var(--nlp-muted);
}
.nlp-app__phone img {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(16, 24, 40, 0.18);
}
.nlp-app__kicker {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nlp-accent, #1f6fe5);
}
.nlp-app__card h2 {
	margin: 0 0 8px !important;
	font-size: 22px;
}
.nlp-app__why {
	margin: 0 0 18px;
	font-size: 14.5px;
	color: var(--nlp-muted);
}
.nlp-app__steps {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	text-align: left;
}
.nlp-app__steps li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	margin: 0 0 8px;
	border-radius: 12px;
	background: #f5f7fb;
	font-size: 15px;
	line-height: 1.45;
}
.nlp-app__steps b {
	flex: 0 0 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nlp-accent, #1f6fe5);
	color: #fff;
	font-size: 13px;
}
.nlp-app__ico {
	display: inline-flex;
	vertical-align: -4px;
	padding: 1px 4px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid #dfe4ee;
	color: #1f6fe5;
}
.nlp-app__install {
	width: 100%;
	margin: 0 0 14px;
}
.nlp-app__lead {
	margin: 0 0 10px;
	font-size: 14.5px;
}
.nlp-app__url {
	margin: 0 0 12px;
	padding: 12px;
	border-radius: 12px;
	background: #f5f7fb;
	font-weight: 700;
	word-break: break-all;
}
.nlp-app__sent {
	margin: 10px 0 0;
	font-size: 14px;
	color: #15803d;
	font-weight: 600;
}
.nlp-app__small {
	margin: 14px 0 18px;
	font-size: 13px;
	color: var(--nlp-muted);
}
.nlp-app__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid #edf0f5;
}

.nlp-sig-logonote {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	border-left: 4px solid #d97706;
	background: #fff7e6;
	font-size: 14px;
	line-height: 1.5;
	color: #4a3a12;
}

/* Phones: nothing may make a page wider than the screen (1.18.4).
   A pasted signature keeps its own layout (logo beside the details, as in the
   email). The editor scrolls sideways inside its own box if it must, and the
   preview is shrunk to fit the screen (portal.js), so it looks like the email. */
.nlp-editor__area,
.nlp-sigpreview__mail {
	max-width: 100%;
}
.nlp-editor__bar {
	flex-wrap: wrap;
}
.nlp-sgrp,
.nlp-sgrp__body,
.nlp-card,
.nlp-form,
.nlp-field,
.nlp-2col > *,
.nlp-tplrow,
.nlp-tplrow textarea {
	min-width: 0;
	max-width: 100%;
}
.nlp-main {
	box-sizing: border-box;
	width: 100%;
	max-width: min(1240px, 100vw);
}
.nlp-sgrps,
.nlp-settings__col,
.nlp-tpls {
	grid-template-columns: minmax(0, 1fr);
}
.nlp-editor__area,
.nlp-sigpreview__mail {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
[data-nlp-sigprev] {
	transform-origin: 0 0;
}
/* The preview keeps the signature's real sizes (as in the email); it's shrunk as a whole. */
.nlp-sigpreview__mail [data-nlp-sigprev] img {
	max-width: none;
}
/* Phones (Safari included): every section is exactly as wide as the screen,
   whatever is inside it; wide content wraps or scrolls inside its own box. */
@media (max-width: 760px) {
	.nlp-settings {
		grid-template-columns: minmax(0, 1fr);
	}
	.nlp-sgrp,
	.nlp-sgrp__body,
	.nlp-card,
	.nlp-editor,
	.nlp-howto,
	.nlp-sigpreview,
	.nlp-sigpreview__mail {
		contain: inline-size;
		box-sizing: border-box;
		max-width: 100%;
	}
	.nlp-howto,
	.nlp-howto li,
	.nlp-hint,
	.nlp-info,
	.nlp-sig-logonote {
		overflow-wrap: break-word;
		word-break: break-word;
	}
	.nlp-main input,
	.nlp-main select,
	.nlp-main textarea {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
}
@media (max-width: 700px) {
	.nlp-card img,
	.nlp-card video,
	.nlp-card iframe {
		max-width: 100%;
		height: auto;
	}
	.nlp-card pre,
	.nlp-card code {
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}
}

/* The "Saved" message: never squashed, never under the iPhone home bar (1.18.7). */
.nlp-toast {
	contain: none !important;
	width: max-content;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	line-height: 1.35;
}
.nlp-toast .nlp-i {
	flex: none;
}
.nlp-toast span {
	min-width: 0;
}
/* Form groups and date boxes can shrink on small phones (1.18.7). */
.nlp fieldset {
	min-width: 0;
	max-width: 100%;
}
.nlp-row-btns > *,
.nlp-clog__when {
	min-width: 0;
	max-width: 100%;
}
.nlp-clog__when input,
.nlp input[type="date"],
.nlp input[type="datetime-local"],
.nlp input[type="time"] {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
/* Forms are one column that never grows wider than the screen (1.18.7).
   Forms that set their own columns (e.g. Settings on a computer) keep them. */
.nlp-form:not(.nlp-settings):not(.nlp-acct):not(.nlp-bk__form):not(.nlp-ms-edit):not(.nlp-inline-form) {
	grid-template-columns: minmax(0, 1fr);
}
.nlp-clog__kinds {
	flex-wrap: wrap;
}
/* Any screen: a box never pokes out of its column (1.18.7). */
.nlp-main input:not([type="checkbox"]):not([type="radio"]),
.nlp-main select,
.nlp-main textarea {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
.nlp-2col > *,
.nlp-field {
	min-width: 0;
}

/* Back-from-Stripe check spinner */
.nlp-spin{display:inline-block;width:12px;height:12px;margin-right:6px;vertical-align:-1px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:nlp-spin .8s linear infinite}
@keyframes nlp-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.nlp-spin{animation:none}}

/* Quote and invoice buttons on phones: wrap instead of running off the left edge (1.18.13). */
@media (max-width: 760px) {
	.nlp-qgo {
		position: static;
		flex-wrap: wrap;
		justify-content: stretch;
		padding: 4px 0 calc(8px + env(safe-area-inset-bottom));
		background: none;
	}
	.nlp-qgo .nlp-btn {
		flex: 1 1 calc(50% - 5px);
		min-width: 0;
		white-space: normal;
		justify-content: center;
		text-align: center;
	}
	.nlp-qgo .nlp-btn--primary {
		order: -1;
		flex-basis: 100%;
	}
	.nlp-qgo .nlp-btn[value="delete"] {
		order: 9;
		flex-basis: 100%;
		border-color: transparent;
		background: none;
		color: var(--nlp-muted, #66718a);
	}
}

/* 1.18.13: review "waiting" line, invoice job picker */
.nlp-review-done { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 10px; font-size: 14px; }
.nlp-invmini__make { margin: 4px 0 10px; }
.nlp-invmini__make > summary { list-style: none; display: inline-flex; cursor: pointer; }
.nlp-invmini__make > summary::-webkit-details-marker { display: none; }
.nlp-invmini__make[open] > summary { display: none; }
.nlp-invmini__make form { margin-top: 4px; }
.nlp-invmini__make select, .nlp-invlink select { max-width: 100%; }
.nlp-invlink .nlp-warn { margin-top: 0; }

/* Family & linked people (1.19.0) */
.nlp-links-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--nlp-muted, #66718a); }
.nlp .nlp-chip--link { text-decoration: none; font-family: inherit; letter-spacing: 0; text-transform: none; }
.nlp-chip--link small { opacity: .7; margin-left: 2px; }
.nlp-links__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.nlp-links__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.nlp-links__list li > a { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.nlp-links__list li > a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.nlp-links__list strong, .nlp-links__list small { overflow-wrap: anywhere; }
.nlp-links__list small { color: var(--nlp-muted, #66718a); font-size: 13px; }
.nlp-links__add > summary { list-style: none; display: inline-flex; cursor: pointer; }
.nlp-links__add > summary::-webkit-details-marker { display: none; }
.nlp-links__add[open] > summary { display: none; }
.nlp-links select { max-width: 100%; }
.nlp-answers__other { margin: 0 0 8px 30px; }
@media (max-width: 760px) { .nlp-answers__other { margin-left: 0; } }

/* ------------------------------------------------------------------
 * Documents to sign (1.20.0)
 * ------------------------------------------------------------------ */
.nlp-addon__free {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #166534;
	font-size: 12px;
	font-weight: 700;
	vertical-align: middle;
}
.nlp-addon__switch { margin-top: 8px; }
.nlp .nlp-btn--danger { color: #b91c1c; }
.nlp-sg__flag {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 14px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #eef4ff;
	color: #1e3a8a;
	font-size: 14px;
	font-weight: 600;
}
.nlp-sg__flag--test { background: #fff7ed; color: #9a3412; }
.nlp-sg__label { font-size: 20px !important; }
.nlp-sg__title {
	margin: 20px 0 4px !important;
	font-size: 24px !important;
	line-height: 1.25;
}
.nlp-sg .nlp-pq__for { margin-top: 0; color: var(--nlp-muted); }
.nlp-sg__doc {
	margin: 18px 0 8px;
	padding: 22px 24px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: #fcfcfd;
	font-size: 15px;
	line-height: 1.6;
	max-height: 70vh;
	overflow: auto;
	overflow-wrap: anywhere;
}
.nlp-sg__pdf {
	display: grid;
	gap: 12px;
	margin: 18px 0 6px;
	padding: 12px;
	border-radius: 12px;
	background: #eef1f6;
	max-height: 75vh;
	overflow: auto;
}
.nlp-sg__page {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(17, 26, 46, 0.12);
}
.nlp-sg__open { margin: 6px 0 18px; font-size: 14px; }
.nlp-sg__form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.nlp-sg__form fieldset[disabled] { opacity: 0.7; }
.nlp-sg__padwrap { display: grid; gap: 6px; }
.nlp-sg__pad {
	display: block;
	width: 100%;
	height: 160px;
	border: 2px dashed color-mix(in srgb, var(--nlp-accent) 45%, #cbd2df);
	border-radius: 12px;
	background: #fff;
	touch-action: none;
	cursor: crosshair;
}
.nlp-sg__pad.is-needed { border-color: #b91c1c; }
.nlp-sg__padfoot { display: flex; justify-content: space-between; align-items: center; }
.nlp-sg__small { margin: 12px 0 0; color: var(--nlp-muted); font-size: 12.5px; line-height: 1.5; }
.nlp-sg__dl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.nlp-sg__compose { padding: 20px; }
.nlp-sg__opts { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: flex-end; }
.nlp-sg__previews {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 18px;
	margin: 14px 0;
}
.nlp-sg__prev { margin: 0; display: grid; gap: 8px; align-content: start; }
.nlp-sg__prev figcaption { color: var(--nlp-muted); font-size: 13px; overflow-wrap: anywhere; }
.nlp-sg__frame {
	width: 100%;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: #fff;
}
.nlp-sg__frame--mail { height: 560px; }
.nlp-sg__frame--phone {
	width: 360px;
	max-width: 100%;
	height: 640px;
	border: 8px solid #111a2e;
	border-radius: 28px;
}
.nlp-sg__acts { flex-wrap: wrap; }
.nlp-sg__steps { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.nlp-sg__steps li {
	position: relative;
	padding-left: 26px;
	color: var(--nlp-muted);
	font-size: 14px;
	overflow-wrap: anywhere;
}
.nlp-sg__steps li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #cbd2df;
	background: #fff;
}
.nlp-sg__steps li.is-done::before { border-color: #16a34a; background: #16a34a; }
.nlp-sg__steps b { color: var(--nlp-ink); margin-right: 4px; }
.nlp-sg__log { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; }
.nlp-sg__log li { overflow-wrap: anywhere; }
.nlp-sg__tpl summary { cursor: pointer; }
.nlp-sg__tpl form { margin-top: 12px; }
@media (max-width: 900px) {
	.nlp-sg__previews { grid-template-columns: minmax(0, 1fr); }
	.nlp-sg__frame--phone { width: 100%; }
}
@media (max-width: 600px) {
	.nlp-sg__doc { padding: 16px; font-size: 14.5px; }
	.nlp-sg__title { font-size: 21px !important; }
	.nlp-sg__frame--mail { height: 460px; }
	.nlp-sg__frame--phone { height: 560px; border-width: 6px; }
}
.nlp-sg__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nlp-sg__acts .nlp-inline { display: inline-flex; margin: 0; }
.nlp-sg__acts .nlp-alert { flex-basis: 100%; margin: 0 0 4px; }

/* Signing boxes (1.21.0) */
.nlp-sg__pw { position: relative; }
.nlp-sg__layer { position: absolute; inset: 0; }
.nlp-sgb.is-placing .nlp-sg__layer { cursor: crosshair; outline: 2px dashed color-mix(in srgb, var(--nlp-accent) 55%, transparent); outline-offset: -2px; }
.nlp-sg__box {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 4px;
	border: 2px dashed #f59e0b;
	border-radius: 4px;
	background: rgba(254, 243, 199, 0.75);
	color: #92400e;
	font-weight: 700;
	line-height: 1;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
}
.nlp-sg__box--sign, .nlp-sg__box--initials { cursor: pointer; }
.nlp-sg__box.is-done { border-style: solid; border-color: #16a34a; background: rgba(236, 253, 243, 0.55); color: #111a2e; font-weight: 500; }
.nlp-sg__box.is-needed { border-color: #b91c1c; background: rgba(254, 226, 226, 0.8); }
.nlp-sg__box.is-pulse { animation: nlp-sg-pulse 0.6s ease 2; }
@keyframes nlp-sg-pulse { 50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.45); } }
.nlp-sg__box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nlp-sg__boxtx { overflow: hidden; }
.nlp-sg__boxin {
	width: 100%;
	height: 100%;
	min-width: 0;
	padding: 0 2px;
	border: 0;
	background: transparent;
	color: #111a2e;
	font: inherit;
	font-weight: 500;
}
.nlp-sg__boxin:focus { outline: none; }
.nlp-sg__box.is-edit { cursor: move; touch-action: none; border-color: var(--nlp-accent); background: color-mix(in srgb, var(--nlp-accent) 14%, rgba(255, 255, 255, 0.7)); color: var(--nlp-ink); font-size: 12px; overflow: visible; }
.nlp-sg__box.is-edit.is-active { box-shadow: 0 4px 14px rgba(17, 26, 46, 0.25); }
.nlp-sg__box--sign.is-edit { border-color: #2563eb; }
.nlp-sg__box--initials.is-edit { border-color: #7c3aed; }
.nlp-sg__box--name.is-edit { border-color: #0891b2; }
.nlp-sg__box--date.is-edit { border-color: #16a34a; }
.nlp-sg__box--text.is-edit { border-color: #d97706; }
.nlp-sg__boxdel {
	position: absolute;
	top: -11px;
	right: -11px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: #111a2e;
	color: #fff;
	font-size: 15px;
	line-height: 22px;
	cursor: pointer;
}
.nlp-sg__boxgrip {
	position: absolute;
	right: -7px;
	bottom: -7px;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	background: var(--nlp-accent);
	cursor: nwse-resize;
}
.nlp-sgb__bar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 8px;
	padding: 10px;
	border: 1px solid var(--nlp-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(17, 26, 46, 0.08);
}
.nlp-sgb__tool {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 8px 12px;
	border: 1px solid var(--nlp-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.nlp-sgb__tool[aria-pressed="true"] { border-color: var(--nlp-accent); background: var(--nlp-accent); color: #fff; }
.nlp-sgb__sw { width: 12px; height: 12px; border-radius: 3px; border: 2px solid currentColor; }
.nlp-sgb__sw--sign { color: #2563eb; }
.nlp-sgb__sw--initials { color: #7c3aed; }
.nlp-sgb__sw--name { color: #0891b2; }
.nlp-sgb__sw--date { color: #16a34a; }
.nlp-sgb__sw--text { color: #d97706; }
.nlp-sgb__tool[aria-pressed="true"] .nlp-sgb__sw { color: #fff; }
.nlp-sgb__count { color: var(--nlp-muted); font-size: 13px; }
.nlp-sgb__save { margin-left: auto; }
.nlp-sgb__pages { display: grid; gap: 14px; padding: 12px; border-radius: 12px; background: #eef1f6; }
.nlp-sgb__pages .nlp-sg__page { box-shadow: 0 2px 8px rgba(17, 26, 46, 0.12); }
.nlp-sg__guide {
	position: sticky;
	top: 8px;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff7ed;
	color: #9a3412;
	font-weight: 600;
	font-size: 14px;
}
.nlp-sg__pad--ini { height: 110px; max-width: 260px; }
.nlp-sg__pad.is-pulse { animation: nlp-sg-pulse 0.6s ease 2; }
.nlp-sg__boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin: 6px 0 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff7ed;
}
.nlp-sg__boxes.is-set { background: #ecfdf3; }
.nlp-sg__boxes p { margin: 0; font-size: 14px; }
.nlp-sg__upl input[type="file"] { max-width: 100%; }
@media (max-width: 600px) {
	.nlp-sgb__bar { gap: 6px; padding: 8px; }
	.nlp-sgb__tool { padding: 7px 10px; font-size: 13px; }
	.nlp-sgb__save { margin-left: 0; }
}
.nlp-sg__pdf.has-boxes { max-height: none; overflow: visible; }
.nlp .nlp-sg__box .nlp-sg__boxin,
.nlp-sg .nlp-sg__box .nlp-sg__boxin {
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-weight: 500;
	line-height: 1;
}
@media (max-width: 600px) {
	.nlp-sgb__bar { gap: 5px; padding: 6px; border-radius: 10px; }
	.nlp-sgb__tool { gap: 4px; padding: 5px 9px; font-size: 12px; }
	.nlp-sgb__sw { width: 9px; height: 9px; }
	.nlp-sgb__bar .nlp-sgb__save { display: none; }
	.nlp-sgb__count { font-size: 12px; }
	.nlp-sg__box.is-edit { font-size: 9px; padding: 0 2px; }
	.nlp-sg__boxdel { top: -8px; right: -8px; width: 16px; height: 16px; font-size: 12px; line-height: 16px; }
	.nlp-sg__boxgrip { right: -5px; bottom: -5px; width: 10px; height: 10px; }
}
/* Small boxes on phones: an outline (takes no space inside the box) and text that uses the full height. */
.nlp-sg .nlp-sg__box {
	border: 0;
	outline: 2px dashed #f59e0b;
	outline-offset: 0;
	padding: 0 3px;
	line-height: 1;
	overflow: visible;
}
.nlp-sg .nlp-sg__box.is-done { outline: 2px solid #16a34a; }
.nlp-sg .nlp-sg__box.is-needed { outline-color: #b91c1c; }
.nlp-sg .nlp-sg__boxtx { overflow: visible; white-space: nowrap; }
.nlp-sg .nlp-sg__box img { height: 100%; width: auto; max-width: 100%; }

/* ---------- Documents to sign: several signers (1.22.0) ---------- */
.nlp-sgw { border: 1px solid var(--nlp-line, #e4e8f0); border-radius: 12px; padding: 14px 16px; margin: 6px 0 14px; display: grid; gap: 10px; }
.nlp-sgw legend { font-weight: 700; padding: 0 6px; }
.nlp-sgw .nlp-hint { margin: 0; }
.nlp-sgw__row { border-top: 1px solid var(--nlp-line, #eef1f6); padding-top: 10px; display: grid; gap: 8px; }
.nlp-sgw__row .nlp-check small { margin-left: 4px; }
.nlp-sgw__more { display: none; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; padding-left: 26px; }
.nlp-sgw__row.is-on .nlp-sgw__more, .nlp-sgw__more--new { display: grid; }
.nlp-sgw__more--new { padding-left: 0; }
.nlp-sgw .nlp-field--sm, .nlp-sg__check .nlp-field--sm { margin: 0; }
.nlp-sgw .nlp-field--sm span { font-size: 12.5px; }
.nlp-sgw .nlp-field--sm input, .nlp-sgw .nlp-field--sm select { padding: 7px 9px; font-size: 14px; min-height: 0; }
.nlp-sgw__step { display: none; }
.nlp-sgw.is-custom .nlp-sgw__step { display: block; }
.nlp-sgw.is-custom [data-nlp-sgwpos] { opacity: .45; pointer-events: none; }
.nlp-sgw__newh { margin: 0; font-weight: 600; }
.nlp-sgw__order { border-top: 1px solid var(--nlp-line, #eef1f6); padding-top: 10px; display: grid; gap: 6px; }
.nlp-sgw__orderh { font-weight: 700; font-size: 14px; }

.nlp-sgp { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 0; }
.nlp-sgp__row { --c: #94a3b8; position: relative; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; justify-content: space-between; padding: 10px 0 12px 30px; border-left: 2px solid #e4e8f0; margin-left: 9px; }
.nlp-sgp__row:last-child { border-left-color: transparent; }
.nlp-sgp__dot { position: absolute; left: -10px; top: 11px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c); background: #fff; box-sizing: border-box; }
.nlp-sgp__row.is-done .nlp-sgp__dot { background: #16a34a; border-color: #16a34a; }
.nlp-sgp__row.is-done .nlp-sgp__dot::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nlp-sgp__row.is-now .nlp-sgp__dot { background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.nlp-sgp__row.is-no .nlp-sgp__dot { background: #b91c1c; border-color: #b91c1c; }
.nlp-sgp__what { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.nlp-sgp__what b { color: var(--nlp-ink); }
.nlp-sgp__what .nlp-tag { justify-self: start; }
.nlp-sgp__st { color: var(--nlp-muted, #66718a); font-size: 13.5px; overflow-wrap: anywhere; }
.nlp-sgp__row.is-now .nlp-sgp__st { color: var(--nlp-ink); font-weight: 600; }
.nlp-sgp__acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.nlp-sg__who { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: sgw; }
.nlp-sg__who li { --c: #94a3b8; counter-increment: sgw; display: inline-flex; flex-direction: column; padding: 6px 10px 6px 30px; border-radius: 10px; border: 1px solid #e4e8f0; position: relative; font-size: 14px; font-weight: 600; background: #fff; }
.nlp-sg__who li::before { content: counter(sgw); position: absolute; left: 8px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10.5px; line-height: 16px; text-align: center; }
.nlp-sg__who li.is-done::before { content: "✓"; background: #16a34a; }
.nlp-sg__who li.is-you { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }
.nlp-sg__who li small { font-weight: 400; color: #66718a; font-size: 12px; }
.nlp-sg__who--list { flex-direction: column; }
.nlp-sg__order { margin: 0 0 12px; }
.nlp-sg__order p { margin: 0 0 4px; }

.nlp-sg__turn-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #f0fdf4; color: #166534; font-size: 14.5px; }
.nlp-sg__signedby { margin: 6px 0; font-size: 14px; color: #166534; }
.nlp-sg__yourturn { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; margin: 0 0 14px; border-radius: 12px; background: color-mix(in srgb, var(--nlp-accent) 12%, #fff); border: 1px solid color-mix(in srgb, var(--nlp-accent) 35%, #fff); font-weight: 600; }
.nlp-sg__yourturn span { flex: 1 1 auto; }
.nlp-sg__decline { margin: 14px 0 0; font-size: 14px; }
.nlp-sg__decline summary { cursor: pointer; color: #66718a; }
.nlp-sg__decline form { margin-top: 10px; }
.nlp-sg__mysig { max-width: 320px; width: 100%; border: 1px solid #e4e8f0; border-radius: 10px; background: #fff; padding: 8px; }

/* Someone else's box on the signing page, and whose box it is in the editor. */
.nlp-sg .nlp-sg__box.nlp-sg__box--other { --c: #94a3b8; outline: 1.5px dashed var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); color: color-mix(in srgb, var(--c) 80%, #111a2e); font-size: 11px; pointer-events: none; opacity: .85; }
.nlp-sg__box.is-edit.is-who { border-color: var(--c) !important; background: color-mix(in srgb, var(--c) 14%, rgba(255, 255, 255, 0.75)); }
.nlp-sg__boxwho { position: absolute; left: -2px; bottom: 100%; margin-bottom: 2px; padding: 1px 6px; border: 0; border-radius: 6px 6px 6px 0; background: var(--c, #64748b); color: #fff; font: 600 10.5px/1.4 inherit; white-space: nowrap; cursor: pointer; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.nlp-sgb__for { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.nlp-sgb__for select { padding: 6px 8px; border-radius: 8px; border: 2px solid #cbd5e1; font-size: 14px; max-width: 220px; }
@media (max-width: 600px) {
	.nlp-sgw { padding: 12px; }
	.nlp-sgw__more { padding-left: 0; grid-template-columns: 1fr 1fr; }
	.nlp-sgb__for { width: 100%; }
	.nlp-sgb__for select { flex: 1; max-width: none; }
	.nlp-sgp__acts { width: 100%; }
}

/* ---------- Documents to sign: template roles, copies (1.23.0) ---------- */
.nlp-sgr { border: 1px solid var(--nlp-line, #e4e8f0); border-radius: 12px; padding: 12px 14px; margin: 10px 0; display: grid; gap: 8px; }
.nlp-sgr legend { font-weight: 700; padding: 0 6px; }
.nlp-sgr .nlp-hint { margin: 0; }
.nlp-sgr__row { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(140px, 1.4fr) 80px auto; gap: 8px; align-items: end; }
.nlp-sgr .nlp-field--sm { margin: 0; }
.nlp-sgr .nlp-field--sm span { font-size: 12.5px; }
.nlp-sgr .nlp-field--sm input, .nlp-sgr .nlp-field--sm select { padding: 7px 9px; font-size: 14px; min-height: 0; }
.nlp-sgr__opt { margin: 0 0 8px; font-size: 13.5px; white-space: nowrap; }
.nlp-sgw__copies { align-items: flex-start; border-top: 1px solid var(--nlp-line, #eef1f6); padding-top: 10px; }
.nlp-sgw__missing { color: #9a3412; }
@media (max-width: 600px) {
	.nlp-sgr__row { grid-template-columns: 1fr 1fr; border-top: 1px solid #eef1f6; padding-top: 8px; }
}

/* The "boxes still to fill in" bar never changes height, so the signature box below it never moves while drawing (1.23.1). */
.nlp-sg__guide { flex-wrap: nowrap; min-height: 48px; box-sizing: border-box; }
.nlp-sg__guide > span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nlp-sg__guide > button { flex: 0 0 auto; }
.nlp-sg__pad { overflow-anchor: none; }
.nlp-sg__fullbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.nlp-sg__frame--mail { height: 760px; }
.nlp-sg__frame--phone { height: 760px; }
@media (max-width: 600px) { .nlp-sg__guide > button { padding-left: 10px; padding-right: 10px; } }

/* ---------- Settings spacing (1.23.4) ----------
   ".nlp h3 { margin: 0 }" was cancelling the space above every small heading, so buttons
   at the end of a form touched the heading below. One set of rules for every card. */
.nlp .nlp-card__h3 { margin: 26px 0 6px; }
.nlp .nlp-card > .nlp-card__h3:first-child,
.nlp .nlp-card > .nlp-card__h:first-child + .nlp-card__h3 { margin-top: 10px; }
.nlp .nlp-card > form + form,
.nlp .nlp-card > form + p,
.nlp .nlp-card > form + .nlp-hint,
.nlp .nlp-card > form + div,
.nlp .nlp-card > form + details,
.nlp .nlp-card > .nlp-btn + p,
.nlp .nlp-card > .nlp-btn + .nlp-hint,
.nlp .nlp-card > p + form,
.nlp .nlp-card > .nlp-muted + form,
.nlp .nlp-card > .nlp-hint + form,
.nlp .nlp-card > p + .nlp-btn,
.nlp .nlp-card > p + details,
.nlp .nlp-card > .nlp-ai-profile + form { margin-top: 14px; }
.nlp .nlp-card form > .nlp-btn:last-child,
.nlp .nlp-card form > button:last-child { margin-top: 6px; }
.nlp .nlp-card .nlp-actions { margin-top: 10px; }
/* Buttons stacked one under another always have breathing space. */
.nlp .nlp-card .nlp-btn + .nlp-btn { margin-top: 0; }
.nlp .nlp-card .nlp-calbtns, .nlp .nlp-card .nlp-btns { gap: 12px; }
/* Booking hours: iPhones draw time boxes at their own width unless told otherwise, so they overlapped. */
.nlp-bk-hours { gap: 12px; }
.nlp-bk-hour { gap: 10px; }
.nlp-bk-hour input[type="time"] { -webkit-appearance: none; appearance: none; min-width: 0; width: 100%; box-sizing: border-box; min-height: 42px; display: block; }
.nlp-bk-row { gap: 14px; margin-top: 12px; }
.nlp .nlp-card .nlp-hint + .nlp-calbtns,
.nlp .nlp-card p + .nlp-calbtns { margin-top: 12px; }
.nlp .nlp-card .nlp-calbtns { display: flex; flex-wrap: wrap; gap: 12px; }
.nlp .nlp-row-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.nlp .nlp-checkgrid__h { margin-bottom: 8px; }
.nlp .nlp-presets { gap: 12px; }

/* 1.24.0 Automatic link to Xero (Accounting card) */
.nlp-acct-link { justify-items: stretch; }
.nlp-acct-link > .nlp-form, .nlp-acct-link > form { display: grid; gap: 12px; justify-items: start; }
.nlp-acct-link .nlp-acct__h { margin: 0; }
.nlp-acct-link .nlp-acct-warn { margin: 0; }
.nlp-acct-link .nlp-acct-warn p { margin: 0 0 10px; }
.nlp-acct-link .nlp-acct-warn form { margin: 0; }
.nlp-acct-fee { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 10px; background: #f5f8fe; border: 1px solid #c9d8f2; }
.nlp-acct-fee p { margin: 0 0 10px; }
.nlp-acct-fee .nlp-check { margin: 0; }
.nlp-acct-ok { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.nlp-acct-ok .nlp-addon__tick { flex: none; margin-top: 2px; }
.nlp-acct-link select { max-width: 100%; }
.nlp-acct-probs { width: 100%; display: grid; gap: 8px; }
.nlp-acct-prob { padding: 10px 12px; border-radius: 10px; background: #fffaf0; border: 1px solid #f3d9a4; display: grid; gap: 8px; }
.nlp-acct-prob p { margin: 0; overflow-wrap: anywhere; }
.nlp-acct-prob a { color: inherit; text-decoration: none; }
.nlp-acct-log { width: 100%; }
.nlp-acct-log ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; }
.nlp-acct-log li { overflow-wrap: anywhere; }
.nlp-acct-log li.is-bad { color: #9a3412; }

/* Two-step sign-in (1.25.0) */
.nlp-2fa__code { font-size: 1.6rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.nlp-2fa__again { margin-top: .6rem; }
.nlp-2fa__help { font-size: .85rem; margin-top: .9rem; }

/* Online meetings (1.26.0): Join button beside a Today booking */
.nlp-tlist li:has(> .nlp-join) { display: flex; align-items: center; gap: 6px; }
.nlp-tlist li:has(> .nlp-join) > a:first-child { flex: 1; min-width: 0; }
.nlp .nlp-tlist a.nlp-join { flex: none; gap: 4px; min-height: 30px; padding: 4px 10px; font-size: 13px; border-radius: 8px; background: var(--nlp-accent); color: #fff; margin-right: 6px; }
.nlp .nlp-tlist a.nlp-join:hover { background: color-mix(in srgb, var(--nlp-accent) 86%, #000); }
.nlp-mt-list { display: grid; gap: 8px; margin: 4px 0 14px; }
.nlp-mt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--nlp-line); border-radius: 10px; background: #fff; }
.nlp-mt__text { display: flex; flex-direction: column; min-width: 0; }
.nlp-mt__text small { color: var(--nlp-muted); font-size: 13px; }
.nlp-mt__text small.nlp-mt__ok { color: var(--nlp-good); font-weight: 600; }
.nlp-mt__text small.nlp-mt__bad { color: var(--nlp-bad); font-weight: 600; }
.nlp-mt form { margin: 0; flex: none; }
.nlp-mt-fixed { margin: 6px 0 10px; }
.nlp-mt-fixed > summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }

/* Forms that say what's wrong (1.28.0): the message under the box, the box marked. */
.nlp-ferr { display: block; margin-top: 2px; color: #b42318 !important; font-size: 13.5px !important; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.nlp .is-bad input:not([type="checkbox"]):not([type="radio"]),
.nlp .is-bad select,
.nlp .is-bad textarea,
.nlp input[aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]),
.nlp select[aria-invalid="true"],
.nlp textarea[aria-invalid="true"] { border-color: var(--nlp-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nlp-bad) 16%, transparent); }
.nlp .is-bad > span:first-child, .nlp fieldset.is-bad > legend { color: #b42318; }
.nlp-ferrsum { margin: 0 !important; font-weight: 600; overflow-wrap: anywhere; scroll-margin-top: 90px; }
.nlp .is-bad { scroll-margin-top: 110px; scroll-margin-bottom: 40px; }
/* A tick box's message sits on a line of its own under the whole tick-box line (portal.js puts it after the label). */
.nlp label + .nlp-ferr { margin: 2px 0 12px; }
.nlp-toast--error { background: #7a1d14; }

/* Title, first name, last name (1.28.0). */
.nlp-name3 { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); gap: 16px 12px; align-items: start; min-width: 0; max-width: 100%; }
.nlp-name3 > * { min-width: 0; }
.nlp-name3__o { grid-column: 1 / -1; }
.nlp-name3__o[hidden] { display: none; }
@media (max-width: 560px) {
	.nlp-name3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.nlp-name3__t { grid-column: 1 / -1; max-width: 160px; }
}
.nlp-cdet .nlp-name3, .nlp-name3--tight { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nlp-cdet .nlp-name3__t, .nlp-name3--tight .nlp-name3__t { grid-column: 1 / -1; max-width: 160px; }

.nlp-editcontact__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .nlp-editcontact__grid--2 { grid-template-columns: minmax(0, 1fr); } }
.nlp-editcontact__form .nlp-name3 { margin-bottom: 0; }

/* Google review requests (1.28.0) */
.nlp-tag--review { position: relative; z-index: 2; background: #fff7df; border: 1px solid #ecd28a; color: #7a5600 !important; font-weight: 700; text-decoration: none; }
a.nlp-tag--review { min-height: 28px; padding-top: 4px; padding-bottom: 4px; }
a.nlp-tag--review:hover { background: #ffefc2; }
.nlp-rv__one { display: inline; margin: 0; }
.nlp-rv__more { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--nlp-line); }
.nlp-rv__more .nlp-link { min-height: 32px; }
.nlp-rv__wa { margin-top: 10px; }
.nlp-rv .nlp-review-done { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.nlp-rv-all { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #ecd28a; border-radius: 12px; background: #fffaf0; font-size: 14px; }
.nlp-rv-all > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 240px; }
.nlp-rv__more .nlp-link { color: var(--nlp-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 1.29.0: questions before booking, holidays and different hours */
.nlp-bk__q { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.nlp-bk__q legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.nlp-bk__q legend em { font-weight: 400; color: var(--nlp-muted, #6b7280); }
.nlp-bk__yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 320px; }
.nlp-bk__yn label { position: relative; display: block; cursor: pointer; }
.nlp-bk__yn input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nlp-bk__yn span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--nlp-line); border-radius: 10px; font-weight: 600; }
.nlp-bk__yn input:checked + span { background: var(--nlp-accent); border-color: var(--nlp-accent); color: #fff; }
.nlp-bk__yn input:focus-visible + span { outline: 2px solid var(--nlp-accent); outline-offset: 2px; }
.nlp-bk-away { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 14px 16px; margin: 4px 0 14px; display: grid; gap: 6px; }
.nlp-bk-qs { display: grid; gap: 4px; }
.nlp-bk-qrow { grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr) auto; align-items: end; }
.nlp-bk-qrow .nlp-check { padding-bottom: 10px; white-space: nowrap; }
@media (max-width: 600px) { .nlp-bk-qrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nlp-bk-qrow .nlp-field:first-of-type { grid-column: 1 / -1; } .nlp-bk-qrow { padding-bottom: 12px; border-bottom: 1px solid var(--nlp-line); } }
.nlp-bk-svcrow:has(select[name$="[type]"] option[value="away"]:checked) .nlp-bk-ifhours { display: none; }
.nlp-bk-svcrow:has(select[name$="[type]"] option[value="hours"]:checked) .nlp-bk-ifaway { display: none; }
.nlp-bk-ifhours, .nlp-bk-ifaway { display: grid; gap: 10px; margin-top: 10px; }
.nlp-bk-away .nlp-hint { display: block; margin-top: 6px; }
/* 1.30.0: postcode first, most used settings */
.nlp-bk__pc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; max-width: 460px; }
.nlp-bk__pc .nlp-field { margin: 0; }
.nlp-bk__pc input:not(:placeholder-shown) { text-transform: uppercase; }
.nlp-bk__pch { margin-top: 22px; }
@media (max-width: 420px) { .nlp-bk__pc { grid-template-columns: 1fr; } }
.nlp-bk__where { margin-top: 10px; }
.nlp-kindcard { margin-bottom: 16px; }
.nlp-kindlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-kindlink { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--nlp-line); border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; color: inherit; }
.nlp-kindlink:hover, .nlp-kindlink:focus-visible { border-color: var(--nlp-accent); color: var(--nlp-accent); }
.nlp-bk-preset { border: 1px dashed var(--nlp-accent); border-radius: 12px; padding: 12px 14px; margin: 10px 0 14px; display: grid; gap: 8px; justify-items: start; }
.nlp-bk-preset p { margin: 0; }
/* 1.31.0: extras, photos */
.nlp-bk__extras { display: grid; gap: 10px; }
.nlp-bk__extra { position: relative; display: block; cursor: pointer; }
.nlp-bk__extra input { position: absolute; top: 18px; left: 16px; width: 20px; height: 20px; margin: 0; accent-color: var(--nlp-accent); }
.nlp-bk__extra-in { display: grid; gap: 4px; padding: 14px 16px 14px 48px; border: 1px solid var(--nlp-line); border-radius: 12px; }
.nlp-bk__extra input:checked + .nlp-bk__extra-in { border-color: var(--nlp-accent); box-shadow: 0 0 0 1px var(--nlp-accent); }
.nlp-bk__extra-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.nlp-bk__extra-top b { white-space: nowrap; }
.nlp-bk__xgo { justify-self: stretch; margin-top: 4px; }
.nlp-bk__photos input[type=file] { padding: 10px; border: 1px dashed var(--nlp-line); border-radius: 10px; width: 100%; box-sizing: border-box; }
/* 1.31.0: car records */
.nlp-car { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 0 14px; margin-bottom: 10px; }
.nlp-car[open] { padding-bottom: 14px; }
.nlp-car__sum { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.nlp-car__sum::-webkit-details-marker { display: none; }
.nlp-car__reg { font-family: ui-monospace, Menlo, monospace; font-weight: 700; background: #ffd400; color: #111; border-radius: 4px; padding: 1px 6px; font-size: 13px; letter-spacing: .5px; }
.nlp-car__notes { margin: 0 0 10px; }
.nlp-car__add { border-top: 1px solid var(--nlp-line); padding-top: 10px; }
.nlp-car__log { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.nlp-car__log li { display: grid; gap: 3px; padding-left: 12px; border-left: 2px solid var(--nlp-line); }
.nlp-car__pics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.nlp-car__pics img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.nlp-car__edit, .nlp-car__new { margin-top: 10px; }
/* 1.31.0: expenses and profit */
.nlp-exp-sumhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.nlp-exp-sumhead form { margin: 0; }
.nlp-exp-sumhead select { min-height: 40px; max-width: 100%; }
.nlp-exp-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.nlp-exp-figs > div { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.nlp-exp-figs span { font-size: 13px; color: var(--nlp-muted); }
.nlp-exp-figs b { font-size: 20px; overflow-wrap: anywhere; }
.nlp-exp-figs .is-pos b { color: #15803d; }
.nlp-exp-figs .is-neg b { color: var(--nlp-bad); }
.nlp-exp-cats { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.nlp-exp-cats li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 14px; }
.nlp-exp-cats i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--nlp-accent-soft); position: relative; overflow: hidden; }
.nlp-exp-cats i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--nlp-accent); border-radius: 3px; }
.nlp-exp-list { list-style: none; margin: 0; padding: 0; }
.nlp-exp-list > li { border-top: 1px solid var(--nlp-line); }
.nlp-exp-list > li:first-child { border-top: 0; }
.nlp-exp-list summary, .nlp-plan-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; text-decoration: none; color: inherit; }
.nlp-exp-list summary::-webkit-details-marker { display: none; }
.nlp-exp-l { display: grid; gap: 2px; min-width: 0; }
.nlp-exp-l .nlp-muted { font-size: 13px; }
.nlp-exp-list b { white-space: nowrap; }
.nlp-exp-list details[open] { padding-bottom: 14px; }
.nlp-exp-form { display: grid; gap: 10px; }
.nlp-exp-form input[type=file] { max-width: 100%; }
.nlp-exp-del { margin-top: 8px; }
@media (max-width: 520px) { .nlp-exp-figs { grid-template-columns: 1fr; } .nlp-exp-figs > div { display: flex; justify-content: space-between; align-items: baseline; } }
/* 1.31.0: maintenance plans */
.nlp-plan-card__state { margin: 0 0 10px; }
.nlp-plan-card__state.is-active strong { color: #15803d; }
.nlp-plan-card__state.is-failed strong { color: var(--nlp-bad); }
.nlp-plan-card__link input { width: 100%; box-sizing: border-box; font-size: 14px; padding: 10px; border: 1px solid var(--nlp-line); border-radius: 10px; }
.nlp-plan-card__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.nlp-plan-card__btns form { margin: 0; }
.nlp-plan-card__diary, .nlp-plan-card__offer { display: grid; gap: 10px; margin: 10px 0; }
.nlp-plan-card__pays { margin: 10px 0; }
.nlp-plan-card__pays ul { margin: 6px 0 0; padding-left: 18px; }
.nlp-plan-edit { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; display: grid; gap: 10px; min-width: 0; }
.nlp-plan-edit.is-new { border-style: dashed; }
.nlp-plan-edit legend { font-weight: 700; padding: 0 6px; }
.nlp-plan-often { display: flex; gap: 8px; }
.nlp-plan-often select { flex: 1; min-width: 0; }
.nlp-plan-pub__price { font-size: 18px; margin: 0 0 12px; }
.nlp-plan-pub__price b { font-size: 30px; }
.nlp-plan-pub__ticks { margin: 14px 0 18px; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 520px) { .nlp-exp-form .nlp-bk-row, .nlp-plan-edit .nlp-bk-row, .nlp-plan-card__diary .nlp-bk-row { display: grid; grid-template-columns: 1fr; } }
.nlp-bk__extras { margin-top: 8px; } .nlp-bk__pch { margin-top: 18px; }
/* 1.31.2: date and time boxes on iPhone. Safari gives them a fixed minimum width
   that won't shrink, so on a phone they pushed past the edge of the card (Holiday
   mode "Until", From / To on dates with different hours, expenses, plans). */
.nlp input[type="date"],
.nlp input[type="time"],
.nlp input[type="datetime-local"],
.nlp input[type="month"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; min-height: 44px; line-height: 1.3; }
.nlp input[type="date"]::-webkit-date-and-time-value,
.nlp input[type="time"]::-webkit-date-and-time-value,
.nlp input[type="datetime-local"]::-webkit-date-and-time-value { text-align: left; min-height: 1.3em; }
.nlp input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; }
/* Every box in a settings row may shrink to the screen (grid items don't, by default). */
.nlp-field, .nlp-bk-row > *, .nlp-bk-hour > *, .nlp-bk-qrow > *, .nlp-plan-often > * { min-width: 0; }
.nlp-bk-row { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.nlp-bk-away, .nlp-bk-svcrow, .nlp-bk-ifhours, .nlp-bk-ifaway, .nlp-exp-form, .nlp-plan-edit, .nlp-plan-card__diary, .nlp-plan-card__offer, .nlp-bk-preset { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.nlp-bk-svcrow > summary { overflow-wrap: anywhere; }
@media (max-width: 420px) {
	.nlp-bk-away, .nlp-bk-svcrow { padding: 12px; }
	.nlp-bk-row { grid-template-columns: minmax(0, 1fr); }
}
/* 1.31.3: Online booking settings in folded sections */
.nlp-bk-settings { gap: 10px; }
.nlp-bk-liveon { padding: 12px 14px; border: 1px solid var(--nlp-line); border-radius: 12px; }
.nlp-bk-sec { border: 1px solid var(--nlp-line); border-radius: 12px; background: #fff; min-width: 0; }
.nlp-bk-sec > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; min-height: 44px; }
.nlp-bk-sec > summary::-webkit-details-marker { display: none; }
.nlp-bk-sec > summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 9px; height: 9px; border-right: 2px solid var(--nlp-muted); border-bottom: 2px solid var(--nlp-muted); transform: rotate(45deg); margin-right: 4px; transition: transform .15s; }
.nlp-bk-sec[open] > summary::after { transform: rotate(-135deg); }
.nlp-bk-sec[open] > summary { border-bottom: 1px solid var(--nlp-line); }
.nlp-bk-sec__t { font-weight: 700; font-size: 16px; }
.nlp-bk-sec__s { grid-column: 1; font-size: 13.5px; color: var(--nlp-muted); overflow-wrap: anywhere; }
.nlp-bk-sec__s.is-warn { color: #b45309; font-weight: 600; }
.nlp-bk-sec__b { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 16px 16px; min-width: 0; }
.nlp-bk-sec__b > .nlp-btn--sm { justify-self: start; }
.nlp-bk-sub { margin: 10px 0 0; font-size: 15px; }
.nlp-bk-suggest { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--nlp-accent-soft); font-size: 14px; }
.nlp-bk-choose { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.nlp-bk-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--nlp-line); border-radius: 12px; cursor: pointer; }
.nlp-bk-opt input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--nlp-accent); }
.nlp-bk-opt:has(input:checked) { border-color: var(--nlp-accent); box-shadow: 0 0 0 1px var(--nlp-accent); }
.nlp-bk-ifmode { display: none; gap: 12px; grid-template-columns: minmax(0, 1fr); padding: 14px; border-radius: 12px; background: #f7f8fb; min-width: 0; }
.nlp-bk-where:has(input[name="bk_mode"][value="place"]:checked) .nlp-bk-ifmode[data-mode="place"],
.nlp-bk-where:has(input[name="bk_mode"][value="mobile"]:checked) .nlp-bk-ifmode[data-mode="mobile"],
.nlp-bk-where:has(input[name="bk_mode"][value="online"]:checked) .nlp-bk-ifmode[data-mode="online"] { display: grid; }
.nlp-bk-iftravel { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.nlp-bk-ifmode[data-mode="mobile"]:not(:has(input[name="travel[on]"]:checked)) .nlp-bk-iftravel { display: none; }
.nlp-bk-qs { display: grid; gap: 10px; }
.nlp-bk-qs .nlp-bk-qrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 170px); gap: 8px 12px; align-items: end; padding: 12px; border: 1px solid var(--nlp-line); border-radius: 12px; }
.nlp-bk-qs .nlp-bk-qrow .nlp-bk-qrow__q { grid-column: 1 / -1; }
.nlp-bk-qs .nlp-bk-qrow .nlp-check { padding-bottom: 0; white-space: normal; }
.nlp-bk-del { color: var(--nlp-bad); }
.nlp-bk-svcrow:has(.nlp-bk-del input:checked), .nlp-bk-qrow:has(.nlp-bk-del input:checked) { opacity: .55; }
@media (max-width: 520px) { .nlp-bk-qs .nlp-bk-qrow { grid-template-columns: minmax(0, 1fr); padding-bottom: 12px; border-bottom: 1px solid var(--nlp-line); } .nlp-bk-sec > summary, .nlp-bk-sec__b { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 520px) { .nlp-bk-qs .nlp-bk-qrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nlp-bk-qs .nlp-bk-qrow > .nlp-field { grid-column: 1 / -1; } }
.nlp-bk-liveon > span, .nlp-bk-opt > span { line-height: 1.4; }
.nlp-bk-liveon .nlp-muted { display: inline-block; margin-top: 2px; font-size: 13.5px; }
/* 1.31.4: unsaved changes box */
.nlp-unsaved { border: 0; border-radius: 16px; padding: 22px 22px 18px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(15, 23, 42, .3); color: inherit; }
.nlp-unsaved::backdrop { background: rgba(15, 23, 42, .45); }
.nlp-unsaved h2 { margin: 0 0 8px; font-size: 19px; }
.nlp-unsaved__p { margin: 0 0 6px; color: var(--nlp-muted); }
.nlp-unsaved__l { margin: 0 0 14px; padding-left: 20px; font-weight: 600; }
.nlp-unsaved__err { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: var(--nlp-bad); font-size: 14px; }
.nlp-unsaved__b { display: grid; gap: 8px; }
.nlp-unsaved__b .nlp-btn { width: 100%; justify-content: center; }
.nlp-unsaved__b .nlp-link { justify-self: center; padding: 8px; }
/* 1.31.5: notes for every visit */
.nlp-vnote { display: flex; gap: 5px; align-items: flex-start; font-size: 13px; color: #92400e; background: #fffbeb; border-radius: 8px; padding: 4px 8px; margin-top: 4px; line-height: 1.35; position: relative; z-index: 1; overflow-wrap: anywhere; }
.nlp-vnote svg { flex: none; margin-top: 2px; }
.nlp-vnotes__auto { border: 1px solid var(--nlp-line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background: #fafbfd; }
.nlp-vnotes__from { margin: 0 0 4px; font-size: 13px; color: var(--nlp-muted); }
.nlp-vnotes__auto ul { margin: 0; padding-left: 18px; }
.nlp-vnotes .nlp-form { display: grid; gap: 8px; justify-items: start; }
.nlp-vnotes .nlp-field { width: 100%; }
/* 1.31.5: WhatsApp messages, one box each */
.nlp-wam-set { gap: 10px; }
.nlp-wam-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: wam; }
.nlp-wam-row { counter-increment: wam; display: grid; gap: 6px; padding: 12px 12px 10px; border: 1px solid var(--nlp-line); border-radius: 12px; background: #fff; position: relative; }
.nlp-wam-row::before { content: "Message " counter(wam); font-size: 13px; font-weight: 700; color: var(--nlp-muted); }
.nlp-wam-row:has(.nlp-bk-del input:checked) { opacity: .55; }
.nlp-wam-row .nlp-bk-del { justify-self: end; font-size: 14px; }
.nlp-wam-words { border: 1px dashed var(--nlp-line); border-radius: 12px; padding: 10px 14px; }
.nlp-wam-words summary { cursor: pointer; font-weight: 600; }
.nlp-wam-words ul { margin: 8px 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.nlp-wam-words code { background: var(--nlp-accent-soft); padding: 1px 5px; border-radius: 5px; font-size: 13px; }
/* 1.31.5: book a new job in from a customer page */
.nlp-bookin { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.nlp-bookin legend { font-weight: 700; padding: 0 6px; }
.nlp-bookin__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 520px) { .nlp-bookin__opts { grid-template-columns: minmax(0, 1fr); } }
.nlp-bookin__more { display: none; gap: 12px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.nlp-bookin:has(input[name="bk[when]"][value="once"]:checked) .nlp-bookin__more,
.nlp-bookin:has(input[name="bk[when]"][value="repeat"]:checked) .nlp-bookin__more { display: grid; }
.nlp-bookin__first { display: none; }
.nlp-bookin:has(input[name="bk[when]"][value="repeat"]:checked) .nlp-bookin__first { display: inline; }
.nlp-bookin:has(input[name="bk[when]"][value="repeat"]:checked) .nlp-bookin__once { display: none; }
.nlp-bookin:has(input[name="bk[when]"][value="once"]:checked) .nlp-bookin__every { display: none; }
/* 1.32.0: how dirty, several cars, quote first */
.nlp-bk__dirt { border: 0; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; min-width: 0; }
.nlp-bk__dirt legend { padding: 0; margin-bottom: 10px; }
.nlp-bk__extra input[type=radio] { position: absolute; top: 18px; left: 16px; width: 20px; height: 20px; margin: 0; accent-color: var(--nlp-accent); }
.nlp-bk__more { display: grid; gap: 10px; margin-top: 12px; }
.nlp-bk__cars { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 3px; font-size: 14px; }
.nlp-bk__honest { padding: 12px 14px; border: 1px solid var(--nlp-line); border-radius: 12px; background: #fafbfd; font-size: 14px; }
.nlp-bk-level { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 10px; border: 1px solid var(--nlp-line); border-radius: 10px; }
.nlp-bk-level__d { grid-column: 1 / -1; }
@media (max-width: 520px) { .nlp-bk-level { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nlp-bk-level > .nlp-field:first-child { grid-column: 1 / -1; } }
.nlp-bk-iflevels { display: grid; gap: 10px; }
.nlp-bk-sec__b:not(:has(input[name="cond[on]"]:checked)) .nlp-bk-iflevels { display: none; }
.nlp-bk-sec__b:not(:has(input[name="multi[on]"]:checked)) .nlp-bk-ifmulti { display: none; }
/* 1.32.0: job sheets and condition checks */
.nlp-row__job { position: relative; z-index: 2; }
.nlp-jobbtn.is-live { border-color: #15803d; color: #15803d; }
.nlp-vnote--big { font-size: 14px; padding: 10px 12px; margin: 0 0 14px; }
.nlp-job__cars { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 12px; }
.nlp-job__go { min-height: 56px; font-size: 18px; }
.nlp-job__clock { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; background: #f0fdf4; color: #15803d; }
.nlp-job__clock b { font-size: 28px; }
.nlp-job__done { margin: 0 0 6px; padding: 12px 14px; border-radius: 12px; background: #f0fdf4; color: #166534; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nlp-cond__one { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.nlp-cond__one p { margin: 0 0 6px; }
.nlp-cond__ok { color: #15803d; font-weight: 600; }
.nlp-cond__wait { color: #b45309; font-weight: 600; }
.nlp-cond__new > summary { cursor: pointer; font-weight: 700; padding: 6px 0 10px; }
.nlp-cond__new .nlp-form { display: grid; gap: 12px; }
.nlp-cond__marks { display: flex; flex-wrap: wrap; gap: 6px 14px; border: 0; padding: 0; margin: 0; }
.nlp-cond__marks legend { width: 100%; margin-bottom: 4px; }
.nlp-cond__pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0; }
.nlp-cond__pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.nlp-checklist__l { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.nlp-checklist__l .nlp-check { padding: 10px 4px; border-bottom: 1px solid var(--nlp-line); width: 100%; }
.nlp-checklist__l .nlp-check input { width: 22px; height: 22px; }
.nlp-checklist__l .nlp-check:has(input:checked) span { text-decoration: line-through; color: var(--nlp-muted); }
.nlp-pq__book { margin: 14px 0; padding: 16px; border: 1px solid var(--nlp-line); border-radius: 14px; }
.nlp-bk__dirt legend { font-weight: 700; font-size: 17px; }

/* 1.34.0: waiting for your signature */
.nlp-signbar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #f0c36d;
	border-radius: 12px;
	background: #fff8e8;
	color: #5a3b00;
	font-size: 14px;
	line-height: 1.4;
}
.nlp-signbar > span {
	flex: 1 1 200px;
	min-width: 0;
}
.nlp-signbar .nlp-btn {
	margin-left: auto;
}
.nlp-sg__signnow {
	position: relative;
	z-index: 2;
	white-space: nowrap;
}

/* 1.34.1: signed copy and signing record on the customer's page */
.nlp-sg__files {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-top: 4px;
	font-size: 13px;
}
.nlp-sg__files a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* ------------------------------------------------------------------
 * Getting paid on the day (1.35.0)
 * ------------------------------------------------------------------ */
.nlp-gpchip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 8px; border-radius: 999px; background: #fff4e5; color: #8a4b00; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
.nlp-gpchip.has-card { background: #e8f1fd; color: #174ea6; }
.nlp-gpchip.is-late { background: #fde8d7; color: #9a3412; }
.nlp-gpchip.is-paid { background: #e7f6ec; color: #116b33; }
.nlp-gpchip svg { flex: none; }
.nlp-row__pay { position: relative; z-index: 2; }
.nlp-gp.is-owed { border-color: #f3c58a; }
.nlp-gp.is-done { box-shadow: 0 0 0 3px rgba(31, 111, 229, 0.15), var(--nlp-shadow); }
.nlp-gp .nlp-card__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nlp-gp__sums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 10px; }
.nlp-gp__sums div { min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--nlp-soft); }
.nlp-gp__sums dt { font-size: 12px; color: var(--nlp-muted); }
.nlp-gp__sums dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.nlp-gp__owed { background: #fff4e5 !important; }
.nlp-gp:not(.is-owed) .nlp-gp__owed { background: #e7f6ec !important; }
.nlp-gp__lines { margin: 0 0 10px; padding: 0; list-style: none; font-size: 13px; color: var(--nlp-muted); }
.nlp-gp__lines li { padding: 2px 0; overflow-wrap: anywhere; }
.nlp-gp__card { margin: 0 0 12px; font-size: 14px; overflow-wrap: anywhere; }
.nlp-gp__card.is-bad { color: var(--nlp-bad); }
.nlp-gp__acts { display: grid; gap: 10px; }
.nlp-gp__go > summary { list-style: none; cursor: pointer; }
.nlp-gp__go > summary::-webkit-details-marker { display: none; }
.nlp-gp__go[open] > summary { margin-bottom: 10px; }
.nlp-gp__confirm { padding: 12px; border: 1px solid var(--nlp-line); border-radius: 12px; background: var(--nlp-soft); }
.nlp-gp__qrform .nlp-btn { width: 100%; justify-content: center; }
.nlp-gp__more { flex-wrap: wrap; }
.nlp-gp__extra { margin: 6px 0 10px; }
.nlp-gp__xrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.nlp-gp__fallback { margin: 0 0 14px; }
.nlp-gpset { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--nlp-line); }
.nlp-gpopen__list { margin: 0; padding: 0; list-style: none; }
.nlp-gpopen__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--nlp-line); }
.nlp-gpopen__list li:first-child { border-top: 0; }
.nlp-gpopen__list li > a:first-child { flex: 1 1 180px; min-width: 0; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.nlp-bk__save { margin: 10px 0; }
.nlp-gpqr { text-align: center; }
.nlp-gpqr__biz { margin: 0; color: var(--nlp-muted); font-weight: 600; }
.nlp-gpqr__amt { margin: 4px 0 12px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.nlp-gpqr__code { width: min(78vw, 340px); aspect-ratio: 1; margin: 0 auto; padding: 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--nlp-line); }
.nlp-gpqr__code svg { display: block; width: 100%; height: 100%; }
.nlp-gpqr__say { margin: 14px auto 6px; max-width: 34em; }
.nlp-gpqr__status { color: var(--nlp-muted); font-size: 14px; }
.nlp-gpqr__tick { margin: 8px 0 0; color: var(--nlp-good); }
.nlp-gpqr__paid .nlp-btn { max-width: 340px; margin: 10px auto 0; }
.nlp-gpqr__send .nlp-row-btns { flex-wrap: wrap; }
@media (max-width: 480px) {
	.nlp-gp__sums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.nlp-gp__sums div { padding: 6px 8px; }
	.nlp-gp__sums dd { font-size: 14px; }
	.nlp-gp__xrow { grid-template-columns: minmax(0, 1fr); }
	.nlp-gpqr__amt { font-size: 28px; }
}
.nlp-gp, .nlp-gpqr, .nlp-gpopen { min-width: 0; }
.nlp-gp__acts > *, .nlp-gp__go, .nlp-gp__confirm, .nlp-gp__confirm .nlp-field, .nlp-gp__confirm .nlp-money { min-width: 0; max-width: 100%; box-sizing: border-box; }
.nlp-gp .nlp-btn, .nlp-gpqr .nlp-btn, .nlp-gpopen .nlp-btn, .nlp-gp__fallback .nlp-btn { white-space: normal; text-align: center; max-width: 100%; box-sizing: border-box; }
.nlp-gp .nlp-btn--block, .nlp-gp__fallback .nlp-btn--block { width: 100%; }
.nlp-gp .nlp-row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-gp__confirm .nlp-money input { min-width: 0; width: 100%; }
.nlp-gpchip { align-self: flex-start; width: fit-content; justify-self: start; }

/* 1.36.0 Link check */
.nlp-acct-check { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--nlp-line, #e5e7eb); border-radius: 12px; background: #fff; min-width: 0; }
.nlp-acct-check .nlp-acct__h { margin: 0 0 8px; }
.nlp-acct-check ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.nlp-acct-check li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.nlp-acct-check li > span:last-child { min-width: 0; }
.nlp-acct-check__i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.nlp-acct-check li.is-ok .nlp-acct-check__i { background: #dcfce7; color: #166534; }
.nlp-acct-check li.is-bad .nlp-acct-check__i { background: #fee2e2; color: #b91c1c; }
.nlp-acct-check li.is-bad strong { color: #9a3412; }

/* 1.36.0 Business type: are you sure? */
.nlp-bizask { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: #fff7ed; border: 1px solid #fdba74; color: #7c2d12; min-width: 0; overflow-wrap: anywhere; }
.nlp-bizask p { margin: 0 0 8px; }
.nlp-bizask .nlp-row-btns { margin-top: 10px; flex-wrap: wrap; align-items: center; }
.nlp-bizask .nlp-check { flex-basis: 100%; }

/* 1.36.0 Enquiries: still open first, then won and lost */
.nlp-list__split { list-style: none; padding: 14px 4px 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--nlp-muted, #64748b); border-top: 1px dashed var(--nlp-line, #e5e7eb); }

/* 1.36.0 Jobs page */
.nlp-jobs { display: grid; gap: 16px; }
.nlp-jobs__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nlp-jobs__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; border-radius: 10px; }
.nlp-jobs__row:hover { background: var(--nlp-soft); }
.nlp .nlp-jobs__main { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; min-width: 0; padding: 10px 8px; color: var(--nlp-text); text-decoration: none; }
.nlp-jobs__when { flex: none; min-width: 72px; color: var(--nlp-gold-dk); display: flex; flex-direction: column; line-height: 1.25; }
.nlp-jobs__when small { color: var(--nlp-muted); font-weight: 500; font-size: 12.5px; }
.nlp-jobs__who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nlp-jobs__who strong { color: var(--nlp-ink); overflow-wrap: anywhere; }
.nlp-jobs__who small { color: var(--nlp-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nlp-jobs__state { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f1f5f9; color: #475569; }
.nlp-jobs__state--done { background: #dcfce7; color: #166534; }
.nlp-jobs__state--now { background: #dbeafe; color: #1d4ed8; }
.nlp-jobs__state--due { background: #fef3c7; color: #92400e; }
.nlp-jobs__state--bad { background: #fee2e2; color: #b91c1c; }
.nlp-jobs__state--repeat { background: #ede9fe; color: #6d28d9; }
.nlp-jobs__acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 8px 8px; min-width: 0; }
.nlp-jobs__acts:empty { display: none; }
@media (min-width: 700px) { .nlp-jobs__acts { padding: 0 8px 0 0; } }
.nlp-jobs__who small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.nlp .nlp-bizask .nlp-btn { white-space: normal; height: auto; min-height: 36px; text-align: center; line-height: 1.3; padding-top: 8px; padding-bottom: 8px; max-width: 100%; }
.nlp .nlp-bizask .nlp-btn--danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.nlp .nlp-bizask .nlp-btn--danger:hover { background: #991b1b; }

/* 1.37.0 Time away */
.nlp-awaystrip { display: grid; gap: 8px; margin: 0 0 16px; }
.nlp .nlp-awaystrip__i { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #f0f9ff; border: 1px solid #bae6fd; color: #075985; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.nlp .nlp-awaystrip__i.is-due { background: #fff7ed; border-color: #fdba74; color: #7c2d12; }
.nlp-awaystrip__i > span { display: flex; flex-direction: column; min-width: 0; }
.nlp-awaystrip__i small { font-size: 13px; opacity: .9; }
.nlp-awaytag { display: inline-block; margin: 2px 0; padding: 1px 7px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: 11px; font-weight: 700; letter-spacing: .01em; vertical-align: middle; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlp-month__day.is-away { background: repeating-linear-gradient(135deg, #f0f9ff 0 6px, #e0f2fe 6px 12px); }
.nlp-awayday { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #f0f9ff; border: 1px solid #bae6fd; color: #075985; }
.nlp-away__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; }
.nlp-away__all { margin: 4px 0 10px; }
.nlp-away__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nlp-away__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 4px; border-top: 1px solid var(--nlp-line, #e5e7eb); min-width: 0; }
.nlp-away__row.is-told { opacity: .85; }
.nlp-away__who { flex: 1 1 220px; display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.nlp-away__who small { color: var(--nlp-muted); font-size: 13px; }
.nlp-away__state { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.nlp-away__state.is-due { background: #fef3c7; color: #92400e; }
.nlp-away__state.is-ok { background: #dcfce7; color: #166534; }
.nlp-away__acts { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; min-width: 0; }
.nlp-away__acts form { margin: 0; }
.nlp-away__tell { flex-basis: 100%; min-width: 0; }
.nlp-away__tell > summary { list-style: none; display: inline-flex; }
.nlp-away__tell > summary::-webkit-details-marker { display: none; }
.nlp-away__tellbox { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--nlp-soft, #f8fafc); display: grid; gap: 10px; min-width: 0; }
.nlp-away__tellbox textarea { width: 100%; }
.nlp-away__mark { align-items: center; flex-wrap: wrap; }
.nlp .nlp-away__tellbox .nlp-btn { white-space: normal; height: auto; min-height: 32px; text-align: center; }

/* 1.38.0 Regular work money */
.nlp-jobs__chips { margin: 0 0 14px; }
.nlp-tile__due { display: block; margin-top: 4px; color: #b45309; font-weight: 600; }
.nlp-tile__due.is-ok { color: #15803d; }
.nlp-tile__due a { color: inherit; text-decoration: underline; }
.nlp-gp__reg { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; min-width: 0; }
.nlp-gp__regh { margin: 0 0 6px; font-weight: 700; color: #9a3412; font-size: 14px; }
.nlp-gp__reg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.nlp-gp__reg li { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.nlp-gp__reg li small { font-weight: 400; color: var(--nlp-muted); }

/* Google review history and "ask again" (1.39.0). */
.nlp-rv__warn { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 8px; padding: 10px 12px; border: 1px solid #ecd28a; border-radius: 10px; background: #fffaf0; font-size: 14px; line-height: 1.4; }
.nlp-rv__warn svg { flex: 0 0 auto; margin-top: 2px; }
.nlp-rv__again { margin: 0 0 10px; }
.nlp-rv__hist { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--nlp-line); font-size: 14px; }
.nlp-rv__hist summary { cursor: pointer; color: var(--nlp-muted, #5b6476); font-weight: 600; }
.nlp-rv__hist ul { margin: 8px 0 0; padding-left: 18px; }
.nlp-rv__hist li { margin: 2px 0; overflow-wrap: anywhere; }
details.nlp-rv__wa { margin-top: 10px; }

/* Job page (1.40.0) */
.nlp-jobs__when { min-width: 96px; }
.nlp-jp__head { margin-bottom: 10px; }
.nlp-jp__title { min-width: 0; }
.nlp-jp__title h1 { overflow-wrap: anywhere; }
.nlp-jp__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.nlp-jp__contact { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.nlp-jp__contact > * { flex: none; }
.nlp-jp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.nlp-jp__main, .nlp-jp__side { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 1000px) { .nlp-jp { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); } .nlp-jp__side { position: sticky; top: 84px; } }
.nlp-jp__banner { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; line-height: 1.4; }
.nlp-jp__banner.is-done { background: #f0fdf4; color: #166534; }
.nlp-jp__banner.is-bad { background: #fef2f2; color: #991b1b; }
.nlp-jp__banner small { color: inherit; opacity: .85; }
.nlp-jp__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-jp__small { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.nlp-jp__small .nlp-hint { margin: 0; }
.nlp-jp__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.nlp-jp__opts:has(> .nlp-jp__panel:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nlp-jp__panel > summary { list-style: none; width: 100%; justify-content: center; cursor: pointer; }
.nlp-jp__panel > summary::-webkit-details-marker { display: none; }
.nlp-jp__panel[open] > summary { background: var(--nlp-soft); border-color: var(--nlp-ink); }
.nlp-jp__opts .nlp-jp__panel[open] { grid-column: 1 / -1; order: -1; }
.nlp-jp__form { display: grid; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--nlp-line); border-radius: 12px; background: #fff; }
.nlp-jp__form .nlp-hint { margin: 0; }
.nlp-jp__form > .nlp-btn { justify-self: start; }
.nlp-jp__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.nlp-jp__row .nlp-field input, .nlp-jp__row .nlp-field select { width: 100%; min-width: 0; }
.nlp-jp__anyway { color: #b45309; }
.nlp-jp__again { margin-bottom: 12px; }
.nlp-jp__again > summary { width: auto; display: inline-flex; }
.nlp-jp__add { display: grid; gap: 10px; }
.nlp-jp__add textarea { width: 100%; }
.nlp-jp__files { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-jp__files .nlp-attach { flex: 1 1 160px; justify-content: center; }
.nlp-jp__picked { margin: 0; font-size: 13.5px; color: var(--nlp-good); font-weight: 600; }
.nlp-jp__add > .nlp-btn { justify-self: start; }
.nlp-jp__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.nlp-jp__item { border: 1px solid var(--nlp-line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.nlp-jp__by { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; font-size: 13.5px; }
.nlp-jp__text { margin: 0 0 8px; overflow-wrap: anywhere; }
.nlp-jp__pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0; }
.nlp-jp__pics a { display: block; border-radius: 10px; overflow: hidden; background: var(--nlp-soft); }
.nlp-jp__pics img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.nlp-jp__docs { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.nlp-jp__docs a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--nlp-line); border-radius: 10px; color: var(--nlp-text); text-decoration: none; min-width: 0; }
.nlp-jp__docs a:hover { background: var(--nlp-soft); }
.nlp-jp__docname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlp-jp__del { margin: 4px 0 0; }
.nlp-jp__dl { margin: 0; display: grid; gap: 10px; }
.nlp-jp__dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.nlp-jp__dl dt { color: var(--nlp-muted); font-size: 13.5px; }
.nlp-jp__dl dd { margin: 0; overflow-wrap: anywhere; }
.nlp-jp__asked { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--nlp-line); overflow-wrap: anywhere; }
.nlp-pill--job { background: #dcfce7; color: #166534; text-decoration: none; }
form[data-sent] .is-busy { opacity: .6; cursor: progress; }
@media (max-width: 760px) {
	.nlp-jp__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.nlp-jp__panel > summary { padding-left: 6px; padding-right: 6px; font-size: 14px; }
	.nlp-jp__contact { gap: 6px; }
	.nlp-jp__dl > div { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 380px) {
	.nlp-jp__panel > summary .nlp-i { display: none; }
}
.nlp-editcontact > summary.nlp-btn { max-width: 100%; white-space: normal; text-align: left; }

/* Add a job: pick a customer (1.40.2) */
.nlp-nj__search {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 6px;
}
.nlp-nj__search .nlp-search {
	flex: 1;
	min-width: 0;
}
.nlp-nj__h {
	font-size: 15px;
	margin: 18px 0 8px;
}
.nlp-nj__list .nlp-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
}
.nlp-nj__list .nlp-avatar {
	order: 0;
	flex: none;
}
.nlp-nj__list .nlp-row__who {
	min-width: 0;
	flex: 1;
}
.nlp-nj__list .nlp-row__who small {
	display: block;
	overflow-wrap: anywhere;
}
.nlp-nj__go {
	flex: none;
	pointer-events: none;
}
.nlp-nj__new {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}
.nlp-nj__new h2 {
	margin: 0 0 4px;
	font-size: 17px;
}
.nlp-nj__new > div:first-child {
	flex: 1 1 260px;
	min-width: 0;
}
.nlp-nj__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.nlp-nj__acts .nlp-btn {
	max-width: 100%;
	white-space: normal;
}
@media (max-width: 420px) {
	.nlp-nj__list .nlp-row {
		padding: 10px 12px;
	}
	.nlp-nj__go {
		display: none;
	}
	.nlp-nj__acts,
	.nlp-nj__acts .nlp-btn {
		width: 100%;
	}
	.nlp-nj__acts .nlp-btn {
		justify-content: center;
	}
}
