/* LinkedIn photo prompt generator: the choices on the left, the prompt on the right (one column when narrow),
   then the ready-made prompts. */

.pst-lp {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(20px, 3vw, 36px);
	align-items: start;
}

.pst-lp [hidden] {
	display: none !important;
}

.pst-lp__form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.pst-lp__two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 22px;
}

.pst-lp__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 260px;
}

.pst-lp__brand .pst-input {
	flex: 1;
	min-width: 0;
	font-variant-numeric: tabular-nums;
	text-transform: uppercase;
}

.pst-lp__out {
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: clamp(16px, 2vw, 24px);
	border: 1px solid var(--pst-line);
	border-radius: 16px;
	background: var(--pst-paper);
}

.pst-lp__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.pst-lp__ai {
	min-width: min(100%, 220px);
}

.pst-lp__ai .pst-seg__btn {
	min-height: 38px;
	font-size: 15px;
}

.pst .pst-lp__prompt {
	max-height: 360px;
	padding: 16px;
	overflow: auto;
	border: 1px solid var(--pst-line-strong);
	border-radius: 14px;
	background: var(--pst-white);
	font-size: 15px;
	line-height: 1.6;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.pst-lp__actions .pst-btn {
	flex: 1 1 200px;
}

.pst-lp__actions .pst-textbtn {
	text-decoration: none;
}

.pst .pst-btn.is-done,
.pst .pst-textbtn.is-done {
	color: #1F7A4D;
}

.pst .pst-btn.is-done {
	background: #1F7A4D;
	color: #FFFFFF;
}

.pst .pst-status:empty {
	display: none;
}

.pst-lp__fix {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--pst-line);
}

.pst .pst-lp__fix ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pst .pst-lp__fix li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	border-bottom: 1px solid var(--pst-line);
	font-size: 15px;
}

.pst .pst-lp__fix li:last-child {
	border-bottom: 0;
}

/* The ready-made prompts come after the notes of the tool. */
.pst--linkedin-photo-prompt > .pst-notes {
	order: 1;
}

.pst-lp-ready {
	order: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
}

.pst .pst-lp-ready__title {
	margin: 0;
	font-family: var(--pst-display);
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pst .pst-lp-ready__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 12px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.pst .pst-lp-ready__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--pst-line);
	border-radius: 14px;
	background: var(--pst-white);
}

.pst-lp-ready__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.pst .pst-lp-ready__head h3 {
	margin: 0;
	font-family: var(--pst-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.pst .pst-lp-ready__item p {
	color: var(--pst-soft);
	font-size: 14.5px;
	line-height: 1.55;
}

@container pst (max-width: 840px) {
	.pst-lp {
		grid-template-columns: minmax(0, 1fr);
	}

	.pst-lp__out {
		position: static;
	}
}
