.pw-tool-header {
	margin-bottom: 24px;
}

.tool-title {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	margin-bottom: 4px;
}

.tool-lead {
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--c-text-2);
}

.tool-inline-actions {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 0.82rem;
}

.tool-inline-actions a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

.tool-inline-fav {
	color: var(--c-text-2);
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
}

.tool-inline-fav:hover {
	color: var(--c-warning);
	opacity: 1;
}

.tool-inline-fav.is-favorited {
	color: var(--c-warning);
}

.tool-inline-report {
	color: var(--c-text-2);
}

.tool-inline-report:hover {
	opacity: 0.85;
}

.tool-header-actions {
	display: none !important;
}

.tool-top-ad {
	width: 100%;
}

.tool-top-ad-primary {
	margin: 16px 0 20px;
}

.tool-top-ad-secondary {
	margin: 20px 0;
}

.pw-work-toolbar {
	padding-top: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	margin-bottom: 0;
}

.pw-status-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 auto;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	scrollbar-width: thin;
}

.pw-strength-chip,
.pw-stat-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
}

.pw-strength-chip {
	background: rgba(59, 130, 246, 0.15);
	color: #1e40af;
}

.pw-strength-chip.is-very-strong {
	background: rgba(16, 185, 129, 0.18);
	color: #065f46;
}

.pw-strength-chip.is-strong {
	background: rgba(37, 99, 235, 0.18);
	color: #1d4ed8;
}

.pw-strength-chip.is-medium {
	background: rgba(245, 158, 11, 0.18);
	color: #92400e;
}

.pw-strength-chip.is-weak {
	background: rgba(239, 68, 68, 0.18);
	color: #b91c1c;
}

.pw-stat-chip {
	background: var(--c-surface-2);
	color: var(--c-text-2);
	border: 1px solid var(--c-border);
}

.tool-toolbar-actions {
	margin-left: auto;
	flex: 0 0 auto;
	flex-wrap: nowrap;
}

.pw-work-toolbar .tb-btn,
.pw-work-toolbar .btn.btn-outline.btn-sm,
.pw-work-toolbar .btn.btn-primary.btn-sm {
	height: 34px;
	padding-top: 0;
	padding-bottom: 0;
}

.pw-editor-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
	align-items: stretch;
	gap: 10px;
	margin-bottom: 6px;
}

.pw-flow-col {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(72, 112, 255, 0.6);
	font-size: 2.5rem;
}

.pw-option-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pw-length-box {
	border-radius: 12px;
	border: 1px solid var(--c-border);
	background: var(--c-surface-2);
	padding: 14px;
	margin-bottom: 2px;
}

.pw-length-val {
	min-width: 46px;
	text-align: center;
	border-radius: 10px;
	padding: 3px 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #1e40af;
	background: rgba(59, 130, 246, 0.16);
}

#length-slider {
	background: linear-gradient(to right, #3b82f6 0%, #3b82f6 var(--slider-progress, 0%), #dbeafe var(--slider-progress, 0%), #dbeafe 100%);
	border-radius: 1rem;
}

#length-slider::-webkit-slider-runnable-track {
	background: transparent;
}

#length-slider::-moz-range-track {
	background: transparent;
}

#length-slider::-webkit-slider-thumb {
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

#length-slider::-moz-range-thumb {
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.pw-switch-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	background: var(--c-surface);
	padding: 10px 12px;
	font-size: 0.87rem;
	font-weight: 600;
	cursor: pointer;
}

.pw-switch-row .form-check-input {
	margin: 0;
}

.textarea-mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
}

.pw-editor-wrap .editor-textarea {
	min-height: 300px;
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.pw-info-section {
	margin-top: 34px !important;
	padding-top: 28px !important;
}

.pw-faq-list .faq-item {
	margin-bottom: 12px;
	border-radius: 16px;
}

.pw-faq-list .faq-q {
	font-size: 0.9rem;
	padding: 14px 18px;
}

.pw-faq-list .faq-a {
	display: none;
	font-size: 0.86rem;
	line-height: 1.7;
	padding-top: 12px;
}

.pw-faq-list .faq-item.is-open .faq-a {
	display: block;
}

.pw-faq-list .faq-item .faq-q i {
	transition: transform 0.2s ease;
}

.pw-faq-list .faq-item.is-open .faq-q i {
	transform: rotate(180deg);
}

.pw-info-section .rk-item {
	padding: 18px 0;
	margin: 0;
	border-radius: 0;
	background: transparent !important;
}

.pw-info-section .rk-thumb {
	width: 84px;
	height: 84px;
	min-width: 84px;
	min-height: 84px;
	border-radius: 14px;
	align-self: flex-start;
}

.pw-info-section .rk-thumb::after {
	background: rgba(0, 0, 0, 0.16);
}

.pw-info-section .rk-thumb-icon {
	font-size: 1.45rem;
}

.pw-info-section .rk-info > .d-flex {
	margin-bottom: 4px !important;
}

.pw-info-section .rk-info > .d-flex > div:first-child,
.pw-info-section .rk-tag {
	display: none !important;
}

.pw-info-section .rk-title {
	font-size: 0.875rem;
	line-height: 1.35;
	margin-bottom: 6px;
}

.pw-info-section .rk-excerpt {
	font-size: 0.77rem;
	line-height: 1.55;
}

.pw-info-section .rk-date {
	margin-top: 8px;
	font-size: 0.88rem;
}

@media (max-width: 900px) {
	
	
	.pw-editor-wrap {
		grid-template-columns: 1fr;
	}

	.pw-flow-col {
		display: flex;
		font-size: 2.1rem;
		padding: 4px 0;
	}

	.pw-info-section .rk-title {
		font-size: 1rem;
	}

	.pw-info-section .rk-excerpt {
		font-size: 0.84rem;
	}
}

@media (max-width: 720px) {
	.pw-work-toolbar {
		flex-wrap: wrap;
	}

	.pw-work-toolbar .tool-toolbar-actions {
		margin-left: 0;
		width: 100%;
		justify-content: flex-end;
	}
}
