#wp2t .wpt-options-metabox {
	display: grid;
	gap: 10px;
}

#wp2t .wpt-options {
	display: grid;
	gap: 10px;
}

#wp2t .jtw {
    position: relative;
}

#wp2t .wpt-not-allowed {
	margin-bottom: 1rem;
}

#wp2t .jtw textarea {
    font-size: 1.2em;
	width: 100%;
}

#wp2t .counter {
    font-weight: 600;
}

.edit-post-meta-boxes-area #wp2t.postbox > .inside {
	padding: 0 12px 12px;
}

#wp2t .history ul li {
	padding: 6px;
	word-wrap: break-word;
}

.wpt-options-metabox .notice.inline {
	margin-left: 0;
	margin-right: 0;
}

.wpt-options-metabox .notice.inline p {
	margin-bottom: 0;
}

#wp2t .history ul li em {
	margin-top: .5rem;
	display: block;
}

#wp2t .wpt-intents {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

#wp2t .wpt-intents a {
	display: block;
}

#wp2t .wpt-template-wrapper pre,
#wp2t .wpt-template-wrapper h4 {
	margin: 0;
}

#wp2t .wpt-template {
	text-wrap: auto;
	background: #f3f3f3;
	padding: 4px;
}

#wp2t .wpt-intents a:hover {
	outline: 2px solid;
	background: #fff;
}

#wp2t .wpt-intents img {
	width: 20px;
	height: auto;
	display: block;
	padding: 4px;
}

#wp2t .service-selector {
	display: flex;
	flex-wrap: wrap;
	column-gap: 20px;
	align-items: center;
	margin: 0;
	justify-content: space-around;
}

legend.variant-selector {
	font-size: 1em;
	font-weight: 600;
}

#wp2t .service-selector li {
	display: flex;
	align-items: center;
	padding: 4px;
	gap: 4px;
	margin: 0;
}

#wp2t .service-selector li input {
	margin-right: 0;
}

#wp2t .service-selector li img {
	width: 20px;
	height: auto;
}

#wp2t .service-selector li.disabled-service img {
	opacity: .3;
}

#wp2t h3 {
	margin: 0;
	font-size: .9rem;
}

#wp2t #notes h3 {
	margin-bottom: 10px;
}

#wp2t .wpt-error {
	border-left: 4px solid #b32d2e;
	padding-left: 4px;
}

#wp2t .warning {
    color: #8a2424;
}

#wp2t .exceeded {
    color: #d63638;
}

#wp2t code span {
    border-bottom: 1px dashed !important;
    cursor: pointer;
}

.tweet-toggle {
	width: 100%;
	text-align: left;
}

#wp2t p,
#wp2t .jtw {
    width: 100%;
	margin: 0;
}

#wp2t .jtw textarea {
    height: 120px;
}

#wp2t .dashicons {
	font-size: inherit;
	line-height: inherit;
}

.wpt-options-metabox {
	display: grid;
	gap: 10px;
}

#normal-sortables .wpt-options-metabox {
	grid-template-columns: repeat( 3, 1fr );
	column-gap: 24px;
}

.wpt-pro-reposting {
	display: grid;
	gap: 10px;
}

.wpt-debug-details {
	display: none;
	white-space: pre-wrap;
	padding: 10px;
}

#wp2t-debug .wpt-debug-log button {
	text-align: left;
	white-space: normal;
	height: auto;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#wp2t-debug .wpt-debug-log button[aria-expanded=true] .dashicons-plus::before {
	content: "\f460";
}

.wpt-support {
	margin: 1rem 0;
	background: #fcb00044;
	border: 1px solid #fcb000;
	color: #000;
	padding: 11px 11px 21px;
}

.wp-to-twitter.pro + .wpt-support {
	padding: 11px;
}

.wpt-support ul {
	list-style-type: square;
	margin-left: 1rem;
	margin-bottom: 1rem;
}

.wptab .inline-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
}

.wptab .inline-list li {
	margin: 0;
}

.wptab .inline-list li .button-secondary {
	padding: 0 4px;
	line-height: 1.82;
	min-height: auto;
}

.wptab .inline-list button[aria-pressed="true"] {
	border: 1px solid #6e6e6e;
	color: #434343;
	background-color: #e6e6e7;
}

.wpt_log {
	padding: .5rem 0;
	word-break: break-word;
}

.tweet-buttons .wpt-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
}

.wpt-wrap {
	display: grid;
	grid-template-columns: 1fr 44px;
}

.wpt-wrap input {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.wpt-wrap button {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.toggle-btn-group {
	margin: .5em 0 !important;
	width: auto;
	max-width: 20em;
}

.wptab .toggle-btn-group {
	margin: .25em -5px .25em;
	max-width: 100%;
}

.wpt-flex {
	display: flex;
	align-items: end;
	gap: 16px;
	flex-wrap: wrap;
}

.toggle-btn-group::after {
    content: "";
    display: table;
    clear: both;
}

.toggle-btn-group label {
    padding: .5em 0;
    float: left;
    text-align: center;
    cursor: pointer;
    background-color: #f3f3f3;
	width: 50%;
    text-decoration: underline;
	color: #6e6e6e;
}

.toggle-btn-group label:first-of-type {
    border-radius: 0;
}

.toggle-btn-group input[type="radio"]:checked + label {
    background-color: #0073aa;
	outline: 1px solid #00a0d2;
	text-decoration: none;
    cursor: text;
	font-weight: 600;
	color: #fff;
}

.toggle-btn-group input[type="radio"]:checked + label:before {
	font-family: dashicons;
	content: "\f147";
	color: #fff;
	margin-right: 2px;
	vertical-align: bottom;
}

.toggle-btn-group:has(input:focus),
.toggle-btn-group label:hover,
.toggle-btn-group label:focus {
    background-color: #ddd;
    outline: #aaa 1px solid;
}

.toggle-btn-group input {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
}

.link-highlight {
	text-align: center;
	margin: 2.5rem 1rem 1rem;
}

.link-highlight a {
	padding: .5rem 1rem;
	font-size: 1.2rem;
	background: #555;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	box-shadow: 3px 3px 0 #fcb000;
}

.link-highlight a:hover,
.link-highlight a:focus {
	box-shadow: 3px 3px 0 #000;
}