*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body.ttot-counter {
	margin: 0;
	background: #f6f7f7;
	color: #1d2327;
	font: 17px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ttot-counter__main {
	max-width: 40rem;
	margin: 0 auto;
	padding: 1rem;
}

.ttot-counter__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ttot-counter h1 {
	margin: 0;
	font-size: 1.35rem;
}

.ttot-counter h2 {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.15rem;
}

.ttot-counter label {
	display: block;
	margin: 0.75rem 0 0.35rem;
	font-weight: 600;
}

.ttot-counter input[type="email"],
.ttot-counter input[type="text"],
.ttot-counter input[type="search"] {
	width: 100%;
	min-height: 3rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid #8c8f94;
	border-radius: 6px;
	background: #fff;
	font-size: 1.1rem;
}

.ttot-counter__card,
.ttot-counter__sign {
	padding: 1rem;
	border-radius: 8px;
	background: #fff;
}

.ttot-counter__button {
	display: block;
	width: 100%;
	min-height: 3.25rem;
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 6px;
	background: #2271b1;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.ttot-counter__link {
	padding: 0.5rem 0;
	border: 0;
	background: none;
	color: #2271b1;
	font-size: 1rem;
	text-decoration: underline;
	cursor: pointer;
}

.ttot-counter__message {
	padding: 0.75rem 1rem;
	border-left: 4px solid #dba617;
	border-radius: 4px;
	background: #fcf9e8;
}

.ttot-counter__done {
	padding: 1rem;
	border-left: 4px solid #1a7f37;
	border-radius: 4px;
	background: #edfaef;
	font-size: 1.15rem;
}

.ttot-counter__orders {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttot-counter__orders li + li {
	margin-top: 0.5rem;
}

.ttot-counter__orders a {
	display: block;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.ttot-counter__orders span {
	display: inline-block;
	margin-left: 0.35rem;
}

.ttot-counter__orders small {
	display: block;
	color: #50575e;
}

.ttot-counter__items {
	margin: 0 0 0.5rem;
	padding-left: 1.25rem;
}

.ttot-counter .ttot-pickup-signature {
	margin: 1rem 0 0;
	padding: 0;
	border: 0;
}

.ttot-counter .ttot-pickup-signature legend {
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.ttot-counter .ttot-pickup-pad {
	display: block;
	width: 100%;
	height: 45vh;
	min-height: 12rem;
	max-height: 22rem;
	border: 2px solid #8c8f94;
	border-radius: 8px;
	background: #fff;
	touch-action: none;
}

.ttot-pickup-mode {
	display: flex;
	max-width: 24rem;
	margin: 0 0 0.75rem;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	overflow: hidden;
}

.ttot-pickup-mode label {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.5rem 0.9rem;
	cursor: pointer;
	font-weight: 400;
}

.ttot-pickup-mode label + label {
	border-left: 1px solid #8c8f94;
}

.ttot-pickup-mode label:has(input:checked) {
	background: #f0f0f1;
	font-weight: 600;
}

.ttot-pickup-typed__name {
	min-height: 3.5rem;
	margin: 0;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #8c8f94;
	background: #fff;
	font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
	font-size: 2rem;
	line-height: 1.3;
}

.ttot-pickup-typed__note {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: #50575e;
}

.ttot-pickup-clear {
	margin-top: 0.5rem;
}

.ttot-counter .ttot-pickup-error {
	color: #b32d2e;
	font-weight: 600;
}

.ttot-counter__back {
	margin-top: 1.5rem;
}

.ttot-counter__qr {
	display: block;
	width: 100%;
	max-width: 20rem;
	height: auto;
	margin: 1rem auto;
	image-rendering: pixelated;
}

.ttot-counter__switch {
	margin: 0.5rem 0 1rem;
}

.ttot-counter select {
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 0.75rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	background: #fff;
	font: inherit;
}

.ttot-counter__place {
	margin: 0 0 0.5rem;
	color: #50575e;
}
