/*
 * 1.1.0: the page "Create" of magnetic-stars.com (the online tool). The
 * editor keeps the styles of the plugin; here, the band, the publication
 * and the result with the code.
 */

.ms-tool {
	box-sizing: border-box;
	margin: 0 auto;
}

.ms-tool:not(.alignfull) {
	width: 100%;
}

/* 1.2.0 (answer 2 A of Vincent): the whole width of the screen. The width
   is left to the theme (negative margins of the block themes, 100vw of
   some classic themes). */
.ms-tool.alignfull {
	max-width: none;
	padding-left: clamp(12px, 2vw, 32px);
	padding-right: clamp(12px, 2vw, 32px);
}

.ms-tool__band {
	background: #f0ecfb;
	border-left: 4px solid #5b3fb0;
	border-radius: 4px;
	color: #1d2327;
	font-size: 15px;
	margin: 0 0 16px;
	padding: 10px 14px;
}

.ms-tool__band--private {
	background: #fcf9e8;
	border-left-color: #dba617;
}

.ms-tool__closed {
	font-size: 1.1em;
	padding: 24px 0;
	text-align: center;
}

.ms-tool-publish__terms label {
	display: inline-block;
	line-height: 1.5;
}

.ms-tool-publish__terms input {
	height: 18px;
	margin: 0 6px 0 0;
	vertical-align: -3px;
	width: 18px;
}

.ms-tool-publish__robot:not(:empty) {
	margin: 0 0 10px;
	min-height: 65px;
}

.ms-tool-publish__said {
	font-weight: 600;
	min-height: 1.5em;
}

.ms-tool-publish__said.is-error {
	color: #b32d2e;
}

.ms-tool__result {
	background: #ffffff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	color: #1d2327;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	margin: 0 auto;
	max-width: 760px;
	padding: 28px;
}

.ms-tool__result:focus {
	outline: 2px solid #5b3fb0;
	outline-offset: 2px;
}

.ms-tool__result h2 {
	font-size: 1.4em;
	margin: 0 0 16px;
}

.ms-tool__code {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 8px;
}

#ms-tool-code {
	background: #f6f7f7;
	border: 2px dashed #5b3fb0;
	border-radius: 8px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: clamp(26px, 6vw, 40px);
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 8px 16px;
	user-select: all;
}

.ms-tool__result .button {
	min-height: 44px;
}

.ms-tool__valid {
	font-size: 16px;
	font-weight: 600;
}

.ms-tool__steps {
	line-height: 1.6;
	padding-left: 1.4em;
}

@media screen and (max-width: 600px) {
	.ms-tool__result {
		padding: 18px;
	}
}

/* 1.14.1: the box of the last code kept by this browser, the notes and the
   message of the file. */
.ms-tool__kept {
	background: #f5f3fb;
	border: 2px solid #5b3fb0;
	border-radius: 8px;
	color: #1d2327;
	margin: 0 auto 20px;
	max-width: 760px;
	padding: 16px 20px;
}

.ms-tool__kept p {
	margin: 0 0 10px;
}

.ms-tool__kept p:last-child {
	margin-bottom: 0;
}

.ms-tool__kept .button,
.ms-tool__result .button-primary {
	min-height: 44px;
}

.ms-tool__notes {
	line-height: 1.6;
	padding-left: 1.2em;
}

.ms-tool__said {
	color: #1e6b34;
	font-weight: 600;
	min-height: 1.5em;
	margin: 0;
}
