/* shift-login */
/* ==========================================================================
   SHIFT Login، Pic 1 & Pic 2 Design (SHIFT.camp Design System v2.1)
   ========================================================================== */

body.sl-fullscreen-body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: var(--sc-surface, #F4F5F7);
	font-family: var(--sc-font, IRANYekanX, Vazirmatn, Tahoma, sans-serif);
	direction: rtl;
}

.sl-fullscreen-close {
	position: fixed;
	top: 20px;
	left: 20px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sc-bg, #FFFFFF);
	color: var(--sc-ink, #0C0C0C);
	border: 1px solid var(--sc-line, #E2E4E9);
	border-radius: 8px;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(12, 12, 12, 0.06);
	z-index: 10;
}

.sl-fullscreen-close:hover {
	background: var(--sc-line, #E2E4E9);
}

.sl-fullscreen-main {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
}

.sl-wrapper {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	direction: rtl;
}

.sl-card,
.sl-modal {
	--sl-bg: var(--sc-bg, #FFFFFF);
	--sl-surface: var(--sc-surface, #F4F5F7);
	--sl-ink: var(--sc-ink, #0C0C0C);
	--sl-text: var(--sc-text, #2A2C31);
	--sl-muted: var(--sc-text-muted, #4A4D57);
	--sl-line: var(--sc-line, #E2E4E9);
	--sl-accent: var(--sc-accent, #3366FF);
	--sl-focus-halo: var(--sc-focus-halo, #E0E8FF);
	--sl-success: var(--sc-success, #00A550);
	--sl-success-bg: var(--sc-success-container, #E3F5EB);
	--sl-danger: var(--sc-danger, #D43E11);
	--sl-danger-bg: var(--sc-danger-container, #FBEAE4);
	--sl-font: var(--sc-font, inherit);
	font-family: var(--sl-font);
	color: var(--sl-text);
	box-sizing: border-box;
}

.sl-card *,
.sl-modal * {
	box-sizing: border-box;
	font-family: inherit;
}

.sl-wc-wrap {
	padding: 24px 0;
}

.sl-card {
	width: 100%;
	background: var(--sl-bg);
	border: 1px solid var(--sl-line);
	border-radius: 16px;
	padding: 28px 26px;
	box-shadow: 0 10px 35px rgba(12, 12, 12, 0.08);
	text-align: right;
}

.sl-card--modal {
	border: none;
	box-shadow: none;
	padding: 0;
}

.sl-card--modal [data-sl-step="identify"] .sl-card-top {
	padding-left: 44px;
	min-height: 34px;
}

.sl-nav-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 34px;
	margin-bottom: 14px;
}

.sl-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.sl-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: var(--sl-ink);
	line-height: 1.4;
}

.sl-back-btn {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--sl-bg) !important;
	border: 1px solid var(--sl-line) !important;
	border-radius: 8px !important;
	color: var(--sl-ink) !important;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.sl-back-btn:hover {
	background: var(--sl-surface) !important;
}

.sl-sub {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--sl-muted);
	line-height: 1.7;
}

/* Segmented Toggle (Pic 2) */
.sl-segmented {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	background: var(--sl-surface);
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 16px;
}

.sl-seg-btn {
	height: 38px;
	min-height: 38px;
	padding: 0 8px !important;
	border: none !important;
	border-radius: 8px !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--sl-muted) !important;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none !important;
	transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sl-seg-btn:hover,
.sl-seg-btn:focus {
	background: transparent !important;
	color: var(--sl-ink) !important;
}

.sl-seg-btn.is-active,
.sl-seg-btn.is-active:hover,
.sl-seg-btn.is-active:focus {
	background: var(--sl-bg) !important;
	color: var(--sl-ink) !important;
	font-weight: 700;
	box-shadow: 0 1px 4px rgba(12, 12, 12, 0.08) !important;
}

.sl-id-pill {
	font-size: 13px;
	font-weight: 600;
	color: var(--sl-muted);
	direction: ltr;
	text-align: center;
	margin-bottom: 12px;
}

/* Alerts */
.sl-alert {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
	margin-bottom: 16px;
	border: 1px solid transparent;
}

.sl-alert--error {
	background: var(--sl-danger-bg);
	color: var(--sl-danger);
	border-color: rgba(212, 62, 17, 0.25);
}

.sl-alert--success {
	background: var(--sl-success-bg);
	color: var(--sl-success);
	border-color: rgba(0, 165, 80, 0.25);
}

.sl-alert--info {
	background: var(--sl-focus-halo);
	color: #1F3FB0;
	border-color: rgba(51, 102, 255, 0.25);
}

/* Fields */
.sl-field {
	margin-bottom: 14px;
}

.sl-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--sl-ink);
	margin-bottom: 6px;
}

.sl-input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	font-size: 14px;
	color: var(--sl-ink);
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: 8px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	outline: none;
}

.sl-input:focus {
	background: var(--sl-bg);
	border-color: var(--sl-ink);
	box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.08);
}

.sl-input-ltr {
	direction: ltr;
	text-align: left;
}

.sl-input-smart {
	direction: ltr;
	text-align: left;
}

.sl-input-smart:placeholder-shown {
	direction: rtl;
	text-align: right;
}

.sl-input-otp {
	direction: ltr;
	text-align: center;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 8px;
	height: 48px;
}

.sl-input-otp:placeholder-shown {
	direction: rtl;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: normal;
}

.sl-pass-wrap {
	position: relative;
}

.sl-pass-wrap .sl-input {
	padding-left: 42px;
}

.sl-eye-btn {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px !important;
	height: 24px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	background-color: transparent !important;
	background-position: center;
	background-size: 18px 18px;
	background-repeat: no-repeat;
	background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.3 9.49999C15 4.89999 8.50002 3.79999 3.90002 7.19999C2.70002 8.09999 1.70002 9.29999 0.900024 10.6C1.10002 11 1.40002 11.4 1.70002 11.8C5.00002 16.4 11.3 17.4 15.9 14.2C16.8 13.5 17.6 12.8 18.3 11.8C18.6 11.4 18.8 11 19.1 10.6C18.8 10.2 18.6 9.79999 18.3 9.49999ZM10.1 7.19999C10.6 6.69999 11.4 6.69999 11.9 7.19999C12.4 7.69999 12.4 8.49999 11.9 8.99999C11.4 9.49999 10.6 9.49999 10.1 8.99999C9.60003 8.49999 9.60003 7.69999 10.1 7.19999ZM10 14.9C6.90002 14.9 4.00002 13.3 2.30002 10.7C3.50002 8.99999 5.10002 7.79999 7.00002 7.19999C6.30002 7.99999 6.00002 8.89999 6.00002 9.89999C6.00002 12.1 7.70002 14 10 14C12.2 14 14.1 12.3 14.1 9.99999V9.89999C14.1 8.89999 13.7 7.89999 13 7.19999C14.9 7.79999 16.5 8.99999 17.7 10.7C16 13.3 13.1 14.9 10 14.9Z" fill="%23111111"/></svg>');
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	opacity: 0.65;
	transition: opacity 0.15s ease;
}

.sl-eye-btn:hover,
.sl-eye-btn:focus {
	background-color: transparent !important;
	opacity: 1;
}

.sl-eye-btn.is-visible {
	background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.3 3.3C16.9 2.9 16.2 2.9 15.7 3.3L13.3 5.7C12.2437 5.3079 11.1267 5.1048 10 5.1C6.2 5.2 2.8 7.2 1 10.5C1.2 10.9 1.5 11.3 1.8 11.7C2.6 12.8 3.6 13.7 4.7 14.4L3 16.1C2.6 16.5 2.5 17.2 3 17.7C3.4 18.1 4.1 18.2 4.6 17.7L17.3 4.9C17.7 4.4 17.7 3.7 17.3 3.3ZM6.7 12.3L5.4 13.6C4.2 12.9 3.1 11.9 2.3 10.7C3.5 9 5.1 7.8 7 7.2C5.7 8.6 5.6 10.8 6.7 12.3ZM10.1 9C9.6 8.5 9.7 7.7 10.2 7.2C10.7 6.8 11.4 6.8 11.9 7.2L10.1 9ZM18.3 9.5C17.8 8.8 17.2 8.1 16.5 7.6L15.5 8.6C16.3 9.2 17 9.9 17.6 10.8C15.9 13.4 13 15 9.9 15H9.1L8.1 16C8.8 15.9 9.4 16 10 16C13.3 16 16.4 14.4 18.3 11.7C18.6 11.3 18.8 10.9 19.1 10.5C18.8 10.2 18.6 9.8 18.3 9.5ZM14 10L10 14C12.2 14 14 12.2 14 10Z" fill="%23111111"/></svg>');
}

:root[data-theme="dark"] .sl-eye-btn,
[data-theme="dark"] .sl-eye-btn {
	filter: invert(1);
}

/* Remember Me & Coach Checkbox */
.sl-remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--sl-text);
	cursor: pointer;
	margin: 4px 0 16px;
}

.sl-remember input[type="checkbox"],
.sl-coach-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--sl-ink);
	cursor: pointer;
}

.sl-coach-field {
	margin: 12px 0 14px;
}

.sl-coach-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--sl-ink);
	margin-bottom: 8px;
}

.sl-coach-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--sl-text);
	cursor: pointer;
}

/* Black Primary Button (Pic 1 & Pic 2) */
.sl-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 46px;
	padding: 0 20px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.18s ease, background 0.18s ease;
}

.sl-btn-primary {
	background: var(--sl-ink);
	color: var(--sl-bg);
}

.sl-btn-primary:hover:not(:disabled) {
	background: #2A2C31;
}

.sl-btn-secondary {
	background: var(--sl-surface);
	color: var(--sl-ink);
	border: 1px solid var(--sl-line);
}

.sl-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.sl-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #FFFFFF;
	border-radius: 50%;
	animation: sl-spin 0.7s linear infinite;
}

.sl-btn.is-loading .sl-btn-text {
	opacity: 0.8;
}

.sl-btn.is-loading .sl-spinner {
	display: inline-block;
}

@keyframes sl-spin {
	to { transform: rotate(360deg); }
}

.sl-resend-row {
	margin-top: 8px;
	text-align: left;
}

.sl-forgot-wrap {
	text-align: center;
	margin-top: 14px;
}

.sl-link-btn {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	padding: 4px 0 !important;
	font-size: 13px;
	font-weight: 700;
	color: var(--sl-accent) !important;
	cursor: pointer;
}

.sl-link-btn:hover:not(:disabled),
.sl-link-btn:focus:not(:disabled),
.sl-link-btn:active:not(:disabled) {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--sl-accent) !important;
	text-decoration: underline !important;
}

.sl-link-btn:disabled {
	background: transparent !important;
	color: var(--sl-muted) !important;
	cursor: default;
	text-decoration: none !important;
}

/* Brand Footer (Pic 1 & Pic 2) */
.sl-brand-footer {
	text-align: center;
	margin-top: 22px;
	color: var(--sc-ink, #0C0C0C);
}

.sl-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
}

.sl-site-logo {
	max-height: 26px;
	width: auto;
	height: auto;
	display: block;
}

:root[data-theme="dark"] .sl-site-logo,
[data-theme="dark"] .sl-site-logo {
	filter: brightness(0) invert(1);
}

.sl-wrapper--compact {
	max-width: 100%;
}

.sl-wrapper--compact .sl-card {
	max-width: 100%;
	box-shadow: none;
	padding: 20px;
}

.sl-checkout-login-box {
	margin: 12px 0 24px;
}

.sl-logo-word {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.02em;
	direction: ltr;
	display: inline-block;
}

.sl-logo-word span {
	font-size: 13px;
	font-weight: 700;
}

/* Modal */
.sl-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.sl-modal.is-open {
	display: flex;
}

.sl-modal-backdrop {
	position: absolute;
	inset: 0;
	background: var(--sc-scrim, rgba(12, 12, 12, 0.6));
	-webkit-backdrop-filter: blur(var(--sc-scrim-blur, 8px));
	backdrop-filter: blur(var(--sc-scrim-blur, 8px));
}

.sl-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: var(--sl-bg);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 24px 60px rgba(12, 12, 12, 0.22);
	z-index: 1;
}

.sl-modal-close {
	position: absolute;
	top: 24px;
	left: 24px;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 8px !important;
	border: 1px solid var(--sl-line) !important;
	background: var(--sl-surface) !important;
	color: var(--sl-ink) !important;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.sl-modal-close:hover {
	background: var(--sl-line) !important;
}

/* ==========================================================================
   My Account: mobile number change
   ========================================================================== */
.sl-phone-box [hidden] { display: none !important; }

.sl-phone-box .sl-phone-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}

.sl-phone-box .sl-phone-row input {
	flex: 1 1 160px;
	min-width: 0;
	direction: ltr;
	text-align: start;
}

.sl-phone-box .sl-phone-current {
	font-weight: 600;
	letter-spacing: .02em;
}

.sl-phone-box .sl-phone-msg {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--sc-ink-soft, var(--sc-ink, #0C0C0C));
}

.sl-phone-box .sl-phone-msg.is-error { color: var(--sc-danger, #D43E11); }

/* woocommerce-inline */
.woocommerce form .form-row .required { visibility: visible; }
/* generate-style */
blockquote,body,dd,dl,dt,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,html,iframe,legend,li,ol,p,pre,textarea,ul{margin:0;padding:0;border:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}progress{vertical-align:baseline}html{box-sizing:border-box}*,::after,::before{box-sizing:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;margin:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}body,button,input,select,textarea{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:17px;line-height:1.5}p{margin-bottom:1.5em}h1,h2,h3,h4,h5,h6{font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit}pre{background:rgba(0,0,0,.05);font-family:inherit;font-size:inherit;line-height:normal;margin-bottom:1.5em;padding:20px;overflow:auto;max-width:100%}blockquote{border-left:5px solid rgba(0,0,0,.05);padding:20px;font-size:1.2em;font-style:italic;margin:0 0 1.5em;position:relative}blockquote p:last-child{margin:0}table,td,th{border:1px solid rgba(0,0,0,.1)}table{border-collapse:separate;border-spacing:0;border-width:1px 0 0 1px;margin:0 0 1.5em;width:100%}td,th{padding:8px}th{border-width:0 1px 1px 0}td{border-width:0 1px 1px 0}hr{background-color:rgba(0,0,0,.1);border:0;height:1px;margin-bottom:40px;margin-top:40px}fieldset{padding:0;border:0;min-width:inherit}fieldset legend{padding:0;margin-bottom:1.5em}h1{font-size:42px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}h2{font-size:35px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}h3{font-size:29px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}h4{font-size:24px}h5{font-size:20px}h4,h5,h6{margin-bottom:20px}ol,ul{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}b,strong{font-weight:700}cite,dfn,em,i{font-style:italic}address{margin:0 0 1.5em}code,kbd,tt,var{font:15px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}abbr,acronym{border-bottom:1px dotted #666;cursor:help}ins,mark{text-decoration:none}sub,sup{font-size:75%;height:0;line-height:0;position:relative;vertical-align:baseline}sup{bottom:1ex}sub{top:.5ex}small{font-size:75%}big{font-size:125%}figure{margin:0}table{margin:0 0 1.5em;width:100%}th{font-weight:700}img{height:auto;max-width:100%}button,input[type=button],input[type=reset],input[type=submit]{background:#55555e;color:#fff;border:1px solid transparent;cursor:pointer;-webkit-appearance:button;padding:10px 20px}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{border:1px solid;border-radius:0;padding:10px 15px;max-width:100%}textarea{width:100%}a,button,input{transition:color .1s ease-in-out,background-color .1s ease-in-out}a{text-decoration:none}.button,.wp-block-button .wp-block-button__link{padding:10px 20px;display:inline-block}.wp-block-button .wp-block-button__link{font-size:inherit;line-height:inherit}.using-mouse :focus{outline:0}.using-mouse ::-moz-focus-inner{border:0}.alignleft{float:left;margin-right:1.5em}.alignright{float:right;margin-left:1.5em}.aligncenter{clear:both;display:block;margin:0 auto}.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail{max-width:100%;height:auto}.no-sidebar .entry-content .alignfull{margin-left:calc(-100vw / 2 + 100% / 2);margin-right:calc(-100vw / 2 + 100% / 2);max-width:100vw;width:auto}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#21759b;display:block;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#primary[tabindex="-1"]:focus{outline:0}.main-navigation{z-index:100;padding:0;clear:both;display:block}.main-navigation a{display:block;text-decoration:none;font-weight:400;text-transform:none;font-size:15px}.main-navigation ul{list-style:none;margin:0;padding-left:0}.main-navigation .main-nav ul li a{padding-left:20px;padding-right:20px;line-height:60px}.inside-navigation{position:relative}.main-navigation .inside-navigation{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}.main-navigation .main-nav>ul{display:flex;flex-wrap:wrap;align-items:center}.main-navigation li{position:relative}.main-navigation .menu-bar-items{display:flex;align-items:center;font-size:15px}.main-navigation .menu-bar-items a{color:inherit}.main-navigation .menu-bar-item{position:relative}.main-navigation .menu-bar-item.search-item{z-index:20}.main-navigation .menu-bar-item>a{padding-left:20px;padding-right:20px;line-height:60px}.sidebar .main-navigation .main-nav{flex-basis:100%}.sidebar .main-navigation .main-nav>ul{flex-direction:column}.sidebar .main-navigation .menu-bar-items{margin:0 auto}.sidebar .main-navigation .menu-bar-items .search-item{order:10}.nav-align-center .inside-navigation{justify-content:center}.nav-align-center .main-nav>ul{justify-content:center}.nav-align-right .inside-navigation{justify-content:flex-end}.main-navigation ul ul{display:block;box-shadow:1px 1px 0 rgba(0,0,0,.1);float:left;position:absolute;left:-99999px;opacity:0;z-index:99999;width:200px;text-align:left;top:auto;transition:opacity 80ms linear;transition-delay:0s;pointer-events:none;height:0;overflow:hidden}.main-navigation ul ul a{display:block}.main-navigation ul ul li{width:100%}.main-navigation .main-nav ul ul li a{line-height:normal;padding:10px 20px;font-size:14px}.main-navigation .main-nav ul li.menu-item-has-children>a{padding-right:0;position:relative}.main-navigation.sub-menu-left ul ul{box-shadow:-1px 1px 0 rgba(0,0,0,.1)}.main-navigation.sub-menu-left .sub-menu{right:0}.main-navigation:not(.toggled) ul li.sfHover>ul,.main-navigation:not(.toggled) ul li:hover>ul{left:auto;opacity:1;transition-delay:150ms;pointer-events:auto;height:auto;overflow:visible}.main-navigation:not(.toggled) ul ul li.sfHover>ul,.main-navigation:not(.toggled) ul ul li:hover>ul{left:100%;top:0}.main-navigation.sub-menu-left:not(.toggled) ul ul li.sfHover>ul,.main-navigation.sub-menu-left:not(.toggled) ul ul li:hover>ul{right:100%;left:auto}.nav-float-right .main-navigation ul ul ul{top:0}.menu-item-has-children .dropdown-menu-toggle{display:inline-block;height:100%;clear:both;padding-right:20px;padding-left:10px}.menu-item-has-children ul .dropdown-menu-toggle{padding-top:10px;padding-bottom:10px;margin-top:-10px}.sidebar .menu-item-has-children .dropdown-menu-toggle,nav ul ul .menu-item-has-children .dropdown-menu-toggle{float:right}.widget-area .main-navigation li{float:none;display:block;width:100%;padding:0;margin:0}.sidebar .main-navigation.sub-menu-right ul li.sfHover ul,.sidebar .main-navigation.sub-menu-right ul li:hover ul{top:0;left:100%}.sidebar .main-navigation.sub-menu-left ul li.sfHover ul,.sidebar .main-navigation.sub-menu-left ul li:hover ul{top:0;right:100%}.site-main .comment-navigation,.site-main .post-navigation,.site-main .posts-navigation{margin:0 0 2em;overflow:hidden}.site-main .post-navigation{margin-bottom:0}.paging-navigation .nav-next,.paging-navigation .nav-previous{display:none}.paging-navigation .nav-links>*{padding:0 5px}.paging-navigation .nav-links .current{font-weight:700}.nav-links>:first-child{padding-left:0}.site-header{position:relative}.inside-header{padding:20px 40px}.main-title{margin:0;font-size:25px;line-height:1.2em;word-wrap:break-word;font-weight:700;text-transform:none}.site-description{margin:0;line-height:1.5;font-weight:400;text-transform:none;font-size:15px}.site-logo{display:inline-block;max-width:100%}.site-header .header-image{vertical-align:middle}.inside-header{display:flex;align-items:center}.header-widget{margin-left:auto}.header-widget p:last-child{margin-bottom:0}.nav-float-right .header-widget{margin-left:20px}.nav-float-right #site-navigation{margin-left:auto}.nav-float-left #site-navigation{margin-right:auto;order:-10}.nav-float-left .header-widget{margin-left:0;margin-right:20px;order:-15}.header-aligned-center:not([class*=nav-float-]) .inside-header{justify-content:center;flex-direction:column;text-align:center}.header-aligned-center:not([class*=nav-float-]) .header-widget{margin-left:auto;margin-right:auto}.header-aligned-center:not([class*=nav-float-]) .inside-header>:not(:first-child){margin-top:1em}.header-aligned-right:not([class*=nav-float-]) .inside-header{justify-content:flex-end}.header-aligned-right:not([class*=nav-float-]) .header-widget{margin-right:auto;margin-left:0;order:-10}.site-branding-container{display:inline-flex;align-items:center;text-align:left;flex-shrink:0}.site-branding-container .site-logo{margin-right:1em}.sticky{display:block}.entry-header .gp-icon,.posted-on .updated{display:none}.byline,.entry-header .cat-links,.entry-header .comments-link,.entry-header .tags-links,.group-blog .byline,.single .byline{display:inline}footer.entry-meta .byline,footer.entry-meta .posted-on{display:block}.entry-content:not(:first-child),.entry-summary:not(:first-child),.page-content:not(:first-child){margin-top:2em}.page-links{clear:both;margin:0 0 1.5em}.archive .format-aside .entry-header,.archive .format-status .entry-header,.archive .format-status .entry-meta,.archive .format-status .entry-title,.blog .format-aside .entry-header,.blog .format-status .entry-header,.blog .format-status .entry-meta,.blog .format-status .entry-title{display:none}.archive .format-aside .entry-content,.archive .format-status .entry-content,.blog .format-aside .entry-content,.blog .format-status .entry-content{margin-top:0}.archive .format-status .entry-content p:last-child,.blog .format-status .entry-content p:last-child{margin-bottom:0}.entry-header,.site-content{word-wrap:break-word}.entry-title{margin-bottom:0}.author .page-header .page-title{display:flex;align-items:center}.author .page-header .avatar{margin-right:20px}.page-header .author-info>:last-child,.page-header>:last-child{margin-bottom:0}.entry-meta{font-size:85%;margin-top:.5em;line-height:1.5}footer.entry-meta{margin-top:2em}.cat-links,.comments-link,.tags-links{display:block}.entry-content>p:last-child,.entry-summary>p:last-child,.page-content>p:last-child,.read-more-container,.taxonomy-description p:last-child{margin-bottom:0}.wp-caption{margin-bottom:1.5em;max-width:100%;position:relative}.wp-caption img[class*=wp-image-]{display:block;margin:0 auto 0;max-width:100%}.wp-caption .wp-caption-text{font-size:75%;padding-top:5px;opacity:.8}.wp-caption img{position:relative;vertical-align:bottom}.wp-block-image figcaption{font-size:13px;text-align:center}.wp-block-gallery,ul.blocks-gallery-grid{margin-left:0}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:rgba(255,255,255,.7);color:#000;padding:10px;box-sizing:border-box}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block}.site-main .gallery{margin-bottom:1.5em}.gallery-item img{vertical-align:bottom}.gallery-icon{padding:5px}embed,iframe,object{max-width:100%}.wp-block-post-template{margin-left:0}.widget-area .widget{padding:40px}.widget select{max-width:100%}.footer-widgets .widget :last-child,.sidebar .widget :last-child{margin-bottom:0}.widget-title{margin-bottom:30px;font-size:20px;line-height:1.5;font-weight:400;text-transform:none}.widget ol,.widget ul{margin:0}.widget .search-field{width:100%}.widget .search-form{display:flex}.widget .search-form button.search-submit{font-size:15px}.footer-widgets .widget{margin-bottom:30px}.footer-widgets .widget:last-child,.sidebar .widget:last-child{margin-bottom:0}.widget ul li{list-style-type:none;position:relative;margin-bottom:.5em}.widget ul li ul{margin-left:1em;margin-top:.5em}.wp-calendar-table{table-layout:fixed}.site-content{display:flex}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px}.page-header,.sidebar .widget,.site-main>*{margin-bottom:20px}.both-left .inside-left-sidebar,.both-right .inside-left-sidebar{margin-right:10px}.both-left .inside-right-sidebar,.both-right .inside-right-sidebar{margin-left:10px}.one-container.both-right .site-main,.one-container.right-sidebar .site-main{margin-right:40px}.one-container.both-left .site-main,.one-container.left-sidebar .site-main{margin-left:40px}.one-container.both-sidebars .site-main{margin:0 40px 0 40px}.one-container.archive .post:not(:last-child):not(.is-loop-template-item),.one-container.blog .post:not(:last-child):not(.is-loop-template-item){padding-bottom:40px}.one-container .site-content{padding:40px}.separate-containers .comments-area,.separate-containers .inside-article,.separate-containers .page-header,.separate-containers .paging-navigation{padding:40px}.separate-containers .site-main{margin:20px}.separate-containers.no-sidebar .site-main{margin-left:0;margin-right:0}.separate-containers.both-right .site-main,.separate-containers.right-sidebar .site-main{margin-left:0}.separate-containers.both-left .site-main,.separate-containers.left-sidebar .site-main{margin-right:0}.separate-containers .inside-left-sidebar,.separate-containers .inside-right-sidebar{margin-top:20px;margin-bottom:20px}.inside-page-header{padding:40px}.widget-area .main-navigation{margin-bottom:20px}.one-container .site-main>:last-child,.separate-containers .site-main>:last-child{margin-bottom:0}.full-width-content .container.grid-container{max-width:100%}.full-width-content.no-sidebar.separate-containers .site-main{margin:0}.full-width-content.one-container .site-content,.full-width-content.separate-containers .inside-article{padding:0}.full-width-content .entry-content .alignwide{margin-left:0;width:auto;max-width:unset}.contained-content.one-container .site-content,.contained-content.separate-containers .inside-article{padding:0}.sidebar .grid-container{max-width:100%;width:100%}.both-left .is-left-sidebar,.both-sidebars .is-left-sidebar,.left-sidebar .sidebar{order:-10}.both-left .is-right-sidebar{order:-5}.both-right .is-left-sidebar{order:5}.both-right .is-right-sidebar,.both-sidebars .is-right-sidebar{order:10}.inside-site-info{display:flex;align-items:center;justify-content:center;padding:20px 40px}.site-info{text-align:center;font-size:15px}.post-image:not(:first-child){margin-top:2em}.featured-image{line-height:0}.separate-containers .featured-image{margin-top:20px}.separate-containers .inside-article>.featured-image{margin-top:0;margin-bottom:2em}.one-container .inside-article>.featured-image{margin-top:0;margin-bottom:2em}.gp-icon{display:inline-flex;align-self:center}.gp-icon svg{height:1em;width:1em;top:.125em;position:relative;fill:currentColor}.close-search .icon-search svg:first-child,.icon-menu-bars svg:nth-child(2),.icon-search svg:nth-child(2),.toggled .icon-menu-bars svg:first-child{display:none}.close-search .icon-search svg:nth-child(2),.toggled .icon-menu-bars svg:nth-child(2){display:block}.entry-meta .gp-icon{margin-right:.6em;opacity:.7}nav.toggled .icon-arrow-left svg{transform:rotate(-90deg)}nav.toggled .icon-arrow-right svg{transform:rotate(90deg)}nav.toggled .sfHover>a>.dropdown-menu-toggle .gp-icon svg{transform:rotate(180deg)}nav.toggled .sfHover>a>.dropdown-menu-toggle .gp-icon.icon-arrow-left svg{transform:rotate(-270deg)}nav.toggled .sfHover>a>.dropdown-menu-toggle .gp-icon.icon-arrow-right svg{transform:rotate(270deg)}.container.grid-container{width:auto}.menu-toggle,.mobile-bar-items,.sidebar-nav-mobile{display:none}.menu-toggle{padding:0 20px;line-height:60px;margin:0;font-weight:400;text-transform:none;font-size:15px;cursor:pointer}.menu-toggle .mobile-menu{padding-left:3px}.menu-toggle .gp-icon+.mobile-menu{padding-left:9px}.menu-toggle .mobile-menu:empty{display:none}button.menu-toggle{background-color:transparent;flex-grow:1;border:0;text-align:center}button.menu-toggle:active,button.menu-toggle:focus,button.menu-toggle:hover{background-color:transparent}.has-menu-bar-items button.menu-toggle{flex-grow:0}nav.toggled ul ul.sub-menu{width:100%}.toggled .menu-item-has-children .dropdown-menu-toggle{padding-left:20px}.main-navigation.toggled .main-nav{flex-basis:100%;order:3}.main-navigation.toggled .main-nav>ul{display:block}.main-navigation.toggled .main-nav li{width:100%;text-align:left}.main-navigation.toggled .main-nav ul ul{transition:0s;visibility:hidden;box-shadow:none;border-bottom:1px solid rgba(0,0,0,.05)}.main-navigation.toggled .main-nav ul ul li:last-child>ul{border-bottom:0}.main-navigation.toggled .main-nav ul ul.toggled-on{position:relative;top:0;left:auto!important;right:auto!important;width:100%;pointer-events:auto;height:auto;opacity:1;display:block;visibility:visible;float:none}.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle{float:right}.mobile-menu-control-wrapper{display:none;margin-left:auto;align-items:center}.has-inline-mobile-toggle #site-navigation.toggled{margin-top:1.5em}.has-inline-mobile-toggle #site-navigation.has-active-search{margin-top:1.5em}.has-inline-mobile-toggle #site-navigation.has-active-search .nav-search-active{position:relative}.has-inline-mobile-toggle #site-navigation.has-active-search .navigation-search input{outline:auto}.nav-float-left .mobile-menu-control-wrapper{order:-10;margin-left:0;margin-right:auto;flex-direction:row-reverse}@media (max-width:768px){.hide-on-mobile{display:none!important}a,body,button,input,select,textarea{transition:all 0s ease-in-out}.inside-header{flex-direction:column;text-align:center}.site-header .header-widget{margin-top:1.5em;margin-left:auto;margin-right:auto;text-align:center}.site-content{flex-direction:column}.container .site-content .content-area{width:auto}.is-left-sidebar.sidebar,.is-right-sidebar.sidebar{width:auto;order:initial}.is-left-sidebar+.is-right-sidebar .inside-right-sidebar{margin-top:0}.both-left .inside-left-sidebar,.both-left .inside-right-sidebar,.both-right .inside-left-sidebar,.both-right .inside-right-sidebar{margin-right:0;margin-left:0}#main{margin-left:0;margin-right:0}body:not(.no-sidebar) #main{margin-bottom:0}.alignleft,.alignright{float:none;display:block;margin-left:auto;margin-right:auto}.comment .children{padding-left:10px;margin-left:0}.entry-meta{font-size:inherit}.entry-meta a{line-height:1.8em}}@media (min-width:769px) and (max-width:1024px){.hide-on-tablet{display:none!important}}@media (min-width:1025px){.hide-on-desktop{display:none!important}}
body{background-color:#ffffff;color:#2A2C31;}a{color:#3366FF;}a:hover, a:focus, a:active{color:#1F3FB0;}.grid-container{max-width:1170px;}.wp-block-group__inner-container{max-width:1170px;margin-left:auto;margin-right:auto;}:root{--contrast:#0C0C0C;--contrast-2:#2A2C31;--contrast-3:#6E727C;--base:#E2E4E9;--base-2:#F4F5F7;--base-3:#FFFFFF;--accent:#3366FF;}:root .has-contrast-color{color:var(--contrast);}:root .has-contrast-background-color{background-color:var(--contrast);}:root .has-contrast-2-color{color:var(--contrast-2);}:root .has-contrast-2-background-color{background-color:var(--contrast-2);}:root .has-contrast-3-color{color:var(--contrast-3);}:root .has-contrast-3-background-color{background-color:var(--contrast-3);}:root .has-base-color{color:var(--base);}:root .has-base-background-color{background-color:var(--base);}:root .has-base-2-color{color:var(--base-2);}:root .has-base-2-background-color{background-color:var(--base-2);}:root .has-base-3-color{color:var(--base-3);}:root .has-base-3-background-color{background-color:var(--base-3);}:root .has-accent-color{color:var(--accent);}:root .has-accent-background-color{background-color:var(--accent);}.top-bar{background-color:#636363;color:#ffffff;}.top-bar a{color:#ffffff;}.top-bar a:hover{color:#303030;}.site-header{background-color:var(--base-3);}.main-title a,.main-title a:hover{color:var(--contrast);}.site-description{color:var(--contrast-2);}.mobile-menu-control-wrapper .menu-toggle,.mobile-menu-control-wrapper .menu-toggle:hover,.mobile-menu-control-wrapper .menu-toggle:focus,.has-inline-mobile-toggle #site-navigation.toggled{background-color:rgba(0, 0, 0, 0.02);}.main-navigation,.main-navigation ul ul{background-color:var(--base-3);}.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{color:var(--contrast);}.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{color:var(--accent);}button.menu-toggle:hover,button.menu-toggle:focus{color:var(--contrast);}.main-navigation .main-nav ul li[class*="current-menu-"] > a{color:var(--accent);}.navigation-search input[type="search"],.navigation-search input[type="search"]:active, .navigation-search input[type="search"]:focus, .main-navigation .main-nav ul li.search-item.active > a, .main-navigation .menu-bar-items .search-item.active > a{color:var(--accent);}.main-navigation ul ul{background-color:var(--base);}.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header{background-color:var(--base-3);}.entry-title a{color:var(--contrast);}.entry-title a:hover{color:var(--contrast-2);}.entry-meta{color:var(--contrast-2);}.sidebar .widget{background-color:var(--base-3);}.footer-widgets{background-color:var(--base-3);}.site-info{background-color:var(--base-3);}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="tel"],input[type="number"],textarea,select{color:var(--contrast);background-color:var(--base-2);border-color:var(--base);}input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="number"]:focus,textarea:focus,select:focus{color:var(--contrast);background-color:var(--base-2);border-color:var(--contrast-3);}button,html input[type="button"],input[type="reset"],input[type="submit"],a.button,a.wp-block-button__link:not(.has-background){color:#ffffff;background-color:#0C0C0C;}button:hover,html input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover,a.button:hover,button:focus,html input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,a.button:focus,a.wp-block-button__link:not(.has-background):active,a.wp-block-button__link:not(.has-background):focus,a.wp-block-button__link:not(.has-background):hover{color:#ffffff;background-color:#2A2C31;}a.generate-back-to-top{background-color:rgba( 0,0,0,0.4 );color:#ffffff;}a.generate-back-to-top:hover,a.generate-back-to-top:focus{background-color:rgba( 0,0,0,0.6 );color:#ffffff;}:root{--gp-search-modal-bg-color:var(--base-3);--gp-search-modal-text-color:var(--contrast);--gp-search-modal-overlay-bg-color:rgba(0,0,0,0.2);}@media (max-width:768px){.main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{background:none;color:var(--contrast);}}.nav-below-header .main-navigation .inside-navigation.grid-container, .nav-above-header .main-navigation .inside-navigation.grid-container{padding:0px 20px 0px 20px;}.site-main .wp-block-group__inner-container{padding:40px;}.separate-containers .paging-navigation{padding-top:20px;padding-bottom:20px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-40px;width:calc(100% + 80px);max-width:calc(100% + 80px);}.rtl .menu-item-has-children .dropdown-menu-toggle{padding-left:20px;}.rtl .main-navigation .main-nav ul li.menu-item-has-children > a{padding-right:20px;}@media (max-width:768px){.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header{padding:30px;}.site-main .wp-block-group__inner-container{padding:30px;}.inside-top-bar{padding-right:30px;padding-left:30px;}.inside-header{padding-right:30px;padding-left:30px;}.widget-area .widget{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;}.footer-widgets-container{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;}.inside-site-info{padding-right:30px;padding-left:30px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-30px;width:calc(100% + 60px);max-width:calc(100% + 60px);}.one-container .site-main .paging-navigation{margin-bottom:20px;}}/* End cached CSS */.is-right-sidebar{width:30%;}.is-left-sidebar{width:30%;}.site-content .content-area{width:100%;}@media (max-width:768px){.main-navigation .menu-toggle,.sidebar-nav-mobile:not(#sticky-placeholder){display:block;}.main-navigation ul,.gen-sidebar-nav,.main-navigation:not(.slideout-navigation):not(.toggled) .main-nav > ul,.has-inline-mobile-toggle #site-navigation .inside-navigation > *:not(.navigation-search):not(.main-nav){display:none;}.nav-align-right .inside-navigation,.nav-align-center .inside-navigation{justify-content:space-between;}.rtl .nav-align-right .inside-navigation,.rtl .nav-align-center .inside-navigation, .rtl .nav-align-left .inside-navigation{justify-content:space-between;}.has-inline-mobile-toggle .mobile-menu-control-wrapper{display:flex;flex-wrap:wrap;}.has-inline-mobile-toggle .inside-header{flex-direction:row;text-align:left;flex-wrap:wrap;}.has-inline-mobile-toggle .header-widget,.has-inline-mobile-toggle #site-navigation{flex-basis:100%;}.nav-float-left .has-inline-mobile-toggle #site-navigation{order:10;}}
.dynamic-author-image-rounded{border-radius:100%;}.dynamic-featured-image, .dynamic-author-image{vertical-align:middle;}.one-container.blog .dynamic-content-template:not(:last-child), .one-container.archive .dynamic-content-template:not(:last-child){padding-bottom:0px;}.dynamic-entry-excerpt > p:last-child{margin-bottom:0px;}
/* generate-rtl */
caption,td,th{text-align:right}.header-aligned-right:not([class*=nav-float-]) .inside-header{justify-content:flex-start}.header-aligned-left:not([class*=nav-float-]) .inside-header{justify-content:flex-end}.header-aligned-right:not([class*=nav-float-]) .header-widget{order:10}.header-aligned-left:not([class*=nav-float-]) .header-widget{order:-10}.site-logo+.site-branding{order:-1}.nav-float-right #site-navigation{order:-5}.nav-float-right #site-navigation.has-active-search,.nav-float-right #site-navigation.toggled{order:10}.nav-float-right .header-widget{order:-10}.nav-float-left #site-navigation{order:5}.nav-float-left .header-widget,.nav-float-left .mobile-menu-control-wrapper{order:10}.mobile-menu-control-wrapper{margin-right:auto;margin-left:0}.nav-align-right .inside-navigation{justify-content:flex-start}.nav-align-left .inside-navigation{justify-content:flex-end}.menu-item-has-children .dropdown-menu-toggle{float:left!important}.main-navigation ul ul{text-align:right}.sidebar .menu-item-has-children .dropdown-menu-toggle,nav ul ul .menu-item-has-children .dropdown-menu-toggle{float:left}.comment-meta .avatar{float:right;margin-left:10px}.page-header .avatar{float:right;margin-left:1.5em}.slideout-navigation .menu-item-has-children .dropdown-menu-toggle{float:left}.dropdown-click #generate-slideout-menu .slideout-menu .menu-item-has-children>a:first-child,.slideout-desktop.dropdown-hover #generate-slideout-menu .slideout-menu .menu-item-has-children>a:first-child{padding-left:0}.comment .children{padding-right:30px;border-right:1px solid rgba(0,0,0,.05)}.main-navigation .main-nav ul li.menu-item-has-children>a,.secondary-navigation .main-nav ul li.menu-item-has-children>a{padding-left:0}nav:not(.toggled) ul ul .menu-item-has-children .dropdown-menu-toggle{padding-left:15px}nav:not(.toggled) .menu-item-has-children .dropdown-menu-toggle{padding-right:10px}.main-navigation{padding-right:0}ol,ul{margin:0 3em 1.5em 0}li>ol,li>ul{margin-right:1.5em}.menu-toggle .mobile-menu{margin-right:5px;margin-left:0}.widget_categories .children{margin-right:1.5em}.widget_nav_menu ul ul,.widget_pages ul ul{margin-right:1em}.cat-links:before,.comments-link:before,.nav-next .next:before,.nav-previous .prev:before,.tags-links:before{margin-left:.6em;margin-right:0}.entry-meta .gp-icon{margin-right:0;margin-left:.6em}.menu-toggle,.nav-search-enabled .main-navigation .menu-toggle{text-align:right}.rtl .navigation-search{left:auto;right:-99999px}.rtl .navigation-search.nav-search-active{right:0}.main-navigation.toggled .main-nav li{text-align:right}.both-left #left-sidebar,.both-sidebars #left-sidebar,.left-sidebar .sidebar{order:10}.both-left #right-sidebar{order:5}.both-right #left-sidebar{order:-5}.both-right #right-sidebar,.both-sidebars #right-sidebar,.right-sidebar #right-sidebar{order:-10}@media (max-width:768px){.site-content .content-area{order:-20}}
/* shift-core-base */
/* SHIFT Core — متغیرهای رنگ مشترک همه‌ی ماژول‌ها (--shift-brand از تنظیمات افزونه) */
:root{
--shift-brand:#3366FF;
--shift-t4:color-mix(in srgb,var(--shift-brand) 4%,#fff);
--shift-t5:color-mix(in srgb,var(--shift-brand) 5%,#fff);
--shift-t7:color-mix(in srgb,var(--shift-brand) 7%,#fff);
--shift-t9:color-mix(in srgb,var(--shift-brand) 9%,#fff);
--shift-t24:color-mix(in srgb,var(--shift-brand) 24%,#fff);
--shift-t35:color-mix(in srgb,var(--shift-brand) 35%,#fff);
--shift-light:color-mix(in srgb,var(--shift-brand) 75%,#fff);
--shift-dark:color-mix(in srgb,var(--shift-brand) 85%,#000);
--shift-a10:color-mix(in srgb,var(--shift-brand) 10%,transparent);
--shift-a12:color-mix(in srgb,var(--shift-brand) 12%,transparent);
--shift-a22:color-mix(in srgb,var(--shift-brand) 22%,transparent);
--shift-ink:var(--sc-ink,#0C0C0C);
--shift-text:var(--sc-text,#2A2C31);
--shift-muted:var(--sc-text-muted,#4A4D57);
--shift-line:var(--sc-line,#E2E4E9);
--shift-red:var(--sc-error,#D43E11);
}


:root{--shift-brand:#3366FF;--shift-brand-color:#3366FF;}
/* shift-core-docs-search */
/* SHIFT Core: جستجوی دانشنامه (دکمه‌ی هدر، پاپ‌آپ، چیپ‌های پرجستجو) + تراز ردیف‌های نتایج BetterDocs در RTL */

/* ── دکمه‌های شورت‌کد [shift_docs_search] ── */
.shift-docs-search-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	min-height: unset !important;
	max-height: unset !important;
	margin: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	font-family: var(--sc-font, inherit) !important;
	cursor: pointer !important;
	vertical-align: middle !important;
	-webkit-tap-highlight-color: transparent !important;
	transition: var(--sc-transition, all 150ms ease) !important;
}
.shift-docs-search-outline,
.shift-docs-search-icon {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	max-width: 32px !important;
	max-height: 32px !important;
	padding: 0 !important;
	border-radius: var(--sc-radius-sm, 6px) !important;
}
.shift-docs-search-outline {
	background: var(--sc-bg, var(--sc-bg)) !important;
	border: 2px solid var(--sc-ink, var(--sc-ink)) !important;
	color: var(--sc-ink, var(--sc-ink)) !important;
}
.shift-docs-search-outline:hover { background: var(--sc-surface, var(--sc-surface)) !important; }
.shift-docs-search-icon,
.shift-docs-search-pill {
	background: var(--sc-ink, var(--sc-primary)) !important;
	color: var(--sc-on-primary) !important;
	border: none !important;
}
.shift-docs-search-icon:hover,
.shift-docs-search-pill:hover {
	background: var(--sc-text, var(--sc-primary-hover)) !important;
	color: var(--sc-on-primary) !important;
}
.shift-docs-search-pill {
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	padding: 0 12px !important;
	border-radius: var(--sc-radius-sm, 6px) !important;
	gap: 6px !important;
	font-size: 12px !important;
	font-weight: var(--sc-weight-bold, 700) !important;
}
@media (min-width: 850px) {
	.shift-docs-search-outline,
	.shift-docs-search-icon {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
		max-width: 40px !important;
		max-height: 40px !important;
	}
	.shift-docs-search-outline svg,
	.shift-docs-search-icon svg { width: 18px !important; height: 18px !important; }
	.shift-docs-search-pill {
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		padding: 0 16px !important;
		font-size: 13px !important;
	}
}

/* ── پاپ‌آپ ── */
.shift-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 200ms ease, visibility 200ms ease;
}
.shift-search-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.shift-search-backdrop { position: absolute; inset: 0; background: var(--sc-scrim, rgba(12,12,12,.6)); -webkit-backdrop-filter: blur(var(--sc-scrim-blur, 8px)); backdrop-filter: blur(var(--sc-scrim-blur, 8px)); }
.shift-search-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 640px;
	margin: 70px 16px 20px;
	transform: translateY(-16px) scale(.98);
	transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.shift-search-modal.is-open .shift-search-container { transform: none; }
.shift-search-dialog {
	background: var(--sc-bg, var(--sc-bg));
	border-radius: var(--sc-radius-md, 12px);
	box-shadow: var(--sc-elevation-2, 0 16px 40px -12px rgba(12, 12, 12, .35));
	border: 1px solid var(--sc-line, var(--sc-line));
	overflow: hidden;
	direction: rtl;
	text-align: right;
	font-family: var(--sc-font, inherit);
	color: var(--sc-ink, var(--sc-ink));
}
.shift-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid var(--sc-line, var(--sc-line));
	background: var(--sc-bg, var(--sc-bg));
}
.shift-search-icon {
	display: flex;
	align-items: center;
	color: var(--sc-ink, var(--sc-ink));
	opacity: .6;
	margin-left: 10px;
	flex-shrink: 0;
}
.shift-search-field {
	flex: 1;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-family: var(--sc-font, inherit) !important;
	font-size: 15px !important;
	color: var(--sc-ink, var(--sc-ink)) !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}
.shift-search-field::placeholder { color: var(--sc-text, var(--sc-text-muted)); opacity: .6; font-size: 14px; }
.shift-search-clear {
	display: none;
	align-items: center;
	justify-content: center;
	border: none !important;
	background: transparent !important;
	color: var(--sc-text, var(--sc-text-muted)) !important;
	font-family: var(--sc-font, inherit) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	padding: 4px 6px !important;
	margin: 0 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	outline: none !important;
	white-space: nowrap !important;
	flex-shrink: 0;
	transition: color 150ms ease !important;
}
.shift-search-clear.is-visible { display: inline-flex !important; }
.shift-search-clear:hover { color: var(--sc-ink, var(--sc-ink)) !important; }
.shift-search-divider {
	display: block;
	width: 1px;
	height: 20px;
	background: var(--sc-line, var(--sc-line));
	margin: 0 12px;
	flex-shrink: 0;
}
.shift-search-close {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: var(--sc-radius-sm, 6px) !important;
	border: 1px solid var(--sc-line, var(--sc-line)) !important;
	background: transparent !important;
	color: var(--sc-ink, var(--sc-ink)) !important;
	cursor: pointer !important;
	line-height: 1 !important;
	box-shadow: none !important;
	outline: none !important;
	flex-shrink: 0;
	transition: var(--sc-transition, all 150ms ease) !important;
}
.shift-search-close:hover {
	border-color: var(--sc-error) !important;
	color: var(--sc-error) !important;
	background: rgba(239, 68, 68, .06) !important;
}

/* نتایج زنده */
.shift-search-results-wrapper { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }
.shift-search-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 28px 20px;
	color: var(--sc-text, var(--sc-text-muted));
	font-size: 14px;
}
.shift-search-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid var(--sc-line, var(--sc-line));
	border-top-color: var(--shift-primary, var(--sc-accent, var(--shift-brand, var(--sc-accent))));
	border-radius: 50%;
	animation: shift-search-spin .6s linear infinite;
}
@keyframes shift-search-spin { to { transform: rotate(360deg); } }

.shift-search-results-list { list-style: none !important; margin: 0 !important; padding: 6px !important; }
.shift-search-item { margin: 0 0 2px !important; }
.shift-search-link {
	display: block;
	padding: 8px 12px;
	border-radius: var(--sc-radius-sm, 6px);
	text-decoration: none !important;
	color: var(--sc-ink, var(--sc-ink));
	transition: background 120ms ease;
}
.shift-search-link:hover,
.shift-search-item.is-selected .shift-search-link {
	background: var(--sc-accent-container, var(--sc-accent-container));
	color: var(--sc-ink, var(--sc-ink));
}
.shift-search-item-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.shift-search-item-cat { font-size: 11.5px; color: var(--sc-text, var(--sc-text-muted)); opacity: .7; margin-top: 2px; }
.shift-search-empty { padding: 36px 20px; text-align: center; color: var(--sc-text, var(--sc-text-muted)); font-size: 14px; }

/* کلمات پرجستجو */
.shift-search-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; }
.shift-search-popular[hidden] { display: none !important; }
.shift-search-popular-label { font-size: 12px; color: var(--sc-text, var(--sc-text-muted)); }
.shift-search-chip {
	margin: 0 !important;
	padding: 4px 12px !important;
	min-height: 0 !important;
	line-height: 1.6 !important;
	font-family: var(--sc-font, inherit) !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	color: var(--sc-ink, var(--sc-ink)) !important;
	background: var(--sc-surface, var(--sc-surface)) !important;
	border: 1px solid var(--sc-line, var(--sc-line)) !important;
	border-radius: var(--sc-radius-sm, 6px) !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: var(--sc-transition, all 150ms ease) !important;
}
.shift-search-chip:hover {
	background: var(--sc-accent-container, var(--sc-accent-container)) !important;
	border-color: var(--shift-primary, var(--sc-accent, var(--shift-brand, var(--sc-accent)))) !important;
}

/* فوتر پاپ‌آپ */
.shift-search-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: var(--sc-surface, var(--sc-surface));
	border-top: 1px solid var(--sc-line, var(--sc-line));
	font-size: 12px;
	color: var(--sc-text, var(--sc-text-muted));
	font-family: var(--sc-font, inherit);
}
.shift-search-footer-hint { display: flex; gap: 12px; }
.shift-search-footer-hint kbd {
	background: var(--sc-bg, var(--sc-bg));
	border: 1px solid var(--sc-line, var(--sc-line));
	border-radius: var(--sc-radius-xs, 3px);
	padding: 1px 5px;
	font-size: 10px;
	font-family: inherit;
	color: var(--sc-ink, var(--sc-ink));
}
.shift-search-footer-brand { font-weight: 600; opacity: .8; }
@media (max-width: 640px) {
	.shift-search-container { margin: 16px 12px; }
	.shift-search-footer { display: none; }
}

/* ── ردیف‌های نتایج BetterDocs (فرم صفحه‌ی اول) ──
   علت به‌هم‌ریختگی: li فلکس بود و لینک فقط به اندازه‌ی متنش باز می‌شد و وسط‌چین بود،
   پس هر ردیف عرض و تراز متفاوتی می‌گرفت. اینجا هر ردیف تمام‌عرض و راست‌چین است. */
.betterdocs-search-result-wrap .docs-search-result {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	direction: rtl;
	text-align: right;
}
.betterdocs-search-result-wrap .docs-search-result li {
	display: block;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--sc-line, var(--sc-line));
}
.betterdocs-search-result-wrap .docs-search-result li:last-child { border-bottom: 0; }
.betterdocs-search-result-wrap .docs-search-result li a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	text-align: right;
	text-decoration: none;
}
.betterdocs-search-result-wrap .docs-search-result li a:hover { background: var(--sc-accent-container, var(--sc-accent-container)); }
.betterdocs-search-result-wrap .docs-search-result .betterdocs-search-title { display: block; line-height: 1.6; }
.betterdocs-search-result-wrap .docs-search-result .betterdocs-search-category {
	display: block;
	margin-top: 2px;
	font-size: .85em;
	opacity: .7;
	text-align: right;
}
.betterdocs-search-result-wrap .docs-search-result li a br { display: none; }

/* v1.5: گروه واژه‌نامه در نتایج */
.shift-search-group { margin: 8px 12px 0 !important; padding: 10px 4px 4px !important; border-top: 1px solid var(--sc-border, rgba(0,0,0,.08)); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--sc-text-muted, var(--sc-text)); opacity: .8; }
.shift-search-dic .shift-search-item-title[dir="ltr"] { text-align: right; }

/* shift-core-docs-nav */
/* SHIFT Core — دکمه‌های دانش‌کده در موبایل (BetterDocs)
 * دو آیکن «سرفصل‌ها» (دسته‌ها) و «فهرست» (فهرست مطالب) در یک قرص شناور پایین سمت راست،
 */
@media (max-width:767px){
.betterdocs-mobile-nav{position:fixed!important;right:22px;left:auto;top:auto;bottom:20px;z-index:99;display:flex!important;align-items:center;justify-content:flex-start!important;gap:0!important;height:39px;box-sizing:border-box;padding:3px!important;margin:0!important;border:1px solid var(--shift-line)!important;border-radius:999px;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(27,36,64,.16);transition:opacity .25s ease,transform .25s ease}
.betterdocs-mobile-nav.is-at-footer{opacity:0;transform:translateY(12px);pointer-events:none}
.betterdocs-mobile-nav .betterdocs-sidebar-icon,
.betterdocs-mobile-nav .betterdocs-toc-icon{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;display:flex;align-items:center;gap:6px;margin:0!important;padding:5px 10px;border-radius:999px;cursor:pointer;color:var(--shift-ink);font-size:12.5px;font-weight:700;line-height:1.4;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:background .15s}
.betterdocs-mobile-nav .betterdocs-sidebar-icon:active,
.betterdocs-mobile-nav .betterdocs-toc-icon:active{background:var(--shift-t7)}
.betterdocs-mobile-nav .betterdocs-toc-icon::before{content:"";position:absolute;right:0;top:25%;width:1px;height:50%;background:var(--shift-line)}
.betterdocs-mobile-nav .betterdocs-mobile-nav-icon-svg{width:18px!important;height:18px!important;margin:0!important;background:none!important}
.betterdocs-mobile-nav .betterdocs-mobile-nav-icon-svg svg{width:18px;height:18px}
.betterdocs-mobile-nav svg path{fill:var(--shift-brand)}
.betterdocs-mobile-nav .betterdocs-sidebar-icon span{display:none!important}
.betterdocs-mobile-nav .betterdocs-sidebar-icon::after{content:"سرفصل‌ها"}
.betterdocs-mobile-nav .betterdocs-toc-icon::after{content:"فهرست"}
}


/* shift-bookmarks-style */

		#sc-bm-toast { position: fixed; z-index: 99999; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 999px; background: var(--sc-ref-green-700, #00753A); color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s ease, transform .2s ease; direction: rtl; white-space: nowrap; }
		#sc-bm-toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
		#sc-bm-toast a { margin-inline-start: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--sc-ref-green-700, #00753A) !important; font-size: 12.5px; font-weight: 700; text-decoration: none; }
		/* کادر اول: پدیدآورندگان (جمع‌وجور، مینیمال و مستقل) */
		.pp-multiple-authors-boxes-wrapper.shift-authors-wrapper,
		body.kh-test .pp-multiple-authors-boxes-wrapper {
			margin-top: 32px !important;
			margin-bottom: 12px !important;
			border: 1px solid var(--kh-line, #E2E4E9) !important;
			border-radius: 12px !important;
			padding: 12px 20px !important;
			background: #ffffff !important;
			box-shadow: none !important;
			box-sizing: border-box !important;
			display: flex !important;
			align-items: center !important;
			flex-wrap: wrap !important;
			gap: 14px !important;
		}

		/* عنوان کادر پدیدآورندگان */
		.shift-authors-wrapper .box-header-title,
		body.kh-test .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title {
			font-size: 13.5px !important;
			font-weight: 700 !important;
			color: var(--kh-ink, #0C0C0C) !important;
			margin: 0 !important;
			padding: 0 !important;
			border: 0 !important;
			white-space: nowrap !important;
		}

		/* چیپ‌های نویسندگان */
		.shift-authors-wrapper .pp-multiple-authors-boxes-ul {
			display: flex !important;
			flex-wrap: wrap !important;
			gap: 10px !important;
			list-style: none !important;
			margin: 0 !important;
			padding: 0 !important;
		}
		.shift-authors-wrapper li.pp-multiple-authors-boxes-li,
		body.kh-test .pp-multiple-authors-boxes-wrapper li.pp-multiple-authors-boxes-li {
			display: inline-flex !important;
			align-items: center !important;
			gap: 10px !important;
			padding: 0px 0px 0px 16px !important;
			background: var(--kh-surface, #F4F5F7) !important;
			border: 0 !important;
			border-radius: 999px !important;
			box-shadow: none !important;
			transition: border-color .15s ease, background-color .15s ease !important;
		}
		.shift-authors-wrapper li.pp-multiple-authors-boxes-li:hover {
			border-color: #cbd5e1 !important;
			background: #eef1f5 !important;
		}
		.shift-authors-wrapper .pp-author-boxes-avatar img {
			width: 32px !important;
			height: 32px !important;
			border-radius: 999px !important;
			display: block !important;
		}
		.shift-authors-wrapper :is(.pp-author-boxes-name, .pp-author-boxes-name a) {
			font-size: 13px !important;
			font-weight: 700 !important;
			color: var(--kh-ink, #0C0C0C) !important;
			text-decoration: none !important;
		}
		.shift-authors-wrapper .pp-author-boxes-name a:hover {
			color: var(--kh-accent, #3366FF) !important;
		}

		/* خط جداکننده افقی بین پدیدآورندگان و نشان کردن */
		.shift-authors-divider {
			height: 1px !important;
			background-color: var(--kh-line, #E2E4E9) !important;
			margin: 16px 0 16px 0 !important;
			border: 0 !important;
			width: 100% !important;
		}

		/* نوار دکمه نشان کردن درون کادر مقاله */
		.shift-doc-bookmark-bar {
			padding: 0 !important;
			margin: 0 !important;
			display: flex !important;
			align-items: center !important;
			direction: rtl !important;
			box-sizing: border-box !important;
		}

		/* استایل دکمه نشان کردن و حذف نشان */
		.simplefavorite-button.shift-bookmark-btn,
		.shift-bookmark-btn {
			display: inline-flex !important;
			align-items: center !important;
			gap: 8px !important;
			padding: 7px 18px !important;
			border: 1px solid var(--kh-line, #E2E4E9) !important;
			border-radius: 999px !important;
			background: #ffffff !important;
			color: var(--kh-ink, #0C0C0C) !important;
			font-size: 13px !important;
			font-weight: 700 !important;
			box-shadow: none !important;
			cursor: pointer !important;
			transition: all .15s ease !important;
			line-height: 1.4 !important;
			user-select: none !important;
			text-decoration: none !important;
		}
		.simplefavorite-button.shift-bookmark-btn:hover,
		.shift-bookmark-btn:hover {
			border-color: var(--kh-ink, #0C0C0C) !important;
			background: #fafafa !important;
		}
		.simplefavorite-button.shift-bookmark-btn.active,
		.simplefavorite-button.shift-bookmark-btn.is-bookmarked,
		.shift-bookmark-btn.active,
		.shift-bookmark-btn.is-bookmarked {
			border-color: #3366FF !important;
			color: #3366FF !important;
			background: #EFF4FF !important;
		}
		.shift-bookmark-btn .shift-bm-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			line-height: 1;
		}
		.shift-bookmark-btn .shift-bm-icon svg {
			display: block;
			transition: fill .15s ease;
		}

		/* کادر دوم: اکشن‌بار انتهای مقاله (تک‌سطری، افقی کامل، فونت یکپارچه ایران‌یکان) */
		body.kh-test .betterdocs-entry-footer,
		.betterdocs-entry-footer {
			margin-top: 0 !important;
			margin-bottom: 24px !important;
			border: 1px solid var(--kh-line, #E2E4E9) !important;
			border-radius: 12px !important;
			padding: 8px 16px !important;
			background: #ffffff !important;
			box-shadow: none !important;
			box-sizing: border-box !important;
			font-family: inherit !important;
		}
		html body .betterdocs-entry-footer .feedback-update-form,
		body.kh-test .betterdocs-entry-footer .feedback-update-form,
		.betterdocs-entry-footer .feedback-update-form {
			border-top: 0 !important;
			padding: 0 !important;
			margin: 0 !important;
			display: flex !important;
			align-items: center !important;
			justify-content: space-between !important;
			flex-wrap: nowrap !important;
			gap: 12px !important;
			direction: rtl !important;
		}
		/* همسان‌سازی دقیق ابعاد و استایل هر دو دکمه فوتر (نشان کردن + ارسال پیام) */
		.betterdocs-entry-footer .shift-bookmark-btn,
		.betterdocs-entry-footer .feedback-form-link {
			display: inline-flex !important;
			align-items: center !important;
			justify-content: center !important;
			height: 34px !important;
			padding: 0 16px !important;
			border: 1px solid var(--kh-line, #E2E4E9) !important;
			border-radius: 999px !important;
			background: #ffffff !important;
			color: var(--kh-ink, #0C0C0C) !important;
			font-size: 13px !important;
			font-weight: 600 !important;
			font-style: normal !important;
			line-height: 32px !important;
			text-decoration: none !important;
			box-sizing: border-box !important;
			white-space: nowrap !important;
			margin: 0 !important;
			transition: all .15s ease !important;
		}
		.betterdocs-entry-footer .shift-bookmark-btn {
			order: 1 !important;
			gap: 8px !important;
		}
		.betterdocs-entry-footer .feedback-form {
			margin: 0 auto !important;
			order: 2 !important;
			display: flex !important;
			align-items: center !important;
		}
		.betterdocs-entry-footer .feedback-form-link:hover,
		.betterdocs-entry-footer .shift-bookmark-btn:hover {
			border-color: var(--kh-ink, #0C0C0C) !important;
			background: #fafafa !important;
		}
		.betterdocs-entry-footer .feedback-form-link:hover {
			color: var(--kh-accent, #3366FF) !important;
		}
		/* حذف کامل آیکون و فضای آیکون کنار ارسال پیام */
		.betterdocs-entry-footer .feedback-form-icon {
			display: none !important;
			margin: 0 !important;
			width: 0 !important;
		}
		/* ۳. سمت چپ: تاریخ به‌روزرسانی */
		.betterdocs-entry-footer .update-date {
			font-size: 12.5px !important;
			font-style: normal !important;
			font-weight: 500 !important;
			color: #64748b !important;
			margin: 0 !important;
			order: 3 !important;
			white-space: nowrap !important;
			display: flex !important;
			align-items: center !important;
		}

		/* لینک مطالعه مقاله در کارت‌ها */
		.shift-bm-read-link {
			color: #3366FF !important;
		}
		.shift-bm-read-link:hover {
			color: #1d4ed8 !important;
		}
		.shift-bm-read-link svg {
			transition: transform .15s ease;
		}
		.shift-bm-read-link:hover svg {
			transform: translateX(-3px);
		}

		/* استایل دکمه حذف کل نشان‌شده‌ها در برگه اکانت */
		.shift-clear-bookmarks-btn {
			display: inline-flex !important;
			align-items: center !important;
			gap: 6px !important;
			padding: 8px 22px !important;
			background: #ffffff !important;
			border: 1px solid #fecaca !important;
			color: #dc2626 !important;
			border-radius: 999px !important;
			font-size: 13px !important;
			font-weight: 600 !important;
			cursor: pointer !important;
			transition: all .2s ease !important;
			user-select: none !important;
			box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
		}
		.shift-clear-bookmarks-btn:hover {
			background: #fef2f2 !important;
			border-color: #ef4444 !important;
			color: #b91c1c !important;
			transform: translateY(-1px) !important;
			box-shadow: 0 3px 8px rgba(239, 68, 68, 0.12) !important;
		}
		
/* shift-authors-style */

		.shift-authors-wrapper {
			margin-top: 24px;
		}
		.shift-authors-wrapper .pp-multiple-authors-boxes-ul {
			display: flex;
			flex-wrap: wrap;
			gap: 10px;
			list-style: none;
			margin: 10px 0 0;
			padding: 0;
		}
		
/* shift-theme-base */
/* SHIFT Core — پایه‌ی ظاهر برای قالب (modules/design/theme-base.php)
   هدف: همان اندازه‌ها و حس سایت فعلی، با توکن‌های sc-tokens.css. */

html { font-size: 100%; }
body,
button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sc-font, "IRANYekanX", Roboto, Arial, sans-serif);
  font-feature-settings: var(--sc-font-feat, "ss02");
}
body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sc-text, var(--sc-text));
  background-color: var(--sc-bg, var(--sc-bg));
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sc-ink, var(--sc-ink));
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 .5em;
}
h1 { font-size: 1.7rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }
p { margin: 0 0 1.3em; }

a { color: var(--sc-link, var(--sc-link)); text-decoration: none; }
a:hover { color: var(--sc-link-hover, var(--sc-on-accent-container)); }

/* دکمه‌ها: مشکی، گوشه‌ی ۸px (DESIGN.md) */
button:not([class*="sc-"]):not(.components-button),
input[type="submit"],
input[type="button"],
a.button, .button,
.wp-block-button__link {
  border-radius: var(--sc-radius-sm, 8px);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: var(--sc-primary, var(--sc-primary));
  color: var(--sc-on-primary, var(--sc-on-primary));
  border-radius: var(--sc-radius-sm, 8px);
  min-height: var(--sc-btn-h, 40px);
  padding: 8px var(--sc-btn-px, 20px);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background-color: var(--sc-primary-hover, var(--sc-primary-hover));
  color: var(--sc-on-primary, var(--sc-on-primary));
}

/* فرم‌ها */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], select, textarea {
  border: 1px solid var(--sc-line, var(--sc-line));
  border-radius: var(--sc-radius-sm, 8px);
  background-color: var(--sc-bg, var(--sc-bg));
  color: var(--sc-text, var(--sc-text));
}
input:focus, select:focus, textarea:focus { border-color: var(--sc-focus, var(--sc-accent)); outline: 0; }

img { max-width: 100%; height: auto; }

/* فوتر SHIFT: تمام‌عرض */
.sc-footer { clear: both; }

/* GeneratePress: فاصله‌ی ظرف محتوا مثل سایت فعلی (۱۱۷۰px، حاشیه‌ی ۱۵px) */
body.one-container .site-content { padding: 30px 15px 40px; }
body.page.one-container .site-content { padding-top: 0; }
body.page.one-container .site-content:has(.sc-page) { padding-inline: 0; }
body.home.one-container .site-content { padding-bottom: 0; }

/* متن مخصوص صفحه‌خوان هیچ‌وقت پهنا نگیرد (در راست‌به‌چپ اسکرول افقی می‌ساخت) */
.screen-reader-text:not(:focus) { width: 1px !important; max-width: 1px !important; inset-inline-start: 0; }

/* BetterDocs: صفحه‌های دانش‌کده تمام‌عرض (مثل سایت فعلی؛ عرض را خود BetterDocs کنترل می‌کند) */
body:is(.single-docs, .post-type-archive-docs, .tax-doc_category, .tax-knowledge_base, .tax-doc_tag) #page.grid-container { max-width: none; }
body:is(.single-docs, .post-type-archive-docs, .tax-doc_category, .tax-knowledge_base, .tax-doc_tag) .site-content { padding: 0 !important; }
body:is(.post-type-archive-docs, .tax-knowledge_base) .site-content { display: block; }

/* ---------- موبایل: اسکرول افقی ممنوع (پنل‌های کشویی بیرون صفحه در Safari صفحه را پهن می‌کردند) ---------- */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }

/* ---------- دکمه‌ها کمی کوچک‌تر و ظریف‌تر ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.site-content button[type="submit"], .site-content input[type="submit"], .site-content .wp-block-button__link {
  font-size: 14px; line-height: 1.6; padding: 7px 16px; min-height: 0; font-weight: 700; border-radius: var(--sc-radius-sm, 8px);
}
.site-content input[type="text"], .site-content input[type="email"], .site-content input[type="tel"], .site-content input[type="password"],
.site-content input[type="number"], .site-content input[type="search"], .site-content textarea, .site-content select { font-size: 15px; }

/* ---------- قیمت: اول رقم، بعد «تومان» ---------- */
.woocommerce-Price-amount bdi { direction: rtl; unicode-bidi: isolate; }

/* ---------- خط عمودی بین بخش‌ها تا داخل کادر بعدی برود (مثل سایت فعلی) ---------- */
.sc-connector + * { margin-block-start: 0 !important; }

/* ---------- صفحه‌بندی ---------- */
.woocommerce nav.woocommerce-pagination { margin-top: 32px; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 6px; border: 0 !important; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; float: none; overflow: visible; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span,
.nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px;
  border: 1px solid var(--sc-line, var(--sc-line)); border-radius: var(--sc-radius-sm, 8px);
  font-size: 14px; font-weight: 700; line-height: 1; color: var(--sc-ink, var(--sc-ink)); background: var(--sc-bg);
}
.woocommerce nav.woocommerce-pagination ul li a:hover, .nav-links a.page-numbers:hover { border-color: var(--sc-ink, var(--sc-ink)); background: var(--sc-bg); color: var(--sc-ink, var(--sc-ink)); }
.woocommerce nav.woocommerce-pagination ul li span.current, .nav-links .page-numbers.current { background: var(--sc-ink, var(--sc-primary)); border-color: var(--sc-ink, var(--sc-ink)); color: var(--sc-on-primary); }

/* ---------- بزرگ‌نمایی تصویر (وردپرس): جهت فلش‌ها در راست‌به‌چپ + دکمه‌ها به سبک سایت ---------- */
.wp-lightbox-overlay .wp-lightbox-navigation-button svg { transform: scaleX(-1); }
.wp-lightbox-overlay .wp-lightbox-close-button, .wp-lightbox-overlay .wp-lightbox-navigation-button {
  width: 36px; height: 36px; min-width: 0; padding: 0; display: flex; align-items: center; justify-content: center;
  background: var(--sc-bg) !important; color: var(--sc-ink, var(--sc-ink)) !important; border: 2px solid var(--sc-ink, var(--sc-ink)) !important; border-radius: var(--sc-radius-sm, 8px);
}
.wp-lightbox-overlay .wp-lightbox-close-button:hover, .wp-lightbox-overlay .wp-lightbox-navigation-button:hover { background: var(--sc-ink, var(--sc-primary)) !important; color: var(--sc-on-primary) !important; }
.wp-lightbox-overlay .wp-lightbox-close-button svg, .wp-lightbox-overlay .wp-lightbox-navigation-button svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- دکمه‌ی «بازگشت به بالا» (مثل سایت فعلی: پایین سمت چپ، مربع) ---------- */
.sc-top {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 40px; height: 40px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--sc-bg); color: var(--sc-ink, var(--sc-ink)); border: 2px solid var(--sc-ink, var(--sc-ink)); border-radius: var(--sc-radius-sm, 8px);
  opacity: 0; pointer-events: none; transform: translateY(30%); transition: opacity .2s ease, transform .2s ease;
}
.sc-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.sc-top:hover { background: var(--sc-ink, var(--sc-primary)); color: var(--sc-on-primary); }
.sc-top svg { width: 20px; height: 20px; }

/* ---------- دانش‌کده: زمینه‌ی سفید زیر هدر (نوار خاکستری) ---------- */
body.single-docs .betterdocs-wrapper { background: var(--sc-bg) !important; }

/* ---------- پیام‌های ووکامرس (موفقیت/اطلاع/خطا) به زبان طراحی سایت ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  height: auto !important; min-height: 0 !important;
  margin: 0 0 16px !important; padding: 14px 18px !important;
  background: var(--sc-bg) !important; color: var(--sc-ink) !important;
  border: 1px solid var(--sc-line) !important; border-radius: 12px !important; box-shadow: none !important;
  font-size: 14px; line-height: 1.8; list-style: none;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: "" !important; position: static !important; flex: none; order: -1;
  width: 8px !important; height: 8px !important; margin: 0 !important; border-radius: 50%;
  background: var(--sc-success); font-size: 0 !important; line-height: 0 !important;
}
.woocommerce-info::before { background: var(--sc-accent); }
.woocommerce-error::before { background: var(--sc-error); }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.woocommerce-error li { margin: 0 !important; flex: 1 1 auto; }
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) { color: var(--sc-ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  order: 9; margin-inline-start: auto !important; float: none !important;
  padding: 6px 16px !important; min-height: 0 !important; border-radius: 999px !important;
  background: var(--sc-primary) !important; color: var(--sc-on-primary) !important; font-size: 13px !important; line-height: 1.6 !important;
}

/* پیام‌ها: رنگ ملایم هر نوع و نشانه‌ی دایره‌ای (موفقیت سبز، اطلاع آبی، خطا قرمز) */
.woocommerce-message { background: #effaf4 !important; border-color: #c9ecd8 !important; }
.woocommerce-info { background: #f0f4ff !important; border-color: #d3defd !important; }
.woocommerce-error { background: #fdf2ee !important; border-color: #f4d3c7 !important; }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  width: 22px !important; height: 22px !important; background-repeat: no-repeat !important; background-position: center !important; background-size: 12px !important;
}
.woocommerce-message::before { background-color: var(--sc-success) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important; }
.woocommerce-info::before { background-color: var(--sc-accent) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") !important; }
.woocommerce-error::before { background-color: var(--sc-error) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { font-weight: 500; }

/* ---------- حساب کاربری در قالب: منو کنار، محتوا وسط ---------- */
.woocommerce-account .entry-content > .woocommerce {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start;
}
.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .entry-content > .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; margin: 0 !important; min-width: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--sc-sticky-top, 64px) + 16px); }
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 8px; list-style: none;
  border: 1px solid var(--sc-line); border-radius: 14px; background: var(--sc-bg);
}
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0 !important; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px;
  color: var(--sc-text); font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background-color .15s, color .15s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--sc-surface); color: var(--sc-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--sc-primary); color: var(--sc-on-primary); font-weight: 700; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 4px; padding-top: 4px; border-top: 1px solid #eef0f3 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--sc-error); }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fdf2ee; }
@media (max-width: 900px) {
  .woocommerce-account .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-direction: row; overflow-x: auto; padding: 6px; gap: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { flex: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation li a { white-space: nowrap; padding: 8px 12px; font-size: 13px; }
  .woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0 !important; }
}
/* clearfix ووکامرس (::before/::after) در گرید خانه می‌گیرد و منو را جابه‌جا می‌کند */
.woocommerce-account .entry-content > .woocommerce::before,
.woocommerce-account .entry-content > .woocommerce::after { display: none !important; content: none !important; }

/* ---------- حساب کاربری: منوی ویرایش‌پذیر، فاصله از سربرگ، کشویی در موبایل ---------- */
.woocommerce-account .entry-content > .woocommerce { margin-top: 32px; margin-bottom: 48px; }
.woocommerce-account .woocommerce-MyAccount-navigation { position: static !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-logout { margin-top: 4px; padding-top: 4px; border-top: 1px solid #eef0f3 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-logout a { color: var(--sc-error); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-logout a:hover { background: #fdf2ee; }
.sc-accnav__toggle { display: none; }
@media (max-width: 900px) {
  .woocommerce-account .entry-content > .woocommerce { margin-top: 16px; }
  .sc-accnav__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px !important;
    border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important;
    font: inherit; font-size: 15px !important; font-weight: 700; cursor: pointer; box-shadow: none !important;
  }
  .sc-accnav__toggle svg { transition: transform .2s; }
  .sc-accnav.is-open .sc-accnav__toggle { border-color: var(--sc-ink) !important; }
  .sc-accnav.is-open .sc-accnav__toggle svg { transform: rotate(180deg); }
  .woocommerce-account .sc-accnav ul {
    display: none !important; flex-direction: column !important; overflow: visible !important; margin-top: 8px !important; padding: 8px !important; gap: 2px !important;
  }
  .woocommerce-account .sc-accnav.is-open ul { display: flex !important; }
  .woocommerce-account .sc-accnav li a { white-space: normal !important; padding: 10px 12px !important; font-size: 14px !important; }
  .woocommerce-account .sc-accnav li.is-logout { margin-top: 4px !important; padding-top: 4px !important; border-top: 1px solid #eef0f3 !important; }
}

/* ---------- حساب کاربری مثل سایت اصلی: نوار عنوان، کارت کاربر، منوی آیکن‌دار ---------- */
.sc-acc-bar { background: #0a0a0a; color: var(--sc-on-primary); }
.sc-acc-bar__in { max-width: var(--sc-container, 1200px); margin-inline: auto; padding: 0 20px; min-height: 61px; display: flex; align-items: center; }
.sc-acc-bar__title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--sc-on-primary); }
.sc-acc-bar__crumbs { font-size: 13px; line-height: 1.6; }
.sc-acc-bar__crumbs :is(a, span) { color: rgba(255,255,255,.72); text-decoration: none; }
.sc-acc-bar__sep { margin-inline: 6px; opacity: .5; }
.woocommerce-account .entry-content > .woocommerce { grid-template-columns: 280px minmax(0, 1fr); gap: 30px; margin-top: 30px; }
.sc-acc-user {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 14px 16px;
  border: 1px solid #e8e9f3; border-radius: 14px; background: var(--sc-bg);
}
.sc-acc-user__img { width: 52px !important; height: 52px !important; border-radius: 12px !important; object-fit: cover; margin: 0 !important; flex: none; }
.sc-acc-user__name { font-size: 15px; font-weight: 700; color: var(--sc-ink); line-height: 1.5; }
.woocommerce-account .sc-accnav ul { padding: 6px !important; gap: 2px !important; border: 1px solid #e8e9f3 !important; border-radius: 12px !important; }
.woocommerce-account .sc-accnav li a {
  display: flex !important; align-items: center; gap: 10px !important; padding: 10px 12px !important; border-radius: 8px !important;
  color: #3f3f56 !important; font-size: 13.5px !important; font-weight: 600 !important; background: none !important;
}
.woocommerce-account .sc-accnav li a .sc-nav-ic { width: 18px; height: 18px; flex: none; color: var(--sc-ink); }
.woocommerce-account .sc-accnav li a:hover { background: #f2f2f2 !important; color: var(--sc-ink) !important; }
.woocommerce-account .sc-accnav li a:hover .sc-nav-ic { color: var(--sc-ink) !important; }
.woocommerce-account .sc-accnav li.is-active a { background: #f2f2f2 !important; color: var(--sc-ink) !important; }
.woocommerce-account .sc-accnav li.is-active a .sc-nav-ic { color: var(--sc-ink) !important; }
.woocommerce-account .sc-accnav li.is-logout { margin-top: 4px !important; padding-top: 4px !important; border-top: 1px solid #f0f0f6 !important; }
.woocommerce-account .sc-accnav li.is-logout a, .woocommerce-account .sc-accnav li.is-logout a .sc-nav-ic { color: #c62828 !important; }
.woocommerce-account .sc-accnav li.is-logout a:hover { background: #fdf2f2 !important; }
@media (max-width: 900px) {
  .sc-acc-bar__in { justify-content: center; min-height: 64px; }
  .sc-acc-bar__title { font-size: 22px; }
  .woocommerce-account .entry-content > .woocommerce { margin-top: 20px; gap: 14px; }
  .sc-accnav__toggle {
    gap: 10px; justify-content: flex-start !important; min-height: 51px !important; padding: 8px 10px 8px 14px !important;
    border: 1px solid #e8e9f3 !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 700 !important;
  }
  .sc-accnav__ham { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: #f2f2f2; color: var(--sc-ink); flex: none; }
  .sc-accnav__lbl { flex: 1; text-align: start; }
  .sc-accnav__chev { color: #6e727c; transition: transform .2s; }
  .sc-accnav.is-open .sc-accnav__chev { transform: rotate(180deg); }
  .sc-accnav.is-open .sc-accnav__toggle { border-color: #c9d6ff !important; }
}
.woocommerce-account .sc-accnav li a { border: 0 !important; }
.woocommerce-account nav.sc-accnav { display: block !important; }
@media (max-width: 900px) {
  .woocommerce-account .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- زیربرگه‌های حساب (اشتراک‌ها، نشان‌شده‌ها) ---------- */
.sc-acc-child .woocommerce-MyAccount-content > .large-9 > .wp-block-spacer { display: none !important; }
.sc-acc-child .woocommerce-MyAccount-content > .large-9 > p:empty { display: none; }
.sc-acc-child .woocommerce-MyAccount-content > .large-9 > :first-child { margin-top: 0 !important; }
.sc-acc-child .section-title-main { margin: 0 0 14px !important; font-size: 15px !important; font-weight: 700 !important; color: #3f3f56 !important; }
.shift-bm-read-link { color: var(--sc-ink) !important; }

/* ---------- حالت خالی (نشان‌شده‌ها و ...) ---------- */
.sc-empty { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 44px 22px; border: 1px solid #e8e9f3; border-radius: 14px; background: var(--sc-bg); text-align: center; }
.sc-empty__ic { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 16px; background: #f2f2f2; color: var(--sc-ink); }
.sc-empty__title { margin: 0 0 8px !important; font-size: 16px !important; font-weight: 800 !important; color: var(--sc-ink) !important; line-height: 1.6 !important; }
.sc-empty__text { max-width: 440px; margin: 0 auto 20px !important; font-size: 13.5px; line-height: 1.9; color: #6e727c; }
.sc-empty__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--sc-primary);
  color: var(--sc-on-primary) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; transition: background .15s, transform .15s;
}
.sc-empty__btn:hover { background: var(--sc-primary-hover); transform: translateY(-1px); }

/* ---------- ویرایش مشخصات: پیش‌شماره و دکمه‌ی ذخیره ---------- */
.woocommerce-edit-account .woocommerce-EditAccountForm > p:last-of-type { margin: 0 !important; padding: 0 !important; }
.woocommerce-edit-account .woocommerce-EditAccountForm button[name="save_account_details"] {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 48px !important; padding: 0 36px !important;
  border: 0 !important; border-radius: 999px !important; background: var(--sc-primary) !important; color: var(--sc-on-primary) !important; line-height: 1 !important;
  box-shadow: none !important; font-size: 14.5px !important; font-weight: 700 !important;
}
.woocommerce-edit-account .woocommerce-EditAccountForm button[name="save_account_details"]:hover { background: var(--sc-primary-hover) !important; transform: translateY(-1px); }

/* پاراگراف‌های متنی کل سایت: تراز دوطرفه (جز متن‌های وسط‌چین/چپ‌چین و فرم‌ها) */
.entry-content p:not([class*="has-text-align"]),
.betterdocs-entry-content p:not([class*="has-text-align"]),
.woocommerce-Tabs-panel p:not([class*="has-text-align"]),
.woocommerce-product-details__short-description p {
	text-align: justify;
	text-align-last: start;
}
.entry-content .woocommerce form p,
.entry-content .woocommerce-MyAccount-content p,
.entry-content .woocommerce-info p,
.entry-content .sc-lk p,
.entry-content .sc-empty p,
.entry-content .wp-block-button p,
.entry-content figcaption,
.entry-content .wp-block-column p.sc-lk-name { text-align: inherit !important; text-align-last: auto !important; }
.entry-content p.has-text-align-center { text-align: center !important; text-align-last: auto !important; }
.entry-content p.has-text-align-left { text-align: left !important; text-align-last: auto !important; }
.entry-content p.has-text-align-right { text-align: right !important; text-align-last: auto !important; }

/* عنوان صفحه‌ها ۳۲px و کادر عنوان دانش‌کده با گوشه‌ی گرد (2026-11-12) */
.kh-hero .kh-hero__title, .kh-hero--home .kh-hero__title { font-size: 32px !important; border-radius: 14px !important; }
.sc-bp-title { font-size: 32px !important; }
@media (max-width: 549px) { .kh-hero .kh-hero__title, .kh-hero--home .kh-hero__title, .sc-bp-title { font-size: 26px !important; } }

.sh-ah-box { border-radius: 20px !important; }

/* عنوان برگه‌ها: ۳۲px با فونت اصلی سایت (2026-11-12) */
body.page :is(.sp-wrap .sp-hero h1, .sp-camp .sp-hero h1, .sc-hero h1, .sc-lk-hero h1, .entry-content h1, h1.entry-title) { font-family: var(--sc-font, "IRANYekanX", Roboto, Arial, sans-serif) !important; font-size: 32px !important; line-height: 1.4; }

/* ---------- چیدمان بخش‌های دانش‌کده (الگوهای knowhouse-home و knowhouse-coaching) ---------- */
.kh-sec { position: relative; padding-block: var(--p, 64px); }
.kh-sec.has-bg { background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.kh-sec__in { max-width: var(--sc-container, 1170px); margin-inline: auto; }
.kh-sec__in.is-center { max-width: 975px; text-align: center; }
.kh-sec__logo { width: var(--w, 36%); margin: 0 auto 24px; }
.kh-sec__logo img { display: block; width: 100%; height: auto; }
.kh-gap { height: 48px; }
.kh-grid { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: 30px; margin-top: 16px; }
.kh-grid > * { min-width: 0; }
@media (max-width: 849px) { .kh-grid { grid-template-columns: 1fr; } }
@media (max-width: 549px) { .kh-sec { padding-block: var(--p-sm, 40px); } .kh-sec__logo { width: var(--w-sm, 72%); margin-bottom: 16px; } .kh-gap { height: 32px; } }

/* ---------- دکمه‌ی توپر در محتوا (یادداشت خرید، توضیحات محصول) ---------- */
a.sc-btn-solid { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 8px; padding: 8px 20px; border-radius: 8px; background: var(--sc-primary); color: var(--sc-on-primary) !important; font-weight: 700; text-decoration: none !important; transition: background-color .15s; }
a.sc-btn-solid:hover, a.sc-btn-solid:focus { background: var(--sc-primary-hover); color: var(--sc-on-primary) !important; }
/* دکمه‌های دانلود سفارش: متن سفید، حتی هنگام هاور */
.woocommerce-table--order-downloads a, .woocommerce-table--order-downloads a:hover, .woocommerce-MyAccount-downloads a.button, .woocommerce-MyAccount-downloads a.button:hover { color: var(--sc-on-primary) !important; }
.woocommerce-table--order-downloads a:hover, .woocommerce-MyAccount-downloads a.button:hover { background: var(--sc-primary-hover) !important; }

/* Glossary mobile padding */
@media (max-width:767px){ body.shift-has-dic .betterdocs-content-full { padding: 20px 20px 20px 20px !important; } }

/* generateblocks */
.gb-container .wp-block-image img{vertical-align:middle;}.gb-grid-wrapper .wp-block-image{margin-bottom:0;}.gb-highlight{background:none;}.gb-shape{line-height:0;}.gb-container-link{position:absolute;top:0;right:0;bottom:0;left:0;z-index:99;}:root{--gb-container-width:1170px;}
/* shift-core-desktop-nav */
/* SHIFT — منوی اصلی دسکتاپ */
@media (min-width: 850px) {
  /* سطح اول: متن، بدون آیکن؛ خط ۲px مشکی زیر آیتم فعال و hover */
  .header-nav-main > li > a.nav-top-link { color: var(--sc-ink); font-size: var(--sc-body-s-size); font-weight: var(--sc-weight-bold); text-transform: none; letter-spacing: 0; }
  .header-nav-main > li > a.nav-top-link:hover, .header-nav-main > li.active > a.nav-top-link{ color: var(--sc-ink); }
  .header-nav-main.nav-line-bottom > li > a:before { height: 2px; background-color: var(--sc-ink); }

  /* کشوها: کارت سفید ۱۲px با سایه‌ی پاپ‌آپ */
  .header-nav-main .nav-dropdown { min-width: 220px; padding: var(--sc-space-2); background: var(--sc-bg); border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-md); box-shadow: var(--sc-elevation-2); }
  .header-nav-main .nav-dropdown > li > a { display: block; margin: 0; padding: 10px var(--sc-space-3); border: 0; border-radius: var(--sc-radius-sm); color: var(--sc-ink); font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-regular); text-transform: none; letter-spacing: 0; transition: var(--sc-transition); }
  .header-nav-main .nav-dropdown > li > a:hover,
  .header-nav-main .nav-dropdown > li.current-menu-item > a { background: var(--sc-surface); color: var(--sc-ink); }
  .header-nav-main .nav-dropdown > li.current-menu-item > a { font-weight: var(--sc-weight-bold); }

  /* پنل بزرگ دانش‌کده */
  .header-nav-main .nav-dropdown.sc-mega-dd { display: block; width: 720px; min-width: 0; padding: var(--sc-space-2); }
  .header-nav-main .nav-dropdown .sc-mega-li { margin: 0; padding: 0; list-style: none; }
  .sc-mega { display: grid; grid-template-columns: 1fr 1fr 232px; gap: var(--sc-space-2); text-align: start; }
  .sc-mega__col { display: flex; flex-direction: column; min-width: 0; padding: var(--sc-space-3) var(--sc-space-3) var(--sc-space-2); }
  .sc-mega .sc-mega__head { color: var(--sc-ink); font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-bold); text-decoration: none; }
  .sc-mega .sc-mega__head:hover { color: var(--sc-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .sc-mega__meta { margin: 2px 0 var(--sc-space-3); font-size: var(--sc-label-m-size); line-height: var(--sc-label-m-lh); color: var(--sc-text); }
  .sc-mega .sc-mega__list { margin: 0; padding: 0; list-style: none; border-top: var(--sc-border) solid var(--sc-line); }
  .sc-mega .sc-mega__list li { margin: 0; padding: 0; list-style: none; border-bottom: var(--sc-border) solid var(--sc-line); }
  .sc-mega .sc-mega__list a { display: flex; align-items: center; gap: var(--sc-space-3); min-height: 44px; padding: 0 var(--sc-space-2); color: var(--sc-ink); font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-bold); text-decoration: none; transition: var(--sc-transition); }
  .sc-mega .sc-mega__list a:hover { background: var(--sc-surface); color: var(--sc-ink); }
  .sc-mega__num { flex: none; width: 14px; text-align: center; font-size: var(--sc-label-s-size); font-weight: var(--sc-weight-bold); color: var(--sc-text); opacity: .55; }
  .sc-mega__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sc-mega__count { flex: none; min-width: 22px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--sc-radius-pill); background: var(--sc-surface); font-size: var(--sc-badge-size); font-weight: var(--sc-weight-bold); color: var(--sc-text); }
  .sc-mega .sc-mega__list a:hover .sc-mega__count { background: var(--sc-bg); }
  .sc-mega__soon { display: flex; align-items: center; justify-content: center; gap: var(--sc-space-2); min-height: 88px; margin-top: var(--sc-space-3); border: var(--sc-border) dashed var(--sc-line-strong); border-radius: var(--sc-radius-md); font-size: var(--sc-label-m-size); color: var(--sc-text); }
  .sc-mega__soon b { padding: 2px var(--sc-space-2); border-radius: var(--sc-radius-pill); background: var(--sc-surface); color: var(--sc-ink); font-size: var(--sc-label-s-size); }

  .sc-mega .sc-mega__hero { display: flex; flex-direction: column; gap: 2px; min-height: 240px; padding: var(--sc-space-4); background: var(--sc-inverse); color: var(--sc-on-inverse); border-radius: var(--sc-radius-md); text-decoration: none; }
  .sc-mega__mark { display: block; width: 48px; height: 48px; margin-bottom: auto; }
  .sc-mega__ey { align-self: flex-start; margin-top: var(--sc-space-4); font-size: var(--sc-label-s-size); font-weight: var(--sc-weight-bold); letter-spacing: .06em; color: var(--sc-on-inverse-text); }
  .sc-mega__title { font-size: var(--sc-title-m-size); line-height: var(--sc-title-m-lh); font-weight: var(--sc-weight-bold); color: var(--sc-on-inverse); }
  .sc-mega__sub { align-self: flex-start; font-size: var(--sc-label-m-size); color: var(--sc-on-inverse-strong); }
  .sc-mega__cta { display: inline-flex; align-items: center; gap: 2px; margin-top: var(--sc-space-3); padding-top: var(--sc-space-3); border-top: var(--sc-border) solid var(--sc-inverse-line); font-size: var(--sc-label-l-size); font-weight: var(--sc-weight-bold); color: var(--sc-on-inverse); }
  .sc-mega__cta .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); transition: transform var(--sc-duration-short) var(--sc-ease); }
  .sc-mega .sc-mega__hero:hover .sc-mega__cta .sc-icon { transform: translateX(-3px); }
}

/* ۳.۴.۲۲ — ظریف‌تر: hover مشکی، پنل دانش‌کده کوچک‌تر */
@media (min-width: 850px) {
  .header-nav-main .nav-dropdown > li > a:hover{ background: var(--sc-primary) !important; color: var(--sc-on-primary) !important; }
  .header-nav-main .nav-dropdown > li > a:hover .sc-nav-ic { color: var(--sc-on-primary); }
  .header-nav-main .nav-dropdown.sc-mega-dd { width: 640px; }
  .sc-mega { grid-template-columns: 1fr 1fr 200px; gap: var(--sc-space-1); }
  .sc-mega__col { padding: var(--sc-space-3) var(--sc-space-3) var(--sc-space-1); }
  .sc-mega .sc-mega__head { font-size: var(--sc-label-l-size); }
  .sc-mega__meta { margin: 0 0 var(--sc-space-2); font-size: var(--sc-label-m-size); }
  .sc-mega .sc-mega__list a { min-height: 40px; gap: var(--sc-space-2); padding: 6px var(--sc-space-2); font-weight: var(--sc-weight-regular); border-radius: var(--sc-radius-sm); }
  .sc-mega .sc-mega__list li { border-bottom-color: var(--sc-line); }
  .sc-mega .sc-mega__list a:hover { background: var(--sc-primary); color: var(--sc-on-primary); }
  .sc-mega .sc-mega__list a:hover .sc-mega__num { color: var(--sc-on-primary); opacity: .7; }
  .sc-mega .sc-mega__list a:hover .sc-mega__count { background: var(--sc-inverse-card); color: var(--sc-on-primary); }
  .sc-mega__name { white-space: normal; overflow: visible; }
  .sc-mega__soon { min-height: 64px; margin-top: var(--sc-space-1); }
  .sc-mega .sc-mega__hero { min-height: 0; padding: var(--sc-space-3) var(--sc-space-4); }
  .sc-mega__mark { width: 32px; height: 32px; }
  .sc-mega__ey { margin-top: var(--sc-space-3); font-size: var(--sc-badge-size); letter-spacing: .08em; }
  .sc-mega__title { font-size: var(--sc-title-s-size); line-height: var(--sc-title-s-lh); }
  .sc-mega__sub { font-size: var(--sc-label-m-size); opacity: .85; }
  .sc-mega__cta { margin-top: var(--sc-space-2); padding-top: var(--sc-space-2); font-size: var(--sc-label-m-size); }
  .header-nav-main .nav-dropdown.sc-mega-dd { width: 720px; }
  .sc-mega { grid-template-columns: 1fr 1fr 196px; }
  .sc-mega .sc-mega__hero { padding: var(--sc-space-3); }
  .sc-mega__sub { white-space: nowrap; }
}

/* shift-core-mobile-menu */
/* SHIFT — منوی کناری موبایل (DESIGN.md v2.1، فقط توکن‌ها) */
.sc-mm { position: fixed; inset: 0; z-index: 100001; font-family: var(--sc-font); }
.sc-mm[hidden] { display: none; }
html.sc-mm-open, html.sc-mm-open body { overflow: hidden; }

.sc-mm__panel {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: var(--sc-bg); color: var(--sc-text);
  transform: translateX(100%);
  transition: transform var(--sc-duration-medium) var(--sc-ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.sc-mm.is-open .sc-mm__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .sc-mm__panel { transition: none; } .sc-mm__view { animation: none !important; } }
@keyframes sc-mm-in-fwd { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes sc-mm-in-back { from { transform: translateX(100%); } to { transform: none; } }
.sc-mm__view.in-fwd { animation: sc-mm-in-fwd var(--sc-duration-medium) var(--sc-ease); }
.sc-mm__view.in-back { animation: sc-mm-in-back var(--sc-duration-medium) var(--sc-ease); }

.sc-mm__view { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sc-mm__view[hidden] { display: none; }

/* هدر یکسان: راست عنوان براکت‌دار (و بازگشت)، چپ بستن | لوگو */
.sc-mm__head {
  flex: none; display: flex; align-items: center; gap: var(--sc-space-3);
  min-height: 60px; padding: var(--sc-space-2) var(--sc-space-3);
  border-bottom: var(--sc-border) solid var(--sc-line);
}
.sc-mm__htitle { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--sc-space-1); }
.sc-mm__headtitle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-bold); color: var(--sc-ink); }
.sc-mm__brand { flex: none; display: flex; align-items: center; gap: var(--sc-space-2); margin-inline-start: auto; }
.sc-mm__vr { width: 1px; height: 24px; background: var(--sc-line); }
.sc-mm .sc-mm__logo { display: flex; align-items: center; padding-inline-start: var(--sc-space-1); color: var(--sc-ink); font-weight: var(--sc-weight-bold); text-decoration: none; }
.sc-mm .sc-mm__logo img { display: block; height: 20px; width: auto; max-width: 120px; }
.sc-mm .sc-mm__iconbtn {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0;
  background: none; color: var(--sc-ink);
  border: 0; border-radius: var(--sc-radius-sm);
  box-shadow: none; cursor: pointer; transition: var(--sc-transition);
}
.sc-mm .sc-mm__iconbtn:hover, .sc-mm .sc-mm__iconbtn:focus-visible { background: var(--sc-surface); color: var(--sc-ink); }
.sc-mm .sc-mm__back { margin-inline-start: calc(-1 * var(--sc-space-2)); }

.sc-mm__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--sc-space-4); display: grid; align-content: start; gap: var(--sc-space-3); }
.sc-mm .sc-icon { width: var(--sc-icon-m); height: var(--sc-icon-m); flex: none; }

/* کارت کاربر و ورود */
.sc-mm .sc-mm__user, .sc-mm .sc-mm__profile {
  display: flex; align-items: center; gap: var(--sc-space-3); width: 100%;
  min-height: 0; margin: 0; padding: var(--sc-space-3);
  background: var(--sc-surface); color: var(--sc-ink);
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-md);
  text-align: start; text-transform: none; letter-spacing: 0; font: inherit; cursor: pointer; text-decoration: none;
  box-shadow: none;
}
.sc-mm .sc-mm__profile { background: var(--sc-inverse); color: var(--sc-on-inverse); border-color: var(--sc-inverse); }
.sc-mm__avatar { flex: none; width: 44px; height: 44px; border-radius: var(--sc-radius-sm); object-fit: cover; margin: 0; }
.sc-mm__usertext { display: grid; gap: 2px; min-width: 0; }
.sc-mm__username { font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-bold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-mm__usersub { font-size: var(--sc-label-m-size); line-height: var(--sc-label-m-lh); font-weight: var(--sc-weight-regular); opacity: .75; }
.sc-mm__chev { margin-inline-start: auto; width: var(--sc-icon-s) !important; height: var(--sc-icon-s) !important; opacity: .55; transition: transform var(--sc-duration-short) var(--sc-ease); }
.sc-mm .sc-mm__login {
  display: flex; align-items: center; justify-content: center; gap: var(--sc-space-2);
  min-height: var(--sc-btn-h-lg); padding: 0 var(--sc-space-4);
  background: var(--sc-primary); color: var(--sc-on-primary);
  border-radius: var(--sc-radius-sm); font-size: var(--sc-body-s-size); font-weight: var(--sc-weight-bold); text-decoration: none;
}
.sc-mm .sc-mm__login:hover { background: var(--sc-primary-hover); color: var(--sc-on-primary); }

/* فهرست آیتم‌ها */
.sc-mm .sc-mm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sc-mm .sc-mm__list li { margin: 0; padding: 0; list-style: none; }
.sc-mm .sc-mm__link {
  display: flex; align-items: center; gap: var(--sc-space-3); width: 100%;
  min-height: var(--sc-touch, 48px); margin: 0; padding: 0 var(--sc-space-3);
  background: none; border: 0; border-radius: var(--sc-radius-sm); box-shadow: none;
  color: var(--sc-ink); font: inherit; font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-bold);
  text-align: start; text-transform: none; letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: var(--sc-transition);
}
.sc-mm .sc-mm__link:hover, .sc-mm .sc-mm__link:focus-visible { background: var(--sc-surface); color: var(--sc-ink); }
.sc-mm__ic { width: var(--sc-icon-m); height: var(--sc-icon-m); flex: none; color: var(--sc-accent); }
.sc-mm__label { min-width: 0; flex: 1; }
.sc-mm__item.is-current > .sc-mm__link { background: var(--sc-surface); }
.sc-mm__item.is-current > .sc-mm__link .sc-mm__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sc-mm .sc-mm__link[aria-expanded="true"] { background: var(--sc-surface); }
.sc-mm .sc-mm__link[aria-expanded="true"] .sc-mm__chev { transform: rotate(180deg); opacity: 1; }

.sc-mm .sc-mm__sub { list-style: none; margin: 2px 0 var(--sc-space-2); padding: 0; padding-inline-start: calc(var(--sc-space-3) + var(--sc-icon-m) + var(--sc-space-3)); display: grid; gap: 2px; }
.sc-mm .sc-mm__sub[hidden] { display: none; }
.sc-mm .sc-mm__sublink {
  display: flex; align-items: center; min-height: 40px; padding: 0 var(--sc-space-3);
  border-radius: var(--sc-radius-sm); color: var(--sc-text);
  font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-regular); text-decoration: none;
}
.sc-mm .sc-mm__sublink:hover, .sc-mm .sc-mm__sublink.is-current { background: var(--sc-surface); color: var(--sc-ink); }

/* واژه‌نامه: آیتم برجسته */
.sc-mm .sc-mm__item.is-featured > .sc-mm__link { border: var(--sc-border) solid var(--sc-line); background: var(--sc-bg); margin-block: var(--sc-space-1); }
.sc-mm .sc-mm__item.is-featured > .sc-mm__link:hover { border-color: var(--sc-line-strong); }
.sc-mm__chip {
  flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 var(--sc-space-2);
  background: var(--sc-primary); color: var(--sc-on-primary); border-radius: var(--sc-radius-xs);
  font-size: var(--sc-label-s-size); font-weight: var(--sc-weight-bold); letter-spacing: .04em;
}

/* فوتر پشتیبانی */
.sc-mm__foot { flex: none; padding: var(--sc-space-3) var(--sc-space-4) calc(var(--sc-space-3) + env(safe-area-inset-bottom)); border-top: var(--sc-border) solid var(--sc-line); display: flex; align-items: center; gap: var(--sc-space-3); }
.sc-mm__foottitle { font-size: var(--sc-label-m-size); color: var(--sc-text); font-weight: var(--sc-weight-bold); }
.sc-mm__support { display: flex; gap: var(--sc-space-2); margin-inline-start: auto; }
.sc-mm .sc-mm__supbtn {
  display: inline-flex; align-items: center; gap: var(--sc-space-1); height: var(--sc-btn-h-sm); padding: 0 var(--sc-space-3);
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-sm);
  color: var(--sc-ink); font-size: var(--sc-label-m-size); font-weight: var(--sc-weight-bold); text-decoration: none;
}
.sc-mm .sc-mm__supbtn .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); }
.sc-mm .sc-mm__supbtn:hover { border-color: var(--sc-ink); color: var(--sc-ink); }

/* پنل کاربری */
.sc-mm .sc-mm__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sc-space-2); }
.sc-mm .sc-mm__tiles li { margin: 0; list-style: none; }
.sc-mm .sc-mm__tile {
  display: grid; justify-items: center; align-content: center; gap: var(--sc-space-1);
  min-height: 60px; padding: var(--sc-space-2);
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-md);
  color: var(--sc-ink); text-align: center; text-decoration: none;
  font-size: var(--sc-label-m-size); line-height: var(--sc-label-m-lh); font-weight: var(--sc-weight-bold);
}
.sc-mm .sc-mm__tile .sc-icon { color: var(--sc-accent); }
.sc-mm .sc-mm__tile:hover { border-color: var(--sc-line-strong); color: var(--sc-ink); }
.sc-mm .sc-mm__logout {
  display: flex; align-items: center; justify-content: center; gap: var(--sc-space-2);
  min-height: var(--sc-btn-h); border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-sm);
  color: var(--sc-error); font-size: var(--sc-body-s-size); font-weight: var(--sc-weight-bold); text-decoration: none;
}
.sc-mm .sc-mm__logout:hover { border-color: var(--sc-error); color: var(--sc-error); }

/* سرفصل‌های دانش‌کده */
.sc-mm .sc-mm__search {
  display: flex; align-items: center; gap: var(--sc-space-2); margin: 0;
  height: var(--sc-field-h, 48px); padding: 0 var(--sc-space-3);
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-sm); background: var(--sc-bg);
}
.sc-mm .sc-mm__search:focus-within { border-color: var(--sc-ink); }
.sc-mm .sc-mm__search .sc-icon { color: var(--sc-text); width: var(--sc-icon-s); height: var(--sc-icon-s); }
.sc-mm .sc-mm__search input[type="search"] {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0;
  border: 0 !important; background: none !important; box-shadow: none !important; outline: 0; border-radius: 0;
  font: inherit; font-size: var(--sc-body-s-size); color: var(--sc-ink);
}
.sc-mm .sc-mm__kbhome {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sc-space-2);
  min-height: 40px; padding: 0 var(--sc-space-1); color: var(--sc-link); font-size: var(--sc-body-s-size); font-weight: var(--sc-weight-bold); text-decoration: none;
}
.sc-mm .sc-mm__kbhome .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); }
.sc-mm .sc-mm__cat {
  display: flex; align-items: center; gap: var(--sc-space-3); min-height: 64px; padding: var(--sc-space-3);
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-md); color: var(--sc-ink); text-decoration: none;
  transition: var(--sc-transition);
}
.sc-mm .sc-mm__cat:hover { border-color: var(--sc-line-strong); color: var(--sc-ink); }
.sc-mm__catic { flex: none; display: grid; place-items: center; width: var(--sc-fab); height: var(--sc-fab); border-radius: var(--sc-radius-sm); background: var(--sc-primary); color: var(--sc-on-primary); }
.sc-mm__cattext { display: grid; gap: 2px; min-width: 0; }
.sc-mm__catname { font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-bold); }
.sc-mm__catmeta { font-size: var(--sc-label-m-size); line-height: var(--sc-label-m-lh); color: var(--sc-text); }

/* فلش ورود و خروج در RTL به سمت چپ */
.sc-mm .sc-mm__login .sc-icon, .sc-mm .sc-mm__logout .sc-icon { transform: scaleX(-1); }

/* دانش‌کده‌ی شیفت */
.sc-mm__code { font-weight: var(--sc-weight-bold); }
.sc-mm__body--kb { gap: var(--sc-space-4); padding-top: var(--sc-space-3); }
.sc-mm__pane { display: grid; gap: var(--sc-space-3); }
.sc-mm__pane[hidden] { display: none; }

/* زبانه‌ها */
.sc-mm__tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sc-space-1); padding: var(--sc-space-1); background: var(--sc-surface); border-radius: var(--sc-radius-sm); }
.sc-mm .sc-mm__tab {
  display: flex; align-items: center; justify-content: center; gap: var(--sc-space-2);
  height: 40px; min-height: 0; margin: 0; padding: 0 var(--sc-space-2);
  background: none; border: 0; border-radius: var(--sc-radius-sm); box-shadow: none;
  color: var(--sc-text); font: inherit; font-size: var(--sc-body-s-size); font-weight: var(--sc-weight-bold); text-transform: none; letter-spacing: 0;
  cursor: pointer; transition: var(--sc-transition);
}
.sc-mm .sc-mm__tab:hover { color: var(--sc-ink); }
.sc-mm .sc-mm__tab[aria-selected="true"] { background: var(--sc-primary); color: var(--sc-on-primary); }
.sc-mm__tabcode { font-size: var(--sc-badge-size); font-weight: var(--sc-weight-bold); letter-spacing: .08em; opacity: .6; }

/* کارت معرفی */
.sc-mm .sc-mm__hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: var(--sc-space-1);
  padding: var(--sc-space-4) var(--sc-space-4) var(--sc-space-3);
  background: var(--sc-inverse); color: var(--sc-on-inverse);
  border-radius: var(--sc-radius-md); text-decoration: none;
}
.sc-mm__heromark { position: absolute; z-index: -1; left: var(--sc-space-4); top: var(--sc-space-4); width: 44px; height: 44px; }
.sc-mm__heroey { justify-self: start; font-size: var(--sc-label-s-size); font-weight: var(--sc-weight-bold); letter-spacing: .06em; color: var(--sc-on-inverse-text); }
.sc-mm__herotitle { font-size: var(--sc-title-m-size); line-height: var(--sc-title-m-lh); font-weight: var(--sc-weight-bold); color: var(--sc-on-inverse); }
.sc-mm__herofoot { display: flex; align-items: center; gap: var(--sc-space-3); margin-top: var(--sc-space-2); padding-top: var(--sc-space-2); border-top: var(--sc-border) solid var(--sc-inverse-line); }
.sc-mm__herometa { font-size: var(--sc-label-m-size); line-height: var(--sc-label-m-lh); color: var(--sc-on-inverse-strong); }
.sc-mm__herocta { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: auto; font-size: var(--sc-label-l-size); font-weight: var(--sc-weight-bold); color: var(--sc-on-inverse); }
.sc-mm__herocta .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); transition: transform var(--sc-duration-short) var(--sc-ease); }
.sc-mm .sc-mm__hero:hover .sc-mm__herocta .sc-icon { transform: translateX(-3px); }
.sc-mm .sc-mm__eyebrow { margin: var(--sc-space-2) 0 0; font-size: var(--sc-body-s-size); font-weight: var(--sc-weight-bold); color: var(--sc-ink); }

/* درخت بخش‌ها */
.sc-mm .sc-mm__tree { list-style: none; margin: 0; padding: 0; }
.sc-mm .sc-mm__tnode { margin: 0; padding: 0; list-style: none; }
.sc-mm .sc-mm__tree.is-root { border-top: var(--sc-border) solid var(--sc-line); }
.sc-mm .sc-mm__tree.is-root > .sc-mm__tnode { border-bottom: var(--sc-border) solid var(--sc-line); }
.sc-mm .sc-mm__trow {
  display: flex; align-items: center; gap: var(--sc-space-3); width: 100%;
  min-height: 60px; margin: 0; padding: var(--sc-space-2) var(--sc-space-1);
  background: none; border: 0; border-radius: 0; box-shadow: none;
  color: var(--sc-ink); font: inherit; text-align: start; text-transform: none; letter-spacing: 0; text-decoration: none;
  cursor: pointer; transition: var(--sc-transition);
}
.sc-mm .sc-mm__trow:hover { color: var(--sc-ink); }
.sc-mm__tnum { flex: none; width: 16px; text-align: center; font-size: var(--sc-label-s-size); font-weight: var(--sc-weight-bold); color: var(--sc-text); opacity: .55; transition: var(--sc-transition); }
.sc-mm__ttext { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sc-mm__tname { font-size: var(--sc-title-s-size); line-height: var(--sc-title-s-lh); font-weight: var(--sc-weight-bold); }
.sc-mm__tmeta { font-size: var(--sc-label-m-size); line-height: var(--sc-label-m-lh); color: var(--sc-text); }
.sc-mm__tgl {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-sm); color: var(--sc-ink);
  transition: var(--sc-transition), transform var(--sc-duration-medium) var(--sc-ease);
}
.sc-mm__tgl .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); transition: transform var(--sc-duration-medium) var(--sc-ease); }
.sc-mm .sc-mm__trow:hover .sc-mm__tgl { border-color: var(--sc-line-strong); }
.sc-mm .sc-mm__trow[aria-expanded="true"] .sc-mm__tgl { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
.sc-mm .sc-mm__trow[aria-expanded="true"] .sc-mm__tgl .sc-icon { transform: rotate(180deg); }
.sc-mm .sc-mm__trow[aria-expanded="true"] .sc-mm__tnum { color: var(--sc-ink); opacity: 1; }
.sc-mm__tgo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; color: var(--sc-text); opacity: .5; }
.sc-mm__tgo .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); }

/* باز و بسته شدن نرم */
.sc-mm__tsub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--sc-duration-medium) var(--sc-ease); }
.sc-mm__tsub.is-open { grid-template-rows: 1fr; }
.sc-mm__tin { min-height: 0; overflow: hidden; }
.sc-mm__tree.is-root > .sc-mm__tnode > .sc-mm__tsub > .sc-mm__tin { padding-inline-start: calc(16px + var(--sc-space-3) + var(--sc-space-1)); }
.sc-mm__tsub.is-open > .sc-mm__tin { padding-bottom: var(--sc-space-3); }

/* زیرسطح‌ها */
.sc-mm .sc-mm__tree.is-sub { border-inline-start: var(--sc-border) solid var(--sc-line); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__tree.is-sub { margin-inline-start: var(--sc-space-3); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__trow { position: relative; min-height: 40px; padding: 0 var(--sc-space-3); border-radius: var(--sc-radius-sm); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__trow::before { content: none; }
.sc-mm .sc-mm__tree.is-sub .sc-mm__trow:hover { background: var(--sc-surface); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__trow:hover::before, .sc-mm .sc-mm__tree.is-sub .sc-mm__trow[aria-expanded="true"]::before { background: var(--sc-ink); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__tname { font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-regular); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__trow[aria-expanded="true"] .sc-mm__tname { font-weight: var(--sc-weight-bold); }
.sc-mm .sc-mm__tree.is-sub .sc-mm__tgl { width: 28px; height: 28px; border-color: transparent; }
.sc-mm .sc-mm__tree.is-sub .sc-mm__tsub.is-open > .sc-mm__tin { padding-bottom: var(--sc-space-2); }
.sc-mm__tcount { flex: none; min-width: 22px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--sc-radius-pill); background: var(--sc-surface); font-size: var(--sc-badge-size); font-weight: var(--sc-weight-bold); color: var(--sc-text); }
.sc-mm .sc-mm__tall { display: inline-flex; align-items: center; gap: var(--sc-space-2); min-height: 36px; margin-top: var(--sc-space-2); padding: 0 var(--sc-space-3); border-radius: var(--sc-radius-sm); background: var(--sc-primary); color: var(--sc-on-primary); font-size: var(--sc-label-m-size); font-weight: var(--sc-weight-bold); text-decoration: none; transition: var(--sc-transition); }
.sc-mm .sc-mm__tall:hover { background: var(--sc-primary-hover); color: var(--sc-on-primary); }
.sc-mm .sc-mm__tall .sc-icon { width: var(--sc-icon-s); height: var(--sc-icon-s); }
.sc-mm .sc-mm__tall .sc-icon:last-child { opacity: .6; margin-inline-start: calc(-1 * var(--sc-space-1)); }

/* شبکه‌ی حرف‌ها */
.sc-mm .sc-mm__letters { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0; padding-top: var(--sc-space-1); }
.sc-mm .sc-mm__letter {
  display: grid; place-items: center; aspect-ratio: 1; min-height: 0;
  border: var(--sc-border) solid var(--sc-line); border-radius: var(--sc-radius-sm);
  color: var(--sc-ink); font-size: var(--sc-label-l-size); font-weight: var(--sc-weight-bold); text-decoration: none;
  transition: var(--sc-transition);
}
.sc-mm .sc-mm__letter:hover { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
.sc-mm .sc-mm__letter.is-empty { border-style: dashed; color: var(--sc-text); opacity: var(--sc-disabled-opacity); }

/* به‌زودی */
.sc-mm__soon { display: grid; justify-items: center; gap: var(--sc-space-2); padding: var(--sc-space-6) var(--sc-space-4); border: var(--sc-border) dashed var(--sc-line-strong); border-radius: var(--sc-radius-md); text-align: center; }
.sc-mm__soonchip { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--sc-space-3); border-radius: var(--sc-radius-pill); background: var(--sc-surface); font-size: var(--sc-label-s-size); font-weight: var(--sc-weight-bold); color: var(--sc-ink); }
.sc-mm__soontitle { font-size: var(--sc-title-s-size); font-weight: var(--sc-weight-bold); color: var(--sc-ink); }
.sc-mm__soontext { font-size: var(--sc-label-m-size); color: var(--sc-text); }
@media (prefers-reduced-motion: reduce) { .sc-mm__tsub, .sc-mm__tgl, .sc-mm__tgl .sc-icon { transition: none; } }

/* منوی حساب دسکتاپ: آیکن Lucide و آواتار مربع‌گرد */
svg.sc-nav-ic { display: inline-block; width: var(--sc-icon-s); height: var(--sc-icon-s); flex: none; margin-inline-end: var(--sc-space-2); vertical-align: middle; }
.my-account #my-account-nav .sc-nav-ic { width: var(--sc-icon-m); height: var(--sc-icon-m); flex: none; margin-inline-end: var(--sc-space-2); color: var(--sc-accent); vertical-align: middle; }

/* ۳.۴.۲۲ — دکمه‌های بستن و بازگشت با کادر؛ hover مشکی منوی پنل کاربری */
.sc-mm .sc-mm__iconbtn { border: var(--sc-border) solid var(--sc-line); background: var(--sc-bg); }
.sc-mm .sc-mm__iconbtn:hover, .sc-mm .sc-mm__iconbtn:focus-visible { border-color: var(--sc-ink); background: var(--sc-bg); }
.sc-mm .sc-mm__back { margin-inline-start: 0; }
body .my-account ul#my-account-nav > li > a:hover { background: var(--sc-primary); color: var(--sc-on-primary); }
body .my-account ul#my-account-nav > li > a:hover .sc-nav-ic { color: var(--sc-on-primary); }
.sc-mm__brand { gap: 6px; }

/* Section title is a link to the section page; only the chevron button opens and closes (owner 2026-12-01) */
.sc-mm .sc-mm__trow--split { cursor: default; }
.sc-mm .sc-mm__trow--split > .sc-mm__tlink { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--sc-space-3); align-self: stretch; color: inherit; text-decoration: none; }
.sc-mm .sc-mm__trow--split > .sc-mm__tlink:hover .sc-mm__tname { text-decoration: underline; text-underline-offset: 3px; }
html body .sc-mm .sc-mm__trow--split > button.sc-mm__tgl { margin: 0; padding: 0; background: none; box-shadow: none; font: inherit; line-height: 1; cursor: pointer; color: var(--sc-ink); }
html body .sc-mm .sc-mm__trow--split:not([aria-expanded="true"]) > button.sc-mm__tgl:is(:hover, :focus, :active) { background: none; color: var(--sc-ink); }
html body .sc-mm .sc-mm__trow--split[aria-expanded="true"] > button.sc-mm__tgl:is(:hover, :focus, :active) { background: var(--sc-primary); color: var(--sc-on-primary); }
html body .sc-mm .sc-mm__tree.is-sub .sc-mm__trow--split[aria-expanded="true"] > button.sc-mm__tgl:is(:hover, :focus, :active) { background: none; color: var(--sc-ink); }
html body .sc-mm .sc-mm__trow--split[aria-expanded="true"] > button.sc-mm__tgl { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
html body .sc-mm .sc-mm__tree.is-sub .sc-mm__trow--split > button.sc-mm__tgl { border-color: transparent; }
html body .sc-mm .sc-mm__tree.is-sub .sc-mm__trow--split[aria-expanded="true"] > button.sc-mm__tgl { background: none; border-color: transparent; color: var(--sc-ink); }
.sc-mm .sc-mm__trow--split > .sc-mm__tgl:focus-visible, .sc-mm .sc-mm__tlink:focus-visible { outline: 2px solid var(--sc-focus, #3366FF); outline-offset: 2px; }

/* shift-core-site-header */
/* =========================================================
   SHIFT Core — هدر سایت مستقل از قالب (DESIGN.md v2.1، فقط توکن‌ها)
   ساختار: .sc-hd-wrap > .sc-hd > .sc-hd__inner > [منو] [لوگو] [.sc-nav] [.sc-hd__tools]
   دسکتاپ ≥850px: لوگو، منو، ابزارها (جستجو، حساب، سبد)
   موبایل: [منو][حساب] … [سبد][جستجو] | [لوگو]
   چسبان: .is-stuck — کوتاه‌تر، با سایه، از بالا پایین می‌آید.
   ========================================================= */

/* هدر قالب پنهان */
body.sc-hd-on #header,
body.sc-hd-on .site-header { display: none !important; }

.sc-hd-wrap {
  --sc-hd-h: 64px;
  --sc-hd-h-stuck: 56px;
  --sc-hd-btn: 36px;
  --sc-hd-logo-w: 112px;
  --sc-hd-top: var(--wp-admin--admin-bar--height, 0px);
  position: relative;
  z-index: 100;
  height: calc(var(--sc-hd-h) + var(--sc-border));
}
@media (min-width: 850px) {
  .sc-hd-wrap { --sc-hd-h: 84px; --sc-hd-h-stuck: 64px; --sc-hd-logo-w: 139px; }
}
@media screen and (max-width: 600px) {
  .sc-hd-wrap { --sc-hd-top: 0px; } /* نوار ادمین موبایل ثابت نیست */
}

.sc-hd {
  position: relative;
  background: var(--sc-bg);
  border-bottom: var(--sc-border) solid var(--sc-line);
}
.sc-hd.is-stuck {
  --sc-hd-h: var(--sc-hd-h-stuck);
  position: fixed;
  top: var(--sc-hd-top);
  inset-inline: 0;
  border-bottom: 0;
  box-shadow: var(--sc-elevation-header);
  animation: sc-hd-in 320ms var(--sc-ease);
}
@keyframes sc-hd-in { from { transform: translateY(-100%); } to { transform: none; } }
html.sc-cart-open .sc-hd-wrap { z-index: 100001; }

.sc-hd__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sc-space-2);
  max-width: var(--sc-container);
  height: var(--sc-hd-h);
  margin: 0 auto;
  padding: 0 var(--sc-gutter);
  transition: height var(--sc-duration-medium, 200ms) var(--sc-ease);
}

/* لوگو */
.sc-hd .sc-hd__logo { display: flex; align-items: center; flex: none; color: var(--sc-ink); text-decoration: none; }
.sc-hd .sc-hd__logo-img { display: block; width: var(--sc-hd-logo-w); height: auto; max-height: calc(var(--sc-hd-h) - var(--sc-space-4)); object-fit: contain; }
.sc-hd .sc-hd__logo-text { font-size: var(--sc-title-s-size); font-weight: var(--sc-weight-bold); }

/* ابزارها */
.sc-hd .sc-hd__tools { display: flex; align-items: center; gap: var(--sc-space-2); margin-inline-start: auto; }
.sc-hd__acc, .sc-hd__cartwrap { position: relative; display: flex; align-items: center; }

html body .sc-hd .sc-hd__btn,
html body .sc-hd .sc-hd__login {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: var(--sc-space-2);
  height: var(--sc-hd-btn);
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 2px solid var(--sc-ink);
  border-radius: var(--sc-radius-sm);
  background: var(--sc-bg);
  color: var(--sc-ink);
  font: inherit;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  box-shadow: none;
  transition: var(--sc-transition);
}
html body .sc-hd .sc-hd__btn { width: var(--sc-hd-btn); min-width: 0; max-width: none; }
html body .sc-hd .sc-hd__login { padding: 0 var(--sc-space-3); font-size: var(--sc-label-l-size); font-weight: var(--sc-weight-bold); white-space: nowrap; }
html body .sc-hd .sc-hd__btn:hover,
html body .sc-hd .sc-hd__login:hover,
html body .sc-hd .sc-hd__toggle,
html body .sc-hd .sc-hd__cartwrap:hover > .sc-hd__cart,
html body .sc-hd .sc-hd__acc:hover > .sc-hd__account { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
html body .sc-hd .sc-hd__toggle:hover { background: var(--sc-primary-hover); border-color: var(--sc-primary-hover); }
.sc-hd .sc-hd__btn .sc-icon, .sc-hd .sc-hd__login .sc-icon { flex: none; width: var(--sc-icon-s); height: var(--sc-icon-s); }
.sc-hd .sc-hd__login .sc-icon { display: none; }
html body .sc-hd .sc-hd__account.is-user { overflow: hidden; }
.sc-hd .sc-hd__account.is-user img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.sc-hd .sc-hd__count {
  position: absolute;
  top: calc(var(--sc-space-2) * -1);
  inset-inline-end: calc(var(--sc-space-2) * -1);
  min-width: 18px;
  height: 18px;
  padding: 0 var(--sc-space-1);
  display: inline-grid;
  place-items: center;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-accent);
  color: var(--sc-on-accent);
  font-size: var(--sc-badge-size);
  font-weight: var(--sc-weight-bold);
  line-height: 1;
}
.sc-hd .sc-hd__count[hidden] { display: none; }

/* ---------- کشوهای مشترک (منو، حساب، سبد) ---------- */
.sc-nav .sc-nav__dd,
.sc-hd .sc-acc,
.sc-hd .sc-cart {
  background: var(--sc-bg);
  border: var(--sc-border) solid var(--sc-line);
  border-radius: var(--sc-radius-md);
  box-shadow: var(--sc-elevation-2);
}

/* ---------- موبایل ---------- */
.sc-nav { display: none; }
.sc-hd .sc-acc { display: none; }

@media (max-width: 849px) {
  .sc-hd .sc-hd__tools { display: contents; }
  .sc-hd .sc-hd__toggle { order: 1; }
  .sc-hd .sc-hd__acc { order: 2; }
  .sc-hd .sc-hd__logo { order: 3; margin-inline-start: auto; height: var(--sc-hd-btn); padding-inline-end: var(--sc-space-3); border-inline-end: var(--sc-border) solid var(--sc-line); }
  .sc-hd .sc-hd__search { order: 4; }
  .sc-hd .sc-hd__cartwrap { order: 5; }
  html body .sc-hd .sc-hd__login { width: var(--sc-hd-btn); padding: 0; }
  .sc-hd .sc-hd__login .sc-icon { display: block; }
  .sc-hd .sc-hd__login span { display: none; }

  /* سبد = صفحه‌ی کامل که از چپ باز می‌شود */
  .sc-hd .sc-cart {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 280ms var(--sc-ease), visibility 0s linear 280ms;
  }
  .sc-hd .sc-cart.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  html.sc-cart-open, html.sc-cart-open body { overflow: hidden; }
  .sc-hd .sc-cart .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0 var(--sc-gutter) var(--sc-space-4); }
  .sc-hd .sc-cart .woocommerce-mini-cart { flex: 1; overflow-y: auto; }
}

/* ---------- دسکتاپ ---------- */
@media (min-width: 850px) {
  html body .sc-hd .sc-hd__toggle { display: none; }
  .sc-nav { display: block; align-self: stretch; margin-inline-start: var(--sc-space-4); }
  .sc-nav .sc-nav__list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; gap: 0; }
  .sc-nav .sc-nav__item { position: relative; display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
  .sc-nav .sc-nav__item.is-mega { position: static; }

  .sc-nav .sc-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    background: none;
    color: var(--sc-ink);
    font: inherit;
    font-size: var(--sc-body-s-size);
    font-weight: var(--sc-weight-bold);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    min-height: 0;
    cursor: pointer;
  }
  .sc-nav .sc-nav__link::after {
    content: "";
    position: absolute;
    inset-inline: 10px;
    bottom: -1px;
    height: 2px;
    background: var(--sc-ink);
    transform: scaleX(0);
    transition: transform var(--sc-duration-short) var(--sc-ease);
  }
  .sc-nav .sc-nav__item:hover > .sc-nav__link::after,
  .sc-nav .sc-nav__item.is-current > .sc-nav__link::after,
  .sc-nav .sc-nav__item.is-open > .sc-nav__link::after { transform: scaleX(1); }
  .sc-nav .sc-nav__chev { width: 14px; height: 14px; opacity: .45; transition: transform var(--sc-duration-short) var(--sc-ease), opacity var(--sc-duration-short) var(--sc-ease); }
  .sc-nav .sc-nav__item:hover > .sc-nav__link .sc-nav__chev,
  .sc-nav .sc-nav__item.is-open > .sc-nav__link .sc-nav__chev { transform: rotate(180deg); opacity: 1; }

  /* کشوهای منو، حساب و سبد: یک رفتار */
  .sc-nav .sc-nav__dd,
  .sc-hd .sc-acc,
  .sc-hd .sc-cart {
    position: absolute;
    top: 100%;
    z-index: 10;
    margin: 0;
    padding: var(--sc-space-2);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--sc-duration-short) var(--sc-ease), transform var(--sc-duration-short) var(--sc-ease), visibility 0s linear var(--sc-duration-short);
  }
  .sc-nav .sc-nav__dd { inset-inline-start: 0; min-width: 220px; }
  .sc-hd .sc-acc { display: block; inset-inline-end: 0; width: 240px; margin-top: var(--sc-space-2); }
  .sc-hd .sc-cart { inset-inline-end: 0; width: 340px; margin-top: var(--sc-space-2); padding: var(--sc-space-3); }
  /* پل نامرئی تا hover بین دکمه و کشو قطع نشود */
  .sc-hd .sc-acc::before, .sc-hd .sc-cart::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: var(--sc-space-2); }

  .sc-nav .sc-nav__item:hover > .sc-nav__dd,
  .sc-nav .sc-nav__item:focus-within > .sc-nav__dd,
  .sc-nav .sc-nav__item.is-open > .sc-nav__dd,
  .sc-hd .sc-hd__acc:hover > .sc-acc,
  .sc-hd .sc-hd__acc:focus-within > .sc-acc,
  .sc-hd .sc-hd__cartwrap:hover > .sc-cart,
  .sc-hd .sc-hd__cartwrap:focus-within > .sc-cart { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

  .sc-nav .sc-nav__sub { margin: 0; padding: 0; list-style: none; }
  .sc-nav .sc-nav__sub > a {
    display: flex;
    align-items: center;
    gap: var(--sc-space-2);
    padding: 10px var(--sc-space-3);
    border-radius: var(--sc-radius-sm);
    color: var(--sc-ink);
    font-size: var(--sc-body-s-size);
    line-height: var(--sc-body-s-lh);
    font-weight: var(--sc-weight-regular);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--sc-transition);
  }
  .sc-nav .sc-nav__sub > a:hover { background: var(--sc-primary); color: var(--sc-on-primary); }
  .sc-nav .sc-nav__sub.is-current > a { font-weight: var(--sc-weight-bold); }
  .sc-nav .sc-nav__sub .sc-nav-ic { flex: none; width: var(--sc-icon-s); height: var(--sc-icon-s); }

  /* پنل بزرگ دانش‌کده: هم‌تراز با شروع کانتینر؛ ظاهر داخلی از desktop-nav.css (.sc-mega) */
  .sc-nav .sc-nav__dd--mega { inset-inline-start: var(--sc-gutter); width: 720px; }

  html body .sc-hd .sc-cart__head { display: none; }
}

/* ---------- کشوی حساب ---------- */
.sc-hd .sc-acc__head { display: flex; flex-direction: column; gap: 2px; padding: var(--sc-space-2) var(--sc-space-3) var(--sc-space-3); margin-bottom: var(--sc-space-1); border-bottom: var(--sc-border) solid var(--sc-line); }
.sc-hd .sc-acc__head b { color: var(--sc-ink); font-size: var(--sc-title-s-size); line-height: var(--sc-title-s-lh); }
.sc-hd .sc-acc__head span { color: var(--sc-text); font-size: var(--sc-label-m-size); }
.sc-hd .sc-acc__list { margin: 0; padding: 0; list-style: none; }
.sc-hd .sc-acc__list li { margin: 0; padding: 0; list-style: none; }
.sc-hd .sc-acc__list a { display: flex; align-items: center; gap: var(--sc-space-2); padding: 9px var(--sc-space-3); border-radius: var(--sc-radius-sm); color: var(--sc-ink); font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); text-decoration: none; transition: var(--sc-transition); }
.sc-hd .sc-acc__list a:hover { background: var(--sc-primary); color: var(--sc-on-primary); }
.sc-hd .sc-acc__list .is-current > a { font-weight: var(--sc-weight-bold); }
.sc-hd .sc-acc__list .is-logout { margin-top: var(--sc-space-1); padding-top: var(--sc-space-1); border-top: var(--sc-border) solid var(--sc-line); }
.sc-hd .sc-acc__list .sc-nav-ic { flex: none; width: var(--sc-icon-s); height: var(--sc-icon-s); }

/* ---------- سبد خرید (سبد کوچک ووکامرس) ---------- */
.sc-hd .sc-cart__head { display: flex; align-items: center; justify-content: space-between; height: var(--sc-hd-h, 64px); padding: 0 var(--sc-gutter); border-bottom: var(--sc-border) solid var(--sc-line); flex: none; }
.sc-hd .sc-cart__title { color: var(--sc-ink); font-size: var(--sc-title-s-size); font-weight: var(--sc-weight-bold); }
.sc-hd .sc-cart .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.sc-hd .sc-cart .woocommerce-mini-cart-item {
  position: relative;
  display: block;
  min-height: 64px;
  margin: 0;
  padding: var(--sc-space-3) 0 var(--sc-space-3);
  padding-inline-start: 72px;
  padding-inline-end: 36px;
  border-bottom: var(--sc-border) solid var(--sc-line);
  list-style: none;
  color: var(--sc-text);
  font-size: var(--sc-label-m-size);
  line-height: var(--sc-label-m-lh);
}
.sc-hd .sc-cart .woocommerce-mini-cart-item > a:not(.remove) { display: block; color: var(--sc-ink); font-size: var(--sc-body-s-size); line-height: var(--sc-body-s-lh); font-weight: var(--sc-weight-regular); text-decoration: none; }
.sc-hd .sc-cart .woocommerce-mini-cart-item img { position: absolute; top: var(--sc-space-3); inset-inline-start: 0; width: 56px; height: 56px; margin: 0; object-fit: cover; border-radius: var(--sc-radius-sm); border: var(--sc-border) solid var(--sc-line); }
.sc-hd .sc-cart .woocommerce-mini-cart-item .quantity { display: block; margin-top: var(--sc-space-1); color: var(--sc-text); }
.sc-hd .sc-cart .woocommerce-mini-cart-item a.remove {
  position: absolute;
  top: var(--sc-space-3);
  inset-inline-end: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0 !important;
  border: var(--sc-border) solid var(--sc-line) !important;
  border-radius: var(--sc-radius-sm) !important;
  background: var(--sc-bg);
  color: var(--sc-text) !important;
  font-size: 16px !important;
  font-weight: var(--sc-weight-regular) !important;
  line-height: 26px !important;
  text-align: center;
  text-decoration: none;
  transition: var(--sc-transition);
}
.sc-hd .sc-cart .woocommerce-mini-cart-item a.remove:hover { background: var(--sc-error-container); border-color: var(--sc-error); color: var(--sc-on-error-container) !important; }
.sc-hd .sc-cart .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: var(--sc-space-3) 0; border: 0; color: var(--sc-ink); font-size: var(--sc-body-s-size); }
.sc-hd .sc-cart .woocommerce-mini-cart__total strong { font-weight: var(--sc-weight-bold); }
.sc-hd .sc-cart .woocommerce-mini-cart__buttons { display: flex; margin: 0; padding: 0; }
html body .sc-hd .sc-cart .woocommerce-mini-cart__buttons .button:not(.checkout) { display: none; }
html body .sc-hd .sc-cart .woocommerce-mini-cart__buttons .button.checkout {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: var(--sc-btn-h, 44px);
  margin: 0;
  padding: 0 var(--sc-space-4);
  border: 0;
  border-radius: var(--sc-radius-sm);
  background: var(--sc-primary) !important;
  color: var(--sc-on-primary) !important;
  font-size: var(--sc-label-l-size);
  font-weight: var(--sc-weight-bold);
  text-transform: none;
  letter-spacing: 0;
}
html body .sc-hd .sc-cart .woocommerce-mini-cart__buttons .button.checkout:hover { background: var(--sc-primary-hover) !important; }
.sc-hd .sc-cart .woocommerce-mini-cart__empty-message { margin: 0; padding: var(--sc-space-5) 0; text-align: center; color: var(--sc-text); font-size: var(--sc-body-s-size); }
.sc-hd .sc-cart .return-to-shop { display: none; }
.sc-hd .sc-cart .blockUI.blockOverlay { border-radius: var(--sc-radius-md); }

/* مبلغ: اول رقم، بعد «تومان» */
.sc-hd .sc-cart .woocommerce-Price-amount bdi { direction: rtl; display: inline-flex; align-items: baseline; gap: var(--sc-space-1); }
.sc-hd .sc-cart .woocommerce-Price-currencySymbol { order: 1; }

/* نوار پیشرفت خواندن: یک خط ۲px در لبه‌ی پایین هدر (زمینه = خط، پرشده = آبی) */
html body #sc-header #shift-docs-readbar-track { bottom: 0; height: 2px; background: var(--sc-line); z-index: 3; }
html body #sc-header #shift-docs-readbar { box-shadow: none; border-radius: 0; }
.sc-hd.is-stuck:has(#shift-docs-readbar-track.is-active) .sc-nav__link::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .sc-hd.is-stuck { animation: none; }
  .sc-nav .sc-nav__dd, .sc-nav .sc-nav__link::after, .sc-nav .sc-nav__chev, .sc-hd .sc-cart, .sc-hd .sc-acc, .sc-hd__inner { transition: none; }
}

/* SHIFT 2026-11-11: ارتفاع هدر چسبان برای ماژول‌های دیگر (نوار ابزار لغت‌نامه و…) */
body.sc-hd-on { --sc-sticky-top: 56px; }
@media (min-width: 1024px) { body.sc-hd-on { --sc-sticky-top: 64px; } }

/* سبد خالی: آیکن و دکمه‌ی فروشگاه */
.sc-hd .sc-cart .woocommerce-mini-cart__empty-message {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 28px 12px 8px; text-align: center;
  font-size: 15px; font-weight: 700; color: var(--sc-ink);
}
.sc-hd .sc-cart .woocommerce-mini-cart__empty-message::before {
  content: ""; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sc-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2c31' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") no-repeat center / 28px;
}
.sc-hd .sc-cart .sc-cart-empty__hint { margin: 0; padding: 0 12px; text-align: center; font-size: 13px; color: #6e727c; }
.sc-hd .sc-cart .sc-cart-empty__btn {
  display: flex; align-items: center; justify-content: center; margin: 16px 12px 12px; min-height: 44px; border-radius: 12px;
  background: var(--sc-primary); color: var(--sc-on-primary) !important; font-size: 14px; font-weight: 700; text-decoration: none !important;
}
.sc-hd .sc-cart .sc-cart-empty__btn:hover { background: var(--sc-primary-hover); }

.woocommerce-mini-cart .quantity{font-size:12px;line-height:18px}
/* generate-blog-images */
.post-image-above-header .inside-article .featured-image,.post-image-above-header .inside-article .post-image{margin-top:0;margin-bottom:2em}.post-image-aligned-left .inside-article .featured-image,.post-image-aligned-left .inside-article .post-image{margin-top:0;margin-right:2em;float:left;text-align:left}.post-image-aligned-center .featured-image,.post-image-aligned-center .post-image{text-align:center}.post-image-aligned-right .inside-article .featured-image,.post-image-aligned-right .inside-article .post-image{margin-top:0;margin-left:2em;float:right;text-align:right}.post-image-below-header.post-image-aligned-center .inside-article .featured-image,.post-image-below-header.post-image-aligned-left .inside-article .featured-image,.post-image-below-header.post-image-aligned-left .inside-article .post-image,.post-image-below-header.post-image-aligned-right .inside-article .featured-image,.post-image-below-header.post-image-aligned-right .inside-article .post-image{margin-top:2em}.post-image-aligned-left>.featured-image,.post-image-aligned-right>.featured-image{float:none;margin-left:auto;margin-right:auto}.post-image-aligned-left .featured-image{text-align:left}.post-image-aligned-right .featured-image{text-align:right}.post-image-aligned-left .inside-article:after,.post-image-aligned-left .inside-article:before,.post-image-aligned-right .inside-article:after,.post-image-aligned-right .inside-article:before{content:"";display:table}.post-image-aligned-left .inside-article:after,.post-image-aligned-right .inside-article:after{clear:both}.one-container.post-image-above-header .no-featured-image-padding.generate-columns .inside-article .post-image,.one-container.post-image-above-header .page-header+.no-featured-image-padding .inside-article .post-image{margin-top:0}.one-container.both-right.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-right.post-image-aligned-center .no-featured-image-padding .post-image,.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .post-image{margin-right:0}.one-container.both-left.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-left.post-image-aligned-center .no-featured-image-padding .post-image,.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .post-image{margin-left:0}.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .post-image{margin-left:0;margin-right:0}.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .featured-image,.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .post-image{margin-left:0;margin-right:0}@media (max-width:768px){body:not(.post-image-aligned-center) .featured-image,body:not(.post-image-aligned-center) .inside-article .featured-image,body:not(.post-image-aligned-center) .inside-article .post-image{margin-right:0;margin-left:0;float:none;text-align:center}}
/* shift-core-custom */
p {
line-height: 1.8 !important;
}
body {
line-height: normal;
}
strong {
font-weight: 600 !important;
}
mark {
background-color: #fcf8e6;
color: #000;
}
h2.h-black {
background: #ededed;
width: fit-content;
padding: 4px 10px;
margin: 22px 0 -16px 23px !important;
}
ul.wp-block-list {
margin-right: 16px !important;
}
ol.wp-block-footnotes.has-small-font-size {
margin-right: 15px !important;
}
.foot-title {
margin-bottom: -11px !important;
margin-top: 100px;
}
ol.wp-block-footnotes {
margin-right: 10px;
}
p.sub-glos {
margin: 0px 0 5px 20px;
border-left: 1px dashed #e5e5e5;
border-bottom: 1px dashed #e5e5e5;
background: #FFF8E4;
font-size: 14px !important
}
.dic-acc summary::before {
content: "";
margin: 1px -17px 0 -15px;
font-family: fl-icons !important;
font-style: normal !important;
font-variant: normal !important;
font-weight: 600 !important;
line-height: 1.2;
position: absolute;
text-transform: none !important;
font-size: 17px;
color: #3366ff;
}
.dic-acc summary {
margin: 0px 0px 0 0px;
padding: 6px 10px 5px 10px;
direction: ltr;
border-bottom: 1px dashed #e5e5e5;
padding-bottom: 6px;
margin-bottom: 0px;
border-left: 4px solid #e5e5e5;
padding-left: 24px;
margin-top: 15px;
}
.dic-acc[open] summary::before{
transform: rotate(-90deg);
}
.dic-acc p {
padding: 5px 15px 0px 15px !important;
}
li {
line-height: 1.6;
margin-right: 15px;
}
blockquote {
border-left: 0 !important;
font-style: normal !important;
font-size: 1em !important;
padding: 9px 0.875em 9px 1em !important;
background: #f2f5ff;
border-right: 4px solid #3b6cff !important;
}
a.remove {
line-height: 22px!important;
}
button.toggle {
float: left !important;
}
ul.children {
margin: 1.5em 3em 1.5em 0 !important;
background: #f7f7f7;
padding: 0 18px;
}
.menu-item a:hover i {
color: #ffffff !important;
}
.menu-item i {
transition: color 0.3s ease;
}
.breadcrumbs {
font-weight: 100;
font-size: 14px;
}
.nav-pagination>li i {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
li.nav-icon.has-icon {
z-index: 99999999999 !important;
}
.doc_documentation_area.overlay {
background-color: inherit !important;
height: inherit !important;
left: inherit !important;
pointer-events: inherit !important;
right: inherit !important;
top: inherit !important;
transition: inherit !important;
}
button.pron {
font-size: 13px !important;
line-height: normal !important;
font-weight: 100 !important;
margin: 0px 0px 4px 10px !important;
padding: 4px 5px 4px 10px !important;
border-right: 2px solid #575757 !important;
min-height: auto;
background: #f6f9ff;
direction: rtl !important;
float: right;
}
button.pron .icon-play {
line-height: normal;
margin: -5px 0 0 0;
transform: rotate(180deg);
}
.pp-multiple-authors-boxes-wrapper {
margin-top: 30px;
margin-bottom: -40px;
border-bottom: 0px dashed #ededed;
border-top: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-left: 1px solid #cccccc;
padding: 14px 20px 36px 20px;
background: #f9faff;
}
.lab-main-dic:after {
content: "اصلی";
position: absolute;
padding: 2px 5px 0px 5px;
margin: -5px 0 0 0;
font-size: 9px;
background: #00a550;
border-radius: 50px;
color: #fff;
font-weight: 100;
}
.lab-no-dic:after {
content: "نادقیق";
position: absolute;
padding: 2px 5px 0px 5px;
margin: -5px 0 0 0;
font-size: 9px;
background: #d43e11;
border-radius: 50px;
color: #fff;
font-weight: 100;
}
.betterdocs-category-box-inner-wrapper.layout-4.betterdocs-categories-folder {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
gap: 0px !important;
}
.betterdocs-categories-folder.layout-4[style*="--count: 3"],
.betterdocs-categories-folder.layout-4[style*="--count: 2"],
.betterdocs-categories-folder.layout-4[style*="--count: 1"] {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-7 .betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper .betterdocs-single-category-wrapper.active.default.show:before {
right: 18px !important;
left: auto !important;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-7 .betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-body .betterdocs-articles-list li a.active:before {
right: -11px;
left: auto;
}
.betterdocs-search-layout-1 .search-bar .search-input-wrapper .search-input {
text-align: right !important;
}
.betterdocs-full-sidebar-right {
padding-right: 0px;
padding-left: 0px !important;
}
svg.toggle-arrow.arrow-right {
transform: rotate(180deg) !important;
}
.betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title {
margin-left: 0px !important;
margin-right: 0px !important;
}
ul.betterdocs-nested-category-list.betterdocs-current-category.active {
margin: 0px !important;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) {
margin: 5px 30px 0px 0 !important;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header {
padding-top: 15px;
padding-right: 30px;
padding-bottom: 15px;
padding-left: 15px;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper.active .betterdocs-single-category-inner .betterdocs-category-header {
background-color: #F6F7F9 !important;
margin: 0 30px 0 10px;
border-radius: 10px;
}
li.betterdocs-nested-category-wrapper {
margin-right: 6px !important;
}
.betterdocs-sidebar,
.betterdocs-sidebar .betterdocs-sidebar-content,
.betterdocs-sidebar .betterdocs-category-grid-wrapper,
.betterdocs-sidebar .betterdocs-category-grid-inner-wrapper,
.betterdocs-sidebar .betterdocs-single-category-wrapper,
.betterdocs-sidebar .betterdocs-single-category-inner,
.betterdocs-sidebar .betterdocs-category-header,
#betterdocs-sidebar-left,
#betterdocs-full-sidebar-left,
.betterdocs-full-sidebar-left,
.betterdocs-sidebar-layout-5,
.betterdocs-single-layout-5 .betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content,
.betterdocs-single-layout-5 .betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper {
box-shadow: none !important;
-webkit-box-shadow: none !important;
}
.betterdocs-single-layout-5 .betterdocs-breadcrumb {
margin-top: -90px;
}
ul.betterdocs-nested-category-list.active {
margin: 0px !important;
}
.betterdocs-content .batterdocs-anchor .tooltip-box {
font-size: .8rem;
padding: 5px 0px;
width: 98px;
}
.betterdocs-categories-folder.layout-4 .category-box {
border-right: 1px solid #eaecf0 !important;
border-left: 1px solid #eaecf0 !important;
border-bottom: 0px !important;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title {
margin-right: 10px;
margin-left: 10px;
background: #ffffff;
border-radius: 10px;
padding: 5px 5px;
border: 1px dotted #e1e1e1;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li{
margin-bottom: 0px !important;
}
.betterdocs-wrapper.betterdocs-.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title, .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title {
background: #f6f7f9;
border-radius: 10px;
padding: 1px 10px;
}
span.feedback-form-icon {
display: none !important;
}
.reading-time p svg {
margin-right: 0px !important;
margin-left: 5px !important;
}
a.feedback-form-link:before {
content: "+";
margin-left: 5px !important;
font-weight: 700;
font-size: 19px !important;
color: #5168f5;
}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body ul li {
margin-top: 10px !important;
margin-right: 35px !important;
}
input.search-submit {
margin-bottom: 0px !important;
}
.betterdocs-entry-footer {
border-bottom: 1px solid #cccccc;
border-top: 0 dashed #ededed;
border-right: 1px solid #cccccc;
border-left: 1px solid #cccccc;
padding: 6px 20px 3px 20px;
background: #f9faff;
margin-top: -7px;
}
.feedback-update-form {
margin: 20px 0 !important;
border-top: 2px solid #ededed;
padding-top: 20px;
}
.accord summary {
margin: 0px 16px 0 0;
padding: 15px 10px;
}
.accord {
background-color: #F9FAFF !important;
border-bottom: 1px solid #ccc;
}
.accord[open] {
border-bottom: none;
}
.accord summary::before {
content: "";
margin: 1px -17px 0 10px;
font-family: fl-icons !important;
font-style: normal !important;
font-variant: normal !important;
font-weight: 600 !important;
line-height: 1.2;
position: absolute;
text-transform: none !important;
font-size: 17px;
}
.accord[open] summary::before{
transform: rotate(90deg);
}
.accord ul {
border-right: 1px solid #ededed;
border-left: 1px solid #ededed;
border-bottom: 1px solid #ccc;
padding: 15px 25px 5px 10px;
margin-bottom: 0px;
margin-right: 0px !important;
}
.accord ul.wp-block-list {
margin-right: 0px !important;
}
.qute-acc summary::before {
content: "";
margin: 1px -17px 0 10px;
font-family: fl-icons !important;
font-style: normal !important;
font-variant: normal !important;
font-weight: 600 !important;
line-height: 1.2;
position: absolute;
text-transform: none !important;
font-size: 17px;
}
.qute-acc summary {
margin: -5px 7px 6px 0;
padding: 0px 10px 4px 10px;
font-size: 14px;
}
.qute-acc[open] summary::before{
transform: rotate(90deg);
}
.qute-acc p {
padding: 5px 0px 0px 0px !important;
}
.betterdocs-full-sidebar-left .betterdocs-sidebar-content {
scrollbar-width: none !important;
}
.betterdocs-searchform svg.docs-search-loader {
margin-right: auto !important;
margin-left: 15px !important;
}
.betterdocs-searchform svg.docs-search-close {
margin-right: auto !important;
margin-left: 13px !important;
}
form.betterdocs-searchform.betterdocs-advance-searchform {
margin-bottom: 0px !important;
}
.betterdocs-live-search .betterdocs-searchform .search-submit {
margin: 10px 0px;
}
.betterdocs-live-search .betterdocs-searchform {
padding-bottom: 10px !important;
}
select#betterdocs-search-category {
margin-bottom: 5px !important;
}
.betterdocs-searchform svg.docs-search-icon {
margin-right: 0px !important;
margin-left: auto !important;
}
.betterdocs-searchform .betterdocs-search-field
{
padding: 0 0px 0 15px !important;
}
.note-acc {
background:#FFF8E4;
padding: 10px 15px 10px 15px;
}
.note-acc summary {
margin: 0px 16px 10px 0;
padding: 5px 16px 5px 0px !important;
font-weight:800  !important;
}
.note-acc summary::before {
content: "";
margin: 2px -21px 0px 0px;
font-family: fl-icons !important;
font-style: normal !important;
font-variant: normal !important;
font-weight: 100 !important;
line-height: 1.2;
position: absolute;
text-transform: none !important;
font-size: 14px;
}
.note-acc[open] summary::before{
transform: rotate(45deg);
}
.note-acc ul {
padding: 5px 20px 5px 10px;
margin-bottom: 0px;
margin-right: 0px !important;
}
.note-acc p {
padding: 5px 10px 0px 15px !important;
}
.note-acc[open] summary {
border-bottom: 2px dotted #e3d4a9 !important;
padding-bottom: 14px !important;
margin-bottom: 14px;
}
.betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-field {
margin-bottom: 0px !important;
}
.betterdocs-ia-common-header {
background-image: none !important;
}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header {
margin: 0 30px 0 10px;
border-radius: 10px !important;
border: 1px solid #F6F7F9 !important;
}
.betterdocs-ia-common-header.home-page-header {
z-index: 9999999999;
}
.betterdocs-category-box-wrapper .betterdocs-category-box-inner-wrapper.ash-bg .betterdocs-single-category-wrapper {
box-shadow: none !important;
}
.betterdocs-mkb-wrapper.betterdocs-mkb-layout-1 .betterdocs-category-icon .betterdocs-category-icon-img {
height: auto !important;
}
.betterdocs-category-box-inner-wrapper.layout-1 .betterdocs-category-icon {
margin-bottom: -20px !important;
}
.betterdocs-live-search .docs-search-close path.close-line {
fill: #ff001f;
}
.betterdocs-live-search .docs-search-result {
min-width: 100% !important;
}
.docs-single-title .betterdocs-entry-title {
padding-bottom: 14px;
}
p.betterdocs-category-description {
width: 50%;
}
img.betterdocs-category-icon-img {
width: 70px !important;
}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-article-reactions .betterdocs-article-reactions-heading .betterdocs-reactions-title-tag
{
color: #000000;
}
.betterdocs-article-reactions {
margin-top: 20px !important;
padding: 20px 0 0 0px !important;
border-top: 2px solid #ededed !important;
}
.betterdocs-article-reactions .betterdocs-article-reaction-links.layout-1 li a:hover svg path {
fill: #3366ff !important;
}
.betterdocs-shortcode.betterdocs-article-reactions {
background-color: #f9faff;
}
.button i, button i {
top: 0.5px !important;
}
.hg-glossary .hg-content dl dt {
flex-basis: 40% !important;
margin: 0 10px 0 0 !important;
font-size: 14px;
}
.hg-glossary .hg-content dl {
direction: ltr;
}
dl.hg-item {
direction: ltr;
border-bottom: 1px dashed #e5e5e5;
padding: 6px 0 6px 10px !important;
margin: 0 0 6px 0px !important;
border-left: 4px solid #e5e5e5;
}
dl {
text-transform: none !important;
}
.hg-glossary .hg-search input {
direction: ltr;
}
.shift sub kbd {
font-family: inherit !important;
direction: rtl !important;
text-align: justify !important;
font-size: 13px !important;
background: #FFF8E4 !important;
padding: 10px 10px 10px 10px;
margin: 10px 0 10px 0;
border-bottom: 1px dashed #e5e5e5;
float: left !important;
width: 100%;
}
.shift sub {
font-size: 13px;
}
.shift sup kbd {
font-family: inherit !important;
direction: ltr !important;
text-align: justify !important;
font-size: 13px !important;
background: #FFF8E4 !important;
padding: 10px 10px 10px 10px;
margin: 10px 0 10px 0;
border-bottom: 1px dashed #e5e5e5;
float: left !important;
width: 100%;
}
.shift sup {
font-size: 13px;
}
.hg-glossary .hg-content dl dt {
flex-basis: 30% !important;
margin: 0 10px 0 0 !important;
font-size: 14px;
}
.hg-glossary .hg-nav {
direction: ltr;
display: flex;
flex-wrap: wrap;
justify-content: left !important;
border: 1px solid #D3D9EF;
border-radius: 10px 10px 0 0;
padding: 14px 0 12px 12px;
font-weight: 700;
background: #ffffff;
margin: 0 0 -20px 0 !important;
}
.hg-glossary .hg-search input {
border: 1px solid #D3D9EF !important;
border-radius: 10px !important;
}
.hg-glossary .hg-nav a {
display: block;
line-height: 1em;
text-decoration: none;
margin-bottom: 5px;
margin-top: 5px;
background:#3366FF;
margin-right:5px;
color:#fff;
border-radius:10px;
padding: 8px 10px 8px 10px !important
}
.hg-letter-section {
margin-bottom: 40px;
}
.hide {
transform: scale(0);
}
.betterdocs-mobile-nav .betterdocs-sidebar-icon span {
margin-right: 9px;
}
.betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper {
padding-top: 50px !important;
}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area {
padding-right: 0 !important;
padding-left: 0 !important;
}
.betterdocs-content-area {
padding: 0 0px 0px;
}
.betterdocs-searchform .search-submit {
margin-right: 0px;
}
.betterdocs-toc-icon {
position: fixed;
left: -10px !important;
top: 487px;
}
.betterdocs-mobile-nav .betterdocs-sidebar-icon span {
display: none;
}
.betterdocs-mobile-nav .betterdocs-sidebar-icon {
position: fixed;
right: -10px;
top: 486px;
}
.betterdocs-mobile-nav {
border-bottom: 0px !important;
}
.betterdocs-single-layout-5 .betterdocs-breadcrumb {
margin-left: 14px !important;
}
.betterdocs-searchform select:not(:focus) {
border: 1px solid #d3d9ef !important;
}
.betterdocs-categories-folder.layout-4[style*="--count: 3;"] {
grid-template-columns: repeat(1, 1fr);
justify-content: center;
}
.betterdocs-categories-folder.layout-4 .category-box {
border-right: 0px !important;
border-left: 0px !important;
border-bottom: 1px solid #eaecf0 !important;
}
.kh-lock{position:relative;background:#f2f5ff;border:1px solid #c7d4ff;border-radius:6px;padding:16px 56px 16px 18px !important;margin:12px 0 !important}
.kh-lock:before{content:"";position:absolute;right:18px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233366FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") no-repeat center/contain}
.kh-lock p{margin-bottom:6px;color:#000}
.kh-lock.kh-invite{padding-right:18px !important}
.kh-lock.kh-invite:before{display:none}
a.kh-cta{display:inline-block;margin-top:6px;background:#3366FF;color:#fff !important;padding:8px 20px;border-radius:6px;font-weight:700;text-decoration:none !important}
a.kh-cta:hover{background:#1f4fd6}
.kh-table table{font-size:14px}
.kh-table th{background:#000;color:#fff}
.kh-figure{margin:24px 0}
.kh-figure figcaption{text-align:center;font-size:13px;color:#555;margin-top:8px}
button.single_add_to_cart_button.button.alt {
font-family: IRANYekanX !important;
}
.rtl .woocommerce-MyAccount-navigation {
width: 100% !important;
}
.woocommerce-variation-description {
text-align: justify !important;
}
.icon-angle-left:before {
content: "" !important;
}
.woocommerce-variation-price {
font-size: 1.3em !important;
}
.rtl .woocommerce-MyAccount-content {
float: none !important;
width: auto !important;
}
.product-gallery-slider img, .product-thumbnails img {
width: auto !important;}
.checkout_coupon {
display: block !important;
}
.woocommerce-form-coupon-toggle {
display:none;
}
.woocommerce-form-login-toggle {
border: 2px dashed var(--fs-color-primary);
padding: 30px;
margin-bottom: 20px;
}
form.woocommerce-form.woocommerce-form-login.login {
border: 2px dashed var(--fs-color-primary);
padding: 30px;
margin-bottom: 20px;
}
.woocommerce .cart-collaterals {
display:none;
}
.woocommerce-checkout-review-order-table .cart_item {
display:none;
}
.woocommerce-checkout-review-order-table thead {
display:none;
}
#order_review_heading {
display:none;
}
.woocommerce-billing-fields__field-wrapper input, #coupon_code, .woocommerce-shipping-fields input, #order_comments_field textarea {
box-shadow: none;
border: 1px solid #dcdcdc;
padding: 20px 10px;
font-size: 14px;
}
.woocommerce-billing-fields__field-wrapper input:focus, #coupon_code:focus, .woocommerce-shipping-fields input:focus, #order_comments_field textarea:focus {
box-shadow: none;
border: 1px solid #1f1f1f;
}
#my-account-nav .menu-item > a:hover i {
color: #000 !important;
}
#wpdcom .wpdiscuz-textarea-wrap .ql-editor {
font-family: IRANYekanX, roboto, Arial !important;
}
.comment-list li .description, .commentlist li .description {
font-style: normal !important;
text-align: justify !important;
}
.html-before-comments.mb {
border-bottom: 2px solid #ececec;
border-top: 1px solid #ececec;
font-size: .8em;
padding: 0.5em 0 0.6em;
}
.simplefavorite-button.preset i {
left: 0;
right: .3em;
}
.simplefavorite-button.preset {
padding: .3em 2em .3em 1em !important;
font-size: 13px !important;
margin-right: 25px;
}
.favorites-list li {
border-top: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
.favorites-list p::before {
content: "\e8e6";
font-family: favorites !important;
color: #3366ff;
margin-left: 8px;
font-size: 1rem;
display: inline-block;
}
@media (min-width: 767px) {
p {
text-align: justify !important;
}
}
@media (max-width: 849px) {
nav.woocommerce-MyAccount-navigation {
display: none;
}
}
@media (max-width: 767px) {
.off-canvas:not(.off-canvas-center) li.html {
padding: 0 20px 15px 20px;
}
.icon-angle-left:before {
content: "" !important;
}
.open_icon {
top: 70px;
}
p.betterdocs-category-description {
width: 100%;
}
.betterdocs-mobile-nav .betterdocs-mobile-nav-icon-svg {
margin-right: 0px !important;
margin-left: 0px !important;
}
.betterdocs-mobile-nav .betterdocs-sidebar-icon span {
margin-right: 9px;
}
.betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper {
padding-top: 50px !important;
}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area {
padding-right: 0 !important;
padding-left: 0 !important;
}
.betterdocs-content-area {
padding: 0 0px 0px;
}
.betterdocs-toc-icon {
position: fixed;
left: -10px !important;
top: 487px;
}
.betterdocs-mobile-nav .betterdocs-sidebar-icon span {
display: none;
}
.betterdocs-mobile-nav .betterdocs-sidebar-icon {
position: fixed;
right: -10px;
top: 486px;
}
.betterdocs-mobile-nav {
border-bottom: 0px !important;
}
.betterdocs-single-layout-5 .betterdocs-breadcrumb {
margin-left: 14px !important;
}
select#betterdocs-search-category {
margin-bottom: 5px !important;
}
.betterdocs-categories-folder.layout-4[style*="--count: 3;"] {
grid-template-columns: repeat(1, 1fr);
justify-content: center;
}
.betterdocs-categories-folder.layout-4 .category-box {
border-right: 0px !important;
border-left: 0px !important;
border-bottom: 1px solid #eaecf0 !important;
}
.betterdocs-searchform select:not(:focus),
.betterdocs-searchform .betterdocs-search-category {
border: 1px solid #d3d9ef !important;
}
.betterdocs-live-search .betterdocs-searchform {
border-radius: 5px;
padding: 15px !important;
}
.betterdocs-live-search .betterdocs-searchform .search-submit {
margin: 10px 0;
}
.betterdocs-searchform svg {
height: 20px !important;
}
.betterdocs-searchform svg.docs-search-icon {
margin-right: 0;
margin-left: auto !important;
}
.betterdocs-searchform .betterdocs-search-field {
padding: 0 0 0 15px !important;
}
.betterdocs-searchform .search-submit {
margin-right: 0;
}
}
@media only screen and (max-width: 48em) {
.nav:not(.nav-slide) .active>.children{
margin: 1.5em 1em 1.5em 0 !important;
}
.digits-form_page {
min-height: 80vh !important;
}
.digits-form_heading {
font-size: 26px;
}
.open_icon {
top: 70px;
}
p.betterdocs-category-description {
width: 100%;
}
.betterdocs-searchform .betterdocs-search-category {
border: 1px solid #d3d9ef !important;
}
}
@media (max-width:640px){
.kh-table:not(.kh-grid) thead{display:none}
.kh-table:not(.kh-grid) table,.kh-table:not(.kh-grid) tbody,.kh-table:not(.kh-grid) tr,.kh-table:not(.kh-grid) td{display:block;width:100%}
.kh-table:not(.kh-grid) tr{border:1px solid #e5e5e5;border-radius:6px;margin-bottom:10px;padding:8px 12px;background:#fff !important}
.kh-table:not(.kh-grid) td{border:none !important;padding:3px 0 !important;background:none !important}
.kh-table:not(.kh-grid) td:first-child{font-weight:800;border-bottom:1px dotted #ccc !important;padding-bottom:6px !important;margin-bottom:4px}
.kh-grid{overflow-x:auto}
.kh-grid table{min-width:480px}
}
@media (max-width:768px){
.betterdocs-single-wrapper .betterdocs-content-full{display:block!important;padding:0!important}
}
.betterdocs-full-sidebar-right {
position: -webkit-sticky !important;
position: sticky !important;
top: 90px !important;
align-self: flex-start !important;
padding-right: 0 !important;
padding-left: 0 !important;
max-height: calc(100vh - 110px) !important;
}
.betterdocs-full-sidebar-right .right-sidebar-toc-container,
.betterdocs-full-sidebar-right [data-simplebar] {
max-height: calc(100vh - 120px) !important;
overflow-y: auto !important;
overflow-x: hidden !important;
overscroll- contain !important;
-webkit-overflow-scrolling: touch !important;
scrollbar-width: thin !important;
scrollbar-color: #cbd5e1 transparent !important;
}
.betterdocs-full-sidebar-right .simplebar-content-wrapper {
overflow-y: auto !important;
overscroll- contain !important;
}
.betterdocs-full-sidebar-right .simplebar-scrollbar:before {
background-color: #cbd5e1 !important;
border-radius: 4px !important;
}
.betterdocs-full-sidebar-right .betterdocs-toc {
max-height: none !important;
overflow: visible !important;
background: transparent !important;
padding: 8px 6px 24px 0 !important;
box-sizing: border-box !important;
}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-title {
font-size: 15px !important;
font-weight: 700 !important;
color: #1e293b !important;
margin: 0 0 14px 0 !important;
padding: 0 !important;
display: flex !important;
align-items: center !important;
gap: 8px !important;
}
.betterdocs-toc .toc-list,
.betterdocs-single-layout-4 .betterdocs-toc .toc-list,
.betterdocs-single-layout-5 .betterdocs-toc .toc-list {
position: relative !important;
border-right: 1px solid #e2e8f0 !important;
border-left: none !important;
padding: 4px 0 !important;
margin: 0 !important;
list-style: none !important;
}
.betterdocs-toc ul.betterdocs-toc-list-level-2,
.betterdocs-toc ul.betterdocs-toc-list-level-3,
.betterdocs-toc ul.betterdocs-toc-list-level-4 {
border: none !important;
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
}
.betterdocs-toc .toc-list li {
display: block !important;
margin: 0 !important;
padding: 0 !important;
position: relative !important;
width: 100% !important;
}
.betterdocs-toc .toc-list li a {
display: block !important;
position: relative !important;
margin-right: -1px !important;
margin-left: 0 !important;
padding: 6px 14px 6px 8px !important;
border-right: 2.5px solid transparent !important;
border-left: none !important;
color: #64748b !important;
font-size: 13px !important;
line-height: 1.65 !important;
text-decoration: none !important;
transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-2 {
margin-right: 0 !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-2 > a {
padding-right: 14px !important;
font-weight: 500 !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-3 {
margin-right: 0 !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-3 > a {
padding-right: 26px !important;
font-size: 12.5px !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-4 {
margin-right: 0 !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-4 > a {
padding-right: 38px !important;
font-size: 12px !important;
}
.betterdocs-toc .toc-list li a:hover {
color: #0f172a !important;
background-color: rgba(0, 0, 0, 0.02) !important;
border-radius: 4px 0 0 4px !important;
}
.betterdocs-toc .toc-list li a.active,
.betterdocs-toc .toc-list li.active > a,
.betterdocs-single-layout-4 .betterdocs-toc .toc-list li a.active,
.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a.active {
color: var(--shift-primary, #3366ff) !important;
border-right-color: var(--shift-primary, #3366ff) !important;
background-color: rgba(51, 102, 255, 0.05) !important;
border-radius: 4px 0 0 4px !important;
font-weight: 700 !important;
}
.betterdocs-toc.toc-list-number ul li a:before {
content: counters(item, ".") ". " !important;
counter-increment: item !important;
display: inline-block !important;
margin-left: 4px !important;
font-variant-numeric: tabular-nums !important;
font-weight: inherit !important;
opacity: 0.8 !important;
}
.betterdocs-single-layout-4 .betterdocs-toc .toc-list li a:after,
.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a:after,
.betterdocs-toc .toc-list li a:after {
display: none !important;
content: none !important;
}
.betterdocs-toc.toc-list-number ul li a {
display: flex !important;
align-items: flex-start !important;
gap: 6px !important;
overflow-wrap: anywhere !important;
}
.betterdocs-toc.toc-list-number ul li a:before {
flex: 0 0 auto !important;
min-width: 2.2em !important;
margin: 0 !important;
direction: ltr !important;
unicode-bidi: isolate !important;
text-align: right !important;
content: counters(item, ".") "." !important;
}
.betterdocs-full-sidebar-right .layout3-toc-container {
position: static !important;
}
.betterdocs-full-sidebar-right .simplebar-content-wrapper {
-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
scroll- smooth;
}
.betterdocs-toc .toc-list li {
width: auto !important;
}
.betterdocs-toc .toc-list li a {
box-sizing: border-box !important;
min-width: 0 !important;
padding-left: 8px !important;
}
.betterdocs-toc.toc-list-number ul li a {
display: block !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
padding-top: 5px !important;
padding-bottom: 5px !important;
}
.betterdocs-toc.toc-list-number ul li a:before {
display: inline-block !important;
min-width: 2.4em !important;
margin: 0 0 0 6px !important;
vertical-align: baseline !important;
}
.betterdocs-full-sidebar-right .betterdocs-toc > .toc-title {
padding-right: 14px !important;
}
.betterdocs-full-sidebar-right .betterdocs-toc {
display: block !important;
width: 100% !important;
max-width: 100% !important;
}
.betterdocs-toc.toc-list-number ul li a {
text-overflow: clip !important;
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px);
mask-image: linear-gradient(to right, transparent 0, #000 22px);
}
.betterdocs-toc.toc-list-number ul li a:before {
min-width: 0 !important;
margin: 0 0 0 5px !important;
}
.betterdocs-toc.toc-list-number ul li a {
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 44px) !important;
mask-image: linear-gradient(to right, transparent 0, #000 44px) !important;
}
.betterdocs-toc.toc-list-number ul li a {
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 26px) !important;
mask-image: linear-gradient(to right, transparent 0, #000 26px) !important;
}
.betterdocs-toc .toc-list li.betterdocs-toc-heading-level-3 {
margin-right: 6px !important;
}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a {
padding-right: 8px !important;
letter-spacing: -0.4px !important;
}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-list li a:before {
font-size: 13px !important;
letter-spacing: 0 !important;
}
.betterdocs-toc.toc-list-number ul li a {
display: flex !important;
align-items: flex-start !important;
white-space: normal !important;
overflow: visible !important;
text-overflow: clip !important;
-webkit-mask-image: none !important;
mask-image: none !important;
line-height: 1.45 !important;
padding-top: 3px !important;
padding-bottom: 3px !important;
}
.betterdocs-toc.toc-list-number ul li a:before {
flex: 0 0 auto !important;
display: block !important;
margin: 0 0 0 5px !important;
}
@media (max-width: 768px) {
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
position: fixed !important;
top: 0 !important;
bottom: 0 !important;
left: auto !important;
height: 100% !important;
max-height: none !important;
width: 300px !important;
max-width: 86vw !important;
margin: 0 !important;
padding: 24px 12px 0 !important;
box-sizing: border-box !important;
overflow: hidden !important;
z-index: 2 !important;
}
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right .layout3-toc-container,
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right [data-simplebar] {
position: static !important;
max-height: calc(100vh - 48px) !important;
height: calc(100vh - 48px) !important;
}
}
@media (max-width: 768px) {
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
padding-top: 96px !important;
}
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right .layout3-toc-container,
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right [data-simplebar] {
max-height: calc(100vh - 120px) !important;
height: calc(100vh - 120px) !important;
}
}
ul.betterdocs-nested-category-list > li {
margin: 0 !important;
padding: 0 !important;
min-height: auto !important;
}
ul.betterdocs-nested-category-list > li > a {
line-height: 1.5 !important;
padding-top: 6px !important;
padding-bottom: 6px !important;
}
@media (max-width: 768px) {
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
padding-top: 150px !important;
}
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right .layout3-toc-container,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right [data-simplebar] {
max-height: calc(100vh - 174px) !important;
height: calc(100vh - 174px) !important;
}
html body .betterdocs-sidebar .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) {
margin: 0 !important;
padding: 0 !important;
min-height: auto !important;
gap: 6px !important;
align-items: flex-start !important;
}
html body .betterdocs-sidebar .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > a {
padding: 5px 6px !important;
line-height: 1.45 !important;
margin: 0 !important;
}
html body .betterdocs-sidebar .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > svg {
margin: 7px 0 0 !important;
width: 14px !important;
height: 14px !important;
}
html body .betterdocs-sidebar ul.betterdocs-nested-category-list {
padding-top: 4px !important;
padding-bottom: 6px !important;
margin: 0 !important;
}
}
@media (max-width: 768px) {
html body .betterdocs-mobile-toc-wrapper aside#betterdocs-sidebar-right,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
top: 84px !important;
bottom: 0 !important;
height: auto !important;
padding: 12px 12px 0 !important;
}
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right .layout3-toc-container,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right [data-simplebar] {
max-height: calc(100vh - 110px) !important;
height: calc(100vh - 110px) !important;
}
html body .betterdocs-mobile-toc-wrapper .betterdocs-toc > .toc-title {
margin-top: 0 !important;
}
}
html body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a {
padding: 3px 8px !important;
line-height: 1.5 !important;
}
html body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg {
margin-top: 7px !important;
}
html body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li {
min-height: auto !important;
margin: 0 !important;
}
@media (max-width: 768px) {
html body .betterdocs-wrapper p,
html body .betterdocs-wrapper li,
html body .betterdocs-entry-content,
html body .betterdocs-entry-body,
html body .betterdocs-content-area,
html body .betterdocs-single-wrapper p,
html body.kh-test .betterdocs-taxonomy-doc-category p {
text-align: justify !important;
text-justify: inter-word !important;
}
}
@media (max-width: 768px) {
html body .betterdocs-mobile-toc-wrapper aside#betterdocs-sidebar-right,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
top: 72px !important;
padding: 0 12px 0 !important;
}
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right .layout3-toc-container,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right [data-simplebar] {
margin-top: -22px !important;
max-height: calc(100vh - 60px) !important;
height: calc(100vh - 60px) !important;
}
}
html body.kh-test.tax-doc_category.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a,
html body.kh-test.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a {
padding: 2px 8px !important;
line-height: 1.5 !important;
}
html body.kh-test.tax-doc_category.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg,
html body.kh-test.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg {
margin-top: 6px !important;
}
html body.kh-test.tax-doc_category.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li,
html body.kh-test.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li {
min-height: auto !important;
margin: 0 !important;
padding: 0 !important;
}
@media (max-width: 768px) {
html body.kh-test.kh-test .betterdocs-entry-content p,
html body.kh-test.kh-test .betterdocs-entry-content li,
html body.kh-test.kh-test .betterdocs-entry-body p {
text-align: justify !important;
}
}
@media (max-width: 768px) {
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right .layout3-toc-container,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right [data-simplebar] {
margin-top: 0 !important;
max-height: calc(100vh - 100px) !important;
height: calc(100vh - 100px) !important;
}
html body .betterdocs-mobile-toc-wrapper .betterdocs-toc,
html body .betterdocs-mobile-toc-wrapper .betterdocs-toc.toc-list-number {
margin-top: 0 !important;
padding-top: 6px !important;
}
html body .betterdocs-mobile-toc-wrapper aside#betterdocs-sidebar-right,
html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
padding-top: 12px !important;
}
}
@media (max-width: 768px) {
html body.kh-test.kh-test .betterdocs-entry-title p,
html body .betterdocs-content-area .betterdocs-entry-title p {
text-align: justify !important;
text-justify: inter-word !important;
}
}

/* shift-footer */
/*
 * SHIFT.camp — فوتر سایت (DESIGN.md نسخه‌ی ۲ — فقط توکن‌های sc-tokens.css)
 * اضافه‌شده: 1 آبان 1405 · تبدیل به توکن: 2 آبان 1405 (2026-10-24)
 * محتوا: الگوی گوتنبرگ «فوتر سایت» (wp_block، نامک shift-footer) — از نمایها ← الگوها ویرایش می‌شود.
 * بارگذار: wp-content/novamira-sandbox/shift-footer.php
 * پشتیبان: footer/_backup-2026-10-24/shift-footer.css
 */


#footer .shift-footer {
	background: var(--sc-inverse) !important;
	color: var(--sc-on-inverse-text);
	padding-top: var(--sc-space-7) !important;
	padding-bottom: 0 !important;
	font-size: var(--sc-body-s-size);
	line-height: 1.5;
}

.shift-footer a { color: var(--sc-on-inverse-text); text-decoration: none; transition: var(--sc-transition); }
.shift-footer a:hover { color: var(--sc-on-inverse); }
.shift-footer a:focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 2px; }
.shift-footer p { margin: 0; text-align: right; }
.shift-footer .text p:empty { display: none; }

/* ستون برند */
.shift-footer .sf-brand-inner { display: flex; flex-direction: column; gap: var(--sc-space-4); align-items: flex-start; }
.shift-footer .sf-main { display: flex; flex-direction: column; gap: 14px; }
/* SHIFT 2026-11-10: لوگوها با ارتفاع کنترل می‌شوند (تناسب بصری)؛ لوگوی دانش‌کده چون ظریف‌تر است بزرگ‌تر از لوگوی شیفت‌کمپ */
.shift-footer .sf-logo img { display: block; height: 44px !important; width: auto !important; max-width: none; opacity: .5; }
.shift-footer .sf-kh img { height: 62px !important; }
.shift-footer .sf-logo:hover img { opacity: 1; }
.shift-footer .sf-tagline { font-size: var(--sc-body-s-size); color: var(--sc-on-inverse-text); }
.shift-footer .sf-kh { align-self: stretch; padding-top: var(--sc-space-4); border-top: var(--sc-border) solid var(--sc-inverse-line); }

/* ستون‌های لینک (عنوان براکت‌دار در محتوای بلوک) */
.shift-footer .sf-title { margin: 0 0 20px; font-size: var(--sc-label-l-size); font-weight: var(--sc-weight-bold); color: var(--sc-on-inverse); line-height: 1.5; }
.shift-footer ul.sf-links { list-style: none; margin: 0; padding: 0; }
.shift-footer ul.sf-links li { list-style: none; margin: 0 0 10px; padding: 0; font-size: var(--sc-body-s-size); }

/* کادر تماس */
.shift-footer .sf-contact > .col-inner,
.shift-footer .sf-contact > .sf-cell__in {
	background: var(--sc-inverse-card);
	border: var(--sc-border) solid var(--sc-inverse-card-line);
	border-radius: var(--sc-radius-md);
	padding: 28px;
}
.shift-footer .sf-contact h3 { margin: 0 0 14px; font-size: var(--sc-title-l-size); font-weight: var(--sc-weight-bold); line-height: var(--sc-title-l-lh); color: var(--sc-on-inverse); }
.shift-footer .sf-contact p { color: var(--sc-on-inverse-strong); line-height: 1.9; margin-bottom: 22px; }
.shift-footer .sf-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-space-2); }
/* دکمه‌های بله/تلگرام = Filled روی زمینه‌ی تیره (سفید با متن ink) */
.shift-footer a.sf-btn {
	height: var(--sc-touch); display: flex; align-items: center; justify-content: center; gap: var(--sc-space-2);
	background: var(--sc-on-inverse); color: var(--sc-ink); border-radius: var(--sc-radius-sm);
	font-size: var(--sc-label-l-size); font-weight: var(--sc-weight-bold); white-space: nowrap;
}
.shift-footer a.sf-btn:hover { background: var(--sc-line); color: var(--sc-ink); }
.shift-footer a.sf-btn svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sc-accent); }

/* نوار پایینی */
.shift-footer .sf-bottom-col { padding-bottom: 0 !important; }
.shift-footer .sf-bottom {
	border-top: var(--sc-border) solid var(--sc-inverse-line);
	padding: 20px 0 var(--sc-space-4);
	display: flex; justify-content: space-between; align-items: center; gap: var(--sc-space-4);
	font-size: var(--sc-label-m-size); line-height: 1.6;
}
.shift-footer .sf-legal { display: flex; flex-direction: column; gap: 2px; }
.shift-footer .sf-copy { direction: ltr; text-align: right; color: var(--sc-on-inverse-muted); }
.shift-footer .sf-badges { display: flex; gap: var(--sc-space-2); flex-shrink: 0; }
.shift-footer .sf-badges a {
	width: 52px; height: 52px; box-sizing: border-box; padding: 6px;
	background: var(--sc-on-inverse); border-radius: var(--sc-radius-sm);
	display: flex; align-items: center; justify-content: center;
}
.shift-footer .sf-badges img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.shift-footer .sf-badges a.sf-zp img { width: 32px; height: 32px; }

/* تبلت */
@media (min-width: 550px) and (max-width: 849px) {
	.shift-footer .sf-btns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 849px) {
	.shift-footer .sf-brand-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.shift-footer .sf-kh { align-self: auto; padding-top: 0; border-top: 0; }
}

/* موبایل (اندازه‌های تایپ از خود توکن‌ها) */
@media (max-width: 549px) {
	#footer .shift-footer { padding-top: var(--sc-space-6) !important; }
	.shift-footer .sf-brand { order: -2; }
	.shift-footer .sf-contact { order: -1; }

	/* logos: no paragraph margin, vertically centered */
	.shift-footer .sf-brand-inner > * { margin: 0; padding: 0; }
	.shift-footer .sf-brand-inner > p { line-height: 0; }
	.shift-footer .sf-logo { display: block; line-height: 0; }
	.shift-footer .sf-brand-inner { align-items: center; gap: var(--sc-space-3); }
	.shift-footer .sf-tagline { font-size: var(--sc-label-m-size); }
	.shift-footer .sf-contact > .col-inner,
.shift-footer .sf-contact > .sf-cell__in { padding: var(--sc-space-4); }
	.shift-footer ul.sf-links li { margin: 0; }
	/* SHIFT 2026-11-10: فاصله‌ی ردیف لینک‌ها کمتر شد (قبلاً ۴۴px) */
	.shift-footer ul.sf-links li a { display: flex; align-items: center; min-height: 34px; }
	.shift-footer .sf-title { margin-bottom: 6px; }
	.shift-footer .sf-bottom { flex-direction: column-reverse; text-align: center; gap: 14px; padding-bottom: 72px; } /* جا برای دکمه‌های شناور */
	.shift-footer .sf-copy { text-align: center; }
	.shift-footer .sf-badges a { width: 48px; height: 48px; }
}

/* SHIFT 2026-11-10: این بخش قبلاً داخل header-buttons.css بود؛ به فایل خودِ فوتر منتقل شد. */
/* ---------- موبایل: لوگوهای فوتر وسط، هم‌قد، با جداکننده ---------- */
@media (max-width: 849px) {
	.shift-footer .sf-brand-inner {
		flex-direction: row !important;
		justify-content: center !important;
		align-items: flex-start !important; /* SHIFT 2026-11-10: لوگوها از بالا هم‌تراز (قبلاً وسط) */
		gap: 0 !important;
	}
	.shift-footer .sf-brand-inner > .sf-main,
	.shift-footer .sf-brand-inner > p {
		display: flex !important;
		align-items: flex-start !important;
		margin: 0 !important;
		padding: 0 12px !important;
	}
	.shift-footer .sf-brand-inner > p {
		border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
	}
	/* SHIFT 2026-11-10: لوگوها بزرگ‌تر شدند؛ لوگوی دانش‌کده چون ظریف‌تر است بیشتر، تا تناسب بصری داشته باشند */
	.shift-footer .sf-brand-inner .sf-logo img {
		height: 40px !important;
		width: auto !important;
		max-width: 160px !important;
		opacity: 0.92 !important;
	}
	.shift-footer .sf-brand-inner .sf-kh img {
		height: 54px !important;
		max-width: 160px !important;
	}
}

/* SHIFT 2026-11-11: فوتر مستقل از قالب (site-footer.php + پل سازگاری) */
.sc-footer .shift-footer { padding-inline: var(--sc-space-3); }
.sc-footer .shift-footer h3, .sc-footer .shift-footer h4 { color: var(--sc-on-inverse); }
.sc-footer .shift-footer img { max-width: none; }

/* SHIFT 2026-11-11: موبایل — دو لوگو همیشه کنار هم (نه زیر هم) */
@media (max-width: 849px) {
	.shift-footer .sf-brand-inner { flex-wrap: nowrap !important; }
	.shift-footer .sf-brand-inner > .sf-main,
	.shift-footer .sf-brand-inner > p { flex: 0 1 auto; min-width: 0; }
	.shift-footer .sf-brand-inner .sf-logo img { max-width: 38vw !important; }
	.shift-footer .sf-brand-inner .sf-main { flex-direction: row !important; }
}

/* چیدمان ستونی فوتر (بدون وابستگی به قالب) */
.sf-sec { position: relative; padding-block: var(--p, 64px); background: var(--bg, transparent); }
.sf-sec.has-bg { box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.sf-row { display: flex; flex-wrap: wrap; max-width: calc(var(--sc-container, 1170px) + var(--g, 30px)); margin-inline: auto; box-sizing: border-box; }
.sf-cell { flex: 0 0 calc(var(--s, 12) / 12 * 100%); max-width: calc(var(--s, 12) / 12 * 100%); padding: 0 calc(var(--g, 30px) / 2) var(--g, 30px); box-sizing: border-box; min-width: 0; }
@media (max-width: 849px) { .sf-cell { flex-basis: calc(var(--s-md, var(--s-sm, 12)) / 12 * 100%); max-width: calc(var(--s-md, var(--s-sm, 12)) / 12 * 100%); } }
@media (max-width: 549px) { .sf-cell { flex-basis: calc(var(--s-sm, 12) / 12 * 100%); max-width: calc(var(--s-sm, 12) / 12 * 100%); } }
.sf-ver { opacity: .7; }

/* سطر پایین فوتر: هر خط در موبایل یک‌خطی */
.shift-footer .sf-legal > span { white-space: nowrap; }
@media (max-width: 549px) { .shift-footer .sf-legal > span { font-size: clamp(9px, 2.9vw, 12px); } }

/* shift-kh-design */
/* =====================================================================
   SHIFT KnowHouse — زبان طراحی واحد دانش‌کده (فقط CSS، بدون تغییر محتوا)
   فعال روی سایت از 2026-10-23 (۱ آبان ۱۴۰۵). نمایش ظاهر قبلی: ?kh_test=0 · نمونه‌ی کادرها: ?kh_demo=1
   خاموش کردن برای همه: گزینه‌ی shift_kh_live = 0
   پشتیبان فایل‌های قبلی: knowhouse/_backup-2026-10-23/

   کلاس‌های قابل‌استفاده در گوتنبرگ (بلوک ← پیشرفته ← «کلاس(های) CSS اضافی»):
     kh-warning  هشدار (قرمز)       kh-note  یادداشت (زرد)
     kh-info     اطلاعات (آبی)        kh-tip   نکته (سبز)
     هایلایت: ابزار «هایلایت» خود گوتنبرگ (هر رنگی انتخاب شود، زرد برند نمایش داده می‌شود)
     پاراگرافی که کلش هایلایت شود = خودکار کادر هشدار

   بخش‌ها: ۱ توکن‌ها · ۲ سربرگ · ۳ متن · ۴ اجزا · ۵ کادرها و هایلایت · ۶ جمع‌شوها
          ۷ پانویس، پدیدآورندگان · ۸ فهرست مطالب · ۹ نوار کناری · ۱۰ دکمه‌های موبایل · ۱۱ موبایل
   ===================================================================== */

/* ---------- ۱. توکن‌ها ---------- */
body.kh-test {
  --kh-ink: var(--sc-ink);
  --kh-text: var(--sc-text);
  --kh-surface: var(--sc-surface);
  --kh-line: var(--sc-line);
  --kh-bg: var(--sc-bg);
  --kh-accent: var(--sc-accent);
  --kh-accent-soft: var(--sc-accent-container);
  --kh-success: var(--sc-success);
  --kh-success-ink: var(--sc-ref-green-700);
  --kh-success-soft: var(--sc-success-container);
  --kh-alert: var(--sc-error);
  --kh-alert-ink: var(--sc-ref-red-700);
  --kh-alert-soft: var(--sc-error-container);
  --kh-note: #E0A100;
  --kh-note-ink: #7A5A00;
  --kh-note-paper: #FFFAE8;
  --kh-note-line: #F2E4B8;
  --kh-highlight: #FFEFA6;
  --kh-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --kh-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --kh-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E");
  --kh-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  --kh-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
  --kh-sticky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9l-6 6H5a1 1 0 0 1-1-1z'/%3E%3Cpath d='M14 20v-5a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
  --kh-pen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E");
  --kh-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 4v16L4 12z'/%3E%3C/svg%3E");
  --kh-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 19V5'/%3E%3C/svg%3E");
  --kh-openbook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h6a4 4 0 0 1 4 4v11a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 5h-6a4 4 0 0 0-4 4v11a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
  --kh-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M5 12l7-7 7 7'/%3E%3C/svg%3E");
  --kh-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");
}

/* ---------- ۲. سربرگ مقاله: مسیر با «/» و برچسب سیاه، عنوان با براکت برند ---------- */
/* یک خط، اسکرول افقی بدون نوار اسکرول، لبه‌ی بیرون‌افتاده محو (کلاس‌ها را اسکریپت کوچک می‌گذارد) */
body.kh-test .betterdocs-breadcrumb {
  position: static !important; top: auto !important; right: auto !important; left: auto !important;
  width: 100% !important; max-width: 100% !important; margin: 0 0 10px !important; overflow: hidden; box-sizing: border-box;
}
/* فاصله‌ای که برای بردکرامب شناور قبلی رزرو بود */
body.kh-test .betterdocs-content-area { margin-top: 28px !important; }
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-list {
  display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 0;
  margin: 0 !important; padding: 2px 0 !important; overflow-x: auto; overflow-y: hidden; white-space: nowrap;
  scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-list::-webkit-scrollbar { display: none; }
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-item { flex: none; white-space: nowrap; margin: 0 !important; }
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-list.kh-more-start { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 32px); mask-image: linear-gradient(to left, transparent 0, #000 32px); }
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-list.kh-more-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px); mask-image: linear-gradient(to right, transparent 0, #000 32px); }
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-list.kh-more-start.kh-more-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); }
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-item :is(a, span) {
  font-size: 12.5px !important; font-weight: 400 !important; color: var(--kh-text) !important; text-decoration: none !important;
  transition: color .15s ease-out;
}
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-item a:hover { color: var(--kh-ink) !important; }
/* جداکننده: به‌جای فلش، «/» نازک */
body.kh-test .betterdocs-breadcrumb .breadcrumb-delimiter { margin: 0 8px !important; }
body.kh-test .betterdocs-breadcrumb .breadcrumb-delimiter .icon-container { display: none !important; }
body.kh-test .betterdocs-breadcrumb .breadcrumb-delimiter::before { content: "/"; font-size: 13px; color: #B9BDC7; }
/* آیتم فعلی: آبی برند */
body.kh-test .betterdocs-breadcrumb .betterdocs-breadcrumb-item:last-child :is(a, span) { color: var(--kh-accent) !important; font-weight: 700 !important; }

/* عنوان مقاله */

body.kh-test .betterdocs-entry-title {
  font-size: 40px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: -0.5px;
  color: var(--kh-ink) !important; padding-bottom: 16px !important; margin-bottom: 24px !important;
  border-bottom: 3px solid var(--kh-ink) !important; /* خط زیر عنوان، هم‌خانواده‌ی خط H2 */
}

/* ---------- ۳. متن ---------- */
body.kh-test .betterdocs-entry-content { font-size: 17px; line-height: 1.9; color: var(--kh-text); }
body.kh-test .betterdocs-entry-content p { text-align: justify !important; line-height: 1.9 !important; margin: 0 0 16px; color: var(--kh-text); font-size: 14px; }
body.kh-test .betterdocs-entry-content :is(.shift-outcomes__title, .shift-outcomes__head p) { margin: 0 !important; padding: 0 !important; color: var(--sc-on-primary) !important; text-align: right !important; line-height: 1.6 !important; }
body.kh-test .betterdocs-entry-content :is(p[dir="ltr"], p.has-text-align-left) { text-align: left !important; }
body.kh-test .betterdocs-entry-content p.has-text-align-center { text-align: center !important; }
body.kh-test .betterdocs-entry-content strong { font-weight: 700 !important; color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content a { color: var(--kh-accent); font-weight: 600; text-decoration: none; transition: color .15s ease-out; }
body.kh-test .betterdocs-entry-content a:hover { color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content a strong { color: inherit; }
body.kh-test .betterdocs-entry-content ul.wp-block-list { margin: 0 0 16px !important; padding: 0 var(--sc-space-5) 0 0 !important; }
body.kh-test .betterdocs-entry-content ol { padding-right: var(--sc-space-5); }
body.kh-test .betterdocs-entry-content li { margin: 0 0 var(--sc-space-1) !important; line-height: var(--sc-body-s-lh); }
body.kh-test .betterdocs-entry-content .wp-block-separator:not(.is-style-dots) { display: none !important; }
body.kh-test .betterdocs-entry-content .wp-block-spacer { height: 8px !important; }

/* ---------- ۴. اجزای مقاله ---------- */

/* بلوک «واژه / نوع واژه» + دکمه‌های تلفظ */
body.kh-test .betterdocs-entry-content p:has(> button.pron) {
  font-size: 14px; line-height: 2 !important; color: var(--kh-text);
  background: var(--kh-surface); border-radius: 10px; padding: 14px 18px; margin-bottom: 28px;
}
body.kh-test .betterdocs-entry-content p:has(> button.pron) strong { color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content button.pron {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
  vertical-align: middle; height: 26px; min-height: 0; width: auto;
  margin: 8px 0 0 6px !important; padding: 0 11px !important; float: none !important;
  border: 1px solid var(--kh-ink) !important; border-radius: 999px; background: var(--kh-ink) !important;
  color: var(--kh-bg) !important; font-size: 11.5px !important; font-weight: 700 !important; line-height: 1 !important;
  text-transform: none; box-shadow: none; transition: background .15s ease-out, color .15s ease-out;
}
body.kh-test .betterdocs-entry-content button.pron .icon-play { display: none; }
body.kh-test .betterdocs-entry-content button.pron::before {
  content: ""; width: 8px; height: 8px; background: currentColor;
  -webkit-mask: var(--kh-play) center / contain no-repeat; mask: var(--kh-play) center / contain no-repeat;
}
body.kh-test .betterdocs-entry-content button.pron span { font-weight: 700 !important; }
body.kh-test .betterdocs-entry-content button.pron:hover { background: var(--kh-bg) !important; color: var(--kh-ink) !important; }

/* عنوان بخش (H2): برچسب معکوس برند — زمینه‌ی سیاه، متن سفید */
body.kh-test .betterdocs-entry-content h2.wp-block-heading {
  display: table; width: auto !important;
  font-size: 21px !important; line-height: 1.45 !important; font-weight: 700 !important;
  color: var(--kh-bg) !important; background: var(--kh-ink) !important;
  border: 0 !important; border-radius: 0 !important;
  padding: 6px 16px !important; margin: 56px 0 22px !important;
}
body.kh-test .betterdocs-entry-content h2.wp-block-heading :is(strong, a) { color: inherit !important; }
/* خط تمام‌عرض زیر عنوان، چسبیده به برچسب سیاه */
body.kh-test .betterdocs-entry-content { container-type: inline-size; }
body.kh-test .betterdocs-entry-content h2.wp-block-heading { position: relative; }
body.kh-test .betterdocs-entry-content h2.wp-block-heading::after {
  content: ""; position: absolute; right: 0; top: 100%; width: 100cqw; height: 3px; background: var(--kh-ink); pointer-events: none;
}

/* زیرعنوان و معادل‌ها (H3) */
body.kh-test .betterdocs-entry-content h3.wp-block-heading {
  display: block; font-size: 20px !important; line-height: 1.45 !important; font-weight: 700 !important; color: var(--kh-ink) !important;
  margin: 36px 0 10px !important; padding: 0 !important;
}
body.kh-test .betterdocs-entry-content h3.wp-block-heading strong { font-weight: inherit !important; }
/* برچسب «اصلی / نادقیق»: بالانویس و ریز، مثل قبل */
body.kh-test .betterdocs-entry-content h3:is(.lab-main-dic, .lab-no-dic)::after {
  position: relative !important; top: -0.85em; display: inline-block;
  margin: 0 6px 0 0 !important; padding: 1px 8px 0 !important;
  font-size: 10px !important; line-height: 1.7 !important; font-weight: 700 !important; letter-spacing: 0;
  border-radius: 999px !important; vertical-align: baseline;
}
body.kh-test .betterdocs-entry-content h3.lab-main-dic::after { content: "اصلی" !important; background: var(--kh-success-soft) !important; color: var(--kh-success-ink) !important; }
body.kh-test .betterdocs-entry-content h3.lab-no-dic::after { content: "نادقیق" !important; background: var(--kh-alert-soft) !important; color: var(--kh-alert-ink) !important; }

/* نقل‌قول (همه‌ی نقل‌قول‌ها: تعریف رسمی، دهخدا، …) */
body.kh-test .betterdocs-entry-content blockquote {
  margin: 0 0 16px !important; padding: 18px 22px !important;
  background: var(--kh-accent-soft) !important;
  border: 1px solid var(--kh-line) !important; border-radius: 10px !important;
  font-size: 16px !important; font-style: normal !important; color: var(--kh-ink);
}
body.kh-test .betterdocs-entry-content blockquote::before { display: none !important; }
body.kh-test .betterdocs-entry-content blockquote p { color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content blockquote > :last-child { margin-bottom: 0 !important; }
/* تعریف رسمی: پاراگراف اول (نام منبع) → برچسب کوچک */
body.kh-test .betterdocs-entry-content blockquote:has(.qute-acc) { padding: 22px 24px 18px !important; font-size: 16px !important; }
body.kh-test .betterdocs-entry-content blockquote:has(.qute-acc) > p:first-child {
  display: inline-block; margin: 0 0 14px !important; padding: 2px 12px; border-radius: 999px;
  background: var(--kh-bg); font-size: 12px; line-height: 1.8 !important;
}
body.kh-test .betterdocs-entry-content blockquote:has(.qute-acc) > p:first-child :is(strong, a) { color: var(--kh-accent); font-weight: 700 !important; }

/* ---------- ۵. کادرها و هایلایت ---------- */

/* هایلایت درون متن */
body.kh-test .betterdocs-entry-content mark {
  background: var(--kh-highlight) !important; color: var(--kh-ink) !important;
  padding: 1px 3px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* رنگ متنِ دستی (mark شفاف) هایلایت نیست */
body.kh-test .betterdocs-entry-content mark[style*="rgba(0, 0, 0, 0)"] { background: none !important; padding: 0; color: inherit !important; }

/* خانواده‌ی کادرها: زمینه‌ی سفید، حاشیه‌ی نازک، نوار و آیکون رنگی */
body.kh-test .betterdocs-entry-content :is(.kh-warning, .kh-note, .kh-info, .kh-tip) {
  position: relative; margin: 0 0 16px; padding: 12px 48px 12px 16px !important;
  background: var(--kh-bg) !important; border: 1px solid var(--kh-c) !important; border-radius: 10px !important;
  box-shadow: inset 0 0 0 1px var(--kh-line); color: var(--kh-ink); font-size: 16px;
}
body.kh-test .betterdocs-entry-content :is(.kh-warning, .kh-note, .kh-info, .kh-tip)::before {
  content: ""; position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; background: var(--kh-c);
  -webkit-mask: var(--kh-i) center / contain no-repeat; mask: var(--kh-i) center / contain no-repeat;
}
body.kh-test .betterdocs-entry-content :is(.kh-warning, .kh-note, .kh-info, .kh-tip) p { color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content :is(.kh-warning, .kh-note, .kh-info, .kh-tip) > :last-child { margin-bottom: 0 !important; }
body.kh-test .betterdocs-entry-content .kh-warning mark { background: none !important; padding: 0; font-weight: 700; }
body.kh-test .betterdocs-entry-content .kh-warning { --kh-c: var(--kh-alert); --kh-i: var(--kh-warn); }
body.kh-test .betterdocs-entry-content .kh-note { --kh-c: var(--kh-note); --kh-i: var(--kh-pen); }
body.kh-test .betterdocs-entry-content .kh-info { --kh-c: var(--kh-accent); --kh-i: var(--kh-info); }
body.kh-test .betterdocs-entry-content .kh-tip  { --kh-c: var(--kh-success); --kh-i: var(--kh-bulb); }

/* ---------- ۶. جمع‌شوها ---------- */
body.kh-test .betterdocs-entry-content .wp-block-details summary {
  list-style: none; cursor: pointer; display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
  direction: rtl; border: 0 !important; font-weight: 700 !important; color: var(--kh-ink);
}
body.kh-test .betterdocs-entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
body.kh-test .betterdocs-entry-content .wp-block-details summary::before { content: none !important; display: none !important; }
body.kh-test .betterdocs-entry-content .wp-block-details summary br { display: none; }
body.kh-test .betterdocs-entry-content .wp-block-details summary strong { font-weight: inherit !important; color: inherit; }
body.kh-test .betterdocs-entry-content .wp-block-details summary::after {
  content: ""; flex: none; width: 18px; height: 18px; background: var(--kh-text);
  -webkit-mask: var(--kh-chev) center / contain no-repeat; mask: var(--kh-chev) center / contain no-repeat;
  transition: transform .18s ease-out;
}
body.kh-test .betterdocs-entry-content .wp-block-details[open] summary::after { transform: rotate(180deg); }
body.kh-test .betterdocs-entry-content .wp-block-details summary:focus-visible { outline: 2px solid var(--kh-accent); outline-offset: 2px; }

/* متن انگلیسی تعریف (EN) */
body.kh-test .betterdocs-entry-content .wp-block-details.qute-acc {
  margin: 14px 0 0 !important; padding: 12px 0 0 !important; background: none !important;
  border: 0 !important; border-top: 1px solid #D6E0FF !important;
}
body.kh-test .betterdocs-entry-content .wp-block-details.qute-acc summary {
  justify-content: flex-start; gap: 6px; margin: 0 !important; padding: 0 !important; font-size: 13px !important; color: var(--kh-accent) !important; letter-spacing: .5px;
}
body.kh-test .betterdocs-entry-content .wp-block-details.qute-acc summary::after { width: 14px; height: 14px; background: var(--kh-accent); }
body.kh-test .betterdocs-entry-content .wp-block-details.qute-acc > :not(summary) {
  margin: 12px 0 0 !important; padding: 0 !important; font-size: 15px; line-height: 1.7 !important; color: var(--kh-text);
}

/* یادداشت جانبی (note-acc) — کاغذ یادداشت، نه تب */
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc {
  position: relative; margin: 8px 0 20px !important; padding: 0 !important;
  background: var(--kh-note-paper) !important; border: 1px solid var(--kh-note-line) !important; border-radius: 2px 2px 2px 14px;
  box-shadow: none !important;
}
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc summary {
  justify-content: flex-start; gap: 10px; margin: 0 !important; padding: 13px 16px !important;
  font-size: 14px !important; color: var(--kh-note-ink) !important;
}
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc summary::before {
  content: "" !important; display: block !important; order: -1; flex: none; width: 18px; height: 18px; background: var(--kh-note);
  position: static !important; margin: 0 !important; transform: none !important;
  -webkit-mask: var(--kh-sticky) center / contain no-repeat; mask: var(--kh-sticky) center / contain no-repeat;
}
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc summary::after {
  margin-right: auto; width: 16px; height: 16px; background: var(--kh-note-ink);
  -webkit-mask: var(--kh-plus) center / contain no-repeat; mask: var(--kh-plus) center / contain no-repeat;
}
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc[open] summary::after { transform: rotate(45deg); }
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc[open] summary { border-bottom: 1px dashed var(--kh-note-line) !important; }
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc > :not(summary) {
  margin: 0 !important; padding: 12px 18px 0 !important; font-size: 15px !important; line-height: 30px !important; color: #4A4536 !important;
  background-image: repeating-linear-gradient(to bottom, transparent 0 29px, var(--kh-note-line) 29px 30px);
  background-origin: content-box; background-clip: content-box; background-position: 0 0; background-repeat: repeat-y;
}
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc > :last-child:not(summary) { padding-bottom: 16px !important; }
body.kh-test .betterdocs-entry-content .wp-block-details.note-acc :is(strong, a) { color: #2E2A1E; }

/* دیکشنری (dic-acc) */
body.kh-test .betterdocs-entry-content .wp-block-details.dic-acc {
  margin: 0 0 12px !important; padding: 0 !important; background: var(--kh-bg) !important;
  border: 1px solid var(--kh-line) !important; border-radius: 10px;
}
body.kh-test .betterdocs-entry-content .wp-block-details.dic-acc summary { margin: 0 !important; padding: 14px 18px !important; font-size: 15px !important; }
body.kh-test .betterdocs-entry-content .wp-block-details.dic-acc > :not(summary) { margin: 0 18px 12px !important; padding: 0 !important; font-size: 15px; unicode-bidi: plaintext; text-align: start !important; }

/* منابع و تاریخچه — نوار خاکستری، داخل سفید */
body.kh-test .betterdocs-entry-content .wp-block-details.accord {
  margin: 0 0 8px !important; padding: 0 !important; overflow: hidden;
  background: var(--kh-bg) !important; border: 1px solid var(--kh-line) !important; border-radius: 10px;
}
body.kh-test .betterdocs-entry-content .wp-block-details.accord summary {
  margin: 0 !important; padding: 13px 18px !important; font-size: 15px !important; background: var(--kh-surface);
}
body.kh-test .betterdocs-entry-content .wp-block-details.accord[open] summary { border-bottom: 1px solid var(--kh-line) !important; }
body.kh-test .betterdocs-entry-content .wp-block-details.accord > :not(summary) {
  margin: 0 !important; padding: 14px 40px 14px 18px !important; background: var(--kh-bg) !important;
  border: 0 !important; font-size: 14px !important; line-height: 1.8 !important;
}
body.kh-test .betterdocs-entry-content .wp-block-details.accord li { margin-bottom: 6px !important; }

/* واژه‌نامه */
body.kh-test .betterdocs-entry-content p.sub-glos { margin: 0 20px 8px 0 !important; padding: 8px 14px !important; border: 0 !important; background: var(--kh-surface) !important; border-radius: 5px; font-size: 15px !important; }

/* ---------- ۷. پانویس و پدیدآورندگان ---------- */
body.kh-test .betterdocs-entry-content p.foot-title {
  font-size: 14px !important; font-weight: 700; color: var(--kh-ink);
  margin: 56px 0 12px !important; padding-top: 24px !important; border-top: 1px solid var(--kh-line);
}
body.kh-test .betterdocs-entry-content p.foot-title strong::before { content: "[ "; }
body.kh-test .betterdocs-entry-content p.foot-title strong::after { content: " ]"; }
body.kh-test .betterdocs-entry-content .wp-block-footnotes { font-size: 14px !important; line-height: 1.8; padding-right: 20px; color: var(--kh-text); }
body.kh-test .betterdocs-entry-content .wp-block-footnotes li { margin-bottom: 6px !important; }

/* کارت پایان مقاله: پدیدآورندگان + نشان کردن + ارسال پیام + تاریخ — یک کارت سفید یکپارچه
   (هندسه‌ی قبلی حفظ شده؛ فقط رنگ حاشیه، گوشه‌ها و زمینه یکدست شده) */
body.kh-test .pp-multiple-authors-boxes-wrapper {
  border-color: var(--kh-line) !important; border-radius: 10px 10px 0 0; background: var(--kh-bg) !important; box-shadow: none !important;
}
body.kh-test .betterdocs-entry-footer {
  border-color: var(--kh-line) !important; border-radius: 0 0 10px 10px; background: var(--kh-bg) !important;
}
body.kh-test .betterdocs-entry-footer .feedback-update-form { border-top: 0 !important; padding-top: 0 !important; }
body.kh-test .betterdocs-entry-footer :is(.feedback-form-link, .feedback-form-link *) { font-size: 13px !important; }
body.kh-test .betterdocs-entry-footer .feedback-form-link:hover, body.kh-test .betterdocs-entry-footer .feedback-form-link:hover * { color: var(--kh-accent) !important; }
body.kh-test .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title {
  font-size: 15px !important; font-weight: 700 !important; color: var(--kh-ink) !important; border-color: var(--kh-line) !important;
}
/* SHIFT 2026-11-10: عنوان «پدیدآورنده» مثل بقیه‌ی عنوان‌های بخش‌ها داخل [ ] و کادر گوشه‌گرد هم‌راستا با عکس */
body.kh-test .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title::before { content: "[ "; }
body.kh-test .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title::after { content: " ]"; }
body.kh-test .pp-multiple-authors-boxes-wrapper li.pp-multiple-authors-boxes-li {
  display: inline-flex !important; align-items: center; gap: 10px; padding: 0px 0px 0px 16px !important;
  background: var(--kh-surface) !important; border: 0 !important; border-radius: var(--sc-radius-sm, 8px) !important; box-shadow: none !important;
}
body.kh-test .pp-multiple-authors-boxes-wrapper .pp-author-boxes-avatar { margin: 0 !important; }
/* SHIFT 2026-11-10: مربع گوشه‌گرد به‌جای دایره برای خودِ عکس (نه کادر pill دورش)، هم‌راستا با زبان طراحی شیفت */
body.kh-test .pp-multiple-authors-boxes-wrapper .pp-author-boxes-avatar img { width: 34px !important; height: 34px !important; border-radius: var(--sc-radius-sm, 8px) !important; margin: 0 !important; }
body.kh-test .pp-multiple-authors-boxes-wrapper .pp-author-boxes-avatar-details { margin: 0 !important; padding: 0 !important; }
body.kh-test .pp-multiple-authors-boxes-wrapper :is(.pp-author-boxes-name, .pp-author-boxes-name a) {
  font-size: 12.5px !important; font-weight: 700 !important; color: var(--kh-ink) !important; text-decoration: none !important; margin: 0 !important;
}
body.kh-test .pp-multiple-authors-boxes-wrapper .pp-author-boxes-name a:hover { color: var(--kh-accent) !important; }
/* دکمه‌ی «نشان کردن نوشتار» */
body.kh-test .simplefavorite-button {
  border: 1px solid var(--kh-line) !important; border-radius: 999px !important; background: var(--kh-bg) !important;
  color: var(--kh-ink) !important; font-size: 13px !important; font-weight: 700 !important; box-shadow: none !important;
  transition: border-color .15s ease-out;
}
body.kh-test .simplefavorite-button:hover { border-color: var(--kh-ink) !important; }
body.kh-test .simplefavorite-button.active { border-color: var(--kh-accent) !important; color: var(--kh-accent) !important; }
body.kh-test .simplefavorite-button i { color: inherit !important; }
/* ---------- ۸. فهرست مطالب (ستون چپ) ---------- */
body.kh-test .betterdocs-toc > .toc-title { display: block; margin: 0 0 14px !important; padding-right: 16px !important; font-size: 14px !important; font-weight: 700 !important; color: var(--kh-ink) !important; }
body.kh-test .betterdocs-toc > .toc-title::before { content: "[ "; }
body.kh-test .betterdocs-toc > .toc-title::after { content: " ]"; }
body.kh-test .betterdocs-toc .toc-list { border-right: 1px solid var(--kh-line) !important; padding-right: 0 !important; margin: 0 !important; }
body.kh-test .betterdocs-toc .toc-list li { margin: 0 !important; padding: 0 !important; }
body.kh-test .betterdocs-toc .toc-list li.betterdocs-toc-heading-level-3 { margin-right: 12px !important; }
body.kh-test .betterdocs-toc .toc-list a {
  display: block; position: relative; padding: 3px 14px 3px 0 !important; margin-right: -1px;
  border-right: 0; font-size: 14px !important; line-height: 1.5 !important;
  font-weight: 400 !important; color: var(--kh-text) !important; transition: color .15s ease-out, border-color .15s ease-out;
}
body.kh-test .betterdocs-toc .toc-list .betterdocs-toc-heading-level-3 a { font-size: 13px !important; }
/* SHIFT 2026-11-10: اسکرول‌بار SimpleBar هنگام لود و در هر تغییر ارتفاع (مثلاً باز/بسته شدن شاخه‌ها) چشمک
   می‌زد. حالا به‌طور پیش‌فرض پنهان است و فقط با اشاره‌ی موس روی فهرست، به‌صورت ثابت و بدون محو شدن نشان داده می‌شود. */
body.kh-test .right-sidebar-toc-container .simplebar-track.simplebar-vertical { opacity: 0 !important; transition: opacity .2s ease !important; }
body.kh-test .right-sidebar-toc-container:hover .simplebar-track.simplebar-vertical { opacity: 1 !important; }
body.kh-test .right-sidebar-toc-container .simplebar-scrollbar:before { opacity: .5 !important; transition: none !important; }
/* SHIFT 2026-11-10: علت اصلی چشمک: با باز شدن تاگل، اسکرول‌بار بومی مرورگر (۱۵px، با فلش‌های بالا/پایین)
   روی simplebar-content-wrapper ظاهر می‌شد و فهرست را جابه‌جا می‌کرد، چون CSS خودِ SimpleBar آن را پنهان نمی‌کرد.
   فقط اسکرول‌بار بومی پنهان می‌شود؛ اسکرول با چرخ/لمس و نوار SimpleBar سر جایشان می‌مانند. */
body.kh-test .right-sidebar-toc-container .simplebar-content-wrapper { scrollbar-width: none !important; -ms-overflow-style: none; }
body.kh-test .right-sidebar-toc-container .simplebar-content-wrapper::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
body.kh-test .betterdocs-toc .toc-list a::after { display: none !important; }
body.kh-test .betterdocs-toc .toc-list a:hover { color: var(--kh-ink) !important; }
body.kh-test .betterdocs-toc .toc-list a.active,
body.kh-test .betterdocs-toc .toc-list li.active > a { color: var(--kh-accent) !important; font-weight: 700 !important; }

/* SHIFT 2026-11-09: ستون فهرست مطالب قبل از آماده شدن SimpleBar (کتابخانه‌ی اسکرول سفارشی BetterDocs)
   اسکرول‌بار کلاسیک مرورگر را حدود ۱ ثانیه نشان می‌داد و بعد محو می‌شد؛ با مخفی کردن اسکرول‌بار
   پیش‌فرض از همان ابتدا (قبل از اجرای جاوااسکریپت) این چشمک حذف می‌شود. */
body.kh-test .layout3-toc-container {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
body.kh-test .layout3-toc-container::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* SHIFT 2026-11-09: تاگل ظریف برای باز/بسته کردن زیرعنوان‌های فهرست مطالب، چون فهرست در
   مقاله‌های پرجزئیات خیلی شلوغ می‌شد. پیش‌فرض بسته؛ شاخه‌ی فعال یا اشاره‌شده با hash باز می‌ماند.
   نکته: عدد "-level-N" در <ul class="betterdocs-toc-list-level-N"> عمق واقعی را نشان نمی‌دهد
   (یک شمارنده‌ی سراسریِ غیرقابل‌پیش‌بینی است)، پس سلکتور [class*="…level-"] به‌جای عدد ثابتِ
   level-3 استفاده می‌شود تا با هر زیرلیستی، صرف‌نظر از عددش، کار کند. */
body.kh-test .betterdocs-toc .toc-list li.betterdocs-toc-heading-level-2.has-sub { position: relative; }
body.kh-test .betterdocs-toc .toc-list li.betterdocs-toc-heading-level-2.has-sub > a { padding-left: 28px !important; } /* SHIFT 2026-11-10: فاصله‌ی بیشتر متن از تاگل (قبلاً ۱۸px) */
body.kh-test .betterdocs-toc .toc-list .toc-sub-toggle {
  /* SHIFT 2026-11-10: مرکز تاگل دقیقاً وسط خط اول عنوان (line-height 21px + padding-top 3px) */
  /* ارتفاع با !important قفل شد؛ قانون عمومی دکمه‌های قالب ارتفاع را ~۳۴px می‌کرد و تاگل پایین می‌افتاد */
  position: absolute; left: -2px; top: 5px; width: 16px !important; height: 16px !important; min-height: 0 !important; max-height: 16px !important; line-height: 1 !important;
  display: inline-flex; align-items: center; justify-content: center;
  background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; cursor: pointer; box-shadow: none !important;
  color: var(--kh-text); opacity: .5; transition: transform .15s ease-out, opacity .15s ease-out;
}
body.kh-test .betterdocs-toc .toc-list .toc-sub-toggle:hover,
body.kh-test .betterdocs-toc .toc-list .toc-sub-toggle:focus-visible { opacity: 1; }
body.kh-test .betterdocs-toc .toc-list .toc-sub-toggle::before {
  content: ""; width: 7px; height: 7px;
  /* SHIFT 2026-11-10: ساختار پیشنهادی مالک (خط ۲px، فاصله‌ی ۷px از چپ). margin-top او (-12px) برای دکمه‌ی
     قبلی ۳۴px بود؛ حالا که دکمه ۱۶px و وسط خط اول است، فقط ۳px جبران چرخش ۴۵ درجه لازم است. */
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .15s ease-out; margin-top: -3px; margin-left: 0; /* SHIFT 2026-11-10: فلش به لبه‌ی چپ، دورتر از متن */
}
body.kh-test .betterdocs-toc .toc-list li.is-sub-open > .toc-sub-toggle::before { transform: rotate(-135deg); margin-top: 3px; }
/* باز/بسته‌شدن با انیمیشن ارتفاع واقعی (JS مقدار max-height را روی scrollHeight یا 0 می‌گذارد)
   به‌جای display:none ناگهانی، تا تجربه‌ی روان و تمیزی داشته باشد. */
body.kh-test .betterdocs-toc .toc-list li.betterdocs-toc-heading-level-2.has-sub > ul[class*="betterdocs-toc-list-level-"] {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s cubic-bezier(.4,0,.2,1), opacity .2s ease;
}
body.kh-test .betterdocs-toc .toc-list li.betterdocs-toc-heading-level-2.has-sub.is-sub-open > ul[class*="betterdocs-toc-list-level-"] {
  opacity: 1;
}

/* SHIFT 2026-11-09: شماره‌های فهرست مطالب (۱، ۱.۱، ...) را BetterDocs با ارقام لاتین (Western،
   1 2 3) و direction:ltr روی ::before می‌سازد که وسط یک صفحه‌ی کاملاً فارسی/راست‌چین حس
   چپ‌به‌راست می‌دهد. یک counter-style فارسی تعریف و با آرگومان سوم counters() جایگزین می‌شود
   تا ارقام فارسی (۰-۹) نمایش داده شوند، هم‌راستا با بقیه‌ی ارقام سایت (تاریخ، تعداد نظر، و...). */
@counter-style sc-fa-decimal {
  system: numeric;
  symbols: "۰" "۱" "۲" "۳" "۴" "۵" "۶" "۷" "۸" "۹";
  suffix: "";
}
body.kh-test .betterdocs-toc .toc-list a::before {
  content: counters(item, ".", sc-fa-decimal) "." !important;
}
/* SHIFT 2026-11-10: BetterDocs روی شماره‌ها direction:ltr می‌گذارد و شماره‌ها چپ‌چین می‌شدند؛ به‌خواست مالک rtl شد
   (سلکتور هم‌وزن قانون خود BetterDocs + body.kh-test تا حتماً غالب شود). */
/* با rtl، ترتیب بخش‌های شماره برعکس می‌شد (۶.۱ ← ۱.۶)؛ پس خودِ عدد با LRI/PDI (\2066…\2069) ایزوله می‌شود
   تا ترتیبش ثابت بماند و فقط نقطه‌ی آخر طبق راست‌چین سمت چپ بیاید. */
body.kh-test .betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-list li a::before { direction: rtl !important; content: "\2066" counters(item, ".", sc-fa-decimal) "\2069" "." !important; }

/* SHIFT 2026-11-10: یک قانون جداگانه (وب‌سایت‌آپلودشده custom.css، خارج از این پلاگین) بالای
   فهرست مطالب را با mask-image محو (فید) می‌کرد. به‌خواست مالک این محو شدن لازم نیست، پس با
   mask-image: none آن را خنثی می‌کنیم. */
body.kh-test .betterdocs-full-sidebar-right .simplebar-content-wrapper {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* ---------- ۹. سایدبارهای دانش‌کده (همگام‌سازی Sticky، تراز بالا و مارجین‌ها در Layout 5) ----------
   SHIFT 2026-11-09: فاصله‌ی ۵۰ پیکسلی قبلاً margin-top روی محتوای داخلی (.betterdocs-toc و
   .betterdocs-category-grid-wrapper) بود، درحالی‌که sticky روی خودِ کانتینر (top: 90px) اعمال می‌شد.
   این دو عدد با هم جمع نمی‌شدند: کانتینر همان ابتدای اسکرول روی ۹۰px می‌چسبید اما حاشیه/بردر واقعی
   سایدبار ۵۰px پایین‌تر از آن دیده می‌شد و یک فاصله‌ی خالی از بالای سایت باقی می‌ماند. راه‌حل: کل
   فاصله را روی top خودِ کانتینرِ sticky می‌گذاریم (۹۰+۵۰=۱۴۰px) و مارجین داخلی را صفر می‌کنیم تا
   لبه‌ی چسبان دقیقاً همان‌جایی باشد که بردر/محتوا دیده می‌شود.
   SHIFT 2026-11-10: به‌خواست مالک، حالا عمداً ۵۵px فاصله‌ی حرکت قبل از چسبیدن اضافه شده (margin-top:
   73px روی خودِ کانتینر، بدون تغییر top). موقعیت طبیعیِ ردیف فلکس حدوداً ۱۲۲px از بالای صفحه است؛
   با این مارجین نقطه‌ی شروع به ۱۹۵px می‌رسد و تا چسبیدن در ۱۴۰px دقیقاً ۵۵px جابه‌جا می‌شود. */
@media (min-width: 1025px) {
  body.kh-test .betterdocs-single-layout-5 .betterdocs-full-sidebar-left,
  body.kh-test .betterdocs-single-layout-5 .betterdocs-full-sidebar-right,
  .betterdocs-single-layout-5 .betterdocs-full-sidebar-left,
  .betterdocs-single-layout-5 .betterdocs-full-sidebar-right {
    margin-top: 73px !important;
    padding-top: 0px !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 140px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 160px) !important;
  }

  body.kh-test .betterdocs-single-layout-5 .betterdocs-full-sidebar-left .betterdocs-sidebar-content,
  .betterdocs-single-layout-5 .betterdocs-full-sidebar-left .betterdocs-sidebar-content {
    position: static !important;
    top: auto !important;
    max-height: calc(100vh - 160px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
  }

  /* مارجین داخلی حذف شد؛ فاصله از بالا اکنون فقط از طریق top کانتینرِ sticky اعمال می‌شود (بالا) */
  .betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc,
  body.kh-test .betterdocs-single-layout-5 .betterdocs-toc {
    margin-top: 0px !important;
  }

  body.kh-test .betterdocs-single-layout-5 .betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper,
  body.kh-test .betterdocs-single-layout-5 .betterdocs-full-sidebar-left .betterdocs-category-grid-wrapper,
  .betterdocs-single-layout-5 .betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper,
  .betterdocs-single-layout-5 .betterdocs-full-sidebar-left .betterdocs-category-grid-wrapper {
    padding-top: 0px !important;
    margin-top: 0px !important;
  }
}

/* تنظیمات ریسپانسیو و کشوهای شناور موبایل (زیر ۱۰۲۵ پیکسل) */
@media (max-width: 1024px) {
  /* مخفی‌سازی سایدبارهای درون‌صفحه‌ای در موبایل و تبلت برای جلوگیری از نشت زیر هدر */
  .betterdocs-single-layout-5 .betterdocs-content-wrapper > .betterdocs-full-sidebar-left,
  .betterdocs-single-layout-5 .betterdocs-content-wrapper > .betterdocs-full-sidebar-right {
    display: none !important;
  }

  /* کشوهای شناور موبایل: خروج کامل از زیر هدر چسبان سایت.
     SHIFT 2026-11-10: ارتفاع هدر ثابت ۷۰px فرض می‌شد؛ ولی وقتی مدیر لاگین است نوار مدیریت وردپرس (که در موبایل
     با اسکرول از بالای صفحه می‌رود) فاصله‌ی ثابتی اضافه می‌کرد، پس کشو در بالای صفحه با فضای خالی زیر هدر
     و بعد از اسکرول روی هدر می‌افتاد. حالا docs-mobile-nav.php پایین واقعیِ هدر را زنده اندازه می‌گیرد و در
     --sc-drawer-top می‌گذارد (پیش‌فرض ۷۰px)، و همه‌ی کشوها از همان استفاده می‌کنند. */
  html body .betterdocs-mobile-sidebar-wrapper,
  html body .betterdocs-mobile-toc-wrapper {
    top: var(--sc-drawer-top, 70px) !important;
    height: calc(100% - var(--sc-drawer-top, 70px)) !important;
    height: calc(100dvh - var(--sc-drawer-top, 70px)) !important;
    z-index: 9999 !important;
  }

  html body .betterdocs-mobile-sidebar-wrapper .betterdocs-full-sidebar-left,
  html body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right,
  html body .betterdocs-mobile-toc-wrapper aside#betterdocs-sidebar-right {
    top: var(--sc-drawer-top, 70px) !important;
    bottom: 0 !important;
    height: calc(100vh - var(--sc-drawer-top, 70px)) !important;
    height: calc(100dvh - var(--sc-drawer-top, 70px)) !important;
    max-height: calc(100vh - var(--sc-drawer-top, 70px)) !important;
    max-height: calc(100dvh - var(--sc-drawer-top, 70px)) !important;
    padding-top: 15px !important;
    box-sizing: border-box !important;
  }

  html body .betterdocs-mobile-toc-wrapper .layout3-toc-container,
  html body .betterdocs-mobile-toc-wrapper [data-simplebar] {
    max-height: calc(100vh - var(--sc-drawer-top, 70px) - 30px) !important;
    margin-top: 0 !important;
  }

  /* SHIFT 2026-11-09: کشوی موبایل «فهرست مطالب» — SimpleBar داخل aside یک زنجیره از لایه‌های
     position:absolute می‌سازد (simplebar-mask/offset) که padding خودِ aside (بالا) را نادیده
     می‌گیرند، پس عنوان و لیست عملاً به لبه‌ی بالا/راست کادر می‌چسبند. چون padding روی aside اثر
     نمی‌کند، همان فاصله را مستقیماً روی خودِ .betterdocs-toc (داخل لایه‌های SimpleBar) اعمال می‌کنیم. */
  html body .betterdocs-mobile-toc-wrapper .betterdocs-toc {
    padding-top: 15px !important;
    padding-right: 16px !important;
  }

  /* کشوی موبایل «سرفصل‌ها/دانش‌کده» — betterdocs-sidebar-content یک position:sticky با top محاسبه‌شده
     برای حالت دسکتاپ (چسبیدن زیر هدر هنگام اسکرول صفحه) به‌صورت inline دارد که همان المنت وقتی به
     داخل این کشوی موبایل منتقل می‌شود هم با خودش می‌آورد؛ نتیجه یک فاصله‌ی خالی و ناخواسته از بالای
     کادر است. در کشوی موبایل نیازی به sticky نیست، پس آن را خنثی می‌کنیم. */
  html body .betterdocs-mobile-sidebar-wrapper .betterdocs-sidebar-content {
    position: static !important;
    top: auto !important;
  }

  /* SHIFT 2026-11-10: کادر شبکه‌ی دسته‌ها در کشوی موبایل ۵۰px padding-top داشت (مخصوص دسکتاپ) و بالای
     کشو یک فضای خالی می‌ساخت؛ در کشو صفر می‌شود (فاصله‌ی ۱۵px خودِ کشو کافی است). */
  /* سلکتور بلند عمداً: قانون ۵۰px در custom.css آپلودشده (خارج از پلاگین) با این سلکتور است */
  html body .betterdocs-mobile-sidebar-wrapper .betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* ساختار قبلی، رنگ‌ها و جزئیات یکدست */
/* سردسته: همان کارت‌های گرد قبلی، با حاشیه‌ی قابل‌دیدن */
body.kh-test .betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header {
  border: 1px solid var(--kh-line) !important; border-radius: 10px !important; background: var(--kh-bg) !important;
  transition: background .15s ease-out, border-color .15s ease-out;
}
body.kh-test .betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header:hover { border-color: var(--kh-ink) !important; }
body.kh-test .betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper.active .betterdocs-single-category-inner .betterdocs-category-header {
  background: var(--kh-bg) !important; border-color: var(--kh-ink) !important; box-shadow: inset 0 0 0 1px var(--kh-ink);
}
body.kh-test .betterdocs-full-sidebar-left .betterdocs-single-category-wrapper.active .betterdocs-category-title,
body.kh-test .betterdocs-full-sidebar-left .betterdocs-single-category-wrapper.active .betterdocs-category-collapse { color: var(--kh-ink) !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-category-title { font-size: 15px !important; font-weight: 700 !important; color: var(--kh-ink) !important; line-height: 1.5 !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-category-items-counts {
  background: var(--kh-surface) !important; border-radius: 999px !important; padding: 0 8px !important; min-width: 0 !important; height: 22px !important; line-height: 22px !important;
}
body.kh-test .betterdocs-full-sidebar-left .betterdocs-category-items-counts span { font-size: 12px !important; font-weight: 700 !important; color: var(--kh-text) !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-category-collapse { color: var(--kh-text) !important; }
/* SHIFT 2026-11-10: وقتی عنوان دسته به دو خط می‌شکند، align-items:center پیش‌فرض BetterDocs
   فلش را وسطِ کل بلوکِ عنوانِ دوخطی قرار می‌داد (یعنی چسبیده به پایین)؛ با flex-start فلش به
   بالای ردیف می‌چسبد و با margin-top کوچک دقیقاً وسط خط اول عنوان قرار می‌گیرد. */
body.kh-test .betterdocs-category-header-inner { align-items: flex-start !important; }
body.kh-test .betterdocs-category-collapse { margin-top: 4px !important; }

/* زیردسته (حرف A، B…): همان نوار خاکستری گرد */
body.kh-test .betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title {
  background: var(--kh-bg) !important; border: 1px dotted #D5D8DF !important; border-radius: 8px !important; padding: 6px 12px !important;
  transition: border-color .15s ease-out;
}
body.kh-test .betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title:hover { border-color: var(--kh-ink) !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-nested-category-title :is(a, span) { font-size: 14px !important; font-weight: 400 !important; color: var(--kh-text) !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-nested-category-title:has(+ .active) :is(a, span) { color: var(--kh-ink) !important; font-weight: 700 !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-nested-category-title svg { color: var(--kh-text) !important; fill: var(--kh-text) !important; }

/* مقاله‌ها: آیکون سند کوچک و کم‌رنگ، مقاله‌ی فعلی با زمینه‌ی آبی روشن */
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) {
  display: flex !important; align-items: flex-start; gap: 8px;
}
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > svg {
  flex: none; width: 12px !important; height: 12px !important; margin: 7px 0 0 !important; opacity: .45;
}
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > svg path { fill: var(--kh-text) !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li > a {
  display: block; flex: 1 1 auto; min-width: 0; padding: 2px 8px !important; margin: 0; border-radius: 6px;
  font-size: 13.5px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--kh-text) !important;
  transition: color .15s ease-out, background .15s ease-out;
}
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li > a:hover { color: var(--kh-ink) !important; background: var(--kh-surface); }
/* مقاله‌ی فعلی: فقط متن مشکی و پررنگ (۲ آبان، به خواست مالک) */
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li > a.active { color: var(--kh-ink) !important; font-weight: 700 !important; background: transparent !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li:has(> a.active) > svg { opacity: 1; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li:has(> a.active) > svg path { fill: var(--kh-ink) !important; }
body.kh-test .betterdocs-full-sidebar-left .betterdocs-articles-list li > a::before { display: none !important; }

/* ---------- ۱۰. دکمه‌های شناور: «دانش‌کده» و «فهرست» (پایین سمت راست) + «بازگشت به بالا» (پایین سمت چپ) ---------- */
/* همه: مشکی، آیکون سفید، گوشه‌ی ۵px مثل دکمه‌های برند، سایه‌ی نرم هم‌رنگ */
body.kh-test .betterdocs-mobile-nav {
  position: fixed !important; right: 20px !important; bottom: 20px !important; left: auto !important; top: auto !important;
  transform: none !important; z-index: 99 !important;
  flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important;
  width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1;
}
body.kh-test .betterdocs-mobile-nav.is-at-footer { opacity: 0 !important; pointer-events: none !important; }
body.kh-test .betterdocs-mobile-nav :is(.betterdocs-sidebar-icon, .betterdocs-toc-icon) {
  position: relative !important; top: auto !important; right: auto !important; left: auto !important; bottom: auto !important; transform: none !important;
  display: block !important; flex: none !important; box-sizing: border-box !important;
  width: 40px !important; height: 40px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
  background: var(--sc-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6v13M12 6v13M21 6v13'/%3E%3C/svg%3E") center / 21px 21px no-repeat !important; color: var(--kh-ink) !important;
  border: 1px solid var(--kh-ink) !important; border-radius: 5px !important; box-shadow: none !important;
  font-size: 0 !important; line-height: 0 !important; cursor: pointer; overflow: hidden !important;
}
body.kh-test .betterdocs-mobile-nav .betterdocs-toc-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01'/%3E%3C/svg%3E") !important; }
body.kh-test .betterdocs-mobile-nav :is(.betterdocs-sidebar-icon, .betterdocs-toc-icon):active { background-color: #2B2B2B !important; }
body.kh-test .betterdocs-mobile-nav :is(.betterdocs-sidebar-icon, .betterdocs-toc-icon) > * { display: none !important; }
body.kh-test .betterdocs-mobile-nav :is(.betterdocs-sidebar-icon, .betterdocs-toc-icon)::before,
body.kh-test .betterdocs-mobile-nav :is(.betterdocs-sidebar-icon, .betterdocs-toc-icon)::after { content: none !important; display: none !important; }

/* SHIFT 2026-11-09: در صفحه‌ی واژه‌نامه (dictionary.css) آیکن شناور «فهرست مطالب» باید مخفی بماند؛
   چون این قانون بالاتر در همین فایل با body.kh-test اختصاصیت بیشتری از قانون dictionary.css دارد
   و جایگزینش می‌شد، این override با همان اختصاصیت اینجا تکرار شده تا همیشه آخرین و برنده باشد. */
body.kh-test.shift-has-dic .betterdocs-mobile-nav .betterdocs-toc-icon { display: none !important; }

/* جا برای دکمه‌های شناور در انتهای صفحه */
@media (max-width: 1024px) { body.kh-test .betterdocs-entry-footer { margin-bottom: 110px; } }

/* ---------- ۱۱. موبایل ---------- */
@media (max-width: 849px) {
  body.kh-test .betterdocs-entry-title { font-size: 28px !important; padding-bottom: 12px !important; margin-bottom: 20px !important; }
  body.kh-test .betterdocs-entry-content { font-size: 16px; }
  body.kh-test .betterdocs-entry-content h2.wp-block-heading { font-size: 19px !important; margin-top: 44px !important; }
  body.kh-test .betterdocs-entry-content h3.wp-block-heading { font-size: 18px !important; }
  body.kh-test .betterdocs-entry-content blockquote { padding: 16px 18px !important; }
}

/* ---------- ۱۲. پنجره‌ی «ارسال پیام مستقیم» ---------- */
body.kh-test #betterdocs-form-modal { background: rgba(12, 12, 12, .5) !important; }
body.kh-test #betterdocs-form-modal .modal-content {
  position: relative; width: min(520px, calc(100vw - 32px)) !important; max-width: none !important; box-sizing: border-box;
  padding: 28px 28px 24px !important; border-radius: 10px !important; background: var(--kh-bg) !important;
  box-shadow: 0 24px 48px -16px rgba(12, 12, 12, .35) !important; color: var(--kh-text);
  font-family: var(--sc-font, IRANYekanX, Roboto, Arial, sans-serif);
}
body.kh-test #betterdocs-form-modal .modal-content > a.close {
  position: absolute !important; top: 16px !important; left: 16px !important; right: auto !important;
  display: flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 !important;
  border-radius: 999px; background: var(--kh-surface); color: var(--kh-ink) !important; opacity: 1 !important;
  transition: background .15s ease-out;
}
body.kh-test #betterdocs-form-modal .modal-content > a.close:hover { background: var(--kh-line); }
body.kh-test #betterdocs-form-modal .modal-content > a.close svg { width: 14px !important; height: 14px !important; fill: currentColor !important; }
body.kh-test #betterdocs-form-modal .feedback-form-title {
  margin: 0 0 6px !important; padding: 0 0 0 48px !important; font-size: 20px !important; line-height: 1.4 !important; font-weight: 700 !important; color: var(--kh-ink) !important;
}
body.kh-test #betterdocs-form-modal .feedback-form-title::after {
  content: ""; display: block; width: calc(100% + 48px); height: 3px; margin: 14px 0 0 -48px; background: var(--kh-ink);
}
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form { margin-top: 20px; }
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form p { margin: 0 0 16px !important; }
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form label {
  display: block; margin: 0 0 6px !important; font-size: 14px !important; font-weight: 700 !important; color: var(--kh-ink) !important;
}
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form :is(input[type="text"], input[type="email"], input:not([type]), textarea) {
  width: 100% !important; box-sizing: border-box; height: 44px; margin: 0 !important; padding: 0 14px !important;
  border: 1px solid var(--kh-line) !important; border-radius: 5px !important; background: var(--kh-surface) !important;
  box-shadow: none !important; font: inherit; font-size: 15px !important; color: var(--kh-ink) !important;
  transition: border-color .15s ease-out, background .15s ease-out;
}
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form textarea { height: 140px !important; padding: 12px 14px !important; line-height: 1.8; resize: vertical; }
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form :is(input, textarea):focus {
  outline: 0 !important; border-color: var(--kh-accent) !important; background: var(--kh-bg) !important;
  box-shadow: 0 0 0 3px var(--kh-accent-soft) !important;
}
body.kh-test #betterdocs-form-modal .feedback-from-button { margin-top: 4px; }
body.kh-test #betterdocs-form-modal .feedback-from-button :is(button, input[type="submit"]) {
  width: 100% !important; height: 44px !important; margin: 0 !important; padding: 0 20px !important;
  border: 0 !important; border-radius: 5px !important; background: var(--kh-ink) !important; color: var(--kh-bg) !important;
  font: inherit; font-size: 15px !important; font-weight: 700 !important; line-height: 44px !important; text-transform: none !important;
  box-shadow: none !important; opacity: 1 !important; cursor: pointer; transition: background .15s ease-out;
}
body.kh-test #betterdocs-form-modal .feedback-from-button :is(button, input[type="submit"]):hover { background: #2B2B2B !important; }
body.kh-test #betterdocs-form-modal .feedback-from-button :is(button, input[type="submit"]):focus-visible { outline: 2px solid var(--kh-accent) !important; outline-offset: 2px; }
body.kh-test #betterdocs-form-modal .response:not(:empty) {
  margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--kh-success); border-radius: 10px; background: var(--kh-success-soft); color: var(--kh-success-ink); font-size: 14px;
}
body.kh-test #betterdocs-form-modal .response:is(.error, :has(.error)) { border-color: var(--kh-alert); background: var(--kh-alert-soft); color: var(--kh-alert-ink); }
body.kh-test #betterdocs-form-modal .betterdocs-feedback-form :is(.error, .error-message) { color: var(--kh-alert-ink) !important; font-size: 13px !important; }
/* ---------- نوار جستجوی بالای مقاله: خاکستری زمینه‌ی واحد ---------- */
body.kh-test .betterdocs-wrapper.betterdocs-single-wrapper { background-color: var(--kh-surface) !important; }

/* ---------- ۱۳. صفحه‌ی دسته (آرشیو، مثل «اصطلاح‌شناسی کوچینگ») ---------- */
/* عنوان و توضیح */
body.kh-test.tax-doc_category .betterdocs-entry-title { font-size: 17px !important; line-height: 1.9 !important; letter-spacing: 0; }
body.kh-test.tax-doc_category .betterdocs-entry-title .betterdocs-entry-heading {
  font-size: 40px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: -0.5px;
  color: var(--kh-ink) !important; margin: 0 0 16px !important;
}
/* SHIFT 2026-11-09: این توضیح قبلاً با max-width:720px به نصف عرض ستون محتوا محدود می‌شد
   (ظاهر «نصفه») و text-align:start هم باعث می‌شد راست‌چین و ناجاستیفای به‌نظر برسد؛
   مثل سایر پاراگراف‌های دانش‌کده، تمام عرض ستون را بگیرد و جاستیفای شود. */
body.kh-test.tax-doc_category .betterdocs-entry-title p {
  font-size: 15px !important; line-height: 1.9 !important; font-weight: 400 !important; color: var(--kh-text) !important;
  text-align: justify !important; margin: 0 !important; max-width: 100%;
}
body.kh-test.tax-doc_category .betterdocs-entry-title p strong { font-weight: 700 !important; color: var(--kh-ink) !important; }

/* فهرست حرف‌ها: تمام‌عرض و ثابت؛ با باز و بسته شدن، عرض تغییر نمی‌کند */
body.kh-test .betterdocs-entry-body.betterdocs-taxonomy-doc-category { display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.kh-test .betterdocs-taxonomy-doc-category > ul { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.kh-test .betterdocs-taxonomy-doc-category > ul > li.betterdocs-nested-category-wrapper {
  display: block !important; width: 100% !important; margin: 0 0 8px !important; padding: 0 !important; list-style: none !important;
  background: var(--kh-bg); border: 1px solid var(--kh-line); border-radius: 10px; overflow: hidden;
  transition: border-color .15s ease-out;
}
body.kh-test .betterdocs-taxonomy-doc-category > ul > li.betterdocs-nested-category-wrapper:hover,
body.kh-test .betterdocs-taxonomy-doc-category > ul > li.betterdocs-nested-category-wrapper:has(> ul.active) { border-color: var(--kh-ink); }

/* سر هر حرف */
body.kh-test .betterdocs-taxonomy-doc-category .betterdocs-nested-category-title {
  display: flex !important; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 12px;
  width: 100% !important; box-sizing: border-box; min-height: 48px; margin: 0 !important; padding: 0 16px !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; cursor: pointer;
}
body.kh-test .betterdocs-taxonomy-doc-category .betterdocs-nested-category-title > a {
  flex: 1 1 auto; font-size: 15px !important; font-weight: 700 !important; line-height: 1.5 !important;
  color: var(--kh-ink) !important; text-decoration: none !important; margin: 0 !important;
}
body.kh-test .betterdocs-taxonomy-doc-category .betterdocs-nested-category-title > svg {
  flex: none; width: 10px !important; height: 12px !important; margin: 0 !important; fill: var(--kh-text) !important; color: var(--kh-text) !important;
}
body.kh-test .betterdocs-taxonomy-doc-category .betterdocs-nested-category-title > svg path { fill: var(--kh-text) !important; }
body.kh-test .betterdocs-taxonomy-doc-category .betterdocs-nested-category-title:focus-visible { outline: 2px solid var(--kh-accent); outline-offset: -2px; }

/* واژه‌ها: دو ستون در دسکتاپ، یک ستون در موبایل */
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list {
  margin: 0 !important; padding: 12px 16px 16px !important; list-style: none !important;
  border-top: 1px solid var(--kh-line);
}
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list.active,
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list[style*="block"] {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 2px;
}
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li {
  display: flex !important; align-items: flex-start; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none !important; min-width: 0;
}
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg {
  flex: none; width: 12px !important; height: 12px !important; margin: 9px 0 0 !important; opacity: .45;
}
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg path { fill: var(--kh-text) !important; }
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a {
  display: block; flex: 1 1 auto; min-width: 0; padding: 4px 8px !important; border-radius: 5px;
  font-size: 14px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--kh-text) !important; text-decoration: none !important;
  transition: color .15s ease-out, background .15s ease-out;
}
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a:hover { color: var(--kh-ink) !important; background: var(--kh-surface); }
body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a::before { display: none !important; }

@media (max-width: 849px) {
  body.kh-test.tax-doc_category .betterdocs-entry-title .betterdocs-entry-heading { font-size: 28px !important; margin-bottom: 12px !important; }
  body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list.active,
  body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list[style*="block"] { grid-template-columns: 1fr; }
  body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a { padding: 9px 8px !important; }
  body.kh-test .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg { margin-top: 15px !important; }
}
/* حاشیه‌ی ۳۵px پیش‌فرض BetterDocs را خنثی کن */
html body.kh-test.tax-doc_category .betterdocs-content-area .betterdocs-entry-body.betterdocs-taxonomy-doc-category > ul > li.betterdocs-nested-category-wrapper { margin: 0 0 8px !important; width: 100% !important; }

/* ۱۳-ب. صفحه‌ی دسته بدون نوار کناری (دسکتاپ): ستون محتوا با همان عرض قبلی، وسط صفحه */
@media (min-width: 850px) {
  html body.kh-test.tax-doc_category #betterdocs-full-sidebar-left { display: none !important; }
  html body.kh-test.tax-doc_category .betterdocs-content-wrapper { justify-content: center !important; padding-left: 18px !important; padding-right: 18px !important; }
  html body.kh-test.tax-doc_category .betterdocs-content-wrapper > .betterdocs-content-area {
    flex: 0 1 calc(100% - min(30%, 400px)) !important; max-width: calc(100% - min(30%, 400px)) !important; margin-left: auto !important; margin-right: auto !important;
  }
}
/* فاصله‌ی فشرده بین واژه‌ها */
html body.kh-test.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list { padding: 8px 16px 12px !important; row-gap: 0 !important; align-content: start !important; align-items: start !important; }
html body.kh-test.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li { margin: 0 !important; padding: 0 !important; min-height: 0 !important; line-height: 1.5 !important; }
html body.kh-test.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a { padding: 3px 8px !important; margin: 0 !important; line-height: 1.5 !important; }
html body.kh-test.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg { margin-top: 8px !important; }
@media (max-width: 849px) {
  html body.kh-test.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > a { padding: 7px 8px !important; }
  html body.kh-test.tax-doc_category .betterdocs-taxonomy-doc-category ul.betterdocs-nested-category-list > li > svg { margin-top: 12px !important; }
}
/* ۱۴. واژه‌نامه (Heroic Glossary): نوار حروف A–Z */
body.kh-test .betterdocs-entry-content .hg-glossary .hg-nav { border-color: var(--kh-line) !important; gap: 6px; padding: 12px !important; }
body.kh-test .betterdocs-entry-content .hg-glossary .hg-nav a {
  margin: 0 !important; min-width: 34px; text-align: center; padding: 8px 10px !important; border-radius: 5px !important;
  background: var(--kh-bg) !important; color: var(--kh-ink) !important; border: 1px solid var(--kh-line);
  font-size: 14px; font-weight: 700; text-decoration: none !important;
  transition: border-color .15s ease-out, background .15s ease-out, color .15s ease-out;
}
body.kh-test .betterdocs-entry-content .hg-glossary .hg-nav a:hover { border-color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content .hg-glossary .hg-nav a.htgb_active_nav { background: var(--kh-ink) !important; color: var(--kh-bg) !important; border-color: var(--kh-ink); }
body.kh-test .betterdocs-entry-content .hg-glossary .hg-nav a:is(.htgb_disabled, .htgb_search_disabled) { color: var(--kh-text) !important; opacity: .35; border-style: dashed; }
body.kh-test .betterdocs-entry-content .hg-glossary .hg-nav a:focus-visible { outline: 2px solid var(--kh-accent); outline-offset: 2px; }
/* دکمه‌ی جستجوی دانش‌کده: radius همان توکن sm (5px) */
body.kh-test .betterdocs-searchform .search-submit,
body.kh-test .betterdocs-search-submit { border-radius: 5px !important; }

/* تنظیم پدینگ آخرین بدنه مقالات دانشکده */
.betterdocs-body:last-of-type {
    padding: 2px 15px 15px 15px !important;
}

/* 2026-12-01: 769-1024px, both sidebars are hidden above; let the article use the full row instead of starting at column 4. */
@media (max-width: 1024px) {
  .betterdocs-single-layout-5 .betterdocs-content-wrapper > .betterdocs-content-area,
  .betterdocs-fluid-wrapper .betterdocs-content-wrapper .betterdocs-content-area { grid-column: 1 / -1 !important; }
}

/* skh-layout-late */
/**
 * SHIFT KnowHouse — چیدمان دانش‌کده، بخش ۲ (پس از CSSهای SHIFT Core).
 * قوانین منوی کناری، فهرست مطالب، فرم جست‌وجو و تنظیمات ظاهری که قبلاً از category-grid/toc/search و CSS سفارشی‌ساز BetterDocs می‌آمد.
 */
.betterdocs-display-flex{display: flex; flex-direction: row;}
@media only screen and (max-width: 767px){.betterdocs-display-flex{display: block;}}
.betterdocs-sidebar{flex: 0 0 30%;}
.betterdocs-single-wrapper:not(.betterdocs-fluid-wrapper) .betterdocs-content-wrapper .betterdocs-sidebar{max-width: 400px;}
.betterdocs-taxonomy-wrapper:not(.betterdocs-fluid-wrapper) .betterdocs-content-wrapper .betterdocs-sidebar{max-width: 400px;}
.betterdocs-content-area{flex: 1 1 70%; padding: 0px 20px 20px;}
.betterdocs-wrapper{background-color: var(--sc-bg); flex: 1 1 auto;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper{background-color: rgba(255, 255, 255, 0);}
.betterdocs-wrapper.betterdocs-single-wrapper{background-color: rgb(242, 244, 247);}
.betterdocs-wrapper button{border-width: medium; border-style: none; border-color: currentcolor; border-image: none;}
.betterdocs-wrapper button:focus{outline: none;}
.betterdocs-mobile-nav{display: none;}
@media only screen and (max-width: 768px){.betterdocs-mobile-nav{align-items: center; border-bottom: 1px solid rgb(234, 236, 240); border-top: 1px solid rgb(234, 236, 240); display: flex; gap: 20px; justify-content: space-between; margin-bottom: 32px; margin-top: 18px; padding: 12px;}}
.betterdocs-mobile-nav .betterdocs-sidebar-icon{align-items: center; display: flex; justify-content: center;}
.betterdocs-mobile-nav .betterdocs-sidebar-icon span{color: rgb(102, 112, 133); font-size: 14px; font-weight: 400; line-height: 20px; text-align: left;}
.betterdocs-mobile-nav .betterdocs-mobile-nav-icon-svg{align-items: center; background-color: rgb(234, 236, 240); border-radius: 50%; display: flex; height: 32px; justify-content: center; margin-right: 9px; width: 32px;}
.betterdocs-live-search{position: relative;}
.betterdocs-searchform{align-items: center; background: var(--sc-bg); border: 1px solid rgb(241, 241, 241); border-radius: 8px; box-sizing: border-box; display: flex; flex-flow: row; padding: 22px 15px; position: relative; width: 100%;}
@media only screen and (max-width: 767px){.betterdocs-searchform{flex-direction: column;}}
.betterdocs-searchform svg{height: 30px; fill: rgb(68, 75, 84); cursor: pointer; opacity: 0.5; transition: 0.3s;}
.betterdocs-searchform svg.docs-search-icon{margin-left: 15px;}
@media only screen and (max-width: 767px){.betterdocs-searchform svg.docs-search-icon{margin-left: 0px;}}
.betterdocs-searchform .betterdocs-search-field{background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; color: rgb(89, 89, 89); font-size: 1em; margin: 0px; min-width: 0px; outline: 0px; padding: 0px 15px; position: relative; width: 100%; box-shadow: none !important;}
.betterdocs-searchform .betterdocs-search-field:focus{background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none;}
.betterdocs-searchform-input-wrap{align-items: center; display: flex; width: 100%;}
@media only screen and (max-width: 767px){.betterdocs-searchform-input-wrap{align-self: stretch; border: 1px solid rgb(211, 217, 239); height: 50px; margin-bottom: 10px; padding: 10px; width: auto;}}
.betterdocs-single-category-wrapper{flex: 1 0 calc(100%/var(--column, 3) - var(--gap, 15)*1px);}
@media only screen and (max-width: 767px){.betterdocs-single-category-wrapper{flex: 1 0 calc(50% - var(--gap, 15)*1px);}}
@media only screen and (max-width: 767px){.betterdocs-category-grid-wrapper .betterdocs-single-category-wrapper{flex: 1 0 calc(100% - var(--gap, 15)*1px);}}
@media only screen and (max-width: 500px){.betterdocs-single-category-wrapper{flex: 1 0 calc(100% - var(--gap, 15)*1px);}}
.betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper .betterdocs-single-category-wrapper{width: 100%;}
.betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper > .betterdocs-single-category-wrapper .betterdocs-category-header{padding-left: 20px; padding-right: 20px; padding-top: 20px;}
.betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper > .betterdocs-single-category-wrapper .betterdocs-category-header{box-shadow: none; cursor: pointer; padding: 10px 15px;}
.betterdocs-category-grid-inner-wrapper .betterdocs-category-header{padding: 0px;}
.betterdocs-category-header .betterdocs-category-header-inner{align-items: center; display: flex; justify-content: stretch;}
.betterdocs-category-grid-inner-wrapper.layout-1 .betterdocs-category-header .betterdocs-category-header-inner{border-bottom: 2px solid rgb(82, 143, 254); padding-bottom: 20px;}
.betterdocs-category-grid-wrapper .betterdocs-category-title{margin: 0px;}
.betterdocs-category-collapse{color: rgb(63, 88, 118); display: block; height: 15px; transition: 0.3s ease-in-out; width: 15px;}
.betterdocs-sidebar-content.betterdocs-category-sidebar .betterdocs-category-items-counts span{font-size: 12px;}
.betterdocs-articles-list{display: inline-block; list-style: none; margin: 0px; padding: 0px;}
.betterdocs-articles-list,.betterdocs-entry-body{display: inline-block; list-style: none; margin: 0px; padding: 0px;}
.betterdocs-articles-list li{align-items: center; display: flex; list-style: none; margin: 10px; position: relative;}
.betterdocs-articles-list li,.betterdocs-entry-body li{align-items: center; display: flex; list-style: none; margin: 10px; position: relative;}
.betterdocs-articles-list li svg{flex-shrink: 0; font-size: 15px; margin-right: 10px; width: 15px;}
.betterdocs-articles-list li svg,.betterdocs-entry-body li svg{flex-shrink: 0; font-size: 15px; margin-right: 10px; width: 15px;}
.betterdocs-articles-list li svg{fill: rgb(86, 110, 139);}
.betterdocs-articles-list li svg,.betterdocs-entry-body li svg{fill: rgb(86, 110, 139);}
.betterdocs-articles-list li a{text-decoration: none;}
.betterdocs-articles-list li a,.betterdocs-entry-body li a{text-decoration: none;}
.betterdocs-articles-list li a{color: rgb(86, 110, 139); font-size: 15px; line-height: 2; outline: none; transition: 0.3s;}
.betterdocs-articles-list li a,.betterdocs-entry-body li a{color: rgb(86, 110, 139); font-size: 15px; line-height: 2; outline: none; transition: 0.3s;}
.betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper){align-items: center; display: flex; flex-direction: row; margin: 10px;}
.betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a{color: rgb(86, 110, 139); text-decoration: none;}
.betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a.active,.betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a:hover{color: rgb(82, 143, 255);}
.betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a:hover{color: rgb(82, 143, 255);}
.betterdocs-articles-list .betterdocs-nested-category-wrapper{align-items: stretch; display: flex; flex-direction: column; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper,.betterdocs-entry-body .betterdocs-nested-category-wrapper{align-items: stretch; display: flex; flex-direction: column; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title{align-items: center; cursor: pointer; display: flex; margin-left: 10px; margin-right: 10px;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title,.betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title{align-items: center; cursor: pointer; display: flex; margin-left: 10px; margin-right: 10px;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg{fill: rgb(86, 110, 139); flex-shrink: 0; font-size: 15px; width: 15px;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg,.betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg{fill: rgb(86, 110, 139); flex-shrink: 0; font-size: 15px; width: 15px;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg.arrow-down{display: none;}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg.arrow-down,.betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg.arrow-down{display: none;}
.betterdocs-articles-list .betterdocs-nested-category-list{display: none; margin-left: 20px; padding-left: 0px;}
.betterdocs-articles-list .betterdocs-nested-category-list,.betterdocs-entry-body .betterdocs-nested-category-list{display: none; margin-left: 20px; padding-left: 0px;}
.betterdocs-articles-list .betterdocs-nested-category-list.active{display: block;}
.betterdocs-entry-body.betterdocs-taxonomy-doc-category ul:not(.betterdocs-nested-category-list){list-style: none; margin: 0px; padding: 0px;}
.betterdocs-entry-body.betterdocs-taxonomy-doc-category ul li{display: flex; list-style: none; padding: 0px;}
.betterdocs-entry-body.betterdocs-taxonomy-doc-category ul li:not(.betterdocs-nested-category-wrapper){align-items: center; display: flex; flex-direction: row; margin: 10px;}
.betterdocs-entry-body.betterdocs-taxonomy-doc-category ul li a{color: rgb(86, 110, 139); font-size: 17px; line-height: 1.5; outline: none; transition: 0.3s;}
.betterdocs-wrapper:not(.layout-6) .betterdocs-entry-body.betterdocs-taxonomy-doc-category ul li a{text-decoration: none;}
.betterdocs-entry-body.betterdocs-taxonomy-doc-category ul li a:hover{color: rgb(82, 143, 254);}
.betterdocs-body:not(:last-of-type){padding: 15px 15px 0px;}
.betterdocs-body:last-of-type{padding: 15px;}
.betterdocs-category-grid-wrapper > .betterdocs-category-grid-inner-wrapper .betterdocs-body:last-child{flex-grow: 1;}
.betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-single-category-wrapper .betterdocs-body{display: none;}
.betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-single-category-wrapper.active .betterdocs-body{display: block;}
.betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper > .betterdocs-single-category-wrapper{box-sizing: border-box;}
.betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper > .betterdocs-single-category-wrapper .betterdocs-single-category-inner{background: var(--sc-bg); box-shadow: rgba(40, 47, 98, 0.08) 0px 10px 100px 0px; display: flex; flex-direction: column; margin-top: 0px;}
.betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper:not(.masonry) > .betterdocs-single-category-wrapper .betterdocs-single-category-inner{height: 100%;}
.betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper:not(.masonry) > .betterdocs-single-category-wrapper .betterdocs-single-category-inner{height: auto;}
.feedback-form-link{align-items: center; color: rgb(86, 110, 139); display: flex;}
.feedback-form-link .feedback-form-icon{align-items: center; display: inline-flex; margin-right: 10px;}
.feedback-form-link .feedback-form-icon svg{width: 26px;}
.betterdocs-modalwindow{background-color: var(--sc-scrim, rgba(12, 12, 12, .6)); -webkit-backdrop-filter: blur(var(--sc-scrim-blur, 8px)); backdrop-filter: blur(var(--sc-scrim-blur, 8px)); inset: 0px; display: none; overflow: hidden auto; position: fixed; z-index: 9999;}
.betterdocs-modalwindow .modal-inner{align-items: center; display: flex; height: 100%; justify-content: center; width: 100%;}
.betterdocs-modalwindow .modal-content{background: var(--sc-bg); border-radius: 4px; margin: 0px auto; max-width: 500px; padding: 25px; transform: translateY(20%); transition: transform 0.3s ease-out; width: 90%;}
.betterdocs-modalwindow .close{color: rgb(0, 0, 0); display: inline-block; font-weight: 700; line-height: 1; padding: 10px; position: absolute; right: 3px; text-align: center; text-decoration: none; top: 3px;}
.betterdocs-feedback-form input[type="email"],.betterdocs-feedback-form input[type="text"],.betterdocs-feedback-form textarea{border: 1px solid rgb(231, 236, 244); margin-top: 5px; padding: 10px; width: 100%;}
.betterdocs-feedback-form textarea{height: 150px;}
.betterdocs-feedback-form #feedback_form_submit_btn{background-color: rgb(82, 143, 254); border-width: medium; border-style: none; border-color: currentcolor; border-image: none; box-shadow: none; color: var(--sc-bg); font-size: 16px; padding: 15px;}
.betterdocs-feedback-form #feedback_form_submit_btn:hover{opacity: 0.8;}
.betterdocs-feedback-form label{color: rgb(126, 141, 162); font-size: 14px; width: 100%;}
.betterdocs-full-sidebar-right .betterdocs-toc{max-height: 95vh; overflow-y: auto;}
.betterdocs-toc{background-color: var(--sc-bg); border-radius: 5px; display: inline-block; padding: 20px 25px;}
@media only screen and (max-width: 670px){.betterdocs-toc{box-sizing: border-box; position: relative; width: 100%;}}
.betterdocs-single-layout-5 .betterdocs-toc{background: rgba(0, 0, 0, 0) !important; padding: 0px !important;}
@media only screen and (max-width: 768px){.betterdocs-single-layout-5 .betterdocs-toc{padding-left: 20px !important;}}
.betterdocs-toc .toc-title{color: rgb(63, 88, 118); display: block; font-size: 16px; font-weight: 700; margin: 0px; pointer-events: none;}
.betterdocs-toc ul{list-style-type: none; margin: 0px; padding: 0px 0px 0px 10px;}
.betterdocs-toc .toc-list{list-style: disc; padding-left: 0px;}
.betterdocs-single-layout-5 .betterdocs-toc .toc-list{border-left: 1px solid rgb(210, 210, 210); margin-top: 15px; padding-left: 16px; position: relative;}
.betterdocs-toc .toc-list li{display: table; font-size: 14px; font-weight: 400; margin-left: 0px; margin-right: 0px;}
.betterdocs-toc .toc-list li a{color: rgb(86, 110, 139); display: inline-block; font-size: 14px; font-weight: 400; line-height: 1.6; text-decoration: none;}
.betterdocs-toc .toc-list li a:hover{color: rgb(82, 143, 255);}
.betterdocs-toc .toc-list li a:focus{outline: none;}
.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a::after{content: ""; height: 1.6em; left: -1px; position: absolute; width: 2px;}
.betterdocs-toc .toc-list.betterdocs-hierarchial-toc,.betterdocs-toc .toc-list.betterdocs-hierarchial-toc ul{counter-reset: item 0;}
.betterdocs-toc.toc-list-number ul{counter-reset: item 0; list-style-type: disc;}
.betterdocs-toc.toc-list-number ul li a{text-decoration: none;}
.betterdocs-toc.toc-list-number ul li a::before{content: counters(item, ".") ". "; counter-increment: item 1;}
body .betterdocs-wrapper.betterdocs-single-wrapper:not(.betterdocs-fluid-wrapper) .betterdocs-content-wrapper,body .betterdocs-single-layout-5 .betterdocs-content-wrapper{width: 100%;}
body .betterdocs-wrapper.betterdocs-single-wrapper:not(.betterdocs-fluid-wrapper) .betterdocs-content-wrapper,body .betterdocs-single-layout-5 .betterdocs-content-wrapper{max-width: 1400px;}
.betterdocs-wrapper.betterdocs-single-wrapper .betterdocs-content-wrapper{background-color: var(--sc-bg);}
.betterdocs-wrapper.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-content-full{background-color: var(--sc-bg);}
.betterdocs-wrapper.betterdocs-single-wrapper .betterdocs-content-wrapper,.betterdocs-wrapper.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-content-full{padding: 0px 25px 25px;}
.betterdocs-wrapper.betterdocs-single-wrapper .betterdocs-content-wrapper .betterdocs-content-area .betterdocs-content-inner-area{padding: 20px;}
.betterdocs-wrapper.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-content-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-breadcrumb{margin-left: -20px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-breadcrumb .betterdocs-breadcrumb-item a,.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-breadcrumb .breadcrumb-delimiter{font-size: 12px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-breadcrumb .betterdocs-breadcrumb-item a{color: rgb(35, 37, 78);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-breadcrumb .betterdocs-breadcrumb-item a:hover{color: var(--sc-accent);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-breadcrumb .breadcrumb-delimiter{color: rgb(102, 102, 102);}
#betterdocs-form-modal .modal-inner .modal-content .feedback-form-title{font-size: 21px;}
#betterdocs-form-modal .modal-inner .modal-content .feedback-form-title{color: rgb(35, 37, 78);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb .betterdocs-breadcrumb-item a,.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb-item.current span,.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb .breadcrumb-delimiter{font-size: 12px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb .betterdocs-breadcrumb-item a{color: rgb(35, 37, 78);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb .betterdocs-breadcrumb-item a:hover{color: var(--sc-accent);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb .breadcrumb-delimiter{color: rgb(102, 102, 102);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-breadcrumb-item.current span{color: var(--sc-accent);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{padding-top: 20px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{padding-right: 25px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{padding-bottom: 20px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{padding-left: 20px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{margin-top: 55px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{margin-right: 0px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{margin-bottom: 0px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc{margin-left: 0px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-title{color: var(--sc-ink);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-title{font-size: 18px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a{color: rgb(102, 102, 102);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a{font-size: 14px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a{margin-top: 2px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a{margin-right: 0px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a{margin-bottom: 2px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc .toc-list li a{margin-left: 0px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-list li a::before{color: rgb(102, 102, 102);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-toc > .toc-list li a::before{font-size: 13px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-content{font-size: 16px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-content{color: rgb(77, 77, 77);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .feedback-form-link .feedback-form-icon svg{width: 26px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-entry-footer .feedback-form-link{color: rgb(102, 102, 102);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-entry-footer .feedback-form-link:hover{color: rgb(102, 102, 102);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-entry-footer .feedback-form-link{font-size: 15px;}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-entry-footer .update-date{color: rgb(102, 102, 102);}
.betterdocs-single-wrapper.betterdocs-single-layout-5 .betterdocs-entry-footer .update-date{font-size: 14px;}
.betterdocs-sidebar .betterdocs-sidebar-content .betterdocs-category-grid-wrapper{padding: 0px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-category-grid-wrapper{background-color: var(--sc-bg);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header .betterdocs-category-header-inner .betterdocs-category-title:not(a){color: rgb(63, 88, 118);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header{background-color: var(--sc-bg);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper.active .betterdocs-single-category-inner .betterdocs-category-header{background-color: rgba(90, 148, 255, 0.1);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header .betterdocs-category-header-inner .betterdocs-category-title:not(a):hover,.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper.active .betterdocs-single-category-inner .betterdocs-category-header .betterdocs-category-header-inner .betterdocs-category-title:not(a):hover{color: var(--sc-accent);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper.active .betterdocs-single-category-inner .betterdocs-category-header .betterdocs-category-header-inner .betterdocs-category-title:not(a){color: rgb(63, 88, 118);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header .betterdocs-category-header-inner .betterdocs-category-title:not(a){font-size: 16px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header{padding: 10px 15px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper .betterdocs-single-category-wrapper{margin: 5px 0px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-body{background-color: var(--sc-bg);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a{color: rgb(86, 110, 139);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a:hover{color: var(--sc-accent);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a{font-size: 14px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-articles-list li svg{fill: rgb(86, 110, 139);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-articles-list li svg{font-size: 14px; min-width: 14px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li{margin-top: 10px; margin-bottom: 10px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper){margin-right: 10px; margin-left: 10px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title{margin-right: 10px; margin-left: 10px;}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-articles-list li a.active{color: var(--sc-accent);}
.betterdocs-sidebar.betterdocs-sidebar-layout-5 .betterdocs-sidebar-content .betterdocs-single-category-wrapper.active .betterdocs-single-category-inner .betterdocs-category-header .betterdocs-category-header-inner .betterdocs-category-title:not(a):hover{color: var(--sc-accent);}
.betterdocs-sidebar.betterdocs-full-sidebar-left .betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-category-grid-inner-wrapper .betterdocs-single-category-wrapper .betterdocs-single-category-inner{padding: 0px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-wrapper{width: 100%;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-wrapper{max-width: 1400px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-wrapper{padding: 30px 25px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area{background-color: var(--sc-bg);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area{margin: 0px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area{padding: 30px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area{border-radius: 5px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-title .betterdocs-entry-heading{color: var(--sc-ink);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-title .betterdocs-entry-heading{font-size: 20px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-title .betterdocs-entry-heading{margin: 0px 0px 20px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-title p:not(.betterdocs-entry-heading){color: rgb(35, 37, 78);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-title p:not(.betterdocs-entry-heading){font-size: 14px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-title p:not(.betterdocs-entry-heading){margin: 0px 0px 20px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body ul li a{color: rgb(35, 37, 78);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body ul li a:hover{color: rgb(82, 143, 254);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body ul li a{font-size: 14px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body ul li{margin: 10px 0px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title a{color: rgb(35, 37, 78);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title a:hover{color: rgb(82, 143, 254);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title a{font-size: 17px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg{fill: rgb(35, 37, 78);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg{font-size: 15px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title svg{width: 15px;}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-list li a{color: rgb(35, 37, 78);}
.betterdocs-wrapper.betterdocs-taxonomy-wrapper .betterdocs-content-area .betterdocs-content-inner-area .betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-list li a:hover{color: rgb(82, 143, 254);}
.betterdocs-live-search .betterdocs-searchform{background-color: var(--sc-bg);}
.betterdocs-live-search .betterdocs-searchform{border-radius: 10px; padding: 4px 4px 4px 10px;}
.betterdocs-live-search .betterdocs-searchform .betterdocs-search-field{font-size: 15px;}
.betterdocs-live-search .betterdocs-searchform .betterdocs-search-field{color: rgb(89, 89, 89);}
.betterdocs-live-search .betterdocs-searchform .betterdocs-search-field:focus{color: rgb(89, 89, 89);}
.betterdocs-live-search .betterdocs-searchform .betterdocs-search-field::placeholder{color: rgb(89, 89, 89);}
.betterdocs-live-search .betterdocs-searchform svg.docs-search-icon{fill: rgb(68, 75, 84);}
.betterdocs-live-search .betterdocs-searchform svg.docs-search-icon{height: 21px;}
.betterdocs-live-search .betterdocs-searchform svg.docs-search-icon:hover{fill: rgb(68, 75, 84);}
.betterdocs-live-search .betterdocs-searchform .search-submit{font-size: 13px;}
.betterdocs-live-search .betterdocs-searchform .search-submit{letter-spacing: 0px;}
.betterdocs-live-search .betterdocs-searchform .search-submit{font-weight: 500;}
.betterdocs-live-search .betterdocs-searchform .search-submit{text-transform: none;}
.betterdocs-live-search .betterdocs-searchform .search-submit{color: var(--sc-bg);}
.betterdocs-live-search .betterdocs-searchform .search-submit{background-color: var(--sc-accent);}
.betterdocs-live-search .betterdocs-searchform .search-submit:hover{background-color: rgb(82, 143, 254);}
.betterdocs-live-search .betterdocs-searchform .search-submit{border-radius: 7px 8px 7px 7px;}
.betterdocs-live-search .betterdocs-searchform .search-submit{padding: 0px 35px;}
/* SHIFT KnowHouse: آیکن نوشتار با CSS (به‌جای SVG ۲ کیلوبایتی کنار هر پیوند) و حالت‌ها */
.betterdocs-category-header{cursor:pointer}
.betterdocs-nested-category-title.active svg.arrow-right{display:none}
.betterdocs-nested-category-title.active svg.arrow-down{display:inline-block}
.betterdocs-articles-list>li:not(.betterdocs-nested-category-wrapper)::before,.betterdocs-nested-category-list>li::before,.betterdocs-entry-body ul>li:not(.betterdocs-nested-category-wrapper)::before{content:"";flex:0 0 15px;width:15px;height:15px;margin-top:.3em;background:currentColor;opacity:.6;-webkit-mask:var(--skh-doc-icon) center/contain no-repeat;mask:var(--skh-doc-icon) center/contain no-repeat}
:root{--skh-doc-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E")}
.betterdocs-entry-body ul>li:not(.betterdocs-nested-category-wrapper){display:flex;gap:8px;align-items:flex-start}
.betterdocs-searchform svg.docs-search-icon,.feedback-form-link svg{fill:none!important}
.betterdocs-searchform svg.docs-search-icon{height:22px;width:22px;stroke:currentColor}

/* v1.1: فلش باز/بسته زیرسرفصل‌ها و انیمیشن */
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title.active svg.arrow-down,.betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title.active svg.arrow-down{display:inline-block}
.betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title.active svg.arrow-right,.betterdocs-entry-body .betterdocs-nested-category-wrapper .betterdocs-nested-category-title.active svg.arrow-right{display:none}
.betterdocs-category-collapse{transition:transform .25s ease}

/* v1.1: خط پدیدآورندگان، فرمت در سربرگ، نقش در جعبهٔ پدیدآورندگان */
.skh-by{margin:10px 0 0;font-size:13px;line-height:1.9;color:var(--sc-text,#555)}
.skh-by em{font-style:normal;opacity:.7}
.skh-by a{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor}
.skh-by a:hover{color:var(--sc-ink,#0C0C0C)}
.skh-by i{font-style:normal;margin:0 4px;opacity:.5}
.sh-ah-info .sh-ah-item-fmt{display:inline-flex;align-items:center;gap:5px}
.shift-ab-role{display:block;font-size:11px;opacity:.7;margin-top:2px}

/* ===== v1.1c — SHIFT KnowHouse: پایین نوشتار، سربرگ، حالت مطالعه ===== */

/* کارت مشترک (هم‌خانواده با کادر پدیدآورندگان) */
.skh-card-t{margin:0;font-size:15px;font-weight:700;line-height:1.6;color:var(--sc-ink,#0C0C0C)}
.skh-card-t:before{content:'[ '}
.skh-card-t:after{content:' ]'}

/* واژه‌های این نوشتار */
.skh-words{margin:40px 0 0;padding:14px 20px 6px;border:1px solid var(--sc-line,#E2E4E9);border-radius:12px;background:var(--sc-bg,#fff)}
.skh-words-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.skh-words-n{font-size:12px;color:var(--sc-text,#555);opacity:.7;white-space:nowrap}
.skh-words-l{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:20px}
.skh-words-l li{margin:0!important;padding:0!important;border-top:1px solid var(--sc-line,#E2E4E9);list-style:none!important}
.skh-words-l li:before{display:none!important}
.skh-words-l a{position:relative;display:flex;flex-direction:column;gap:1px;padding:10px 0 10px 18px;text-decoration:none!important;color:var(--sc-ink,#0C0C0C)!important;transition:color .2s}
.skh-words-l a:after{content:'';position:absolute;left:0;top:50%;width:8px;height:8px;border-top:1.5px solid currentColor;border-left:1.5px solid currentColor;transform:translateY(-50%) rotate(-45deg);opacity:0;transition:opacity .2s,left .2s}
.skh-words-l a:hover:after,.skh-words-l a:focus-visible:after{opacity:.8;left:4px}
.skh-w-en{direction:ltr;text-align:right;font-size:14px;font-weight:600;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.skh-w-fa{font-size:12px;line-height:1.6;color:var(--sc-text,#555);opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.skh-words-l a:hover .skh-w-en{color:var(--sc-accent,#0C0C0C)}

/* نوشتار قبلی / بعدی */
.skh-pn{display:grid;grid-template-columns:1fr 1fr;margin:16px 0 0;border:1px solid var(--sc-line,#E2E4E9);border-radius:12px;overflow:hidden;background:var(--sc-bg,#fff)}
.skh-pn-cell{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 20px 16px;text-decoration:none!important;color:var(--sc-ink,#0C0C0C)!important;transition:background .25s,color .25s}
.skh-pn-cell.is-next{border-inline-start:1px solid var(--sc-line,#E2E4E9);align-items:flex-end;text-align:left}
.skh-pn-cell.is-empty{background:repeating-linear-gradient(-45deg,transparent 0 8px,rgba(12,12,12,.025) 8px 9px)}
.skh-pn-cell small{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.6;opacity:.6}
.skh-pn-cell.is-next small{flex-direction:row-reverse}
.skh-pn-cell.is-next .skh-pn-ar svg{transform:scaleX(-1)}
.skh-pn-ar{display:inline-flex;transition:transform .25s}
.skh-pn-t{font-size:15px;font-weight:600;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
a.skh-pn-cell:hover{background:var(--sc-inverse,#0C0C0C);color:var(--sc-on-inverse,#fff)!important}
a.skh-pn-cell:hover small{opacity:.75}
a.skh-pn-cell.is-prev:hover .skh-pn-ar{transform:translateX(3px)}
a.skh-pn-cell.is-next:hover .skh-pn-ar{transform:translateX(-3px)}

/* واژه‌های لینک‌شده در متن + پیش‌نمایش */
.skh-term{text-decoration:none!important;color:inherit!important;border-bottom:1px dotted currentColor;transition:border-color .2s}
.skh-term:hover,.skh-term:focus-visible{border-bottom-style:solid}
.skh-tip{position:absolute;z-index:99990;padding:10px 14px 9px;background:#fff;color:var(--sc-ink,#0C0C0C);border:1px solid var(--sc-line,#E2E4E9);border-radius:10px;box-shadow:0 14px 34px rgba(12,12,12,.12);font-size:12px;line-height:1.85;direction:rtl;text-align:right;opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .15s,transform .15s}
.skh-tip.is-below{transform:translateY(-4px)}
.skh-tip.is-on{opacity:1;transform:none}
.skh-tip strong{display:block;font-size:14px;font-weight:700;line-height:1.6;unicode-bidi:plaintext;text-align:right}
.skh-tip span{display:block;margin-top:2px;color:var(--sc-text,#555)}
.skh-tip em{display:block;margin-top:6px;font-style:normal;font-size:11px;opacity:.5}

/* قفل رنگی در منوی کناری: اعضا / مشترکین */
.betterdocs-nested-category-list li.skh-locked>a:after{content:'';display:inline-block;flex-shrink:0;width:12px;height:12px;margin-right:6px;vertical-align:-1px;opacity:1;background:var(--sc-ref-green-700,#1E8E4E);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat}
.betterdocs-nested-category-list li.skh-acc-premium>a:after{background:var(--sc-accent,#C8102E)}

/* سربرگ: عنوان و پدیدآورندگان */
.sh-ah .skh-ah-foot{margin-top:110px;display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:10px 24px}
.sh-ah .skh-ah-foot:has(.skh-by){margin-top:74px}
.sh-ah .skh-ah-foot h1.sh-ah-title{margin:0!important;flex:1 1 auto;min-width:0}
.sh-ah .skh-ah-foot .skh-by{margin:0 0 6px;flex:0 1 auto;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.7;color:rgba(255,255,255,.55)}
.sh-ah .skh-by-av{display:flex;flex-shrink:0;direction:ltr}
.sh-ah .skh-by-av img{width:26px;height:26px;border-radius:50%;object-fit:cover;border:2px solid var(--sc-inverse,#0C0C0C);margin-left:-8px;background:#333}
.sh-ah .skh-by-av img:first-child{margin-left:0}
.sh-ah .skh-by-txt{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:4px}
.sh-ah .skh-by em{font-style:normal;color:rgba(255,255,255,.5)}
.sh-ah .skh-by span span,.sh-ah .skh-by a{color:#fff!important;font-weight:400!important;text-decoration:none!important;border:0!important}
.sh-ah .skh-by a{background:linear-gradient(currentColor,currentColor) no-repeat 100% 100%/0 1px!important;transition:background-size .25s}
.sh-ah .skh-by a:hover{background-size:100% 1px!important}
.sh-ah .skh-by i{font-style:normal;margin:0 4px;color:rgba(255,255,255,.3)}

/* کادر پدیدآورندگان پایین نوشتار */
.shift-authors-wrapper .pp-author-boxes-name{line-height:1.35!important}
.shift-authors-wrapper .shift-ab-role{display:block;margin-top:1px;font-size:11px!important;font-weight:400!important;line-height:1.3!important;opacity:.6}

/* حالت مطالعه */
.sh-ah .sh-ah-actions .skh-rd-open svg{width:var(--sc-icon-s,16px)!important;height:var(--sc-icon-s,16px)!important}
.skh-rd{position:fixed;left:50%;bottom:20px;z-index:99995;display:flex;align-items:center;gap:2px;padding:6px;background:var(--sc-inverse,#0C0C0C);color:#fff;border-radius:999px;box-shadow:0 12px 32px rgba(0,0,0,.25);transform:translateX(-50%);direction:rtl}
.skh-rd[hidden]{display:none}
.skh-rd button{all:unset;box-sizing:border-box;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;font-weight:700;line-height:1;color:#fff;transition:background .2s}
.skh-rd button.is-big{font-size:18px}
.skh-rd button small{font-size:11px;margin-right:1px;opacity:.7}
.skh-rd button:hover,.skh-rd button:focus-visible{background:rgba(255,255,255,.14)}
.skh-rd i{width:1px;height:18px;margin:0 4px;background:rgba(255,255,255,.2)}
.skh-rd .skh-sw:before{content:'';width:16px;height:16px;border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.skh-rd .skh-sw.is-light:before{background:#fff}
.skh-rd .skh-sw.is-sepia:before{background:#F3EAD7}
.skh-rd .skh-sw.is-dark:before{background:#2A2A2A}
.skh-rd .skh-sw[aria-pressed="true"]:before{box-shadow:0 0 0 2px var(--sc-inverse,#0C0C0C),0 0 0 3.5px #fff}
body.skh-focus .sc-hd-wrap,body.skh-focus .site-footer,body.skh-focus .betterdocs-full-sidebar-left,body.skh-focus .betterdocs-full-sidebar-right,body.skh-focus .sc-top,body.skh-focus .betterdocs-breadcrumb,body.skh-focus .shift-authors-wrapper,body.skh-focus .skh-pn,body.skh-focus .skh-words,body.skh-focus #comments,body.skh-focus .comments-area,body.skh-focus .betterdocs-entry-footer,body.skh-focus .sh-ah-actions>*:not(.skh-rd-open),body.skh-focus .shift-reading-ring-wrap{display:none!important}
body.skh-focus .betterdocs-content-full{display:block!important}
body.skh-focus #betterdocs-single-main{max-width:740px!important;width:100%!important;margin:0 auto!important;flex:0 1 740px!important;padding:24px 16px 120px!important}
body.skh-focus .betterdocs-content :is(p,li,blockquote,td,dd,dt):not(.sh-ah *){font-size:calc(var(--skh-base,16px) * var(--skh-fs,1))!important;line-height:2.05!important}
body.skh-focus,body.skh-focus #page,body.skh-focus .site-content,body.skh-focus .betterdocs-wrapper,body.skh-focus .betterdocs-content-full,body.skh-focus .betterdocs-content-wrapper,body.skh-focus #betterdocs-single-main,body.skh-focus .betterdocs-content-inner-area{transition:background .3s,color .3s}
body.skh-focus[data-skh-bg="sepia"],body.skh-focus[data-skh-bg="sepia"] :is(#page,.site-content,.betterdocs-wrapper,.betterdocs-content-full,.betterdocs-content-wrapper,#betterdocs-single-main,.betterdocs-content-inner-area,.doc-single-content-wrapper,.betterdocs-entry-content){background:#F6EFE1!important}
body.skh-focus[data-skh-bg="sepia"] .betterdocs-content{color:#3B2F22}
body.skh-focus[data-skh-bg="dark"],body.skh-focus[data-skh-bg="dark"] :is(#page,.site-content,.betterdocs-wrapper,.betterdocs-content-full,.betterdocs-content-wrapper,#betterdocs-single-main,.betterdocs-content-inner-area,.doc-single-content-wrapper,.betterdocs-entry-content){background:#141414!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content,body.skh-focus[data-skh-bg="dark"] .betterdocs-content :is(p,li,h2,h3,h4,h5,h6,strong,b,blockquote,td,th){color:#E6E6E6!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content a{color:#9EC5FF!important}
body.skh-focus[data-skh-bg="dark"] .sh-ah-meta,body.skh-focus[data-skh-bg="dark"] .sh-ah-info,body.skh-focus[data-skh-bg="dark"] .sh-ah-info b{color:#BDBDBD!important;border-color:#2A2A2A!important}

@media (max-width:768px){
.sh-ah .skh-ah-foot{margin-top:calc(var(--sc-space-4,16px) + 35px);gap:8px}
.sh-ah .skh-ah-foot:has(.skh-by){margin-top:28px}
.sh-ah .skh-ah-foot .skh-by{margin:0;font-size:12px;gap:8px}
.sh-ah .skh-by-av img{width:22px;height:22px}
.sh-ah .sh-ah-info .sh-ah-item-fmt span{display:none!important}
.sh-ah .sh-ah-info li:not(:last-child)::after{content:'|';margin-inline-start:8px!important;margin-inline-end:4px;color:currentColor!important;opacity:.4;font-weight:400}
.skh-words{padding:12px 14px 4px;margin-top:32px}
.skh-words-hd{flex-direction:column;gap:0}
.skh-words-l{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
.skh-w-en{font-size:13px}
.skh-w-fa{font-size:11px}
.skh-pn{grid-template-columns:1fr}
.skh-pn-cell{padding:12px 16px 14px}
.skh-pn-cell.is-next{border-inline-start:0;border-top:1px solid var(--sc-line,#E2E4E9)}
.skh-pn-cell.is-empty{display:none}
.skh-pn-t{font-size:14px}
.skh-rd{bottom:14px}
body.skh-focus #betterdocs-single-main{padding:12px 14px 100px!important}
}
@media (prefers-reduced-motion:reduce){.skh-pn-cell,.skh-pn-ar,.skh-tip,.skh-words-l a:after{transition:none}}.skh-tip{width:max-content;min-width:140px}

/* ===== v1.1d ===== */
/* بعد از پانویس: منابع، تاریخچه، واژه‌ها — همه آکاردئونی */
.skh-after{margin:28px 0 0;display:flex;flex-direction:column;gap:8px}
.skh-after>details{margin:0!important}
.skh-wacc summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.skh-wacc .skh-words-n{font-weight:400;font-size:12px;opacity:.6;margin-inline-start:auto;margin-inline-end:12px}
.skh-wacc .skh-words-l{margin:0!important;padding:4px 18px 10px!important}
.skh-wacc .skh-words-l li{border-top-color:rgba(12,12,12,.08)}
@media (max-width:768px){.skh-wacc .skh-words-n{display:none}.skh-wacc .skh-words-l{padding:2px 14px 8px!important}}

/* قفل‌های منوی کناری (اعضا = سبز، مشترکین = رنگ اصلی) — هر دو هم‌زمان ممکن */
.betterdocs-nested-category-list li.skh-locked>a:after{content:none!important;display:none!important}
.skh-lk{display:inline-block;flex-shrink:0;width:12px;height:12px;margin-inline-start:5px;vertical-align:-1px;background:var(--sc-ref-green-700,#00753A);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat}
.skh-lk.is-premium{background:var(--sc-accent,#C8102E)}

/* حالت مطالعه: عرض بیشتر (فقط دسکتاپ) */
body.skh-focus.skh-wide #betterdocs-single-main{max-width:none!important;width:100%!important;flex:1 1 100%!important}
body.skh-focus.skh-wide .betterdocs-content-wrapper,body.skh-focus.skh-wide .betterdocs-content-inner-area,body.skh-focus.skh-wide .doc-single-content-wrapper{max-width:none!important;width:100%!important}
.skh-rd-wide{transition:background .2s}
@media (max-width:768px){.skh-rd .skh-rd-wide,.skh-rd .skh-rd-wide+i{display:none!important}}

/* حالت مطالعه: بلوک‌های رنگی (نقل‌قول، منابع، تاریخچه، واژه‌ها) در زمینه‌ی تیره */
body.skh-focus[data-skh-bg="dark"] .betterdocs-content :is(details,blockquote,.wp-block-quote,.has-background,[style*="background"],.skh-after){background:#1E1E22!important;background-color:#1E1E22!important;color:#E6E6E6!important;border-color:#33333A!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content :is(details,blockquote,.wp-block-quote,.has-background) :is(p,li,ul,ol,div,summary,span,strong,b,em,small,h2,h3,h4,h5,h6,sup,td,th,a){color:#E6E6E6!important;background:transparent!important;background-color:transparent!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content :is(details,blockquote,.wp-block-quote) a{color:#9EC5FF!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content .skh-after{background:transparent!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content summary{border-color:#33333A!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content .skh-w-fa{color:#BDBDBD!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content .skh-words-l li{border-top-color:#33333A!important}
body.skh-focus[data-skh-bg="dark"] .betterdocs-content :is(h1,h2,h3):not(.sh-ah-title){background:#0C0C0C!important;color:#fff!important}
body.skh-focus[data-skh-bg="sepia"] .betterdocs-content :is(details,blockquote,.wp-block-quote,.has-background,[style*="background"]){background:#EFE5CF!important;background-color:#EFE5CF!important;color:#3B2F22!important;border-color:#DCCFB2!important}
body.skh-focus[data-skh-bg="sepia"] .betterdocs-content :is(details,blockquote,.wp-block-quote,.has-background) :is(p,li,ul,ol,div,summary,span,strong,b,em,small,sup,td,th){color:#3B2F22!important;background:transparent!important}
body.skh-focus[data-skh-bg="sepia"] .betterdocs-content .skh-after{background:transparent!important}
body.skh-focus.skh-wide .betterdocs-content-wrapper{display:block!important}
body.skh-focus.skh-wide #betterdocs-single-main{grid-column:1/-1!important;margin:0!important;max-width:none!important}

/* v1.1e: حالت مطالعه — عرض سایت، دارک‌مد کامل، موبایل فقط رنگ و فونت */
body.skh-focus.skh-wide #betterdocs-single-main{max-width:1400px!important;width:100%!important;margin:0 auto!important;flex:0 1 1400px!important}
body.skh-focus.skh-wide .betterdocs-content-wrapper,body.skh-focus.skh-wide .betterdocs-content-inner-area,body.skh-focus.skh-wide .doc-single-content-wrapper{max-width:1400px!important}
@media(max-width:768px){
body.skh-focus .sc-hd-wrap,body.skh-focus .site-footer,body.skh-focus .betterdocs-full-sidebar-left,body.skh-focus .betterdocs-full-sidebar-right,body.skh-focus .sc-top,body.skh-focus .betterdocs-breadcrumb,body.skh-focus .shift-authors-wrapper,body.skh-focus .skh-pn,body.skh-focus .skh-words,body.skh-focus #comments,body.skh-focus .comments-area,body.skh-focus .betterdocs-entry-footer,body.skh-focus .shift-reading-ring-wrap{display:revert!important}
body.skh-focus .sh-ah-actions>*:not(.skh-rd-open){display:revert!important}
body.skh-focus .betterdocs-content-full{display:revert!important}
body.skh-focus #betterdocs-single-main{max-width:none!important;width:auto!important;margin:revert!important;flex:revert!important;padding:revert!important}
}
/* دارک‌مد کامل */
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main *:where(:not(img,svg,svg *,video,iframe,canvas,.skh-lk,.skh-tip)){background-color:transparent!important;color:#E6E6E6!important;border-color:#33333A!important;box-shadow:none!important;text-shadow:none!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main :is(details,blockquote,.wp-block-quote,pre,code,.wp-block-table figcaption){background-color:#1E1E22!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main :is(th,thead td){background-color:#0C0C0C!important;color:#fff!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main tbody tr:nth-child(even) td{background-color:#1A1A1E!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main table,body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main td,body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main th{border:1px solid #33333A!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main a{color:#9EC5FF!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main :is(.sh-ah-meta,.sh-ah-info,.sh-ah-info b,.skh-w-fa,small){color:#BDBDBD!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main :is(h1,h2,h3):not(.sh-ah-title){background-color:#0C0C0C!important;color:#fff!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main :is(input,select,textarea){background-color:#1E1E22!important}
body.skh-focus[data-skh-bg="dark"]{color-scheme:dark}
/* سپیا کامل */
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main *:where(:not(img,svg,svg *,video,iframe,canvas,.skh-lk,.skh-tip)){background-color:transparent!important;color:#3B2F22!important;border-color:#DCCFB2!important;box-shadow:none!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main :is(details,blockquote,.wp-block-quote,pre,code){background-color:#EFE5CF!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main :is(th,thead td){background-color:#E4D6B8!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main tbody tr:nth-child(even) td{background-color:#F0E6D0!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main :is(table,td,th){border:1px solid #DCCFB2!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main a{color:#7A4B12!important}
/* v1.1f: H2 مشکی در دارک و کاغذی مثل روشن؛ H3 دارک بدون بک مشکی */
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main .betterdocs-content h2{background-color:#0C0C0C!important;color:#fff!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main .betterdocs-content h3:not(.sh-ah-title){background-color:transparent!important}

/* v1.2a: mobile reading font only for text; comment icon in sepia/dark; spacing under header */
body.skh-focus.skh-focus .betterdocs-content :is(p,li,blockquote,td,dd,dt):not(.sh-ah *){font-size:calc(var(--skh-base,16px) * var(--skh-fs,1))!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main .sh-ah .sh-ah-actions :is(a,button).sh-ah-btn{color:#3B2F22!important;background-color:#F6EFE1!important;border-color:#DCCFB2!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main .sh-ah .sh-ah-actions .sh-ah-badge{background-color:#3B2F22!important;color:#F6EFE1!important;border-color:#F6EFE1!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main .sh-ah .sh-ah-actions :is(a,button).sh-ah-btn{color:#E6E6E6!important;background-color:#1E1E22!important;border-color:#33333A!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main .sh-ah .sh-ah-actions .sh-ah-badge{background-color:#E6E6E6!important;color:#141414!important;border-color:#141414!important}
@media(max-width:768px){.betterdocs-content .sh-ah{margin-bottom:22px!important}}
/* v1.2b: badge closer to the comment icon */
.sh-ah .sh-ah-actions a.sh-ah-btn .sh-ah-badge{top:-3px!important;left:-3px!important;right:auto!important}

/* v1.2c: icon centering; mobile reading mode hides header/footer/comments/ring; mobile info row = update date only; tables in sepia/dark on mobile */
.sh-ah .sh-ah-actions a.sh-ah-btn,.sh-ah .sh-ah-actions button.sh-ah-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:768px){
body.skh-focus .sc-hd-wrap,body.skh-focus .site-footer,body.skh-focus #comments,body.skh-focus .comments-area,body.skh-focus .betterdocs-entry-footer,body.skh-focus .shift-reading-ring-wrap,body.skh-focus .sc-top,body.skh-focus .betterdocs-full-sidebar-left,body.skh-focus .betterdocs-full-sidebar-right{display:none!important}
.sh-ah .sh-ah-info li{display:none!important}
.sh-ah .sh-ah-info li.sh-ah-item-mod{display:inline-flex!important}
.sh-ah .sh-ah-info:not(:has(.sh-ah-item-mod)) li.sh-ah-item-pub{display:inline-flex!important}
.sh-ah .sh-ah-info li::after{display:none!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main .betterdocs-content :is(td,th){border:0!important;background-color:transparent!important}
body.skh-focus[data-skh-bg="sepia"] #betterdocs-single-main .betterdocs-content tr{background-color:#EFE5CF!important;border:1px solid #DCCFB2!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main .betterdocs-content :is(td,th){border:0!important;background-color:transparent!important}
body.skh-focus[data-skh-bg="dark"] #betterdocs-single-main .betterdocs-content tr{background-color:#1E1E22!important;border:1px solid #33333A!important}
}
/* v1.2d: mobile info row (higher specificity than kh-design) */
@media(max-width:768px){
body .betterdocs-entry-content .sh-ah .sh-ah-info li:not(.sh-ah-item-mod){display:none!important}
body .betterdocs-entry-content .sh-ah .sh-ah-info:not(:has(.sh-ah-item-mod)) li.sh-ah-item-pub{display:inline-flex!important}
body.skh-focus.skh-focus .site-footer,body.skh-focus.skh-focus #comments,body.skh-focus.skh-focus .comments-area,body.skh-focus.skh-focus .sc-hd-wrap,body.skh-focus.skh-focus .betterdocs-entry-footer,body.skh-focus.skh-focus .shift-reading-ring-wrap{display:none!important}
}
/* v1.2e: reading mode hides the floating categories/TOC bar */
body.skh-focus .betterdocs-mobile-nav{display:none!important}

/* v1.3: category page — tighter top spacing, stats row with divider */
body.tax-doc_category .betterdocs-content-wrapper{padding-top:0!important}
body.tax-doc_category .betterdocs-content-area{margin-top:0!important;padding-top:0!important}
body.tax-doc_category .betterdocs-content-inner-area{padding-top:28px!important}
.skh-cat-stats{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:var(--sc-space-2,8px) 0 var(--sc-space-3,16px)!important;padding-bottom:var(--sc-space-3,16px);border-bottom:1px solid var(--sc-line,#E2E4E9);color:var(--sc-text-muted,#4A4D57);font-size:var(--sc-label-m-size,13px)}
.skh-cat-stats b{color:var(--sc-ink,#0C0C0C);font-weight:700}
.skh-cat-stats i{opacity:.5;font-style:normal}

/* v1.2f: mobile info row also shows reading time with its icon */
@media(max-width:768px){
body .betterdocs-entry-content .sh-ah .sh-ah-info li.sh-ah-item-time{display:inline-flex!important}
}

/* v1.2g: byline font-size collides with a higher-specificity body.kh-test p rule; force 12px */
body .betterdocs-entry-content .sh-ah .skh-ah-foot .skh-by{font-size:12px!important}
/* لینک سرتیترها (هم‌شکل دکمه‌ی کپی لغت‌نامه) */
.betterdocs-entry-content :is(h2, h3, h4) { scroll-margin-top: 110px; }
.betterdocs-entry-content :is(h2, h3, h4) a.skh-hlink {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; margin-inline-start: 8px; vertical-align: middle;
	border: 1px solid transparent; border-radius: 8px;
	color: var(--sc-ref-dark-300, #b8bcc6) !important; background: transparent; text-decoration: none !important;
	opacity: 0; transition: opacity .15s, color .15s, background .15s, border-color .15s;
}
.betterdocs-entry-content :is(h2, h3, h4) a.skh-hlink svg { display: block; width: 14px; height: 14px; }
.betterdocs-entry-content :is(h2, h3, h4):hover a.skh-hlink,
.betterdocs-entry-content a.skh-hlink:focus-visible { opacity: 1; }
.betterdocs-entry-content :is(h2, h3, h4) a.skh-hlink:hover { color: var(--sc-link, #2f5bea) !important; background: var(--sc-surface, #f4f5f7); }
@media (hover: none) { .betterdocs-entry-content :is(h2, h3, h4) a.skh-hlink { opacity: .7; } }
.betterdocs-entry-content :is(h2, h3, h4) a.skh-hlink.is-done {
	opacity: 1; color: var(--sc-on-success-container, #0b6b3a) !important;
	background: var(--sc-success-container, #dff5e8) !important; border-color: var(--sc-on-success-container, #0b6b3a);
}
.betterdocs-entry-content a.skh-hlink[data-tip]::after {
	content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
	padding: 2px 8px; border-radius: 6px; background: #111; color: #fff;
	font-size: 11px; font-weight: 500; line-height: 1.7; white-space: nowrap; pointer-events: none;
}
/* سرتیترهای مشکی (h-black): آیکن روشن */
.betterdocs-entry-content .h-black a.skh-hlink { color: rgba(255,255,255,.75) !important; }
.betterdocs-entry-content .h-black a.skh-hlink:hover { color: #fff !important; background: rgba(255,255,255,.15); }/* برچسب منبع نقل‌قول (بر CSS سفارشی پاراگراف‌ها غلبه کند) */
body.kh-test .betterdocs-entry-content blockquote:has(.qute-acc) > p:first-child,
body.kh-test .betterdocs-entry-content blockquote > p:first-child:has(> strong:only-child) { font-size: 12px !important; line-height: 1.8 !important; }
/* کپی شد: سبز پررنگ با تیک سفید، راهنمای روشن روی سرتیتر مشکی */
.betterdocs-entry-content :is(h2, h3, h4) a.skh-hlink.is-done, .betterdocs-entry-content .h-black a.skh-hlink.is-done { opacity: 1; color: #fff !important; background: #16a34a !important; border-color: #16a34a !important; }
.betterdocs-entry-content a.skh-hlink[data-tip]::after { background: #fff !important; color: #111 !important; border: 1px solid #e2e4e9; box-shadow: 0 4px 14px rgba(0,0,0,.18); font-family: inherit; }
/* skh-words v2 (1405/08/28): بی‌خط، لینک‌وار و آرام */
.skh-words-l{row-gap:2px!important}
.skh-words-l li{border:0!important}
.skh-words-l a{padding:6px 8px!important;border-radius:8px;flex-direction:row!important;align-items:baseline;gap:8px!important;transition:background .15s}
.skh-words-l a:hover,.skh-words-l a:focus-visible{background:#F3F6FF}
.skh-words-l a::after{display:none!important}
.skh-w-en{color:#3366FF!important;font-size:13.5px}
.skh-words-l a:hover .skh-w-en{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.skh-focus[data-skh-bg="dark"] .skh-words-l a:hover{background:#1d1f27}
body.skh-focus[data-skh-bg="dark"] .skh-w-en{color:#8FA8FF!important}
/* واژه‌های این نوشتار v2: تراشه‌های هم‌اندازهٔ متن، بدون برش */
.skh-wacc .skh-words-l{display:flex!important;flex-wrap:wrap;gap:8px!important;padding:8px 18px 14px!important}
.skh-wacc .skh-words-l li{flex:0 1 auto;max-width:100%}
.skh-wacc .skh-words-l a{display:inline-flex!important;flex-wrap:wrap;align-items:baseline;gap:2px 8px!important;padding:6px 14px!important;border:1px solid #E2E4E9;border-radius:999px;background:#fff}
.skh-wacc .skh-words-l a:hover,.skh-wacc .skh-words-l a:focus-visible{border-color:#94AFFF;background:#F5F8FF}
.skh-wacc .skh-w-en,.skh-wacc .skh-w-fa{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.skh-wacc .skh-w-en{font-size:13.5px;font-weight:700}
.skh-wacc .skh-w-fa{font-size:12.5px;opacity:1;color:#6B7079}
@media (max-width:768px){.skh-wacc .skh-words-l{gap:6px!important;padding:6px 12px 12px!important}.skh-wacc .skh-words-l a{padding:5px 12px!important}}
body.skh-focus[data-skh-bg="dark"] .skh-wacc .skh-words-l a{background:transparent;border-color:#33333A}

.betterdocs-articles-list li.skh-f-video::before,.betterdocs-entry-body li.skh-f-video::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m16%2013%205.223%203.482a.5.5%200%200%200%20.777-.416V7.87a.5.5%200%200%200-.752-.432L16%2010.5%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%276%27%20width%3D%2714%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m16%2013%205.223%203.482a.5.5%200%200%200%20.777-.416V7.87a.5.5%200%200%200-.752-.432L16%2010.5%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%276%27%20width%3D%2714%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-audio::before,.betterdocs-entry-body li.skh-f-audio::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2014h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-7a9%209%200%200%201%2018%200v7a2%202%200%200%201-2%202h-1a2%202%200%200%201-2-2v-3a2%202%200%200%201%202-2h3%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2014h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-7a9%209%200%200%201%2018%200v7a2%202%200%200%201-2%202h-1a2%202%200%200%201-2-2v-3a2%202%200%200%201%202-2h3%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-quiz::before,.betterdocs-entry-body li.skh-f-quiz::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203%27%2F%3E%3Cpath%20d%3D%27M12%2017h.01%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203%27%2F%3E%3Cpath%20d%3D%27M12%2017h.01%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-guide::before,.betterdocs-entry-body li.skh-f-guide::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27m16.24%207.76-1.804%205.411a2%202%200%200%201-1.265%201.265L7.76%2016.24l1.804-5.411a2%202%200%200%201%201.265-1.265z%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27m16.24%207.76-1.804%205.411a2%202%200%200%201-1.265%201.265L7.76%2016.24l1.804-5.411a2%202%200%200%201%201.265-1.265z%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-glossary::before,.betterdocs-entry-body li.skh-f-glossary::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m5%208%206%206%27%2F%3E%3Cpath%20d%3D%27m4%2014%206-6%202-3%27%2F%3E%3Cpath%20d%3D%27M2%205h12%27%2F%3E%3Cpath%20d%3D%27M7%202h1%27%2F%3E%3Cpath%20d%3D%27m22%2022-5-10-5%2010%27%2F%3E%3Cpath%20d%3D%27M14%2018h6%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m5%208%206%206%27%2F%3E%3Cpath%20d%3D%27m4%2014%206-6%202-3%27%2F%3E%3Cpath%20d%3D%27M2%205h12%27%2F%3E%3Cpath%20d%3D%27M7%202h1%27%2F%3E%3Cpath%20d%3D%27m22%2022-5-10-5%2010%27%2F%3E%3Cpath%20d%3D%27M14%2018h6%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-exercise::before,.betterdocs-entry-body li.skh-f-exercise::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z%27%2F%3E%3Cpath%20d%3D%27m15%205%204%204%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z%27%2F%3E%3Cpath%20d%3D%27m15%205%204%204%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-slides::before,.betterdocs-entry-body li.skh-f-slides::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%203h20%27%2F%3E%3Cpath%20d%3D%27M21%203v11a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V3%27%2F%3E%3Cpath%20d%3D%27m7%2021%205-5%205%205%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%203h20%27%2F%3E%3Cpath%20d%3D%27M21%203v11a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V3%27%2F%3E%3Cpath%20d%3D%27m7%2021%205-5%205%205%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-download::before,.betterdocs-entry-body li.skh-f-download::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2015V3%27%2F%3E%3Cpath%20d%3D%27M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4%27%2F%3E%3Cpath%20d%3D%27m7%2010%205%205%205-5%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2015V3%27%2F%3E%3Cpath%20d%3D%27M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4%27%2F%3E%3Cpath%20d%3D%27m7%2010%205%205%205-5%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-resource::before,.betterdocs-entry-body li.skh-f-resource::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-qa::before,.betterdocs-entry-body li.skh-f-qa::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M14%209a2%202%200%200%201-2%202H6l-4%204V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202z%27%2F%3E%3Cpath%20d%3D%27M18%209h2a2%202%200%200%201%202%202v11l-4-4h-6a2%202%200%200%201-2-2v-1%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M14%209a2%202%200%200%201-2%202H6l-4%204V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202z%27%2F%3E%3Cpath%20d%3D%27M18%209h2a2%202%200%200%201%202%202v11l-4-4h-6a2%202%200%200%201-2-2v-1%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-case::before,.betterdocs-entry-body li.skh-f-case::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M16%2020V4a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16%27%2F%3E%3Crect%20width%3D%2720%27%20height%3D%2714%27%20x%3D%272%27%20y%3D%276%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M16%2020V4a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16%27%2F%3E%3Crect%20width%3D%2720%27%20height%3D%2714%27%20x%3D%272%27%20y%3D%276%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-checklist::before,.betterdocs-entry-body li.skh-f-checklist::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m3%2017%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27m3%207%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27M13%206h8%27%2F%3E%3Cpath%20d%3D%27M13%2012h8%27%2F%3E%3Cpath%20d%3D%27M13%2018h8%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m3%2017%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27m3%207%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27M13%206h8%27%2F%3E%3Cpath%20d%3D%27M13%2012h8%27%2F%3E%3Cpath%20d%3D%27M13%2018h8%27%2F%3E%3C%2Fsvg%3E")!important}.betterdocs-articles-list li.skh-f-terminology::before,.betterdocs-entry-body li.skh-f-terminology::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3Cpath%20d%3D%27m8%2013%204-7%204%207%27%2F%3E%3Cpath%20d%3D%27M9.1%2011h5.7%27%2F%3E%3C%2Fsvg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3Cpath%20d%3D%27m8%2013%204-7%204%207%27%2F%3E%3Cpath%20d%3D%27M9.1%2011h5.7%27%2F%3E%3C%2Fsvg%3E")!important}
/* shift-sc-ui */
/* ==========================================================================
   SHIFT UI — لایه‌ی اجزای یکپارچه‌ی سایت (پیش‌نمایش ?kh=new، body.sc-new)
   مبنا: استاندارد اجزای shadcn/ui (Button, Input, Select, Badge, Card, Table,
   Tabs, Breadcrumb, Pagination, Alert, Dialog) با رنگ‌های شیفت:
   سفید، سیاه، یک آبی. رنگ‌های روشن و سایه‌ها در این فایل استاندارد شده‌اند.
   فقط نقش‌ها (var(--sc-…)) تا حالت تاریک خودکار درست باشد. منبع: DESIGN.md
   ========================================================================== */

body.sc-new {
  /* اندازه‌ها */
  --ui-h-sm: 32px; --ui-h: 36px; --ui-h-lg: 40px;
  --ui-r-sm: 6px; --ui-r: 8px; --ui-r-lg: 10px; --ui-r-xl: 14px;
  /* سایه‌ها (shadcn: xs, sm, md, lg) */
  --ui-shadow-xs: 0 1px 2px 0 rgb(12 12 12 / .05);
  --ui-shadow-sm: 0 1px 3px 0 rgb(12 12 12 / .08), 0 1px 2px -1px rgb(12 12 12 / .08);
  --ui-shadow-md: 0 4px 6px -1px rgb(12 12 12 / .08), 0 2px 4px -2px rgb(12 12 12 / .06);
  --ui-shadow-lg: 0 10px 15px -3px rgb(12 12 12 / .10), 0 4px 6px -4px rgb(12 12 12 / .08);
  --ui-ring: 0 0 0 3px color-mix(in srgb, var(--sc-focus) 35%, transparent);
  --ui-muted-hover: color-mix(in srgb, var(--sc-surface) 70%, var(--sc-line));
}
:root[data-theme="dark"] body.sc-new {
  --ui-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .4);
  --ui-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .5), 0 1px 2px -1px rgb(0 0 0 / .5);
  --ui-shadow-md: 0 4px 6px -1px rgb(0 0 0 / .5), 0 2px 4px -2px rgb(0 0 0 / .4);
  --ui-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .55), 0 4px 6px -4px rgb(0 0 0 / .45);
}

/* ---------- Button ---------- */
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .sh-home) :is(a.button, button.button, input.button, .wp-block-button__link, a.sh-btn, button[type="submit"]:not([class*="search"]):not(.sc-hd *)) {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  min-height: var(--ui-h) !important; height: var(--ui-h) !important; padding: 0 16px !important; margin: 0;
  font-family: inherit !important; font-size: 14px !important; line-height: 1.5 !important; font-weight: 500 !important; letter-spacing: 0 !important;
  text-decoration: none !important; white-space: nowrap; cursor: pointer;
  border-radius: var(--ui-r) !important; border: 1px solid transparent !important; box-shadow: var(--ui-shadow-xs) !important;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
/* پیش‌فرض: سیاه */
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .sh-home) :is(a.button, button.button, input.button, a.sh-btn--p, button[type="submit"]:not([class*="search"]):not(.sc-hd *)),
html body.sc-new :is(.entry-content, .site-main, .sh-home) .wp-block-button:not(.is-style-outline):not(.is-style-sc-tonal) .wp-block-button__link:not(.has-background) {
  background: var(--sc-primary) !important; color: var(--sc-on-primary) !important;
}
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .sh-home) :is(a.button, button.button, input.button, a.sh-btn--p, button[type="submit"]:not([class*="search"]):not(.sc-hd *)):hover,
html body.sc-new :is(.entry-content, .site-main, .sh-home) .wp-block-button:not(.is-style-outline):not(.is-style-sc-tonal) .wp-block-button__link:not(.has-background):hover {
  background: var(--sc-primary-hover) !important; color: var(--sc-on-primary) !important;
}
/* Outline */
html body.sc-new :is(.entry-content, .site-main, .sh-home) :is(a.sh-btn--s, .is-style-outline .wp-block-button__link, a.button.is-outline) {
  background: var(--sc-bg) !important; color: var(--sc-ink) !important; border-color: var(--sc-line) !important;
}
html body.sc-new :is(.entry-content, .site-main, .sh-home) :is(a.sh-btn--s, .is-style-outline .wp-block-button__link, a.button.is-outline):hover {
  background: var(--sc-surface) !important; color: var(--sc-ink) !important;
}
/* Accent (آبی): دکمه‌ی خرید / اقدام اصلی فروشگاه */
html body.sc-new.woocommerce :is(.single_add_to_cart_button, .checkout-button, #place_order),
html body.sc-new :is(.single_add_to_cart_button, .checkout-button, #place_order) {
  background: var(--sc-accent) !important; color: var(--sc-on-accent) !important; border-color: transparent !important;
  min-height: var(--ui-h-lg) !important; height: var(--ui-h-lg) !important; padding-inline: 24px !important; font-size: 14px !important;
}
html body.sc-new :is(.single_add_to_cart_button, .checkout-button, #place_order):hover { background: var(--sc-accent-hover) !important; }
html body.sc-new :is(a.button, button.button, .wp-block-button__link, a.sh-btn, button[type="submit"]):focus-visible { outline: 0 !important; box-shadow: var(--ui-ring) !important; }
html body.sc-new :is(a.button, button.button, .wp-block-button__link, button[type="submit"]):is(:disabled, .disabled, [aria-disabled="true"]) { opacity: .5 !important; pointer-events: none; }

/* ---------- Input / Select / Textarea ---------- */
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input[type="search"], select, textarea):not([class*="betterdocs"]):not(.shift-search-field) {
  box-sizing: border-box; min-height: var(--ui-h); padding: 4px 12px !important;
  font-family: inherit; font-size: 14px !important; line-height: 1.5 !important; color: var(--sc-ink) !important;
  background-color: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r) !important;
  box-shadow: var(--ui-shadow-xs) !important; transition: border-color .15s, box-shadow .15s;
}
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond) textarea:not([class*="betterdocs"]) { min-height: 112px; }
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond) :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([class*="betterdocs"]):not(.shift-search-field):focus {
  outline: 0 !important; border-color: var(--sc-focus) !important; box-shadow: var(--ui-ring) !important;
}
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond) :is(input, textarea)::placeholder { color: var(--sc-text-muted); opacity: .8; }
html body.sc-new :is(.woocommerce, .woocommerce-page, .comment-respond) label { font-size: 14px; font-weight: 500; color: var(--sc-ink); }

/* ---------- Badge ---------- */
html body.sc-new :is(.onsale, .sc-card-badge) {
  display: inline-flex !important; align-items: center; min-height: 0 !important; min-width: 0 !important; height: auto !important; padding: 2px 8px !important; margin: 0 !important;
  font-size: 12px !important; line-height: 1.6 !important; font-weight: 500 !important;
  border-radius: var(--ui-r) !important; border: 1px solid transparent; box-shadow: none !important;
  background: var(--sc-accent) !important; color: var(--sc-on-accent) !important;
}
html body.sc-new .sc-card-cat { font-size: 12px !important; color: var(--sc-text-muted) !important; }

/* ---------- Card: محصولات فروشگاه ---------- */
html body.sc-new.woocommerce ul.products, html body.sc-new .woocommerce ul.products { gap: 16px; }
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product {
  display: flex !important; flex-direction: column; box-sizing: border-box; padding: 12px 12px 16px !important; text-align: start !important;
  background: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; box-shadow: var(--ui-shadow-xs) !important;
  transition: box-shadow .15s, border-color .15s;
}
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product:hover { box-shadow: var(--ui-shadow-md) !important; }
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product .wc-product-image { margin: 0 0 12px !important; border-radius: var(--ui-r) !important; overflow: hidden; background: var(--sc-surface); }
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product .wc-product-image img { border-radius: 0 !important; margin: 0 !important; }
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product .woocommerce-loop-product__title {
  padding: 0 !important; margin: 0 0 6px !important; font-size: 15px !important; line-height: 1.6 !important; font-weight: 700 !important; color: var(--sc-ink) !important;
}
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product .price { display: block; margin: 0 0 12px !important; font-size: 14px !important; font-weight: 700 !important; color: var(--sc-text) !important; }
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product > a.woocommerce-loop-product__link { flex: 1; text-decoration: none !important; }
html body.sc-new :is(.site-main, .woocommerce) ul.products li.product .button { width: 100%; align-self: stretch !important; margin-top: auto !important; }

/* ---------- Alert: پیام‌های فروشگاه ---------- */
html body.sc-new :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice) {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 20px !important; padding: 12px 16px !important;
  font-size: 14px !important; line-height: 1.7 !important; color: var(--sc-text) !important; list-style: none;
  background: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-lg) !important; box-shadow: none !important;
}
html body.sc-new :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { position: static !important; flex: none; margin: 0 !important; color: currentColor; }
html body.sc-new .woocommerce-message { border-color: color-mix(in srgb, var(--sc-success) 40%, var(--sc-line)) !important; }
html body.sc-new .woocommerce-message::before { color: var(--sc-success) !important; }
html body.sc-new .woocommerce-info::before { color: var(--sc-accent) !important; }
html body.sc-new .woocommerce-error { border-color: color-mix(in srgb, var(--sc-error) 40%, var(--sc-line)) !important; color: var(--sc-on-error-container) !important; }
html body.sc-new .woocommerce-error::before { color: var(--sc-error) !important; }
html body.sc-new :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button { order: 2; margin-inline-start: auto !important; min-height: var(--ui-h-sm) !important; height: var(--ui-h-sm) !important; padding: 0 12px !important; font-size: 13px !important; }

/* ---------- Tabs: زبانه‌های محصول (Woo) ---------- */
html body.sc-new .woocommerce-tabs ul.tabs {
  display: inline-flex !important; flex-wrap: wrap; gap: 2px; margin: 0 0 20px !important; padding: 3px !important;
  background: var(--sc-surface) !important; border: 0 !important; border-radius: var(--ui-r-lg) !important;
}
html body.sc-new .woocommerce-tabs ul.tabs::before, html body.sc-new .woocommerce-tabs ul.tabs li::before, html body.sc-new .woocommerce-tabs ul.tabs li::after { display: none !important; }
html body.sc-new .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: var(--ui-r) !important; }
html body.sc-new .woocommerce-tabs ul.tabs li a { display: block; padding: 4px 12px !important; font-size: 14px !important; font-weight: 500 !important; color: var(--sc-text-muted) !important; text-decoration: none !important; }
html body.sc-new .woocommerce-tabs ul.tabs li.active { background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-sm) !important; }
html body.sc-new .woocommerce-tabs ul.tabs li.active a { color: var(--sc-ink) !important; }

/* ---------- Breadcrumb ---------- */
html body.sc-new :is(.woocommerce-breadcrumb, .rank-math-breadcrumb) { font-size: 13px !important; color: var(--sc-text-muted) !important; }
html body.sc-new :is(.woocommerce-breadcrumb, .rank-math-breadcrumb) a { color: var(--sc-text-muted) !important; text-decoration: none !important; }
html body.sc-new :is(.woocommerce-breadcrumb, .rank-math-breadcrumb) a:hover { color: var(--sc-ink) !important; }

/* ---------- Pagination ---------- */
html body.sc-new :is(.woocommerce-pagination, .nav-links, .paging-navigation) :is(ul.page-numbers) { display: inline-flex !important; gap: 4px; border: 0 !important; margin: 24px 0 !important; }
html body.sc-new :is(.woocommerce-pagination ul.page-numbers li, .nav-links) { border: 0 !important; }
html body.sc-new :is(.woocommerce-pagination, .nav-links, .paging-navigation) .page-numbers:is(a, span) {
  display: inline-flex !important; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px !important; box-sizing: border-box;
  font-size: 14px !important; font-weight: 500; color: var(--sc-ink) !important; text-decoration: none !important;
  background: none !important; border: 1px solid transparent !important; border-radius: var(--ui-r) !important;
}
html body.sc-new :is(.woocommerce-pagination, .nav-links, .paging-navigation) a.page-numbers:hover { background: var(--sc-surface) !important; }
html body.sc-new :is(.woocommerce-pagination, .nav-links, .paging-navigation) span.page-numbers.current { border-color: var(--sc-line) !important; background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-xs); }

/* ---------- Dialog: پنجره‌ی جست‌وجو ---------- */
html body.sc-new #shift-docs-search-modal :is(.shift-search-dialog, .shift-search-box, [role="dialog"]) {
  border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-lg) !important; box-shadow: var(--ui-shadow-lg) !important;
}

/* ---------- Table (بیرون از دانش‌کده: سبد خرید، سفارش‌ها) ---------- */
html body.sc-new :is(.woocommerce table.shop_table, .woocommerce-account table) {
  border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-lg) !important; border-collapse: separate !important; border-spacing: 0; overflow: hidden; font-size: 14px;
}
html body.sc-new :is(.woocommerce table.shop_table, .woocommerce-account table) :is(th, td) { padding: 12px 14px !important; border: 0 !important; border-bottom: 1px solid var(--sc-line) !important; text-align: start; }
html body.sc-new :is(.woocommerce table.shop_table, .woocommerce-account table) thead th { background: var(--sc-surface) !important; color: var(--sc-ink) !important; font-weight: 700 !important; }
html body.sc-new :is(.woocommerce table.shop_table, .woocommerce-account table) tr:last-child > * { border-bottom: 0 !important; }

/* ---------- انتخاب متن و فوکوس عمومی ---------- */
html body.sc-new ::selection { background: color-mix(in srgb, var(--sc-accent) 22%, transparent); }
html body.sc-new :is(a, button, summary):focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- دکمه روی زمینه‌ی وارونه (نوار مشکی، فوتر): سفید با متن مشکی ---------- */
html body.sc-new :is(.sp-hero, .sh-ah-box, .sc-island, .shift-footer, .sc-mega__hero) :is(a.button, a.sh-btn--p, .wp-block-button__link):not(.is-style-outline *):not(#sc-none) {
  background: var(--sc-on-inverse) !important; color: var(--sc-inverse) !important; border-color: transparent !important;
}
html body.sc-new :is(.sp-hero, .sh-ah-box, .sc-island, .shift-footer, .sc-mega__hero) :is(a.button, a.sh-btn--p, .wp-block-button__link):not(.is-style-outline *):not(#sc-none):hover {
  background: var(--sc-on-inverse-strong) !important; color: var(--sc-inverse) !important;
}

/* ---------- Card: فرم‌های ورود، عضویت و حساب ---------- */
html body.sc-new .woocommerce :is(form.woocommerce-form-login, form.woocommerce-form-register, form.lost_reset_password, form.woocommerce-EditAccountForm) {
  margin: 0 !important; padding: 24px !important; background: var(--sc-bg) !important;
  border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-lg) !important; box-shadow: var(--ui-shadow-sm) !important;
}
html body.sc-new .woocommerce .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
html body.sc-new .woocommerce .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 400 !important; }
html body.sc-new .woocommerce .woocommerce-form-login__submit { order: -1; }
html body.sc-new .woocommerce .lost_password a { font-size: 14px; color: var(--sc-link) !important; }

/* ==========================================================================
   هم‌ترازی با shadcn/ui (نسخه‌ی ۴): اندازه‌ها، گوشه‌ها، حلقه‌ی فوکوس، حالت‌ها
   مرجع: ui.shadcn.com/docs/components — h-9 = 36، rounded-md = 8، rounded-lg = 10، rounded-xl = 14، ring 3px
   ========================================================================== */

/* Native Select: بدون ظاهر مرورگر، پیکان lucide در انتهای خط */
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main) select:not([multiple]):not([class*="betterdocs"]) {
  -webkit-appearance: none !important; appearance: none !important; padding-inline-end: 36px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-size: 16px !important; background-position: left 12px center !important; cursor: pointer;
}
html[dir="ltr"] body.sc-new select:not([multiple]) { background-position: right 12px center !important; }

/* حالت نامعتبر (aria-invalid) */
html body.sc-new :is(input, select, textarea)[aria-invalid="true"],
html body.sc-new .woocommerce-invalid :is(input, select, textarea) { border-color: var(--sc-error, #dc2626) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc-error, #dc2626) 20%, transparent) !important; }
html body.sc-new :is(input, select, textarea):disabled { opacity: .5 !important; cursor: not-allowed !important; }

/* Checkbox (۱۶px، گوشه‌ی ۴) و Radio (۱۶px، دایره) */
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond, .sc-mm) input:is([type="checkbox"], [type="radio"]):not([class*="betterdocs"]) {
  -webkit-appearance: none !important; appearance: none !important; flex: none; box-sizing: border-box; width: 16px !important; height: 16px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  display: inline-grid; place-content: center; vertical-align: -3px; cursor: pointer;
  background: var(--sc-bg) !important; border: 1px solid color-mix(in srgb, var(--sc-line) 65%, var(--sc-text-muted)) !important; box-shadow: var(--ui-shadow-xs) !important;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond, .sc-mm) input[type="checkbox"]:not([class*="betterdocs"]) { border-radius: 4px !important; }
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond, .sc-mm) input[type="radio"]:not([class*="betterdocs"]) { border-radius: 999px !important; }
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond, .sc-mm) input[type="checkbox"]:not([class*="betterdocs"]):checked {
  background: var(--sc-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat !important; border-color: var(--sc-primary) !important;
}
:root[data-theme="dark"] body.sc-new input[type="checkbox"]:not([class*="betterdocs"]):checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important;
}
html body.sc-new :is(.woocommerce, .woocommerce-page, .entry-content, .site-main, .comment-respond, .sc-mm) input[type="radio"]:not([class*="betterdocs"]):checked { border-color: var(--sc-primary) !important; background: radial-gradient(var(--sc-primary) 0 3.5px, var(--sc-bg) 4px) !important; }
html body.sc-new input:is([type="checkbox"], [type="radio"]):focus-visible { outline: 0 !important; border-color: var(--sc-focus) !important; box-shadow: var(--ui-ring) !important; }

/* Label: text-sm font-medium */
html body.sc-new :is(.woocommerce, .woocommerce-page) .form-row label { font-size: 14px !important; font-weight: 500 !important; line-height: 1.5; margin-bottom: 6px; }
html body.sc-new :is(.woocommerce, .woocommerce-page) .form-row label .required { color: var(--sc-error, #dc2626) !important; text-decoration: none; }

/* Kbd */
html body.sc-new kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 4px; background: var(--sc-surface); color: var(--sc-text-muted); font: 500 12px/1 inherit; box-shadow: none; border: 0; }

/* Separator */
html body.sc-new hr:not(.wp-block-separator.is-style-dots) { height: 1px !important; border: 0 !important; background: var(--sc-line) !important; opacity: 1 !important; }

/* Heading (صفحه‌های فروش و برگه‌ها): همان تیتر دانش‌کده — پررنگ، بی‌قاب، با خط کوتاه آبی */
html body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black) {
  position: relative !important; display: block !important; width: auto !important; max-width: none !important;
  margin: 2.4em 0 .75em !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  font-size: 25px !important; line-height: 1.55 !important; font-weight: 800 !important; color: var(--sc-ink) !important;
}
html body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black)::before { display: none !important; }
html body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black)::after {
  content: "" !important; position: static !important; display: block !important; width: 36px !important; height: 3px !important; margin-top: 10px !important;
  border-radius: 2px !important; background: var(--sc-accent) !important; inset: auto !important; transform: none !important;
}
@media (max-width: 849px) { html body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black) { font-size: 21px !important; } }

/* Breadcrumb صفحه‌ی محصول: روی زمینه‌ی صفحه، جداکننده‌ی chevron */
html body.sc-new .sc-pp-bar { background: var(--sc-bg) !important; color: var(--sc-text-muted) !important; border-bottom: 1px solid var(--sc-line) !important; }
html body.sc-new .sc-pp-bar :is(a, span) { color: var(--sc-text-muted) !important; font-size: 13.5px !important; font-weight: 400 !important; text-decoration: none !important; }
html body.sc-new .sc-pp-bar a:hover { color: var(--sc-ink) !important; }
html body.sc-new .sc-pp-bar a:last-of-type { color: var(--sc-ink) !important; font-weight: 600 !important; }
/* عنوان نوار (مثلاً «فروشگاه» در بایگانی محصولات) روی زمینه‌ی روشن: رنگ متن، نه سفید */
html body.sc-new .sc-pp-bar .sc-pp-bar__title { color: var(--sc-ink) !important; }
html body.sc-new .sc-pp-bar .sc-pp-bar__sep { display: inline-block; width: 14px; height: 14px; margin: 0 6px; font-size: 0 !important; vertical-align: -2px; background: var(--sc-text-muted); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; }

/* صفحه‌ی اصلی: فیلترها = Toggle Group، کارت‌ها و پنل‌ها = Card (rounded-xl)، «همه‌ی …» = Button ghost */
html body.sc-new .sh-chips { gap: 6px !important; }
html body.sc-new .sh-chip { height: var(--ui-h-sm) !important; min-height: 0 !important; padding: 0 12px !important; border-radius: var(--ui-r) !important; font-size: 13.5px !important; font-weight: 500 !important; box-shadow: var(--ui-shadow-xs) !important; }
html body.sc-new .sh-chip:not(.is-on):hover { background: var(--sc-surface) !important; }
html body.sc-new .sh-chip:focus-visible { outline: 0 !important; box-shadow: var(--ui-ring) !important; }
html body.sc-new :is(.sh-card, .sc-panel) { border-radius: var(--ui-r-xl) !important; }
html body.sc-new .sh-more { display: inline-flex !important; align-items: center; gap: 6px; height: var(--ui-h-sm); padding: 0 10px !important; border-radius: var(--ui-r) !important; font-size: 13.5px !important; font-weight: 500 !important; color: var(--sc-ink) !important; text-decoration: none !important; }
html body.sc-new .sh-more:hover { background: var(--sc-surface) !important; }

/* تیتر بخش‌های صفحه‌ی اصلی: ساده و پررنگ با خط کوتاه آبی (برچسب مشکی فقط در سربرگ می‌ماند) */
html body.sc-new .sh-head .sh-label { position: relative; padding: 0 !important; background: none !important; color: var(--sc-ink) !important; font-size: 25px !important; line-height: 1.55 !important; font-weight: 800 !important; box-shadow: none !important; }
html body.sc-new .sh-head .sh-label::before { display: none !important; }
html body.sc-new .sh-head .sh-label::after { content: "" !important; position: static !important; display: block !important; width: 36px !important; height: 3px !important; margin-top: 10px !important; border-radius: 2px !important; background: var(--sc-accent) !important; inset: auto !important; transform: none !important; }
@media (max-width: 849px) { html body.sc-new .sh-head .sh-label { font-size: 21px !important; } }

/* ---------- بدون نوار رنگی کناری (قانون سایت، ۹ آذر ۱۴۰۵) ----------
   هیچ کادری (نقل‌قول، یادداشت، هشدار، تعریف، کارت، منو) نوار ضخیم یا دورنگ کناری ندارد.
   به‌جایش: کادر کامل یک‌رنگ + زمینه. :not(#sc_) فقط برای اینکه بر قاعده‌های قدیمی !important غلبه کند. */
html:not(#sc_) body.sc-new :is(
  .betterdocs-entry-content blockquote:not(.sd-def), .entry-content blockquote:not(.sd-def), .sp-wrap .wp-block-quote,
  .betterdocs-entry-content :is(.kh-note, .kh-info, .kh-tip, .kh-lock),
  .wp-block-group:is(.is-style-kh-outcomes, .is-style-kh-members),
  .sp-wrap .sp-note, .shift-dic .sd-note-box, #comments .scm-q, #betterdocs-form-modal .response:not(:empty)
) { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-lg, 10px) !important; }
html:not(#sc_) body.sc-new :is(
  .betterdocs-entry-content .kh-warning, .wp-block-group.is-style-kh-alert, .sc-charity-notice.error, .wcsi-overdue-alert-banner
) { border: 1px solid color-mix(in srgb, var(--sc-error) 35%, var(--sc-line)) !important; border-radius: var(--ui-r-lg, 10px) !important; }
html:not(#sc_) body.sc-new :is(.wp-block-heading.is-style-kh-section, .betterdocs-entry-content h2.h-black, .shift-dic .hg-content dl.hg-item) {
  border-inline-start: 0 !important; border-left-width: 0 !important; border-right-width: 0 !important;
}
html body.sc-new .sc-mm .sc-mm__tree.is-sub .sc-mm__trow::before { display: none !important; }
html body.sc-new .sc-mm .sc-mm__tree.is-sub .sc-mm__trow[aria-expanded="true"] { background: var(--sc-surface); }

/* ---------- تیترهای بخش (۱۰ آذر ۱۴۰۵): تیتر درشت و پررنگ، بی‌برچسب، بی‌خط آبی، بی‌خط ضخیم زیر ---------- */
html:not(#sc_) body.sc-new .sh-home .sh-head { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 16px !important; flex-wrap: wrap; border: 0 !important; padding: 0 !important; margin: 0 0 24px !important; }
html:not(#sc_) body.sc-new .sh-head .sh-label { margin: 0 !important; font-size: 32px !important; line-height: 1.35 !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sh-head .sh-label::after, html:not(#sc_) body.sc-new .sh-head .sh-label::before { display: none !important; content: none !important; }
html:not(#sc_) body.sc-new .sh-head .sh-more { display: inline-flex !important; align-items: center; gap: 6px; height: 36px; padding: 0 14px !important; border: 1px solid var(--sc-line) !important; border-radius: 8px !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; font-size: 14px !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap; }
html:not(#sc_) body.sc-new .sh-head .sh-more:hover { background: var(--sc-surface) !important; border-color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black) { margin: 2.2em 0 .6em !important; font-size: 30px !important; line-height: 1.4 !important; font-weight: 800 !important; letter-spacing: -.01em; }
html:not(#sc_) body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black)::after { display: none !important; content: none !important; }
@media (max-width: 849px) {
  html:not(#sc_) body.sc-new .sh-head .sh-label { font-size: 25px !important; }
  html:not(#sc_) body.sc-new .sh-head .sh-more { height: 32px; padding: 0 10px !important; font-size: 13px !important; }
  html:not(#sc_) body.sc-new :is(.sp-wrap, .entry-content) h2.wp-block-heading:is(.sp-wrap *, .h-black) { font-size: 24px !important; }
}

/* ---------- سبد خرید و پرداخت (۱۰ آذر ۱۴۰۵): فیلدهای یک‌اندازه، جدول ساده، دکمه‌های هم‌خانواده ---------- */
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form table.shop_table { border: 1px solid var(--sc-line) !important; border-radius: 12px !important; border-collapse: separate !important; border-spacing: 0 !important; overflow: hidden; background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form table.shop_table td { border: 0 !important; border-bottom: 1px solid var(--sc-line) !important; padding: 14px 16px !important; vertical-align: middle !important; background: transparent !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form table.shop_table td:is(.product-price, .product-quantity):empty { display: none !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.product-name a { color: var(--sc-ink) !important; font-weight: 600 !important; text-decoration: none !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.product-subtotal { font-weight: 600 !important; white-space: nowrap; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.product-thumbnail img { width: 48px !important; height: 48px !important; object-fit: cover; border-radius: 8px !important; border: 1px solid var(--sc-line); }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.product-remove a.remove { display: inline-flex !important; align-items: center; justify-content: center; width: 28px !important; height: 28px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--sc-text-muted) !important; font-size: 18px !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.product-remove a.remove:hover { background: var(--sc-surface) !important; color: var(--sc-error, #dc2626) !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions { border-bottom: 0 !important; background: var(--sc-bg) !important; padding: 12px 16px !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions { display: table-cell; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions > * { vertical-align: middle; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions .coupon { display: inline-flex !important; gap: 8px; align-items: center; float: none !important; margin: 0 !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions .coupon input { width: 200px !important; margin: 0 !important; }
/* دکمه‌ی «بروزرسانی سبد خرید» لازم نیست: تعداد هر دوره ثابت است و حذف آیتم خودکار انجام می‌شود (۱۳ آذر ۱۴۰۵) */
html:not(#sc_) body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions button[name="update_cart"] { display: none !important; }
/* دکمه‌های فرعی: قاب‌دار؛ دکمه‌ی اصلی: ثبت سفارش */
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form button.button { height: 40px !important; padding: 0 16px !important; border: 1px solid var(--sc-ink) !important; border-radius: 8px !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; font-size: 14px !important; font-weight: 600 !important; box-shadow: none !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form button.button:hover:not(:disabled) { background: var(--sc-ink) !important; color: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form button.button:disabled { opacity: .45 !important; }
/* فیلدها: همه ۴۰ پیکسل */
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) :is(input.input-text, textarea, .select2-container .select2-selection--single) { min-height: 40px !important; border: 1px solid var(--sc-line) !important; border-radius: 8px !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; font-size: 14px !important; box-shadow: none !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) input.input-text { height: 40px !important; padding: 0 12px !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) textarea { padding: 10px 12px !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .select2-container .select2-selection--single { height: 40px !important; display: flex !important; align-items: center; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .select2-container .select2-selection__rendered { line-height: 38px !important; padding: 0 12px 0 32px !important; color: var(--sc-ink) !important; font-size: 14px !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .select2-container .select2-selection__arrow { height: 38px !important; left: 8px !important; right: auto !important; }
html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) :is(input.input-text, textarea):focus, html:not(#sc_) body.sc-new .select2-container--focus .select2-selection--single, html:not(#sc_) body.sc-new .select2-container--open .select2-selection--single { outline: none !important; border-color: var(--sc-ink) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc-ink) 12%, transparent) !important; }
html:not(#sc_) body.sc-new .select2-dropdown { border: 1px solid var(--sc-line) !important; border-radius: 8px !important; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08) !important; }
html:not(#sc_) body.sc-new .select2-results__option--highlighted[aria-selected], html:not(#sc_) body.sc-new .select2-results__option--highlighted[data-selected] { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .select2-search--dropdown .select2-search__field { height: 36px; border: 1px solid var(--sc-line) !important; border-radius: 6px !important; }
/* خلاصه‌ی سفارش و دکمه‌ی ثبت */
html:not(#sc_) body.sc-new .woocommerce-checkout #place_order { width: 100% !important; height: 44px !important; border-radius: 8px !important; font-size: 15px !important; font-weight: 700 !important; }
html:not(#sc_) body.sc-new .woocommerce-checkout #payment .payment_box { border-radius: 8px !important; }
html:not(#sc_) body.sc-new .woocommerce-checkout #payment .payment_box::before { display: none !important; }
@media (max-width: 768px) {
  html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions .coupon { display: flex !important; width: 100%; }
  html:not(#sc_) body.sc-new:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-cart-form td.actions .coupon input { flex: 1; width: auto !important; }
}
/* checkout: the merged cart rows use their own grid; keep cells borderless */
html:not(#sc_) body.sc-new.woocommerce-checkout .shift-checkout-cart table.shop_table tr.cart_item td { border: 0 !important; padding: 0 !important; }
html:not(#sc_) body.sc-new.woocommerce-checkout .shift-checkout-cart table.shop_table tr.cart_item { border-bottom: 1px solid var(--sc-line) !important; align-items: center; }
html:not(#sc_) body.sc-new.woocommerce-checkout .shift-checkout-cart td.product-thumbnail img { width: 56px !important; height: 56px !important; }

/* ---------- پاورقی (۱۱ آذر ۱۴۰۵): همان رنگ تیره، چیدمان و جزئیات به سبک shadcn ---------- */
html:not(#sc_) body.sc-new .shift-footer { --ft-text: rgba(255,255,255,.64); --ft-line: rgba(255,255,255,.10); padding-top: 56px !important; padding-bottom: 28px !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-title { margin: 0 0 14px !important; font-size: 13.5px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: rgba(255,255,255,.92) !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-links { margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; }
html:not(#sc_) body.sc-new .shift-footer .sf-links li { margin: 0 !important; line-height: 1.6 !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-links a { font-size: 14px !important; font-weight: 400 !important; color: var(--ft-text) !important; text-decoration: none !important; transition: color .15s; }
html:not(#sc_) body.sc-new .shift-footer .sf-links a:hover { color: #fff !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-logo img { opacity: .75; transition: opacity .15s; }
html:not(#sc_) body.sc-new .shift-footer .sf-logo:hover img { opacity: 1; }
html:not(#sc_) body.sc-new .shift-footer .sf-contact .sf-cell__in { padding: 20px !important; background: rgba(255,255,255,.04) !important; border: 1px solid var(--ft-line) !important; border-radius: 12px !important; box-shadow: none !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-contact h3 { margin: 0 0 6px !important; font-size: 16px !important; font-weight: 700 !important; color: #fff !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-contact p { margin: 0 0 16px !important; font-size: 13.5px !important; line-height: 1.85 !important; color: var(--ft-text) !important; text-align: start !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-btns { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-btn { display: inline-flex !important; align-items: center; gap: 8px; height: 36px !important; padding: 0 14px !important; border-radius: 8px !important; border: 1px solid rgba(255,255,255,.16) !important; background: transparent !important; color: #fff !important; font-size: 13.5px !important; font-weight: 500 !important; box-shadow: none !important; text-decoration: none !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-btn:hover { background: rgba(255,255,255,.08) !important; }
/* Contact buttons (2026-12-01): both the same outline style, no filled first button. */
html:not(#sc_) body.sc-new .shift-footer .sf-btn svg { width: 16px !important; height: 16px !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-bottom { margin-top: 40px !important; padding-top: 20px !important; border-top: 1px solid var(--ft-line) !important; align-items: center; }
html:not(#sc_) body.sc-new .shift-footer .sf-legal { font-size: 12.5px !important; line-height: 1.9 !important; color: rgba(255,255,255,.55) !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-legal .sf-copy, html:not(#sc_) body.sc-new .shift-footer .sf-legal .sf-ver { color: rgba(255,255,255,.45) !important; }
html:not(#sc_) body.sc-new .shift-footer .sf-badges a { border-radius: 8px !important; overflow: hidden; }

/* ==========================================================================
   فروشگاه و حساب کاربری (۱۲ آذر ۱۴۰۵، باگ‌های ۵، ۲۱، ۲۳، ۲۴)
   - نوار عنوان: فروشگاه و پنل کاربری یک الگو دارند (روشن، عنوان + مسیر صفحه).
   - مرتب‌سازی: کادر خاکستری ملایم مثل بقیه‌ی کنترل‌ها، هم‌تراز با بدنه.
   - پنل کاربری: کارت‌های آرام shadcn، بدون گرادیان آبی؛ همه‌ی رنگ‌ها توکن (تاریک خودکار).
   ========================================================================== */

/* --- نوار عنوان مشترک --- */
html:not(#sc_) body.sc-new :is(.sc-pp-bar, .sc-acc-bar) { background: var(--sc-bg) !important; color: var(--sc-text-muted) !important; border-bottom: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__in, .sc-acc-bar__in) {
  max-width: 1360px; margin-inline: auto; padding: 18px 24px !important; min-height: 0 !important; /* هم‌لبه با .site-content (۱۳۶۰ و ۲۴) */
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
}
html:not(#sc_) body.sc-new :is(.sc-pp-bar__text, .sc-acc-bar__text) { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: start; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__title, .sc-acc-bar__title) { margin: 0 !important; font-size: 22px !important; line-height: 1.4 !important; font-weight: 800 !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__crumbs, .sc-acc-bar__crumbs) {
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; font-size: 13.5px !important; line-height: 1.6 !important;
}
html:not(#sc_) body.sc-new :is(.sc-pp-bar__crumbs, .sc-acc-bar__crumbs) :is(a, span) { color: var(--sc-text-muted) !important; font-size: 13.5px !important; font-weight: 400 !important; text-decoration: none !important; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__crumbs, .sc-acc-bar__crumbs) a:hover { color: var(--sc-ink) !important; text-decoration: underline !important; text-underline-offset: 4px; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__crumbs, .sc-acc-bar__crumbs) a:last-of-type:not(:last-child) { font-weight: 400 !important; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__crumbs, .sc-acc-bar__crumbs) [aria-current="page"] { color: var(--sc-ink) !important; font-weight: 600 !important; }
html:not(#sc_) body.sc-new :is(.sc-pp-bar__sep, .sc-acc-bar__sep) {
  flex: none; display: inline-block !important; width: 14px !important; height: 14px !important; margin: 0 6px !important; font-size: 0 !important;
  vertical-align: middle; background: var(--sc-text-muted) !important; opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- مرتب‌سازی فروشگاه (Select) --- */
html:not(#sc_) body.sc-new .sc-pp-bar__sort { flex: none; }
html:not(#sc_) body.sc-new .sc-pp-bar__sort .woocommerce-ordering { margin: 0 !important; float: none !important; }
html:not(#sc_) body.sc-new .sc-pp-bar__sort select:not(.sc-sel__native),
html:not(#sc_) body.sc-new :is(.sc-sel, .sc-sel--dark) .sc-sel__btn {
  height: var(--ui-h) !important; min-width: 220px; padding: 0 12px !important; gap: 10px;
  border: 1px solid var(--sc-ctl, var(--sc-line)) !important; border-radius: var(--ui-r) !important;
  background: var(--sc-bg) !important; color: var(--sc-ink) !important; box-shadow: var(--ui-shadow-xs) !important;
  font-size: 14px !important; font-weight: 500 !important;
}
html:not(#sc_) body.sc-new :is(.sc-sel, .sc-sel--dark) .sc-sel__btn:hover,
html:not(#sc_) body.sc-new .sc-sel.is-open .sc-sel__btn { border-color: var(--sc-ctl-hover, var(--sc-text-muted)) !important; background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new .sc-sel__btn:focus-visible { outline: 0 !important; box-shadow: var(--ui-ring) !important; }
html:not(#sc_) body.sc-new .sc-sel__lbl { color: inherit !important; text-align: start; }
html:not(#sc_) body.sc-new .sc-sel__chev { color: var(--sc-text-muted); }
html:not(#sc_) body.sc-new .sc-sel__list { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-lg) !important; background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-md, var(--sc-elevation-2)) !important; }
html:not(#sc_) body.sc-new .sc-sel__list li { color: var(--sc-text) !important; font-weight: 500 !important; border-radius: var(--ui-r-sm) !important; }
html:not(#sc_) body.sc-new .sc-sel__list li:is(:hover, :focus) { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sc-sel__list li[aria-selected="true"] { color: var(--sc-ink) !important; font-weight: 600 !important; }
@media (max-width: 849px) {
  html:not(#sc_) body.sc-new :is(.sc-pp-bar__in, .sc-acc-bar__in) { padding: 14px 16px !important; }
  html:not(#sc_) body.sc-new :is(.sc-pp-bar__title, .sc-acc-bar__title) { font-size: 20px !important; }
  html:not(#sc_) body.sc-new.sc-shop .sc-pp-bar__in { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  html:not(#sc_) body.sc-new .sc-pp-bar__sort, html:not(#sc_) body.sc-new .sc-pp-bar__sort :is(.woocommerce-ordering, .sc-sel, .sc-sel__btn) { width: 100% !important; min-width: 0 !important; }
}

/* --- تب‌های محصول: بر قاعده‌ی قدیمی product-page.css غلبه کند (متن خاکستری ثابت در تاریک) --- */
html:not(#sc_) body.sc-new .woocommerce-tabs ul.tabs li a { color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new .woocommerce-tabs ul.tabs li.active a, html:not(#sc_) body.sc-new .woocommerce-tabs ul.tabs li a:hover { color: var(--sc-ink) !important; }

/* --- پنل کاربری: منوی کناری --- */
html:not(#sc_) body.sc-new .sc-acc-user { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new .sc-acc-user__img { border-radius: 10px !important; }
html:not(#sc_) body.sc-new .sc-acc-user__name { color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav ul { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li a { color: var(--sc-text) !important; font-weight: 500 !important; border-radius: var(--ui-r) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li a .sc-nav-ic { color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li a:hover { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li.is-active a { background: var(--sc-surface) !important; color: var(--sc-ink) !important; font-weight: 600 !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li:is(.is-active, :hover) a .sc-nav-ic { color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li.is-logout { border-top: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li.is-logout a, html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li.is-logout a .sc-nav-ic { color: var(--sc-error) !important; }
html:not(#sc_) body.sc-new.woocommerce-account .sc-accnav li.is-logout a:hover { background: var(--sc-error-container) !important; }
html:not(#sc_) body.sc-new .sc-accnav__toggle { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sc-accnav.is-open .sc-accnav__toggle { border-color: var(--sc-ctl-hover, var(--sc-text-muted)) !important; }
html:not(#sc_) body.sc-new .sc-accnav__ham { background: var(--sc-surface) !important; color: var(--sc-ink) !important; border-radius: var(--ui-r) !important; }
html:not(#sc_) body.sc-new .sc-accnav__chev { color: var(--sc-text-muted) !important; }

/* --- پنل کاربری: داشبورد --- */
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-ic { width: 36px; height: 36px; border: 1px solid var(--sc-line); border-radius: var(--ui-r); background: var(--sc-surface); color: var(--sc-ink); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-ic svg { width: 18px; height: 18px; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-hello { padding: 20px 22px; border: 1px solid var(--sc-line); border-radius: var(--ui-r-xl); background: var(--sc-surface); color: var(--sc-text); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-hello h2 { margin: 0 0 4px !important; font-size: 20px !important; font-weight: 800 !important; line-height: 1.5 !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-hello p { color: var(--sc-text-muted) !important; font-size: 14px; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-stat { gap: 4px; padding: 16px; border: 1px solid var(--sc-line); border-radius: var(--ui-r-xl); background: var(--sc-bg); box-shadow: var(--ui-shadow-xs); transform: none !important; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-stat:hover { border-color: var(--sc-ctl-hover, var(--sc-text-muted)); box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-num { margin-top: 8px; font-size: 26px; color: var(--sc-ink); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-lbl { font-weight: 500; color: var(--sc-text-muted); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-card { padding: 18px; border: 1px solid var(--sc-line); border-radius: var(--ui-r-xl); background: var(--sc-bg); box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-card__head h3 { font-size: 16px !important; font-weight: 700 !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-card__head a { display: inline-flex; align-items: center; height: var(--ui-h-sm); padding: 0 10px; border-radius: var(--ui-r); font-size: 13.5px; font-weight: 500; color: var(--sc-ink); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-card__head a:hover { background: var(--sc-surface); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-camps { gap: 0; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-camps li + li { border-top: 1px solid var(--sc-line); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-camps a { padding: 10px 8px; border-radius: var(--ui-r); background: transparent; color: var(--sc-ink); font-weight: 500; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-camps a:hover { background: var(--sc-surface); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-go {
  height: var(--ui-h-sm); padding: 0 12px; border: 1px solid var(--sc-ctl, var(--sc-line)); border-radius: var(--ui-r);
  background: var(--sc-bg); color: var(--sc-ink); font-size: 13px; font-weight: 500; box-shadow: var(--ui-shadow-xs); flex: none;
}
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-camps a:hover .sd-go { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-go svg { width: 14px; height: 14px; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-empty { color: var(--sc-text-muted); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-btn { height: var(--ui-h); align-items: center; padding: 0 16px; border-radius: var(--ui-r); background: var(--sc-primary); color: var(--sc-on-primary); font-size: 14px; font-weight: 500; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-btn:hover { background: var(--sc-primary-hover); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-links a { padding: 12px 14px; border: 1px solid var(--sc-line); border-radius: var(--ui-r-xl); background: var(--sc-bg); color: var(--sc-ink); font-weight: 500; box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-links a:hover { border-color: var(--sc-ctl-hover, var(--sc-text-muted)); color: var(--sc-ink); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-links .sd-ic { width: 32px; height: 32px; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-arrow { color: var(--sc-text-muted); opacity: 1; }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-support { padding: 16px 18px; border: 1px solid var(--sc-line); border-radius: var(--ui-r-xl); background: var(--sc-surface); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-support strong { color: var(--sc-ink); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-support span { color: var(--sc-text-muted); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-support__btns a { display: inline-flex; align-items: center; height: var(--ui-h-sm); padding: 0 12px; border: 1px solid var(--sc-ctl, var(--sc-line)); border-radius: var(--ui-r); background: var(--sc-bg); color: var(--sc-ink); font-weight: 500; box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new :is(.shift-dash, .shift-dash-page) .sd-support__btns a:hover { background: var(--sc-surface); color: var(--sc-ink); }

/* --- پنل کاربری: زیربرگه‌ها، حالت خالی، فرم مشخصات --- */
html:not(#sc_) body.sc-new .sc-acc-child .section-title-main,
html:not(#sc_) body.sc-new .page-id-23580 .my-account .section-title-main { color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new :is(.page-id-31514, .page-id-23580) .my-account :is(.large-9 .wp-block-list li a, .favorites-list li a) { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; font-weight: 500 !important; box-shadow: var(--ui-shadow-xs) !important; transform: none !important; }
html:not(#sc_) body.sc-new :is(.page-id-31514, .page-id-23580) .my-account :is(.large-9 .wp-block-list li a, .favorites-list li a):hover { border-color: var(--sc-ctl-hover, var(--sc-text-muted)) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new :is(.page-id-31514, .page-id-23580) .my-account :is(.large-9 .wp-block-list li a, .favorites-list li a)::before { background-color: var(--sc-surface) !important; border-radius: var(--ui-r) !important; }
html:not(#sc_) body.sc-new .sc-empty { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new .sc-empty__ic { background: var(--sc-surface) !important; border: 1px solid var(--sc-line); border-radius: var(--ui-r-lg) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sc-empty__text, html:not(#sc_) body.sc-new :is(.sc-mc__meta time, .sc-dl__meta, .sc-mc-empty p, .sc-mc__thumb) { color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new :is(.sc-empty__btn, .sc-dl__btn) { border-radius: var(--ui-r) !important; font-weight: 500 !important; transform: none !important; }
html:not(#sc_) body.sc-new :is(.sc-mc__item, .sc-dl__item) { border-radius: var(--ui-r-xl) !important; }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-xs); }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm label { color: var(--sc-ink) !important; font-weight: 500 !important; }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm label .required { color: var(--sc-error) !important; }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm input.input-text {
  height: var(--ui-h-lg) !important; border: 1px solid var(--sc-ctl, var(--sc-line)) !important; border-radius: var(--ui-r) !important;
  background: var(--sc-bg) !important; color: var(--sc-ink) !important; box-shadow: var(--ui-shadow-xs) !important;
}
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm input.input-text:focus { border-color: var(--sc-ring, var(--sc-focus)) !important; box-shadow: var(--ui-ring) !important; }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm fieldset { border: 1px solid var(--sc-line) !important; border-radius: var(--ui-r-xl) !important; background: var(--sc-surface) !important; }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm fieldset legend { color: var(--sc-ink) !important; background: var(--sc-surface); border-radius: var(--ui-r-sm); }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm #account_display_name_description em { color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm button[name="save_account_details"] {
  min-height: var(--ui-h-lg) !important; padding: 0 24px !important; border-radius: var(--ui-r) !important; background: var(--sc-primary) !important; color: var(--sc-on-primary) !important;
  font-weight: 500 !important; box-shadow: var(--ui-shadow-xs) !important; transform: none !important;
}
html:not(#sc_) body.sc-new.woocommerce-edit-account .woocommerce-EditAccountForm button[name="save_account_details"]:hover { background: var(--sc-primary-hover) !important; }

/* shift-kh-modern */
/* ==========================================================================
   SHIFT — طراحی تازه (پیش‌نمایش، ماژول kh_modern) · نسخه‌ی ۲
   فقط با ?kh=new دیده می‌شود (کلاس body.sc-new در کل سایت، body.kh-m در دانش‌کده).
   هویت: سیاه‌وسفید، یک آبی، براکت. نوار مشکی عنوان مقاله «امضای» صفحه است؛ بقیه آرام و دقیق.
   فقط نقش‌ها (var(--sc-…)). در حالت مطالعه (body.skh-focus) هیچ قاعده‌ی چیدمانی اعمال نمی‌شود.
   ========================================================================== */

body.sc-new { --khm-top: calc(var(--wp-admin--admin-bar--height, 0px) + 60px + 16px); }

/* ---------- ۱. هدر سایت: سبک‌تر، دکمه‌های ظریف، جعبه‌ی جست‌وجوی پهن ---------- */
body.sc-new .sc-hd-wrap { --sc-hd-h: 64px; --sc-hd-h-stuck: 56px; --sc-hd-btn: 36px; --sc-hd-logo-w: 104px; }
@media (min-width: 850px) {
  body.sc-new .sc-hd-wrap { --sc-hd-h: 76px; --sc-hd-h-stuck: 60px; --sc-hd-btn: 36px; --sc-hd-logo-w: 120px; }
}
body.sc-new .sc-hd .sc-hd__inner { max-width: 1360px; padding: 0 24px; gap: 8px; }
body.sc-new .sc-hd.is-stuck {
  box-shadow: none; border-bottom: 1px solid var(--sc-line);
  background: color-mix(in srgb, var(--sc-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}

/* دکمه‌های آیکنی: حاشیه‌ی نازک خاکستری به‌جای قاب ۲px مشکی */
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle),
html body.sc-new .sc-hd .sc-hd__login {
  border: 1px solid var(--sc-line); background: transparent; color: var(--sc-ink); border-radius: var(--sc-radius-sm);
}
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle):hover,
html body.sc-new .sc-hd .sc-hd__cartwrap:hover > .sc-hd__cart,
html body.sc-new .sc-hd .sc-hd__acc:hover > .sc-hd__account.is-user { background: var(--sc-surface); border-color: var(--sc-line); color: var(--sc-ink); }
/* ورود: تنها دکمه‌ی پررنگ هدر */
@media (min-width: 850px) {
  html body.sc-new .sc-hd .sc-hd__login { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); font-size: 13px; padding: 0 14px; }
  html body.sc-new .sc-hd .sc-hd__login:hover,
  html body.sc-new .sc-hd .sc-hd__acc:hover > .sc-hd__login { background: var(--sc-primary-hover, var(--sc-primary)); border-color: var(--sc-primary-hover, var(--sc-primary)); color: var(--sc-on-primary); }
}
html body.sc-new .sc-hd :is(.sc-hd__btn, .sc-hd__login, .sc-hd__sbox):focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 2px; }

/* منوی اصلی: نوشته‌ی آرام‌تر، فعال پررنگ */
@media (min-width: 850px) {
  body.sc-new .sc-nav { margin-inline-start: 12px; }
  body.sc-new .sc-nav .sc-nav__link { font-size: 14px; font-weight: 400; color: var(--sc-text-muted); padding: 0 12px; transition: color .15s; }
  body.sc-new .sc-nav .sc-nav__item:hover > .sc-nav__link,
  body.sc-new .sc-nav .sc-nav__item.is-current > .sc-nav__link,
  body.sc-new .sc-nav .sc-nav__link[aria-current="page"] { color: var(--sc-ink); }
}

/* جعبه‌ی جست‌وجو (فقط دسکتاپ؛ در موبایل همان آیکن) */
body.sc-new .sc-hd .sc-hd__sbox { display: none; }
@media (min-width: 1024px) {
  body.sc-new .sc-hd .sc-hd__search { display: none !important; }
  body.sc-new .sc-hd .sc-hd__sbox {
    display: flex; align-items: center; gap: 8px; box-sizing: border-box;
    width: clamp(220px, 21vw, 300px); height: var(--sc-hd-btn); margin: 0 0 0 6px; padding: 0 12px 0 6px;
    font: inherit; font-size: 14px; line-height: 1; text-align: start; cursor: pointer;
    color: var(--sc-text-muted); background: var(--sc-bg);
    border: 1px solid var(--sc-line); border-radius: var(--sc-radius-sm);
    box-shadow: var(--ui-shadow-xs, 0 1px 2px rgba(12,12,12,.05));
    transition: border-color .15s, color .15s, background-color .15s;
  }
  body.sc-new .sc-hd .sc-hd__sbox:hover { background: var(--sc-surface); color: var(--sc-ink); }
  body.sc-new .sc-hd .sc-hd__sbox .sc-icon { width: 16px; height: 16px; flex: none; opacity: .7; }
  body.sc-new .sc-hd .sc-hd__sbox span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
:is(body.sc-new .sc-hd__sbox, .kh-m-search) kbd {
  flex: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 22px; height: 22px; padding: 0 6px;
  font: 600 12px/1 Roboto, Arial, sans-serif; color: var(--sc-text-muted);
  background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 5px; box-shadow: none;
}

/* ---------- ۲. چیدمان دانش‌کده (دسکتاپ ≥ ۱۰۲۴) ---------- */
@media (min-width: 1024px) {
  html body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-full { padding: 0 24px 64px !important; }
  html body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(#betterdocs-full-sidebar-left) {
    display: grid !important; grid-template-columns: 256px minmax(0, 1fr) 224px !important; column-gap: 48px !important;
    max-width: 1360px !important; margin-inline: auto !important; align-items: start !important;
  }
  html body.kh-m:not(.skh-focus) .betterdocs-category-archive-wrapper .betterdocs-content-wrapper.betterdocs-display-flex {
    display: grid !important; grid-template-columns: 256px minmax(0, 1fr) !important; column-gap: 56px !important;
    max-width: 1360px !important; margin-inline: auto !important; padding: 0 24px 72px !important; align-items: start !important;
  }
  html body.kh-m:not(.skh-focus) .betterdocs-content-wrapper > :is(#betterdocs-full-sidebar-left, #betterdocs-single-main, #betterdocs-sidebar-right, #main) {
    grid-column: auto !important; width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; flex: none !important;
  }
  html body.kh-m:not(.skh-focus) #betterdocs-single-main { padding: 32px 0 0 !important; }
  html body.kh-m:not(.skh-focus) #betterdocs-single-main .doc-single-content-wrapper { max-width: 780px; margin-inline: auto; }
  html body.kh-m.tax-doc_category:not(.skh-focus) #betterdocs-full-sidebar-left { display: block !important; }

  /* منوی کناری و فهرست: چسبان زیر هدر، با اسکرول جدا */
  html body.kh-m:not(.skh-focus) :is(#betterdocs-full-sidebar-left, #betterdocs-sidebar-right) {
    position: sticky !important; top: var(--khm-top) !important; align-self: start;
    max-height: calc(100vh - var(--khm-top) - 16px); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: var(--sc-line) transparent;
    margin-top: 24px !important; padding: 12px 0 24px !important; scrollbar-gutter: stable;
    border: 0 !important; background: none !important;
  }
  html body.kh-m:not(.skh-focus) :is(#betterdocs-full-sidebar-left, #betterdocs-sidebar-right):not(:hover) { scrollbar-color: transparent transparent; }
  html body.kh-m:not(.skh-focus) #betterdocs-full-sidebar-left { padding-inline-end: 8px !important; }

  /* «پنهان کردن منوها»: یک ستون پهن */
  html.kh-m-wide body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper { grid-template-columns: minmax(0, 1fr) 224px !important; }
  html.kh-m-wide body.kh-m:not(.skh-focus) #betterdocs-full-sidebar-left { display: none !important; }
  html.kh-m-wide body.kh-m:not(.skh-focus) #betterdocs-single-main .doc-single-content-wrapper { max-width: 1000px; }
}

/* ---------- ۳. سربرگ مقاله: نوار مشکی می‌ماند، دقیق‌تر ---------- */
body.kh-m .sh-ah-box { min-height: 0 !important; padding: 24px 32px 28px !important; }
body.kh-m .sh-ah h1.sh-ah-title { margin-top: 12px !important; font-size: clamp(26px, 2.5vw, 36px) !important; line-height: 1.5 !important; font-weight: 800 !important; letter-spacing: 0 !important; }
body.kh-m .sh-ah .skh-ah-foot { gap: 10px; margin-top: 36px !important; }
@media (max-width: 849px) {
  body.kh-m .sh-ah-box { min-height: 0 !important; padding: 18px 20px 22px !important; }
  body.kh-m .sh-ah h1.sh-ah-title { margin-top: 8px !important; }
  body.kh-m .sh-ah .skh-ah-foot { margin-top: 20px !important; }
  body.kh-m #betterdocs-single-main { margin-top: 8px !important; }
  body.kh-m #betterdocs-single-content :is(p, li) { text-align: start !important; }
}
/* حالت تمرکز: ستون متن دقیقاً وسط */
@media (min-width: 1024px) {
  body.kh-m.skh-focus .betterdocs-single-wrapper #betterdocs-single-main { grid-column: 1 / -1 !important; justify-self: center !important; width: 100% !important; }
}

/* ---------- ۴. منوی کناری: درخت ساده با خط راهنما ---------- */
html body.kh-m #betterdocs-full-sidebar-left :is(.betterdocs-sidebar-content, .betterdocs-category-grid-wrapper, .betterdocs-category-grid-inner-wrapper) {
  display: block !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; max-height: none !important; height: auto !important; overflow: visible !important;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper,
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper .betterdocs-single-category-inner {
  border: 0 !important; background: none !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; width: 100% !important;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper + .betterdocs-single-category-wrapper { margin-top: 4px !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header {
  border: 0 !important; background: none !important; box-shadow: none !important; min-height: 0 !important;
  margin: 0 !important; padding: 7px 8px !important; border-radius: var(--sc-radius-sm) !important; cursor: pointer;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper .betterdocs-single-category-inner .betterdocs-category-header:hover { background: var(--sc-surface) !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-header-inner { display: flex !important; align-items: center !important; gap: 8px; border: 0 !important; padding: 0 !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-title { flex: 1; margin: 0 !important; font-size: 14px !important; line-height: 1.6 !important; font-weight: 700 !important; color: var(--sc-ink) !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-items-counts { display: none !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-collapse { flex: none; width: 10px !important; height: 10px !important; color: var(--sc-text-muted) !important; fill: currentColor !important; transition: transform .15s; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper:not(.active) .betterdocs-category-collapse { transform: rotate(90deg); }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-body { margin: 0 !important; padding: 2px 0 8px !important; border: 0 !important; background: none !important; }

html body.kh-m #betterdocs-full-sidebar-left :is(.betterdocs-articles-list, .betterdocs-nested-category-list) {
  list-style: none !important; margin: 2px 0 !important; margin-inline-start: 15px !important; padding: 0 !important; padding-inline-start: 10px !important;
  border: 0 !important; border-inline-start: 1px solid var(--sc-line) !important; background: none !important;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li::before { display: none !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a {
  position: relative; display: block !important; margin: 1px 0 !important; padding: 5px 8px !important;
  border: 0 !important; border-radius: 6px !important; background: none !important; text-decoration: none !important;
  font-size: 14px !important; line-height: 1.7 !important; font-weight: 400 !important; color: var(--sc-text-muted) !important;
  transition: background-color .15s, color .15s;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a::before { display: none !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a:hover { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a.active {
  background: var(--sc-surface) !important; color: var(--sc-ink) !important; font-weight: 600 !important;
}
/* قفل «مخصوص اعضا»: کوچک، کنار خود عنوان */
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a .skh-lk {
  display: inline-block !important; vertical-align: -1px; width: 11px !important; height: 11px !important; margin: 0 !important; margin-inline-start: 6px !important; opacity: .75;
}

/* زیرسرفصل: ردیف قابل کلیک با پیکان در انتها */
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title {
  display: flex !important; align-items: center; gap: 8px; margin: 1px 0 !important; padding: 5px 8px !important;
  border: 0 !important; border-radius: 6px !important; background: none !important; cursor: pointer;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title:hover { background: var(--sc-surface) !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-nested-category-title > a { order: 0; flex: 1; font-size: 14px !important; line-height: 1.65 !important; font-weight: 600 !important; color: var(--sc-ink) !important; text-decoration: none !important; pointer-events: none; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-nested-category-title > svg { order: 1; flex: none; width: 9px !important; height: 9px !important; color: var(--sc-text-muted) !important; fill: currentColor !important; }

/* ---------- ۵. مسیر صفحه + دکمه‌ی «پنهان کردن منوها» ---------- */
.kh-m-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.kh-m-bar .betterdocs-breadcrumb { flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; }
.kh-m-wide-btn {
  flex: none; display: none; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; margin-inline-start: -6px;
  color: var(--sc-text-muted); background: none; cursor: pointer; border: 0; border-radius: 6px; transition: color .15s, background-color .15s;
}
.kh-m-wide-btn svg { width: 16px; height: 16px; }
.kh-m-wide-btn:hover, .kh-m-wide-btn[aria-pressed="true"] { color: var(--sc-ink); background: var(--sc-surface); }
.kh-m-wide-btn:focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 2px; }
.kh-m-sep { flex: none; display: none; width: 1px; height: 16px; background: var(--sc-line); }
@media (min-width: 1024px) { body.kh-m:not(.skh-focus) :is(.kh-m-wide-btn, .kh-m-sep) { display: inline-flex; } }

html body.kh-m .betterdocs-breadcrumb { overflow: visible !important; }
html body.kh-m .betterdocs-breadcrumb .betterdocs-breadcrumb-list { display: flex; align-items: center; gap: 2px 2px; margin: 0 !important; padding: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; }
html body.kh-m .betterdocs-breadcrumb :is(a, span) { font-size: 13px !important; color: var(--sc-text-muted) !important; text-decoration: none !important; }
html body.kh-m .betterdocs-breadcrumb a:hover { color: var(--sc-ink) !important; }
html body.kh-m .betterdocs-breadcrumb .item-current span { color: var(--sc-ink) !important; font-weight: 700; }
html body.kh-m .betterdocs-breadcrumb .breadcrumb-delimiter svg { width: 7px !important; height: 7px !important; color: var(--sc-text-muted) !important; fill: currentColor !important; transform: scaleX(-1); }
@media (min-width: 1024px) {
  html body.kh-m .betterdocs-breadcrumb .betterdocs-breadcrumb-list { flex-wrap: wrap !important; white-space: normal !important; overflow: visible !important; }
}
@media (max-width: 1023px) {
  html body.kh-m .betterdocs-breadcrumb .betterdocs-breadcrumb-list { flex-wrap: nowrap !important; white-space: nowrap !important; overflow-x: auto !important; scrollbar-width: none; }
  html body.kh-m .betterdocs-breadcrumb .betterdocs-breadcrumb-list::-webkit-scrollbar { display: none; }
}

/* ---------- ۶. فهرست مطالب ---------- */
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc > .toc-title { margin: 0 0 12px !important; padding: 0 !important; font-size: 13px !important; color: var(--sc-ink) !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list { border: 0 !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list a {
  display: flex !important; align-items: baseline; gap: 6px; margin-inline-start: 0 !important; padding: 4px 8px !important;
  border: 0 !important; border-radius: 6px;
  font-size: 13px !important; line-height: 1.75 !important; font-weight: 400 !important; color: var(--sc-text-muted) !important;
  transition: color .15s, border-color .15s;
}
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list a::before { display: inline !important; flex: none; color: var(--sc-text-muted); }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list a:hover { color: var(--sc-ink) !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list :is(a.active, li.active > a) { color: var(--sc-ink) !important; font-weight: 600 !important; }

/* ---------- ۷. نوشته‌ی مقاله: مقیاس تازه برای فارسی ---------- */
/* بدنه ۱۷ با فاصله‌ی خط ۲؛ فهرست ۱۶؛ تیتر سوم ۱۹. تیترهای دوم همان برچسب مشکی SHIFT می‌مانند. */
body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > p,
body.kh-m:not(.skh-focus) #betterdocs-single-content > p { font-size: 17px !important; line-height: 2 !important; margin: 0 0 1.1em !important; color: var(--sc-text) !important; }
body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > :is(ul, ol) > li { font-size: 16px !important; line-height: 1.95 !important; margin: 0 0 .35em !important; color: var(--sc-text) !important; }
body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > :is(ul, ol) { color: var(--sc-text) !important; margin: 0 0 1.2em !important; }
body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > h3 { font-size: 19px !important; line-height: 1.6 !important; font-weight: 800 !important; margin: 2em 0 .6em !important; color: var(--sc-ink) !important; }
body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > h2 { margin-top: 2.6em !important; }
@media (max-width: 849px) {
  body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > p,
  body.kh-m:not(.skh-focus) #betterdocs-single-content > p { font-size: 16px !important; line-height: 1.95 !important; }
  body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > :is(ul, ol) > li { font-size: 15px !important; }
  body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > h3 { font-size: 18px !important; }
}

/* ---------- ۸. صفحه‌ی سرفصل و حرف‌ها: کارت‌ها ---------- */
html body.kh-m.tax-doc_category #main { padding-top: 32px !important; }
html body.kh-m.tax-doc_category #main .betterdocs-breadcrumb { margin: 0 0 12px !important; }
html body.kh-m.tax-doc_category #main .betterdocs-entry-title { margin: 0 0 24px !important; padding: 0 0 20px !important; border-bottom: 1px solid var(--sc-line) !important; }
html body.kh-m.tax-doc_category #main .betterdocs-entry-heading { margin: 4px 0 8px !important; font-size: clamp(26px, 2.6vw, 36px) !important; line-height: 1.45 !important; font-weight: 800 !important; color: var(--sc-ink) !important; }
html body.kh-m.tax-doc_category #main .betterdocs-entry-title p { max-width: 680px; color: var(--sc-text-muted) !important; }
html body.kh-m.tax-doc_category #main .betterdocs-taxonomy-doc-category > ul {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important; border: 0 !important;
}
html body.kh-m.tax-doc_category #main .betterdocs-taxonomy-doc-category > ul > li:not(.betterdocs-nested-category-wrapper) { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body.kh-m.tax-doc_category #main .betterdocs-taxonomy-doc-category > ul > li:not(.betterdocs-nested-category-wrapper) > a {
  display: flex !important; align-items: center; height: 100%; box-sizing: border-box; padding: 14px 16px !important;
  border: 1px solid var(--sc-line) !important; border-radius: var(--sc-radius-md) !important; background: var(--sc-bg) !important;
  font-size: 15px !important; line-height: 1.6 !important; font-weight: 700 !important; color: var(--sc-ink) !important; text-decoration: none !important;
  transition: border-color .15s, background-color .15s;
}
html body.kh-m.tax-doc_category #main .betterdocs-taxonomy-doc-category > ul > li > a:hover { border-color: var(--sc-ink) !important; background: var(--sc-surface) !important; }
html body.kh-m.tax-doc_category #main .betterdocs-taxonomy-doc-category > ul > li > a > :is(svg, img) { display: none !important; }
html body.kh-m.tax-doc_category #main .betterdocs-taxonomy-doc-category > ul > li.betterdocs-nested-category-wrapper { grid-column: 1 / -1; margin: 12px 0 0 !important; }

/* ---------- ۹. صفحه‌ی اصلی دانش‌کده ---------- */
body.kh-m .kh-hero .kh-search { display: none !important; }
.kh-m-search {
  display: flex; align-items: center; gap: 10px; box-sizing: border-box;
  width: 100%; max-width: 560px; min-height: 52px; margin: 24px auto 20px; padding: 0 16px;
  font: inherit; font-size: 15px; text-align: start; cursor: pointer;
  color: var(--sc-text-muted); background: var(--sc-bg);
  border: 1px solid var(--sc-line); border-radius: var(--sc-radius-md);
  box-shadow: 0 1px 0 var(--sc-line); transition: border-color .15s, color .15s;
}
.kh-m-search:hover { border-color: var(--sc-ink); color: var(--sc-ink); }
.kh-m-search:focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 2px; }
.kh-m-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.kh-m .kh-kbs > * { transition: border-color .15s; }
body.kh-m .kh-kbs > *:hover { border-color: var(--sc-ink) !important; }

@media (hover: none) { :is(body.sc-new .sc-hd__sbox, .kh-m-search) kbd { display: none; } }
@media (prefers-reduced-motion: reduce) { body.sc-new *, body.sc-new .sc-hd.is-stuck { transition: none !important; animation: none !important; } }
@media (max-width: 849px) { body.sc-new .kh-page .kh-sec__in { padding-inline: 16px !important; box-sizing: border-box; } .kh-m-search { width: 100%; } }

/* ---------- ۱۰. فهرست مطالب: H3ها زیر هر H2، باز و بسته‌شونده ---------- */
html body.kh-m #betterdocs-sidebar-right .toc-list > li { position: relative; }
html body.kh-m #betterdocs-sidebar-right .toc-list > li.kh-m-has-sub > a { padding-inline-end: 30px !important; }
.kh-m-toc-tg {
  position: absolute; top: 3px; inset-inline-end: 2px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--sc-text-muted); cursor: pointer;
}
.kh-m-toc-tg:hover { background: var(--sc-surface); color: var(--sc-ink); }
.kh-m-toc-tg:focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 1px; }
.kh-m-toc-tg svg { width: 14px; height: 14px; transition: transform .15s; }
li.is-open > .kh-m-toc-tg svg { transform: rotate(-180deg); }
html body.kh-m #betterdocs-sidebar-right ul.kh-m-toc-sub { display: none; list-style: none; margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; }
html body.kh-m #betterdocs-sidebar-right li.is-open > ul.kh-m-toc-sub { display: block; }
html body.kh-m #betterdocs-sidebar-right ul.kh-m-toc-sub li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body.kh-m #betterdocs-sidebar-right ul.kh-m-toc-sub li::before { display: none !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list ul.kh-m-toc-sub a { padding: 3px 24px 3px 12px !important; font-size: 12.5px !important; line-height: 1.7 !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list ul.kh-m-toc-sub a::before { display: none !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list ul.kh-m-toc-sub a.kh-m-on { color: var(--sc-ink) !important; font-weight: 600 !important; }

/* ---------- ۱۱. جدول‌ها (الگوی Table در shadcn) ---------- */
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table {
  display: block !important; width: 100% !important; max-width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch;
  margin: 1.75em 0 !important; padding: 0 !important; border: 1px solid var(--sc-line) !important; border-radius: var(--sc-radius-md) !important; background: var(--sc-bg) !important;
}
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table table {
  width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; border-spacing: 0;
  table-layout: auto !important; font-size: 14.5px !important; line-height: 1.8 !important; color: var(--sc-text) !important; background: none !important;
}
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table :is(th, td) {
  padding: 10px 14px !important; text-align: start !important; vertical-align: top !important; border: 0 !important; border-bottom: 1px solid var(--sc-line) !important;
  background: none !important; color: inherit !important; font-size: inherit !important; min-width: 7em; white-space: normal !important;
}
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table thead { border: 0 !important; }
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table thead :is(th, td) {
  background: var(--sc-surface) !important; color: var(--sc-ink) !important; font-weight: 700 !important; font-size: 13.5px !important; vertical-align: bottom !important;
}
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table tbody tr { background: none !important; }
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table tbody tr:last-child > * { border-bottom: 0 !important; }
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table tbody tr:hover > * { background: color-mix(in srgb, var(--sc-surface) 60%, transparent) !important; }
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table tbody tr > :first-child { color: var(--sc-ink) !important; font-weight: 600 !important; }
html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table figcaption { margin: 0 !important; padding: 8px 14px !important; font-size: 13px !important; color: var(--sc-text-muted) !important; border-top: 1px solid var(--sc-line); }
@media (max-width: 849px) {
  html body.sc-new :is(.entry-content, #betterdocs-single-content, .betterdocs-entry-content) figure.wp-block-table table { min-width: 560px; font-size: 14px !important; }
}

/* ---------- ۱۲. حالت تاریک: نوار عنوان مقاله سفید می‌شود (وارونه) ---------- */
:root[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box {
  --sc-inverse: #FFFFFF; --sc-on-inverse: #0C0C0C; --sc-on-inverse-strong: #2A2C31; --sc-on-inverse-text: #4A4D57; --sc-on-inverse-muted: #6E727C;
  --sc-inverse-line: #E2E4E9; --sc-inverse-card: #F4F5F7; --sc-inverse-card-line: #E2E4E9;
  background: #FFFFFF !important; color: #0C0C0C !important;
}
:root[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box .sh-ah-views { background: #F4F5F7 !important; color: #2A2C31 !important; border-color: #E2E4E9 !important; }
:root[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box .skh-by :is(.skh-by-txt, .skh-by-av) { color: #4A4D57 !important; }
:root[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box .skh-by :is(.skh-by-g, a) { color: #0C0C0C !important; }

/* مسیر صفحه (دسکتاپ): یک خط (جزئیات در بخش ۱۴) */
@media (min-width: 1024px) {
  html body.kh-m .kh-m-bar .betterdocs-breadcrumb .betterdocs-breadcrumb-list { flex-wrap: nowrap !important; white-space: nowrap !important; overflow: hidden !important; }
  html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item { min-width: 0; flex: 0 1 auto; }
  html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.breadcrumb-delimiter { flex: none; }
  html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item :is(a, span) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}


/* ==========================================================================
   نسخه‌ی ۴
   ========================================================================== */

/* ---------- ۱۳. هدر: دکمه‌های آیکنی بی‌قاب (ghost)، جعبه‌ی جست‌وجوی «دکمه‌ای» ---------- */
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle) { border-color: transparent !important; background: transparent !important; }
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle):hover,
html body.sc-new .sc-hd .sc-hd__cartwrap:hover > .sc-hd__cart { background: var(--sc-surface) !important; }
html body.sc-new .sc-hd .sc-hd__btn .sc-icon, html body.sc-new .sc-hd .sc-hd__btn svg { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  html body.sc-new .sc-hd .sc-hd__sbox { background: var(--sc-surface); border-color: transparent; box-shadow: none; }
  html body.sc-new .sc-hd .sc-hd__sbox:hover { background: var(--sc-surface); border-color: var(--sc-line); }
  html body.sc-new .sc-hd .sc-hd__sbox kbd { background: var(--sc-bg); }
}

/* ---------- ۱۴. مسیر صفحه (الگوی Breadcrumb در shadcn) ---------- */
html body.kh-m .kh-m-bar { min-height: 28px; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb { display: flex; align-items: center; height: 28px; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb .betterdocs-breadcrumb-list {
  display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 2px 2px !important; height: 28px; min-width: 0;
  white-space: nowrap !important; overflow: visible !important;
}
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item { display: inline-flex !important; align-items: center; flex: none !important; min-width: 0; margin: 0 !important; padding: 0 !important; line-height: 28px !important; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.item-current { flex: 0 1 auto !important; overflow: hidden; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item :is(a, span) { font-size: 13.5px !important; line-height: 28px !important; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.item-current span { color: var(--sc-ink) !important; font-weight: 600 !important; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.breadcrumb-delimiter { width: 22px; justify-content: center; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.breadcrumb-delimiter .icon-container { display: none !important; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.breadcrumb-delimiter::before {
  content: ""; width: 14px; height: 14px; background: var(--sc-text-muted); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-item.kh-m-hid { display: none !important; }
html body.kh-m .kh-m-bar .kh-m-bc-more { position: relative; }
.kh-m-bc-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 24px; padding: 0; border: 0; border-radius: 6px;
  background: none; color: var(--sc-text-muted); cursor: pointer; font: 700 14px/1 sans-serif; letter-spacing: 1px;
}
.kh-m-bc-btn:hover, .kh-m-bc-btn[aria-expanded="true"] { background: var(--sc-surface); color: var(--sc-ink); }
.kh-m-bc-menu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: -8px; z-index: 50; min-width: 200px; margin: 0; padding: 4px; list-style: none;
  background: var(--sc-bg); border: 1px solid var(--sc-line); border-radius: 8px; box-shadow: var(--ui-shadow-md);
}
.kh-m-bc-menu[hidden] { display: none; }
.kh-m-bc-menu a { display: block; padding: 6px 8px; border-radius: 6px; font-size: 13.5px; line-height: 1.6; color: var(--sc-text) !important; text-decoration: none !important; white-space: nowrap; }
.kh-m-bc-menu a:hover, .kh-m-bc-menu a:focus-visible { background: var(--sc-surface); color: var(--sc-ink) !important; }
html body.kh-m .kh-m-wide-btn { width: 28px; height: 28px; margin-inline-start: -4px; }
html body.kh-m .kh-m-sep { height: 14px; }

/* ---------- ۱۵. منوی کناری و فهرست: هم‌تراز با بالای نوار عنوان؛ فعال = آبی ---------- */
@media (min-width: 1024px) {
  html body.kh-m:not(.skh-focus) .betterdocs-single-wrapper :is(#betterdocs-full-sidebar-left, #betterdocs-sidebar-right) { margin-top: var(--khm-side-top, 80px) !important; padding-top: 0 !important; }
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a.active { background: var(--sc-accent-container) !important; color: var(--sc-on-accent-container) !important; }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list :is(a.active, li.active > a, ul.kh-m-toc-sub a.kh-m-on) { color: var(--sc-accent) !important; }

/* آیکن نوع نوشتار (متن، ویدیو، واژه‌نامه…) کنار هر عنوان */
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"] { position: relative !important; color: var(--sc-text-muted); }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"]::before {
  display: block !important; position: absolute; inset-inline-start: 8px; top: 9px; width: 14px !important; height: 14px !important; flex: none; margin: 0 !important;
  z-index: 1; pointer-events: none; opacity: .65;
}
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"] > a { padding-inline-start: 30px !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"]:has(> a.active) { color: var(--sc-accent); }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"]:has(> a.active)::before { opacity: 1; }

/* ---------- ۱۶. حالت «بدون منو»: پهن‌تر، با سطر خوانا ---------- */
@media (min-width: 1024px) {
  html.kh-m-wide body.kh-m:not(.skh-focus) #betterdocs-single-main .doc-single-content-wrapper { max-width: 1120px; }
  html.kh-m-wide body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > p,
  html.kh-m-wide body.kh-m:not(.skh-focus) #betterdocs-single-content > p { font-size: 18.5px !important; line-height: 2.05 !important; }
  html.kh-m-wide body.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > :is(ul, ol) > li { font-size: 17.5px !important; }
}

/* ---------- ۱۷. ردیف اطلاعات و دکمه‌های مقاله ---------- */
html body.sc-new .sh-ah .sh-ah-meta { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap; gap: 12px !important; margin: 16px 0 0 !important; padding: 0 0 16px !important; border: 0 !important; border-bottom: 1px solid var(--sc-line) !important; }
html body.sc-new .sh-ah .sh-ah-info { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 6px 0 !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body.sc-new .sh-ah .sh-ah-info > li { display: inline-flex !important; align-items: center !important; gap: 6px !important; margin: 0 !important; padding: 0 12px !important; font-size: 13px !important; line-height: 1.4 !important; color: var(--sc-text-muted) !important; border: 0 !important; border-inline-start: 1px solid var(--sc-line) !important; }
html body.sc-new .sh-ah .sh-ah-info > li:first-child { padding-inline-start: 0 !important; border-inline-start: 0 !important; }
html body.sc-new .sh-ah .sh-ah-info > li::before, html body.sc-new .sh-ah .sh-ah-info > li::after { display: none !important; }
html body.sc-new .sh-ah .sh-ah-info > li svg { width: 15px !important; height: 15px !important; flex: none; opacity: .8; }
html body.sc-new .sh-ah .sh-ah-info > li b { font-weight: 600 !important; color: var(--sc-text) !important; }
html body.sc-new .sh-ah .sh-ah-info > li.sh-ah-item-fmt { color: var(--sc-accent) !important; }
html body.sc-new .sh-ah .sh-ah-info > li.sh-ah-item-fmt b { color: var(--sc-ink) !important; }
html body.sc-new .sh-ah .sh-ah-actions { display: inline-flex !important; align-items: stretch !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--sc-line) !important; border-radius: 8px !important; overflow: hidden; box-shadow: var(--ui-shadow-xs); background: var(--sc-bg); }
html body.sc-new .sh-ah .sh-ah-actions > * {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 38px !important; height: 36px !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--sc-text-muted) !important;
}
html body.sc-new .sh-ah .sh-ah-actions > * + * { border-inline-start: 1px solid var(--sc-line) !important; }
html body.sc-new .sh-ah .sh-ah-actions > *:hover { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
html body.sc-new .sh-ah .sh-ah-actions > [aria-pressed="true"] { color: var(--sc-accent) !important; }
html body.sc-new .sh-ah .sh-ah-actions svg { width: 16px !important; height: 16px !important; }
html body.sc-new .sh-ah .sh-ah-actions .shift-bm-icon { display: inline-flex; }
html body.sc-new .sh-ah .sh-ah-actions .shift-bm-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ۱۸. تیترها (H2 و H3) — گزینه‌ی الف: تیتر پررنگ با خط کوتاه آبی ---------- */
html body.sc-new #betterdocs-single-content :is(.wp-block-group > h2, > h2).wp-block-heading {
  position: relative !important; display: block !important; width: auto !important; max-width: none !important;
  margin: 2.4em 0 .75em !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important;
  font-size: 25px !important; line-height: 1.55 !important; font-weight: 800 !important; letter-spacing: 0 !important; color: var(--sc-ink) !important;
}
html body.sc-new #betterdocs-single-content :is(.wp-block-group > h2, > h2).wp-block-heading::before { display: none !important; }
html body.sc-new #betterdocs-single-content :is(.wp-block-group > h2, > h2).wp-block-heading::after {
  content: "" !important; position: static !important; display: block !important; width: 36px !important; height: 3px !important; margin-top: 10px !important;
  border-radius: 2px !important; background: var(--sc-accent) !important; inset: auto !important; transform: none !important;
}
html body.sc-new #betterdocs-single-content :is(.wp-block-group > h3, > h3) { font-size: 19px !important; line-height: 1.6 !important; font-weight: 800 !important; color: var(--sc-ink) !important; margin: 2em 0 .5em !important; }
@media (max-width: 849px) {
  html body.sc-new #betterdocs-single-content :is(.wp-block-group > h2, > h2).wp-block-heading { font-size: 21px !important; }
  html body.sc-new #betterdocs-single-content :is(.wp-block-group > h3, > h3) { font-size: 17px !important; }
}
/* گزینه‌ی ب: خط کامل بالای تیتر با یک قطعه‌ی آبی (?h2=b) */
html.kh-h2-b body.sc-new #betterdocs-single-content :is(.wp-block-group > h2, > h2).wp-block-heading { padding-top: 18px !important; border-top: 1px solid var(--sc-line) !important; }
html.kh-h2-b body.sc-new #betterdocs-single-content :is(.wp-block-group > h2, > h2).wp-block-heading::after { position: absolute !important; top: -2px !important; inset-inline-start: 0 !important; width: 48px !important; margin: 0 !important; }

/* ---------- ۱۹. پایین مقاله: آکاردئون، کارت نوشتار قبلی/بعدی، پدیدآورنده، دیدگاه‌ها ---------- */
html body.sc-new details.wp-block-details.accord {
  margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--sc-line) !important; border-radius: 0 !important; box-shadow: none !important;
}
html body.sc-new :not(details.accord) + details.wp-block-details.accord { margin-top: 2.5em !important; border-top: 1px solid var(--sc-line) !important; }
html body.sc-new details.wp-block-details.accord > summary {
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px; margin: 0 !important; padding: 16px 2px !important;
  list-style: none !important; background: none !important; border: 0 !important; border-radius: 0 !important; cursor: pointer;
  font-size: 15px !important; font-weight: 700 !important; color: var(--sc-ink) !important;
}
html body.sc-new details.wp-block-details.accord > summary::-webkit-details-marker { display: none; }
html body.sc-new details.wp-block-details.accord > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
html body.sc-new details.wp-block-details.accord > :not(summary) { background: none !important; padding-inline: 2px !important; margin-top: 0 !important; }
html body.sc-new details.wp-block-details.accord[open] > :last-child { padding-bottom: 16px !important; }

html body.sc-new .skh-pn { gap: 12px !important; }
html body.sc-new .skh-pn .skh-pn-cell:not(.is-empty) {
  display: flex !important; flex-direction: column; gap: 4px; padding: 16px !important; background: var(--sc-bg) !important; background-image: none !important;
  border: 1px solid var(--sc-line) !important; border-radius: 12px !important; box-shadow: var(--ui-shadow-xs) !important; text-decoration: none !important;
  transition: box-shadow .15s, border-color .15s;
}
html body.sc-new .skh-pn .skh-pn-cell:not(.is-empty)::before, html body.sc-new .skh-pn .skh-pn-cell:not(.is-empty)::after { display: none !important; }
html body.sc-new .skh-pn .skh-pn-cell:not(.is-empty):hover { box-shadow: var(--ui-shadow-md) !important; border-color: var(--sc-line) !important; }
html body.sc-new .skh-pn .skh-pn-cell small { font-size: 12.5px !important; color: var(--sc-text-muted) !important; }
html body.sc-new .skh-pn .skh-pn-cell .skh-pn-t { font-size: 15px !important; font-weight: 700 !important; color: var(--sc-ink) !important; }
html body.sc-new .skh-pn .skh-pn-cell.is-empty { border: 0 !important; background: none !important; }

html body.sc-new .shift-authors-wrapper { padding: 16px !important; background: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; box-shadow: var(--ui-shadow-xs) !important; }
html body.sc-new .shift-authors-wrapper img { border-radius: 999px !important; }

html body.sc-new .scm .scm-title { font-size: 20px !important; font-weight: 800 !important; display: inline-flex; align-items: center; gap: 8px; }
html body.sc-new .scm .scm-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--sc-surface); color: var(--sc-text-muted); font-size: 12px; font-weight: 700; }
html body.sc-new .scm .scm-tool { border-radius: 8px !important; }

/* ---------- ۲۰. بازگشت به بالا با حلقه‌ی پیشرفت خواندن؛ دکمه‌های شناور موبایل ---------- */
html body.sc-new #shift-docs-reading-ring { display: none !important; }
html body.sc-new .sc-top {
  width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 999px !important; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sc-bg) !important; color: var(--sc-ink) !important; border: 1px solid var(--sc-line) !important; box-shadow: var(--ui-shadow-md) !important;
}
html body.sc-new .sc-top::before {
  content: ""; position: absolute; inset: -1px; border-radius: 999px; pointer-events: none;
  background: conic-gradient(var(--sc-accent) calc(var(--khp, 0) * 1turn), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}
html body.sc-new .sc-top svg { width: 18px !important; height: 18px !important; }
html body.sc-new .sc-top:hover { background: var(--sc-surface) !important; }
html body.sc-new .betterdocs-mobile-nav {
  display: inline-flex !important; align-items: stretch; gap: 0 !important; height: 44px !important; padding: 0 !important; overflow: hidden;
  background: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; border-radius: 999px !important; box-shadow: var(--ui-shadow-md) !important;
}
html body.sc-new .betterdocs-mobile-nav > [role="button"] {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 48px !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--sc-ink) !important;
}
html body.sc-new .betterdocs-mobile-nav > [role="button"] + [role="button"] { border-inline-start: 1px solid var(--sc-line) !important; }
html body.sc-new .betterdocs-mobile-nav > [role="button"] > span { display: none !important; }
html body.sc-new .betterdocs-mobile-nav svg { width: 18px !important; height: 18px !important; color: currentColor !important; fill: none; }

/* ---------- ۲۱. اصلاحات نسخه‌ی ۴ ---------- */
html body.kh-m .kh-m-bar { margin-bottom: 24px !important; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb { margin: 0 !important; }
html body.kh-m .kh-m-bar .betterdocs-breadcrumb-list.kh-m-bc-measure .item-current { flex: none !important; }
@media (min-width: 769px) { html body.sc-new .betterdocs-mobile-nav { display: none !important; } }
html body.kh-m #betterdocs-sidebar-right .betterdocs-toc .toc-list a.kh-m-on { color: var(--sc-accent) !important; font-weight: 600 !important; }

/* ---------- ۲۲. منوی کناری ظریف‌تر (الگوی Sidebar در shadcn): پیکان کنار عنوان، تورفتگی کم ---------- */
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-header { padding: 4px 6px 0 !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-header-inner { gap: 6px !important; align-items: center !important; padding: 4px 0 !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-header-inner > svg { order: -1 !important; flex: none; width: 14px !important; height: 14px !important; padding: 2px; margin: 0 !important; opacity: .6; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-title { font-size: 14px !important; line-height: 1.6 !important; padding: 0 !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-nested-category-title { gap: 6px !important; padding: 4px 6px !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-nested-category-title > svg { order: -1 !important; flex: none; width: 14px !important; margin: 0 !important; padding: 0 !important; opacity: .6; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-nested-category-title > a { font-size: 13.5px !important; line-height: 1.65 !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-body > .betterdocs-articles-list { margin-inline-start: 13px !important; padding-inline-start: 4px !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-nested-category-list { margin-inline-start: 13px !important; padding-inline-start: 4px !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a { padding: 4px 6px !important; font-size: 13.5px !important; line-height: 1.65 !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"] > a { padding-inline-start: 26px !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li[class*="skh-f-"]::before { inset-inline-start: 7px !important; top: 8px !important; width: 13px !important; height: 13px !important; }

/* ---------- ۲۳. منوی کناری: عنوان = پیوند، پیکان = دکمه‌ی جدا ---------- */
.kh-m-tree-tg {
  order: -1; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0 -4px 0 0; padding: 0;
  border: 0; border-radius: 6px; background: none; color: var(--sc-text-muted); cursor: pointer;
}
.kh-m-tree-tg:hover { background: var(--sc-line); color: var(--sc-ink); }
.kh-m-tree-tg:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 1px; }
html body.kh-m #betterdocs-full-sidebar-left .kh-m-tree-tg svg { width: 12px !important; height: 12px !important; margin: 0 !important; padding: 0 !important; opacity: .75; }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-tree-link { color: inherit !important; text-decoration: none !important; pointer-events: auto !important; cursor: pointer; }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-tree-link:hover { text-decoration: underline !important; text-underline-offset: 3px; }
html body.kh-m #betterdocs-full-sidebar-left :is(.betterdocs-category-header, .betterdocs-nested-category-title) { cursor: default !important; }
@media (max-width: 1023px) {
  .kh-m-tree-tg { width: 40px; height: 40px; margin: -9px -13px -9px -8px; }
}

/* حلقه‌ی پیشرفت: در پایان نوشته (و روی فوتر) محو می‌شود تا دکمه یک‌دست بماند */
html body.sc-new .sc-top::before { transition: opacity .25s; }
html body.sc-new .sc-top.kh-m-done::before { opacity: 0; }

/* ---------- ۲۴. آکاردئون‌ها (الگوی Accordion در shadcn): بر قواعد قدیمی kh-design غلبه می‌کند ---------- */
html body.sc-new #betterdocs-single-main details.wp-block-details.accord {
  margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--sc-line) !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important;
}
html body.sc-new #betterdocs-single-main details.wp-block-details.accord:not(details.accord + details.accord) { border-top: 1px solid var(--sc-line) !important; }
html body.sc-new #betterdocs-single-main details.wp-block-details.accord + details.wp-block-details.accord { margin-top: -8px !important; }
html body.sc-new #betterdocs-single-main details.wp-block-details.accord > summary {
  margin: 0 !important; padding: 15px 2px !important; background: none !important; border: 0 !important; border-radius: 0 !important; font-size: 15px !important; font-weight: 700 !important; color: var(--sc-ink) !important;
}
html body.sc-new #betterdocs-single-main details.wp-block-details.accord > summary:hover { background: none !important; text-decoration: underline; text-underline-offset: 4px; }
html body.sc-new #betterdocs-single-main details.wp-block-details.accord > :not(summary) { background: none !important; padding-inline: 2px !important; }

/* ---------- ۲۵. دکمه‌های شناور موبایل با آیکن‌های lucide ---------- */
html body.sc-new .betterdocs-mobile-nav > [role="button"] > .betterdocs-mobile-nav-icon-svg { display: none !important; }
html body.sc-new .betterdocs-mobile-nav > [role="button"]::before {
  content: "" !important; display: block !important; position: static !important; width: 20px !important; height: 20px !important; background: currentColor !important;
  -webkit-mask: var(--khm-ic) center/contain no-repeat; mask: var(--khm-ic) center/contain no-repeat;
}
html body.sc-new .betterdocs-mobile-nav > .betterdocs-sidebar-icon { --khm-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M15 3v18'/%3E%3C/svg%3E"); }
html body.sc-new .betterdocs-mobile-nav > .betterdocs-toc-icon { --khm-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12h-.01M21 18h-.01M21 6h-.01M16 12H3M16 18H3M16 6H3'/%3E%3C/svg%3E"); }
/* قاب دکمه‌ها هم مثل خود آیکن‌ها تا پیش از اسکرول پنهان است */
html body.sc-new:not(.shift-docs-scrolled) .betterdocs-mobile-nav { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
html body.sc-new .betterdocs-mobile-nav { transition: opacity .2s, visibility .2s; }

/* ---------- ۲۶. منوی موبایل: کلید تاریک/روشن = همان دکمه‌ی آیکن ماه/خورشید (Switch حذف شد، 2026-12-01) ---------- */

/* ---------- ۲۷. لغت‌نامه: واژه‌ی بدون جزئیات، ردیف ساده است (بدون پیکان و بدون باز شدن) ---------- */
html body.sc-new dl.hg-item:has(> dd.sd-panel:empty) .sd-more-btn,
html body.sc-new dl.hg-item:has(> dd.sd-panel:empty) > dd.sd-panel { display: none !important; }
html body.sc-new dl.hg-item:has(> dd.sd-panel:empty) > dt { pointer-events: none; cursor: default !important; }
html body.sc-new dl.hg-item:has(> dd.sd-panel:empty) > dt :is(button, a) { pointer-events: auto; }

/* ---------- ۲۸. هم‌ترازی با shadcn: هدر (دکمه‌ها h-9)، نوار عنوان، دکمه‌های مقاله ---------- */
html body.sc-new .sc-hd .sc-hd__sbox kbd { min-width: 20px !important; height: 20px !important; padding: 0 4px !important; border-radius: 4px !important; font-size: 12px !important; font-weight: 500 !important; }
html body.sc-new .sc-hd :is(.sc-hd__login, .sc-hd__account) { height: 36px !important; min-height: 36px !important; padding: 0 16px !important; border-radius: 8px !important; font-size: 14px !important; font-weight: 500 !important; }
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle) { border-radius: 8px !important; }
html body.sc-new .sh-ah .sh-ah-actions > * { width: 36px !important; height: 34px !important; }
html body.sc-new .scm .scm-count { font-weight: 500; border-radius: 8px; }

/* ---------- ۲۹. صفحه‌ی واژه (اصطلاح‌شناسی) به زبان shadcn ---------- */
/* تعریف هر مرجع = Card */
html body.sc-new #betterdocs-single-content .wp-block-quote.sd-def {
  margin: 0 0 12px !important; padding: 18px 20px 14px !important; background: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; border-radius: 14px !important; box-shadow: var(--ui-shadow-xs) !important;
}
html body.sc-new #betterdocs-single-content .wp-block-quote.sd-def::before, html body.sc-new #betterdocs-single-content .wp-block-quote.sd-def::after { display: none !important; }
html body.sc-new #betterdocs-single-content .sd-def > p:first-child { margin: 0 0 10px !important; font-size: 13px !important; line-height: 1.6 !important; color: var(--sc-text-muted) !important; }
html body.sc-new #betterdocs-single-content .sd-def > p:first-child strong { font-weight: 600 !important; color: var(--sc-ink) !important; }
html body.sc-new #betterdocs-single-content .sd-def > p:first-child a { display: inline-flex; align-items: center; margin-inline-start: 4px; padding: 1px 8px; border: 1px solid var(--sc-line); border-radius: 8px; font-size: 12px !important; font-weight: 500 !important; color: var(--sc-text) !important; text-decoration: none !important; }
html body.sc-new #betterdocs-single-content .sd-def > p:first-child a:hover { background: var(--sc-surface); }
/* متن انگلیسی داخل کارت = بخش جمع‌شونده با جداکننده */
html body.sc-new #betterdocs-single-content details.qute-acc { margin: 12px 0 0 !important; padding: 8px 0 0 !important; border: 0 !important; border-top: 1px solid var(--sc-line) !important; background: none !important; }
html body.sc-new #betterdocs-single-content details.qute-acc > summary { display: inline-flex !important; align-items: center; gap: 4px; padding: 2px 6px !important; margin: 0 !important; border-radius: 6px; font-size: 12px !important; font-weight: 600 !important; color: var(--sc-text-muted) !important; cursor: pointer; }
html body.sc-new #betterdocs-single-content details.qute-acc > summary:hover { background: var(--sc-surface); color: var(--sc-ink) !important; }
/* یادداشت = Alert (با رنگ کهربایی ملایم) */
html body.sc-new #betterdocs-single-content details.note-acc {
  margin: 16px 0 !important; padding: 0 !important; border-radius: 10px !important; box-shadow: none !important;
  background: color-mix(in srgb, #f59e0b 7%, var(--sc-bg)) !important; border: 1px solid color-mix(in srgb, #f59e0b 30%, var(--sc-bg)) !important;
}
html body.sc-new #betterdocs-single-content details.note-acc > summary { padding: 12px 16px !important; font-size: 14px !important; font-weight: 600 !important; }
html body.sc-new #betterdocs-single-content details.note-acc > :not(summary) { padding-inline: 16px !important; }
html body.sc-new #betterdocs-single-content details.note-acc[open] > :last-child { padding-bottom: 12px !important; }
/* «ببینید» = Badge (outline) */
html body.sc-new .sd-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
html body.sc-new .sd-ref .sd-ref-k { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--sc-text-muted); }
html body.sc-new .sd-ref .sd-ref-chip { display: inline-flex !important; align-items: center; gap: 6px; height: 26px; padding: 0 8px !important; border: 1px solid var(--sc-line) !important; border-radius: 8px !important; background: var(--sc-bg) !important; box-shadow: none !important; font-size: 12.5px !important; font-weight: 500 !important; color: var(--sc-ink) !important; text-decoration: none !important; }
html body.sc-new .sd-ref .sd-ref-chip:hover { background: var(--sc-surface) !important; }
html body.sc-new .sd-ref .sd-ref-chip .sd-ref-fa { color: var(--sc-text-muted); }
/* ریشه‌شناسی و نکته‌ی زبانی = Item (muted) */
html body.sc-new :is(.sd-field-etym, .sd-field-ling) { margin: 12px 0 !important; padding: 12px 16px !important; background: var(--sc-surface) !important; border: 0 !important; border-radius: 10px !important; font-size: 14px; }
/* پانویس‌ها */
html body.sc-new .sd-fnref { font-size: .75em; font-weight: 600; color: var(--sc-accent) !important; text-decoration: none !important; padding: 0 2px; }
html body.sc-new .sd-fns { margin-top: 24px !important; padding-top: 12px !important; border-top: 1px solid var(--sc-line) !important; font-size: 13px !important; color: var(--sc-text-muted); }

/* ---------- ۳۱. هدر: بازگشت به قاب‌های شیفت + عکس پروفایل درست (۱۰ آذر ۱۴۰۵) ----------
   بازخورد: هدر نسخه‌ی بی‌قاب «خراب» به نظر می‌رسید و عکس پروفایل ۲px شده بود (padding دکمه‌ی ورود روی آواتار).
   دکمه‌ها دوباره قاب نازک مشکی دارند، منو پررنگ است، آواتار دایره‌ی ۳۶px. */
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle) {
  width: 36px; height: 36px; border: 1px solid var(--sc-ink) !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; border-radius: 8px !important;
}
html body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle):hover,
html body.sc-new .sc-hd .sc-hd__cartwrap:hover > .sc-hd__cart { background: var(--sc-ink) !important; color: var(--sc-bg) !important; }
html body.sc-new .sc-hd .sc-hd__account.is-user,
html body.sc-new .sc-hd .sc-hd__acc:hover > .sc-hd__account.is-user {
  width: 36px !important; height: 36px !important; min-width: 36px !important; padding: 0 !important; overflow: hidden;
  border: 1px solid var(--sc-ink) !important; border-radius: 999px !important; background: var(--sc-surface) !important;
}
html body.sc-new .sc-hd .sc-hd__account.is-user img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 999px; }
html body.sc-new .sc-hd .sc-hd__acc:hover > .sc-hd__account.is-user { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc-ink) 15%, transparent); }
@media (min-width: 850px) {
  body.sc-new .sc-nav .sc-nav__link { font-size: 14.5px; font-weight: 700; color: var(--sc-ink); padding: 0 12px; border-radius: 8px; }
  body.sc-new .sc-nav .sc-nav__item:hover > .sc-nav__link { background: var(--sc-surface); }
}
@media (min-width: 1024px) {
  html body.sc-new .sc-hd .sc-hd__sbox,
  html body.sc-new .sc-hd .sc-hd__sbox:hover { background: var(--sc-bg); border: 1px solid var(--sc-ink); box-shadow: none; color: var(--sc-text-muted); }
  html body.sc-new .sc-hd .sc-hd__sbox:hover { color: var(--sc-ink); }
  html body.sc-new .sc-hd .sc-hd__sbox kbd { background: var(--sc-surface); }
}
@media (max-width: 849px) { html body.sc-new .sc-hd .sc-hd__login.sc-hd__account:not(.is-user) { border: 1px solid var(--sc-ink) !important; border-radius: 8px !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; } }

/* ---------- ۳۲. دور دوم اصلاحات طراحی (۱۱ آذر ۱۴۰۵): هدر نرم‌تر، تیترها، نقل‌قول، دستاوردها، آکاردئون، قبلی/بعدی، آواتارها ---------- */
html body.sc-new { --sc-ctl: color-mix(in srgb, var(--sc-ink) 18%, var(--sc-bg)); --sc-ctl-hover: color-mix(in srgb, var(--sc-ink) 34%, var(--sc-bg)); }

/* هدر: قاب نرم (نه سیاه تند)، دکمه‌ی پروفایل چهارگوشِ گوشه‌گرد مثل بقیه */
html:not(#sc_) body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle) { border-color: var(--sc-ctl) !important; background: var(--sc-bg) !important; box-shadow: none !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__btn:not(.sc-hd__toggle):hover,
html:not(#sc_) body.sc-new .sc-hd .sc-hd__cartwrap:hover > .sc-hd__cart { background: var(--sc-surface) !important; color: var(--sc-ink) !important; border-color: var(--sc-ctl-hover) !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__account.is-user,
html:not(#sc_) body.sc-new .sc-hd .sc-hd__acc:hover > .sc-hd__account.is-user { border-radius: 8px !important; border-color: var(--sc-ctl) !important; background: var(--sc-bg) !important; box-shadow: none !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__acc:hover > .sc-hd__account.is-user { border-color: var(--sc-ctl-hover) !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__account.is-user img { border-radius: 7px !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__sbox, html:not(#sc_) body.sc-new .sc-hd .sc-hd__sbox:hover { border-color: var(--sc-ctl) !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__sbox:hover { border-color: var(--sc-ctl-hover) !important; }
@media (max-width: 849px) { html:not(#sc_) body.sc-new .sc-hd .sc-hd__login.sc-hd__account:not(.is-user) { border-color: var(--sc-ctl) !important; } }
html:not(#sc_) body.sc-new .sc-hd__cart { position: relative; overflow: visible !important; }
html:not(#sc_) body.sc-new .sc-hd .sc-hd__count { z-index: 3 !important; box-shadow: 0 0 0 2px var(--sc-bg) !important; border: 0 !important; }

/* دکمه‌های مقاله: یک خانواده، جداکننده‌ی نرم، نشان عدد داخل دکمه (بدون بریدگی) */
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions { overflow: visible !important; border-color: var(--sc-ctl) !important; border-radius: 8px !important; }
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions > * { position: relative; }
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions > * + * { border-inline-start: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions > :first-child { border-start-start-radius: 7px !important; border-end-start-radius: 7px !important; border-inline-start: 0 !important; }
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions > :last-child { border-start-end-radius: 7px !important; border-end-end-radius: 7px !important; }
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions .sh-ah-badge { position: absolute !important; top: 3px !important; inset-inline-start: 3px !important; inset-inline-end: auto !important; z-index: 2; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; font-size: 10px !important; line-height: 15px !important; box-shadow: 0 0 0 2px var(--sc-bg); }

/* ردیف اطلاعات: جداکننده‌ی | بین آیتم‌ها */
html:not(#sc_) body.sc-new .sh-ah .sh-ah-info > li { border: 0 !important; position: relative; }
html:not(#sc_) body.sc-new .sh-ah .sh-ah-info > li + li::before { content: "" !important; display: block !important; position: absolute; inset-inline-start: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--sc-ctl); }

/* تیترهای مقاله: خط جداکننده بالای هر H2، نشان # مثل shadcn؛ همه‌ی تیترها (قدیمی هم) */
html:not(#sc_) body.sc-new #betterdocs-single-content h2:not(details *):not(.shift-outcomes *) {
  position: relative !important; display: block !important; width: auto !important; max-width: none !important; margin: 2.6em 0 .8em !important; padding: 1.1em 0 0 !important;
  background: none !important; border: 0 !important; border-top: 1px solid var(--sc-line) !important; border-radius: 0 !important; box-shadow: none !important;
  font-size: 24px !important; line-height: 1.55 !important; font-weight: 800 !important; letter-spacing: 0 !important; color: var(--sc-ink) !important; cursor: pointer;
}
html:not(#sc_) body.sc-new #betterdocs-single-content h2:not(details *):not(.shift-outcomes *)::before { display: none !important; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3):not(details *):not(.shift-outcomes *)::after {
  content: "#" !important; position: static !important; display: inline !important; width: auto !important; height: auto !important; margin: 0 .45em 0 0 !important; padding: 0 !important; background: none !important;
  color: var(--sc-text-muted) !important; font-weight: 400 !important; opacity: .45; transition: opacity .15s; inset: auto !important; transform: none !important; border-radius: 0 !important;
}
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3):not(details *):hover::after { opacity: 1; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3):not(details *):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
html:not(#sc_) body.sc-new #betterdocs-single-content h3:not(details *):not(.shift-outcomes *) { font-size: 19px !important; line-height: 1.6 !important; font-weight: 700 !important; margin: 2em 0 .5em !important; color: var(--sc-ink) !important; background: none !important; border: 0 !important; padding: 0 !important; cursor: pointer; }
@media (max-width: 849px) { html:not(#sc_) body.sc-new #betterdocs-single-content h2:not(details *):not(.shift-outcomes *) { font-size: 21px !important; } html:not(#sc_) body.sc-new #betterdocs-single-content h3:not(details *) { font-size: 17px !important; } }

/* تایپوگرافی مقاله (الگوی typeset در shadcn، با ایران‌یکان): خوانا و کم‌خط‌فاصله‌تر */
html:not(#sc_) body.sc-new.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > p,
html:not(#sc_) body.sc-new.kh-m:not(.skh-focus) #betterdocs-single-content > p { font-size: 16.5px !important; line-height: 1.95 !important; margin: 0 0 1.15em !important; color: var(--sc-text) !important; font-weight: 400; }
html:not(#sc_) body.sc-new.kh-m:not(.skh-focus) #betterdocs-single-content .wp-block-group > :is(ul, ol) > li { font-size: 16px !important; line-height: 1.85 !important; margin: 0 0 .3em !important; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(p, li) strong, html:not(#sc_) body.sc-new #betterdocs-single-content :is(p, li) b { font-weight: 700; color: var(--sc-ink); }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(p, li) a:not(.button) { color: var(--sc-ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--sc-ink) 35%, transparent); }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(p, li) a:not(.button):hover { text-decoration-color: var(--sc-accent); color: var(--sc-accent); }
html:not(#sc_) body.sc-new #betterdocs-single-content li::marker { color: var(--sc-text-muted); }
html:not(#sc_) body.sc-new #betterdocs-single-content :not(pre) > code { padding: .15em .4em; border-radius: 6px; background: var(--sc-surface); font-size: .88em; font-weight: 500; }

/* نقل‌قول: کادر کامل با زمینه‌ی آبی روشن و آیکن نقل‌قول آبی (بدون نوار کناری) */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote, html:not(#sc_):not(#sc__) body.sc-new .entry-content blockquote {
  position: relative; margin: 1.6em 0 !important; padding: 16px 20px 16px 20px !important; padding-inline-start: 56px !important;
  background: var(--sc-accent-container) !important; border: 1px solid color-mix(in srgb, var(--sc-accent) 28%, var(--sc-bg)) !important; border-radius: 12px !important; box-shadow: none !important;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote::before, html:not(#sc_):not(#sc__) body.sc-new .entry-content blockquote::before {
  content: "" !important; display: block !important; position: absolute; inset-inline-start: 18px; top: 18px; width: 24px; height: 24px; background: var(--sc-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote p, html:not(#sc_):not(#sc__) body.sc-new .entry-content blockquote p { margin: 0 !important; font-size: 16px !important; line-height: 1.9 !important; font-weight: 500 !important; color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote p + p { margin-top: .6em !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote p strong { font-weight: 700; }

/* «پس از این نوشتار، می‌توانید»: کادر روشن، سرِ کمرنگ، ردیف‌های جمع‌وجور */
html:not(#sc_) body.sc-new .shift-outcomes { border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; box-shadow: none !important; margin: 1.8em 0 !important; }
html:not(#sc_) body.sc-new .shift-outcomes .shift-outcomes__head { background: var(--sc-surface) !important; color: var(--sc-ink) !important; padding: 10px 16px !important; border-bottom: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new .shift-outcomes .shift-outcomes__title, html:not(#sc_) body.sc-new .shift-outcomes .shift-outcomes__head p { font-size: 14.5px !important; font-weight: 700 !important; color: var(--sc-ink) !important; line-height: 1.6 !important; }
html:not(#sc_) body.sc-new .shift-outcomes .shift-outcomes__tag { border: 1px solid var(--sc-line) !important; border-radius: 6px !important; background: var(--sc-bg) !important; color: var(--sc-text-muted) !important; font-size: 12px !important; font-weight: 500; padding: 1px 8px !important; letter-spacing: 0 !important; }
html:not(#sc_) body.sc-new .shift-outcomes ol { padding: 2px 16px !important; }
html:not(#sc_) body.sc-new .shift-outcomes li { padding: 8px 0 !important; gap: 12px !important; font-size: 15px !important; line-height: 1.7 !important; color: var(--sc-text) !important; border-bottom: 1px solid var(--sc-line) !important; align-items: center !important; }
html:not(#sc_) body.sc-new .shift-outcomes li:last-child { border-bottom: 0 !important; }
html:not(#sc_) body.sc-new .shift-outcomes li::before { flex: 0 0 22px !important; width: 22px !important; height: 22px !important; margin-top: 0 !important; border-radius: 6px !important; background: var(--sc-accent-container) !important; color: var(--sc-accent) !important; font-size: 12px !important; }

/* آکاردئون: کارت سبک با سرِ کمرنگ (مثل سرجدول) */
html:not(#sc_) body.sc-new details.wp-block-details.accord { margin: 0 0 8px !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; overflow: hidden; }
html:not(#sc_) body.sc-new :not(details.accord) + details.wp-block-details.accord { margin-top: 2.5em !important; border-top: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > summary { padding: 12px 16px !important; background: var(--sc-surface) !important; font-size: 14.5px !important; font-weight: 600 !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > summary:hover { text-decoration: none; background: color-mix(in srgb, var(--sc-surface) 70%, var(--sc-line)) !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord[open] > summary { border-bottom: 1px solid var(--sc-line); }
html:not(#sc_) body.sc-new details.wp-block-details.accord > :not(summary) { padding-inline: 16px !important; padding-top: 4px; }
html:not(#sc_) body.sc-new details.wp-block-details.accord[open] > :last-child { padding-bottom: 14px !important; }

/* نوشتار قبلی/بعدی: یک کادر دوتکه؛ گوشه‌های بیرونی گرد، بدون کادر اضافه در میان */
html:not(#sc_) body.sc-new .skh-pn { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; overflow: hidden; background: var(--sc-bg); box-shadow: none; margin: 2em 0 !important; }
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell:not(.is-empty) { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell:not(.is-empty):hover { background: var(--sc-surface) !important; box-shadow: none !important; }
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell:first-child { border-inline-end: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell + .skh-pn-cell { border-inline-start: 0 !important; }
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell.is-empty { border: 0 !important; background: none !important; border-inline-end: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell.is-next { grid-column: 2; }

/* آواتارها: نوار عنوان = دایره‌ی کوچک؛ کارت پدیدآورنده و دیدگاه‌ها = چهارگوشِ گوشه‌گرد */
html:not(#sc_) body.sc-new .shift-authors-wrapper .pp-author-boxes-avatar img { width: 40px !important; height: 40px !important; border-radius: 10px !important; object-fit: cover; }
html:not(#sc_) body.sc-new .scm .scm-av { width: 36px !important; height: 36px !important; border-radius: 10px !important; overflow: hidden; }
html:not(#sc_) body.sc-new .scm .scm-av img { width: 100% !important; height: 100% !important; border-radius: 10px !important; object-fit: cover; }
html:not(#sc_) body.sc-new .skh-by-av img { border-radius: 999px !important; }
html:not(#sc_) body.sc-new .scm .scm-title { gap: 10px !important; }
html:not(#sc_) body.sc-new .scm .scm-count { position: relative; z-index: 1; margin-inline-start: 2px; }

/* بازگشت به بالا: چهارگوش گوشه‌گرد */
html:not(#sc_) body.sc-new .sc-top { border-radius: 12px !important; }
html:not(#sc_) body.sc-new .sc-top::before { border-radius: 12px !important; -webkit-mask: none !important; mask: none !important; background: none !important; }

/* منوی بزرگ سربرگ (الگوی Navigation Menu در shadcn) */
@media (min-width: 850px) {
  html:not(#sc_) body.sc-new .header-nav-main .nav-dropdown.sc-mega-dd, html:not(#sc_) body.sc-new .sc-nav .sc-mega-dd { border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; box-shadow: 0 10px 30px rgba(0,0,0,.10) !important; padding: 8px !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__head { font-size: 14px !important; font-weight: 600 !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__head:hover { text-decoration: none !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__meta { color: var(--sc-text-muted) !important; font-size: 13px !important; margin: 2px 0 8px !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list { border-top: 0 !important; display: flex; flex-direction: column; gap: 2px; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list li { border: 0 !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list a { min-height: 36px !important; padding: 0 10px !important; border-radius: 8px !important; font-size: 14px !important; font-weight: 500 !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list a:hover { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list a:hover .sc-mega__num { color: var(--sc-text-muted) !important; opacity: 1; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list a:hover .sc-mega__count { background: var(--sc-bg) !important; color: var(--sc-text-muted) !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__hero { border-radius: 10px !important; }
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__soon { border-radius: 10px !important; }
}

/* جداکننده‌ی بین منوی کناری و بخش اصلی (مثل shadcn): یک قاعده برای همه‌ی صفحه‌های دانش‌کده (نوشتار، دسته، فهرست‌ها) */
@media (min-width: 1024px) {
  html body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(#betterdocs-full-sidebar-left) { position: relative; }
  html body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(#betterdocs-full-sidebar-left)::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 280px; width: 1px; background: var(--sc-line); pointer-events: none; }
  html.kh-m-wide body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(#betterdocs-full-sidebar-left)::before { display: none; }
}

/* تولتیپ (الگوی Tooltip در shadcn) */
.sc-tip { position: fixed; z-index: 100000; max-width: 260px; padding: 6px 12px; border-radius: 6px; background: var(--sc-ink); color: var(--sc-bg); font-size: 12px; line-height: 1.5; font-weight: 400; pointer-events: none; opacity: 0; transform: scale(.96); transition: opacity .15s ease, transform .15s ease; }
.sc-tip.is-on { opacity: 1; transform: scale(1); }
.sc-tip::after { content: ""; position: absolute; left: var(--ax, 50%); width: 10px; height: 10px; margin-left: -5px; background: var(--sc-ink); border-radius: 2px; transform: rotate(45deg); }
.sc-tip[data-side="top"]::after { bottom: -4px; }
.sc-tip[data-side="bottom"]::after { top: -4px; }
@media (prefers-reduced-motion: reduce) { .sc-tip { transition: none; } }

/* ---------- ۳۳. نشان # تیترها = همان پیوند کپی؛ کلید باز و بسته‌ی منوی کناری؛ منوی کناری به سبک Sidebar در shadcn ---------- */
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3):not(details *):not(.shift-outcomes *):has(> .skh-hlink)::after { content: none !important; display: none !important; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink { display: inline-flex !important; align-items: center; position: static !important; width: auto !important; height: auto !important; margin: 0 .4em 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; opacity: .45 !important; visibility: visible !important; transform: none !important; color: var(--sc-text-muted) !important; font-weight: 400 !important; text-decoration: none !important; vertical-align: baseline; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink svg { display: none !important; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink::before { content: "#"; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h2, h3):hover > .skh-hlink, html:not(#sc_) body.sc-new #betterdocs-single-content .skh-hlink:focus-visible { opacity: 1 !important; color: var(--sc-ink) !important; }

/* کلید باز/بسته‌ی درخت: هرگز سیاه روی سیاه */
html:not(#sc_) body.sc-new :is(#betterdocs-full-sidebar-left, #betterdocs-sidebar-right, .sc-mm) .kh-m-tree-tg { background: transparent !important; color: var(--sc-text-muted) !important; border: 0 !important; box-shadow: none !important; border-radius: 6px !important; }
html:not(#sc_) body.sc-new :is(#betterdocs-full-sidebar-left, #betterdocs-sidebar-right, .sc-mm) .kh-m-tree-tg:is(:hover, :focus, :active) { background: var(--sc-surface) !important; color: var(--sc-ink) !important; outline: none; }
html:not(#sc_) body.sc-new :is(#betterdocs-full-sidebar-left, #betterdocs-sidebar-right) .kh-m-tree-tg:focus-visible { box-shadow: 0 0 0 2px var(--sc-ring, color-mix(in srgb, var(--sc-accent) 40%, transparent)) !important; }

/* منوی کناری: ردیف‌های ۳۲ پیکسلی، گوشه‌گرد، زیرمنو با خط راهنمای نازک */
@media (min-width: 1024px) {
  html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left .betterdocs-nested-category-title { min-height: 32px; border-radius: 6px; }
  html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left .betterdocs-nested-category-title:hover { background: var(--sc-surface); }
  html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left .kh-m-tree-link { font-size: 14px !important; font-weight: 600 !important; color: var(--sc-ink) !important; }
  html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left .betterdocs-articles-list li > a, html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left .betterdocs-nested-category-list li > a { min-height: 32px; display: flex !important; align-items: center; border-radius: 6px !important; font-size: 13.5px !important; font-weight: 400 !important; color: var(--sc-text) !important; line-height: 1.6 !important; }
  html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-articles-list, .betterdocs-nested-category-list) li > a:hover { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
  html:not(#sc_) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-articles-list, .betterdocs-nested-category-list) li > a.active { background: var(--sc-accent-container) !important; color: var(--sc-on-accent-container, var(--sc-accent)) !important; font-weight: 500 !important; }
}
/* دیدگاه‌ها: کروشه‌ی بسته بیرون از نشان عدد: [ دیدگاه‌ها ] ۱ */
html:not(#sc_) body.sc-new .scm .scm-count::after { content: none !important; display: none !important; }
html:not(#sc_) body.sc-new .scm .scm-title::after { content: "]" !important; display: inline !important; order: 1; }
html:not(#sc_) body.sc-new .scm .scm-title .scm-count { order: 2; }
/* عنوان اصلی نوشتار: کوچک‌تر */
html:not(#sc_) body.sc-new .sh-ah .sh-ah-title { font-size: 28px !important; line-height: 1.45 !important; }
@media (max-width: 849px) { html:not(#sc_) body.sc-new .sh-ah .sh-ah-title { font-size: 22px !important; } }
/* نقل‌قول (درخواست صریح کاربر، ۱۱ آذر ۱۴۰۵؛ استثنای قانون نوار کناری فقط برای نقل‌قول): تخت، بدون کادر، خط ضخیم آبی راست، زمینه‌ی خاکستری */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote, html:not(#sc_):not(#sc__) body.sc-new .entry-content blockquote { padding: 14px 20px !important; padding-inline-start: 20px !important; background: var(--sc-surface) !important; border: 0 !important; border-inline-start: 4px solid var(--sc-accent) !important; border-radius: 0 !important; box-shadow: none !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote.wp-block-quote::before, html:not(#sc_):not(#sc__) body.sc-new .entry-content blockquote::before { content: none !important; display: none !important; }
/* حباب عدد دیدگاه: کمی بالاتر و نیمه‌بیرون از کادر، روی آیکن نمی‌افتد */
html:not(#sc_) body.sc-new .sh-ah .sh-ah-actions .sh-ah-badge { top: -7px !important; inset-inline-start: 1px !important; }
/* آکاردئون: گوشه‌های گرد واقعی، سرِ بلندتر، فاصله‌ی داخلی محتوا */
html:not(#sc_) body.sc-new details.wp-block-details.accord { overflow: hidden !important; border-radius: 12px !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > summary { min-height: 52px; padding: 14px 18px !important; border-radius: 11px !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord[open] > summary { border-radius: 11px 11px 0 0 !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > :not(summary) { padding: 16px 20px !important; margin: 0 !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > :is(ul, ol) { padding-inline-start: 40px !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > :not(summary) + :not(summary) { padding-top: 0 !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord[open] > :last-child { padding-bottom: 18px !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > summary { box-sizing: border-box !important; }

/* 37. Dictionary term page (2026-12-01): term header card in new style,
   English line fully LTR with the dictionary icon on the right,
   separator line only above H2 (never above H3). */
html:not(#sc_) body.sc-new .sd-th { position: relative !important; gap: 12px !important; padding: 18px 20px !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; box-shadow: var(--ui-shadow-sm, 0 1px 2px rgba(0,0,0,.05)) !important; }
html:not(#sc_) body.sc-new .sd-wcard .sd-th { padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-top { direction: ltr !important; justify-content: flex-start !important; text-align: left !important; gap: 8px 14px !important; padding-left: 0 !important; padding-right: 48px !important; min-height: 34px; }
html:not(#sc_) body.sc-new .sd-th .sd-th-word { font-size: 26px !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-pron { direction: ltr !important; gap: 6px 8px !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-play svg { transform: none !important; margin: 0 0 0 1px !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-ipa { direction: ltr !important; gap: 4px 14px !important; margin-inline-start: 4px !important; font-size: 14px !important; color: var(--sc-text) !important; }
html:not(#sc_) body.sc-new .sd-th .sd-ipa-k { display: inline-block; margin-right: 5px; padding: 2px 5px; border-radius: 4px; background: var(--sc-surface); color: var(--sc-text-muted); font: 600 10px/1 var(--sc-font-latin), sans-serif; vertical-align: 1px; }
html:not(#sc_) body.sc-new .sd-th .sd-th-dic { position: absolute !important; top: 18px !important; right: 18px !important; left: auto !important; width: 34px !important; height: 34px !important; margin: 0 !important; border: 1px solid var(--sc-ctl, rgba(0,0,0,.18)) !important; border-radius: 8px !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-dic:is(:hover, :focus-visible) { border-color: var(--sc-ctl-hover, rgba(0,0,0,.34)) !important; background: var(--sc-surface) !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-pos { gap: 4px 28px !important; font-size: 14px !important; line-height: 1.7 !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-pos-en { margin-inline-start: 4px; font-size: 13px !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-eq { gap: 8px 20px !important; margin: 2px 0 0 !important; padding-top: 14px !important; border-top: 1px solid var(--sc-line) !important; font-size: 14px !important; line-height: 1.7 !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-eq dt { font-size: 13px !important; color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-eq dt.is-not-recommended { color: var(--sc-on-error-container, #b3261e) !important; }
html:not(#sc_) body.sc-new .sd-th .sd-th-eq dd strong { font-size: 16px !important; font-weight: 800; }
html:not(#sc_) body.sc-new .sd-th .sd-th-eq dd a { color: var(--sc-accent) !important; font-weight: 600; text-decoration: none; }
html:not(#sc_) body.sc-new .sd-th .sd-th-eq dd a:hover { text-decoration: underline; }
/* Separator: H2 only. Remove the dictionary's line above numbered H3 headings. */
html:not(#sc_) body.sc-new .betterdocs-entry-content h3.sd-eq-h::before,
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h3, h4, h5)::before { content: none !important; display: none !important; }
html:not(#sc_) body.sc-new #betterdocs-single-content :is(h3, h4, h5):not(details *) { border-top: 0 !important; }
html:not(#sc_) body.sc-new.sd-term-page .betterdocs-entry-content h3.sd-eq-h { margin-top: 30px !important; padding-top: 0 !important; margin-bottom: 10px !important; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
html:not(#sc_) body.sc-new.sd-term-page .betterdocs-entry-content h3.sd-eq-h.sd-eq-first { margin-top: 18px !important; }
html:not(#sc_) body.sc-new .betterdocs-entry-content h3.sd-eq-h .sd-eq-badge { order: 1; margin: 0 !important; vertical-align: middle !important; padding: 3px 8px !important; line-height: 1.2 !important; }
html:not(#sc_) body.sc-new .betterdocs-entry-content h3.sd-eq-h > .skh-hlink { order: 2; margin: 0 !important; }
html:not(#sc_) body.sc-new .betterdocs-entry-content hr.wp-block-separator:is(:has(+ h2), :has(+ h3)) { display: none !important; }
@media (max-width: 600px) {
  html:not(#sc_) body.sc-new .sd-th { padding: 14px 16px !important; }
  html:not(#sc_) body.sc-new .sd-th .sd-th-dic { top: 14px !important; right: 14px !important; }
  html:not(#sc_) body.sc-new .sd-th .sd-th-word { font-size: 22px !important; }
  html:not(#sc_) body.sc-new .sd-th .sd-th-ipa { flex-basis: 100%; margin-inline-start: 0 !important; }
}

/* 38. Term page content harmony (2026-12-01): one box language
   (1px token border, radius 12, surface tint, no nested frames),
   dark-mode fixes for hard-coded colors, sepia as a token palette. */
html:not(#sc_) body.sc-new .betterdocs-entry-content h3.sd-eq-h::after { order: 2; }
html:not(#sc_) body.sc-new .betterdocs-entry-content :is(.kh-warning, details.note-acc, .sd-dicts, .sd-rel-tbl) { border-radius: 12px !important; }
html:not(#sc_) body.sc-new .betterdocs-entry-content details.note-acc > summary :is(strong, b) { color: inherit !important; }
html:not(#sc_) body.sc-new .sd-dicts { overflow: hidden; border: 1px solid var(--sc-line) !important; background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new .sd-dicts .sd-dicts-h { padding: 12px 16px !important; background: var(--sc-surface) !important; border-bottom: 1px solid var(--sc-line) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sd-dicts .sd-dict { padding: 16px !important; border-bottom: 1px solid var(--sc-line) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content .sd-dicts blockquote.sd-dict-t, html:not(#sc_) body.sc-new .sd-dicts .sd-dict-t { margin: 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: 8px !important; background: var(--sc-surface) !important; color: var(--sc-text) !important; font-size: 14px !important; line-height: 1.9 !important; }
html:not(#sc_) body.sc-new .sd-dicts .sd-dict-t::before { content: none !important; display: none !important; }
html:not(#sc_) body.sc-new .sd-dicts .sd-dict-n { border: 1px solid var(--sc-line) !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; border-radius: 6px !important; }
html:not(#sc_) body.sc-new .sd-dicts .sd-th-look { padding: 12px 16px !important; background: var(--sc-surface) !important; }
html:not(#sc_) body.sc-new :is(.sd-dicts .sd-th-look a, .sd-ref-chip) { border: 1px solid var(--sc-line) !important; border-radius: 6px !important; background: var(--sc-bg) !important; color: var(--sc-text) !important; }
html:not(#sc_) body.sc-new :is(.sd-dicts .sd-th-look a, .sd-ref-chip):hover { border-color: var(--sc-ctl-hover, rgba(0,0,0,.34)) !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sd-fa-src { margin: 0 !important; padding: 12px 16px !important; border-top: 0 !important; color: var(--sc-text) !important; }
html:not(#sc_) body.sc-new .sd-fa-src > summary { color: var(--sc-text-muted) !important; font-size: 13px; cursor: pointer; }
html:not(#sc_) body.sc-new .sd-fa-src > summary:hover { color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .sd-fa-src .sd-fa-src-i { border-bottom: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new .sd-fa-src .sd-fa-src-i:last-of-type { border-bottom: 0 !important; }
html:not(#sc_) body.sc-new .sd-fa-src .sd-fa-src-h { color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new .sd-fa-src .sd-fa-src-t { color: var(--sc-text) !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl { overflow: hidden; border: 1px solid var(--sc-line) !important; background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl .sd-rel-r { border-bottom: 1px solid var(--sc-line) !important; background: transparent !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl .sd-rel-r:last-child { border-bottom: 0 !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl .sd-rel-r.is-self { background: var(--sc-accent-container) !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl .sd-rel-en { color: var(--sc-text-muted) !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl .sd-rel-fa { color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new .betterdocs-entry-content .qute-acc { border-top: 1px solid var(--sc-line) !important; }
html:not(#sc_) body.sc-new .betterdocs-entry-content .foot-title { border-top: 1px solid var(--sc-line) !important; }

/* Sepia (reading mode "paper"): same components, warm token palette. */
html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="sepia"] {
  color-scheme: light;
  --sc-bg: #F6EFE1; --sc-surface: #EEE4CE; --sc-line: #DCCFB2; --sc-line-strong: #3B2F22;
  --sc-ink: #2B2117; --sc-text: #3B2F22; --sc-text-muted: #6E5D46;
  --sc-ctl: rgba(59,47,34,.22); --sc-ctl-hover: rgba(59,47,34,.42);
  --sc-primary: #2B2117; --sc-on-primary: #F6EFE1; --sc-primary-hover: #3B2F22;
  --sc-link: #2F55D4; --sc-accent: #3366FF; --sc-accent-container: #E8E3E6; --sc-on-accent-container: #1F3FB0;
  --sc-success-container: #E3E9CF; --sc-on-success-container: #3F6212; --sc-error-container: #F2DCCB; --sc-on-error-container: #9A3412;
  --sc-note-container: #F1E3BE; --sc-on-note-container: #6B4E0E; --sc-note-line: #DEC88E;
  --kh-surface: #EEE4CE;
}
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main .sc-chip.is-success { background-color: var(--sc-success-container) !important; color: var(--sc-on-success-container) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main .sc-chip.is-error { background-color: var(--sc-error-container) !important; color: var(--sc-on-error-container) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main :is(.kh-warning) { background-color: var(--sc-error-container) !important; border-color: color-mix(in srgb, var(--sc-on-error-container) 30%, transparent) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main details.note-acc { background-color: var(--sc-note-container) !important; border-color: var(--sc-note-line) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main details.note-acc > summary { color: var(--sc-on-note-container) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main .sd-th .sd-th-eq dt.is-not-recommended { color: var(--sc-on-error-container) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main blockquote.wp-block-quote { border-color: var(--sc-accent) !important; background-color: var(--sc-surface) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main :is(details.accord, .sd-dicts, .sd-rel-tbl, .sd-th) { background-color: var(--sc-bg) !important; border-color: var(--sc-line) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main :is(details.accord > summary, .sd-dicts-h, .sd-th-look, .sd-dict-t) { background-color: var(--sc-surface) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main .sd-rel-r.is-self { background-color: var(--sc-accent-container) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main :is(.sd-ref-chip, .sd-th-look a, .sd-th-play, .sd-th-dic, .sd-dict-n) { background-color: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main a:not(.sd-ref-chip, .skh-hlink, .sd-th-dic, .sd-th-look a, .skh-pn-cell, .sh-ah-btn) { color: var(--sc-link) !important; }
html:not(#sc_) body.sc-new .sd-rel-tbl .sd-rel-r { border-top: 0 !important; }

/* 39. Follow-ups (2026-12-01): meta row "|" separators, "#" on hover only,
   dark-mode title band = page background with a border, 768-1199px layout. */
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li + li { position: relative !important; padding-inline-start: 0 !important; margin-inline-start: 0 !important; border: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li + li::before { content: "" !important; display: inline-block !important; position: static !important; flex: none; align-self: center; width: 1px !important; height: 14px !important; margin: 0 0 0 0 !important; margin-inline: 0 12px !important; background: var(--sc-text-muted) !important; opacity: .45 !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info { column-gap: 12px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink { opacity: 0 !important; transition: opacity .15s; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content :is(h2, h3):is(:hover, :focus-within) > .skh-hlink, html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content .skh-hlink:focus-visible { opacity: .6 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content :is(h2, h3)::after { transition: opacity .15s; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content :is(h2, h3):not(:hover)::after { opacity: 0 !important; }
html:not(#sc_)[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box, html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] .sh-ah-box {
  --sc-bg: #141518; --sc-surface: #1C1D21; --sc-ink: #F4F5F7; --sc-text: #D5D8DE; --sc-text-muted: #A3A7B2; --sc-line: #2E3036;
  --sc-primary: #F4F5F7; --sc-on-primary: #0C0C0C; --sc-primary-hover: #E2E4E9; --sc-mark-bg: #F4F5F7; --sc-on-mark: #0C0C0C;
  --sc-inverse: #141518; --sc-on-inverse: #F4F5F7; --sc-on-inverse-strong: #E6E8EC; --sc-on-inverse-text: #D5D8DE; --sc-on-inverse-muted: #A3A7B2;
  --sc-inverse-line: #2E3036; --sc-inverse-card: #1C1D21; --sc-inverse-card-line: #2E3036;
  background: #141518 !important; color: #F4F5F7 !important; border: 1px solid #2E3036 !important;
}
html:not(#sc_)[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box .sh-ah-views, html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] .sh-ah-box .sh-ah-views { background: #1C1D21 !important; color: #D5D8DE !important; border-color: #2E3036 !important; }
html:not(#sc_)[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box .skh-by :is(.skh-by-txt, .skh-by-av), html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] .sh-ah-box .skh-by :is(.skh-by-txt, .skh-by-av) { color: #A3A7B2 !important; }
html:not(#sc_)[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sh-ah-box .skh-by :is(.skh-by-g, a), html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] .sh-ah-box .skh-by :is(.skh-by-g, a) { color: #F4F5F7 !important; }
@media (max-width: 1024px) {
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper { grid-template-columns: minmax(0, 1fr) !important; }
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper > .betterdocs-content-area { grid-column: 1 / -1 !important; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper { grid-template-columns: 256px minmax(0, 1fr) !important; }
}
html:not(#sc_)[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sd-th .sd-th-play.sd-us, html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] .sd-th .sd-th-play.sd-us { border-color: rgba(255, 128, 128, .5) !important; color: #FF8A8A !important; }
html:not(#sc_)[data-theme="dark"] body.sc-new:not(.skh-focus[data-skh-bg="light"], .skh-focus[data-skh-bg="sepia"]) .sd-th .sd-th-play.sd-uk, html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] .sd-th .sd-th-play.sd-uk { border-color: rgba(138, 170, 255, .5) !important; color: #9DB5FF !important; }
html:not(#sc_)[data-theme="dark"] body.sc-new .sd-th .sd-th-play:is(:hover, :focus-visible, .is-playing) { color: #FFFFFF !important; }

/* 40. Reading progress (2026-12-01): shadcn Progress style, SHIFT blue fill on a tinted rounded track, fixed at the top, fills right to left. */
body.sc-new #shift-docs-readbar-track, body.sc-new #shift-docs-reading-ring { display: none !important; }
.sc-rp { position: fixed; top: 0; left: 0; right: 0; z-index: 99990; height: 2px; background: color-mix(in srgb, var(--sc-accent, #3366FF) 18%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s ease; direction: rtl; }

.sc-rp.is-on { opacity: 1; }
.sc-rp__fill { width: 0; height: 100%; background: var(--sc-accent, #3366FF); border-radius: 999px; transition: width .12s linear; }
@media (prefers-reduced-motion: reduce) { .sc-rp, .sc-rp__fill { transition: none; } }

/* 41. Header and body share one width (2026-12-01): the page body lines up with the header content
   (same 1360px container, same gutter) on article and category pages. */
@media (min-width: 1024px) {
  html:not(#sc_) body.sc-new.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-full { padding-inline: 0 !important; }
  html:not(#sc_) body.sc-new.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper { box-sizing: border-box !important; max-width: 1360px !important; padding-inline: 24px !important; }
  html:not(#sc_) body.sc-new.kh-m:not(.skh-focus) .betterdocs-category-archive-wrapper .betterdocs-content-wrapper.betterdocs-display-flex { box-sizing: border-box !important; max-width: 1360px !important; padding-inline: 24px !important; }
  html:not(#sc_) body.sc-new.kh-m.tax-doc_category .betterdocs-content-area { padding-inline: 0 !important; }
}

/* 42. Terminology index (2026-12-01): an A to Z dictionary index in place of the letter accordions.
   Search + letter rail (sticky), one big Latin letter per section, rows read "word ...... meaning". */
html:not(#sc_) body.sc-new .sc-az > ul { display: block !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#sc_) body.sc-new .sc-az > ul > li.sc-az-sec {
  display: grid !important; grid-template-columns: 72px minmax(0, 1fr); column-gap: 28px; align-items: start;
  margin: 0 !important; padding: 28px 0 !important; border: 0 !important; border-top: 1px solid var(--sc-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; scroll-margin-top: 160px;
}
html:not(#sc_) body.sc-new .sc-az > ul > li.sc-az-sec[hidden] { display: none !important; }
html:not(#sc_) body.sc-new .sc-az > ul > li.sc-az-sec::before { display: none !important; }
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-title { display: none !important; }
.sc-az-h { display: flex; flex-direction: column; align-items: center; gap: 8px; position: sticky; top: calc(var(--sc-az-h, 120px)); }
.sc-az-l {
  display: grid; place-items: center; width: 64px; height: 64px; box-sizing: border-box;
  border: 1px solid var(--sc-line); border-radius: 14px; background: var(--sc-surface);
  font-family: var(--sc-font-latin, inherit); font-size: 34px; line-height: 1; font-weight: 800; color: var(--sc-ink);
}
.sc-az-c { font-size: 12.5px; line-height: 1.5; color: var(--sc-text-muted); white-space: nowrap; }
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list {
  display: block !important; column-width: 300px; column-gap: 28px;
  margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none !important;
}
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li { display: block !important; break-inside: avoid; margin: 0 0 2px !important; padding: 0 !important; border: 0 !important; background: none !important; }
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li[hidden] { display: none !important; }
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li::before { display: none !important; }
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li > a {
  display: flex !important; align-items: center; gap: 10px; min-height: 40px; box-sizing: border-box; margin: 0 !important; padding: 6px 10px !important;
  border: 0 !important; border-radius: 8px !important; background: none !important; box-shadow: none !important;
  color: var(--sc-text) !important; text-decoration: none !important; transition: background-color .15s;
}
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li > a:hover { background: var(--sc-surface) !important; }
html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li > a:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--sc-bg), 0 0 0 4px color-mix(in srgb, var(--sc-accent) 55%, transparent) !important; }
.sc-az-en { flex: none; font-family: var(--sc-font-latin, inherit); font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--sc-ink); unicode-bidi: isolate; }
.sc-az-dot { flex: 1 1 auto; min-width: 16px; height: 0; margin-top: 6px; border-bottom: 2px dotted var(--sc-ctl, var(--sc-line)); opacity: .9; }
.sc-az-fa { flex: 0 1 auto; min-width: 0; font-size: 14.5px; line-height: 1.6; color: var(--sc-text); text-align: end; }
html:not(#sc_) body.sc-new .sc-az li > a:hover .sc-az-dot { border-bottom-color: var(--sc-ctl-hover, var(--sc-text-muted)); }
html:not(#sc_) body.sc-new .sc-az li > a:hover .sc-az-en { color: var(--sc-link, var(--sc-accent)); }

.sc-az-bar {
  position: sticky; top: 0; z-index: 30; display: flex; flex-direction: column; gap: 12px;
  margin: 0 0 4px; padding: 12px 0; background: var(--sc-bg); border-bottom: 1px solid transparent; transition: border-color .15s;
}
.sc-az-bar.is-stuck { border-bottom-color: var(--sc-line); }
html:not(#sc_) body.sc-new .sc-az-search {
  display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; max-width: 420px; height: 40px; margin: 0; padding: 0 12px;
  border: 1px solid var(--sc-ctl, var(--sc-line)); border-radius: 8px; background: var(--sc-bg); color: var(--sc-text-muted); cursor: text;
  box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: border-color .15s, box-shadow .15s;
}
html:not(#sc_) body.sc-new .sc-az-search:focus-within { border-color: var(--sc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc-accent) 22%, transparent); }
html:not(#sc_) body.sc-new .sc-az-search svg { flex: none; }
html:not(#sc_) body.sc-new .sc-az-search input[type="search"] {
  flex: 1; min-width: 0; height: 38px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; outline: none !important; font: inherit !important; font-size: 14px !important; color: var(--sc-ink) !important;
}
html:not(#sc_) body.sc-new .sc-az-search input::placeholder { color: var(--sc-text-muted); opacity: 1; }
.sc-az-rail { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px; }
html:not(#sc_) body.sc-new .sc-az-rail > * {
  display: inline-grid; place-items: center; min-width: 28px; height: 30px; padding: 0 2px; box-sizing: border-box; border-radius: 6px;
  font-family: var(--sc-font-latin, inherit); font-size: 13.5px; line-height: 1; font-weight: 600; text-decoration: none !important;
  color: var(--sc-ink) !important; background: none; transition: background-color .15s, color .15s;
}
html:not(#sc_) body.sc-new .sc-az-rail > a:hover { background: var(--sc-surface); }
html:not(#sc_) body.sc-new .sc-az-rail > a:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 1px; }
html:not(#sc_) body.sc-new .sc-az-rail > a.is-on { background: var(--sc-primary, var(--sc-ink)); color: var(--sc-on-primary, var(--sc-bg)) !important; }
html:not(#sc_) body.sc-new .sc-az-rail > .is-off { color: var(--sc-text-muted) !important; opacity: .4; font-weight: 400; }
html:not(#sc_) body.sc-new .sc-az-rail > a.is-dim { opacity: .3; pointer-events: none; }
.sc-az-st { margin: 0 !important; font-size: 12.5px; color: var(--sc-text-muted); text-align: right; }
.sc-az-st:empty { display: none; }
.sc-az-empty { margin: 0 !important; padding: 48px 0; border-top: 1px solid var(--sc-line); text-align: center; color: var(--sc-text-muted); }
@media (max-width: 767px) {
  .sc-az-bar { position: static; padding-top: 4px; }
  .sc-az-rail { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 0 4px 2px; }
  .sc-az-rail::-webkit-scrollbar { display: none; }
  html:not(#sc_) body.sc-new .sc-az-rail > * { flex: none; min-width: 34px; height: 36px; }
  html:not(#sc_) body.sc-new .sc-az-search { max-width: none; height: 44px; }
  html:not(#sc_) body.sc-new .sc-az > ul > li.sc-az-sec { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding: 22px 0 !important; scroll-margin-top: 80px; }
  .sc-az-h { position: static; flex-direction: row; justify-content: flex-start; gap: 12px; }
  .sc-az-l { width: 48px; height: 48px; font-size: 26px; border-radius: 12px; }
  html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list { column-width: auto; columns: 1; }
  html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list > li > a { min-height: 44px; padding-inline: 6px !important; }
}
@media (prefers-reduced-motion: reduce) { .sc-az-bar, .sc-az-rail > *, .sc-az li > a { transition: none !important; } }

/* Sidebar: count badges (shadcn SidebarMenuBadge) and a filled active category row */
html:not(#sc_) body.sc-new.kh-m #betterdocs-full-sidebar-left .betterdocs-category-items-counts {
  display: inline-flex !important; align-items: center; justify-content: center; flex: none; min-width: 22px; height: 20px; margin: 0 !important; padding: 0 6px !important; box-sizing: border-box;
  border: 0 !important; border-radius: 6px !important; background: var(--sc-surface) !important; color: var(--sc-text-muted) !important;
  font-size: 12px !important; line-height: 1 !important; font-weight: 600 !important;
}
html:not(#sc_) body.sc-new.kh-m #betterdocs-full-sidebar-left .betterdocs-category-items-counts span { all: unset; }
html:not(#sc_) body.sc-new.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper.active > .betterdocs-single-category-inner > .betterdocs-category-header { background: var(--sc-surface) !important; border-radius: 8px !important; }
html:not(#sc_) body.sc-new.kh-m #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper.active > .betterdocs-single-category-inner > .betterdocs-category-header .betterdocs-category-items-counts { background: var(--sc-bg) !important; color: var(--sc-ink) !important; }
/* Category intro paragraph uses the full content width (user 2026-12-01). */
html:not(#sc_) body.sc-new.kh-m.tax-doc_category #main .betterdocs-entry-title p { max-width: none !important; }

/* 43. "Hide menu" hides only the docs menu (right); the table of contents (left) stays (user 2026-12-01).
   Reading mode (skh-focus) still hides both. Below 1200px the TOC column is not shown anyway. */
@media (min-width: 1025px) and (max-width: 1199px) {
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Fix (2026-12-01): the base grid rule's :has(#id) out-ranked the wide rule, so the hidden menu's
   column stayed and the article fell into the narrow 256px track. Article + TOC, 1200px and up. */
@media (min-width: 1200px) {
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper:has(> #betterdocs-full-sidebar-left):not(:has(.right-sidebar-toc-container:empty)) { grid-template-columns: minmax(0, 1fr) 224px !important; }
}

/* 44. Pages without a table of contents (the dictionary A to Z page): no empty left column,
   the content reaches the left edge of the page container (user 2026-12-01). */
@media (min-width: 1200px) {
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper:has(> #betterdocs-sidebar-right .right-sidebar-toc-container:empty) { grid-template-columns: 256px minmax(0, 1fr) !important; }
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper:has(> #betterdocs-sidebar-right .right-sidebar-toc-container:empty) { grid-template-columns: minmax(0, 1fr) !important; }
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-content-wrapper > #betterdocs-sidebar-right:has(.right-sidebar-toc-container:empty) { display: none !important; }
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(> #betterdocs-sidebar-right .right-sidebar-toc-container:empty) #betterdocs-single-main .doc-single-content-wrapper { max-width: none !important; }
}

/* 45. Reading mode palettes (2026-12-01): "dark" and "light" use the same
   token approach as sepia, so every component follows the reading palette
   instead of the site theme (fixes grey-on-black text, white boxes on dark). */
html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="dark"] {
  color-scheme: dark;
  --sc-bg: #141414; --sc-surface: #1E1E22; --sc-line: #33333A; --sc-line-strong: #F4F5F7;
  --sc-ink: #F4F5F7; --sc-text: #E0E2E6; --sc-text-muted: #B4B8C1;
  --sc-ctl: rgba(255,255,255,.22); --sc-ctl-hover: rgba(255,255,255,.42);
  --sc-primary: #F4F5F7; --sc-on-primary: #0C0C0C; --sc-primary-hover: #C9CCD3;
  --sc-link: #9EB6FF; --sc-link-hover: #C2D1FF; --sc-accent: #3366FF; --sc-accent-container: #18213F; --sc-on-accent-container: #C2D1FF;
  --sc-success-container: #10281B; --sc-on-success-container: #7FDCA8; --sc-error-container: #33170E; --sc-on-error-container: #FFA88E;
  --sc-note-container: #26200E; --sc-on-note-container: #F2CF6B; --sc-note-line: #4A3B14;
  --sc-mark-bg: #F4F5F7; --sc-on-mark: #0C0C0C; --sc-highlight: #5A4A10;
  --kh-surface: #1E1E22;
}
html:not(#sc_) body.sc-new.skh-focus[data-skh-bg="light"] {
  color-scheme: light;
  --sc-bg: #FFFFFF; --sc-surface: #F4F5F7; --sc-line: #E2E4E9; --sc-line-strong: #0C0C0C;
  --sc-ink: #0C0C0C; --sc-text: #2A2C31; --sc-text-muted: #4A4D57;
  --sc-ctl: rgba(12,12,12,.2); --sc-ctl-hover: rgba(12,12,12,.38);
  --sc-primary: #0C0C0C; --sc-on-primary: #FFFFFF; --sc-primary-hover: #2A2C31;
  --sc-link: #2F55D4; --sc-link-hover: #1F3FB0; --sc-accent: #3366FF; --sc-accent-container: #F2F5FF; --sc-on-accent-container: #1F3FB0;
  --sc-success-container: #E3F5EB; --sc-on-success-container: #00753A; --sc-error-container: #FBEAE4; --sc-on-error-container: #A8300B;
  --sc-note-container: #FFFAE8; --sc-on-note-container: #7A5A00; --sc-note-line: #F2E4B8;
  --sc-mark-bg: #0C0C0C; --sc-on-mark: #FFFFFF; --sc-highlight: #FFEFA6;
  --kh-surface: #F4F5F7;
  background-color: #FFFFFF;
}
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="dark"], [data-skh-bg="light"]),
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="dark"], [data-skh-bg="light"]) :is(#page, .site-content, .betterdocs-wrapper, .betterdocs-content-full, .betterdocs-content-wrapper, #betterdocs-single-main, .betterdocs-content-inner-area, .doc-single-content-wrapper, .betterdocs-entry-content) { background: var(--sc-bg) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main .betterdocs-content :is(h1, h2, h3):not(.sh-ah-title) { background-color: transparent !important; color: var(--sc-ink) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main :is(.skh-pn, .skh-pn-cell) { background-color: var(--sc-bg) !important; border-color: var(--sc-line) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="light"]) .sd-th .sd-th-play.sd-us { color: #B22234 !important; border-color: rgba(178, 34, 52, .35) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="light"]) .sd-th .sd-th-play.sd-uk { color: #012169 !important; border-color: rgba(1, 33, 105, .3) !important; }
html:not(#sc_) body.sc-new.skh-focus .sd-th .sd-th-play :is(span, svg) { color: inherit !important; }

/* 46. Docs menu (2026-12-01): "[ دانش‌کده‌ی شیفت ]" title + close button at the
   top of the right menu everywhere; category pages get the same hide-menu
   control and their menu top lines up with the page title. */
html body.kh-m #betterdocs-full-sidebar-left .kh-m-side-h {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 32px; margin: 0 0 10px; padding-inline: 8px 0; background: var(--sc-bg);
}
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-t { font-size: 15px !important; line-height: 1.6 !important; font-weight: 800 !important; color: var(--sc-ink) !important; text-decoration: none !important; white-space: nowrap; }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-t:hover { color: var(--sc-link) !important; }
html body.kh-m #betterdocs-full-sidebar-left .kh-m-side-x {
  display: none; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; margin: 0;
  color: var(--sc-text-muted); background: none; border: 0; border-radius: 6px; cursor: pointer; transition: color .15s, background-color .15s;
}
html body.kh-m #betterdocs-full-sidebar-left .kh-m-side-x:hover { color: var(--sc-ink); background: var(--sc-surface); }
html body.kh-m #betterdocs-full-sidebar-left .kh-m-side-x:focus-visible { outline: 2px solid var(--sc-focus, #3366FF); outline-offset: 1px; }
@media (min-width: 1024px) {
  html body.kh-m:not(.skh-focus) #betterdocs-full-sidebar-left .kh-m-side-x { display: inline-flex; }
  html body.kh-m:not(.skh-focus) .betterdocs-category-archive-wrapper #betterdocs-full-sidebar-left { margin-top: var(--khm-side-top, 24px) !important; padding-top: 0 !important; }
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-category-archive-wrapper .betterdocs-content-wrapper.betterdocs-display-flex { grid-template-columns: minmax(0, 1fr) !important; }
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-category-archive-wrapper #betterdocs-full-sidebar-left { display: none !important; }
}

/* 47. Owner batch (2026-12-01, late): quote source badge, "message us" in the
   article tool bars, one-line menu titles, «فرهنگ شیفت» + KnowHouse groups. */
/* Quote source: plain line (no pill) + one small badge for "ICF 2025" */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote:has(.qute-acc) > p:first-child {
  display: block !important; background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  margin: 0 0 10px !important; font-size: 14px !important; line-height: 1.7 !important;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote:has(.qute-acc) > p:first-child a {
  display: inline-block !important; margin-inline-start: 6px !important; padding: 0 8px !important; border: 1px solid var(--sc-line) !important; border-radius: 6px !important;
  background: var(--sc-bg) !important; font-size: 12px !important; line-height: 22px !important; font-weight: 500 !important; color: var(--sc-text-muted) !important;
  text-decoration: none !important; vertical-align: 1px; unicode-bidi: isolate; direction: ltr;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content blockquote:has(.qute-acc) > p:first-child a:hover { color: var(--sc-ink) !important; border-color: var(--sc-ctl-hover, var(--sc-line)) !important; }

/* Author box: names only ("message us" lives in the tool bars now) */
html:not(#sc_) body.sc-new .shift-authors-wrapper .shift-ab-actions { display: none !important; }
html:not(#sc_) body.sc-new .skh-rd :is(.kh-m-rd-bm, .kh-m-rd-msg) svg { width: 18px; height: 18px; }
html:not(#sc_) body.sc-new .skh-rd .kh-m-rd-bm[aria-pressed="true"] svg { fill: currentColor; }

/* Menu titles on one line; the full title shows on hover */
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-header-inner > .betterdocs-category-title { flex: 1 1 auto; min-width: 0 !important; }
html body.kh-m #betterdocs-full-sidebar-left :is(.betterdocs-category-title a, a.kh-m-tree-link, .kh-m-tx) { display: block; min-width: 0; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a > .kh-m-tx { flex: 1 1 auto; }
html body.sc-new .sc-mm__ttext { min-width: 0; }
html body.sc-new .sc-mm__tname { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* «فرهنگ شیفت» link + KnowHouse group titles at the top of the docs menu */
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-dic {
  display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 8px 10px; border: 1px solid var(--sc-line); border-radius: 8px;
  font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--sc-ink) !important; text-decoration: none !important; background: var(--sc-bg);
}
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-dic svg { flex: none; color: var(--sc-accent); }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-dic:hover { background: var(--sc-surface); }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-dic.is-on { background: var(--sc-accent-container); border-color: transparent; color: var(--sc-on-accent-container) !important; }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-g {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 6px; padding: 4px 10px;
  font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--sc-text-muted) !important; text-decoration: none !important;
}
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-g:hover { color: var(--sc-ink) !important; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-category-grid-wrapper + a.kh-m-side-g { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--sc-line); }
html body.kh-m #betterdocs-full-sidebar-left a.kh-m-side-g small { font-size: 11px; font-weight: 500; padding: 0 6px; border-radius: 6px; background: var(--sc-surface); color: var(--sc-text-muted); }

/* 48. «واژه‌های این نوشتار» (2026-12-01): calm shadcn card, small outline chips (EN + FA) */
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc { border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; overflow: hidden; box-shadow: none !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc > summary { display: flex !important; align-items: center; gap: 10px; padding: 12px 16px !important; background: transparent !important; font-size: 14px; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc[open] > summary { border-bottom: 1px solid var(--sc-line) !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc > summary strong { color: var(--sc-ink) !important; font-weight: 700; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-n { margin-inline-start: auto !important; margin-inline-end: 0 !important; font-size: 12px !important; font-weight: 400 !important; color: var(--sc-text-muted) !important; opacity: 1 !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l {
  display: flex !important; flex-wrap: wrap; gap: 6px !important; margin: 0 !important; padding: 14px 16px 16px !important; list-style: none !important; background: transparent !important; border: 0 !important;
}
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l a {
  display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; height: 28px; padding: 0 10px !important; border: 1px solid var(--sc-line) !important; border-radius: 6px !important;
  background: var(--sc-bg) !important; color: var(--sc-ink) !important; font-size: 12.5px !important; line-height: 1 !important; text-decoration: none !important; white-space: nowrap; transition: background-color .15s, border-color .15s;
}
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l a::after { display: none !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l a:hover, html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l a:focus-visible { background: var(--sc-surface) !important; border-color: var(--sc-ctl-hover, var(--sc-line)) !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-w-en { font-weight: 600 !important; color: var(--sc-ink) !important; font-size: 12.5px !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-w-fa { font-weight: 400 !important; color: var(--sc-text-muted) !important; font-size: 12px !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-w-fa::before { content: ""; display: inline-block; width: 1px; height: 11px; margin-inline-end: 6px; vertical-align: -1px; background: var(--sc-line-strong, currentColor); opacity: .25; }
@media (max-width: 768px) {
  html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-n { display: inline !important; }
  html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l { padding: 12px !important; gap: 6px !important; }
  html:not(#sc_):not(#sc__) body.sc-new .betterdocs-entry-content details.skh-wacc .skh-words-l a { height: 30px; }
}

/* 49. One style for bracketed section titles (2026-12-01): "[ title ]".
   Shared tokens: size / weight / bracket gap. Used by the docs-menu title, table of
   contents, authors, comments, footer columns and the post-end labels. */
html body.sc-new { --sc-bt-size: 15px; --sc-bt-weight: 700; --sc-bt-gap: .35em; --sc-bt-lh: 1.6; }
html:not(#sc_):not(#sc__) body.sc-new :is(
  #betterdocs-full-sidebar-left a.kh-m-side-t,
  .betterdocs-toc > .toc-title,
  .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title,
  #comments .scm-title,
  .shift-footer .sf-title,
  .betterdocs-entry-content p.foot-title strong
) {
  font-size: var(--sc-bt-size) !important; font-weight: var(--sc-bt-weight) !important; line-height: var(--sc-bt-lh) !important; letter-spacing: 0 !important; word-spacing: 0 !important;
}
html:not(#sc_):not(#sc__) body.sc-new :is(.betterdocs-toc > .toc-title, .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title, .betterdocs-entry-content p.foot-title strong)::before { content: "[" !important; margin-inline-end: var(--sc-bt-gap); font-weight: var(--sc-bt-weight) !important; }
html:not(#sc_):not(#sc__) body.sc-new :is(.betterdocs-toc > .toc-title, .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title)::after { content: "]" !important; margin-inline-start: var(--sc-bt-gap); font-weight: var(--sc-bt-weight) !important; }
html:not(#sc_):not(#sc__) body.sc-new #comments .scm-title { gap: var(--sc-bt-gap) !important; }
html:not(#sc_):not(#sc__) body.sc-new #comments .scm-title::before { font-weight: var(--sc-bt-weight) !important; }
html:not(#sc_):not(#sc__) body.sc-new #comments .scm-count { font-size: var(--sc-bt-size) !important; font-weight: var(--sc-bt-weight) !important; color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new #comments .scm-count::after { margin: 0 !important; margin-inline-start: var(--sc-bt-gap) !important; font-size: var(--sc-bt-size) !important; font-weight: var(--sc-bt-weight) !important; }
html:not(#sc_):not(#sc__) body.sc-new .betterdocs-toc > .toc-title { padding-right: 0 !important; padding-inline: 0 !important; }

html:not(#sc_):not(#sc__) body.sc-new :is(.betterdocs-toc > .toc-title, .pp-multiple-authors-boxes-wrapper .widget-title.box-header-title, .betterdocs-entry-content p.foot-title strong) { gap: 0 !important; }

/* 50. Docs menu: vertical scroll only; section titles in brackets (2026-12-01) */
html body.kh-m #betterdocs-full-sidebar-left { overflow-x: hidden !important; }
html body.kh-m #betterdocs-full-sidebar-left :is(.betterdocs-sidebar-content, .betterdocs-category-grid-wrapper, .betterdocs-category-grid-inner-wrapper, .betterdocs-single-category-wrapper, .betterdocs-single-category-inner, .betterdocs-category-header, .betterdocs-articles-list, .betterdocs-nested-category-list, .betterdocs-nested-category-wrapper, .betterdocs-nested-category-title, li) { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
html body.kh-m #betterdocs-full-sidebar-left .betterdocs-articles-list li > a { min-width: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g { gap: var(--sc-bt-gap); justify-content: flex-start; font-size: var(--sc-bt-size) !important; font-weight: var(--sc-bt-weight) !important; line-height: var(--sc-bt-lh) !important; color: var(--sc-ink) !important; padding-inline: 8px; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g::before { content: "["; margin-inline-end: var(--sc-bt-gap); }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g::after { content: "]"; margin-inline-start: var(--sc-bt-gap); }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g small { margin-inline-start: auto; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g:hover { color: var(--sc-link) !important; }

/* 51. Docs menu, rebuilt on the shadcn docs sidebar (sidebar-03), RTL (2026-12-01).
   One row: 32px high, 8px side padding, 6px radius, 14px regular.
   Chevrons and type icons share the start edge (16px box, 8px gap).
   Counts are a plain muted number at the end. Depth = one 1px guide line.
   Only the current page is marked (surface bg + medium weight). */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left {
  --m-row: 32px; --m-px: 8px; --m-ic: 16px; --m-gap: 8px; --m-r: 6px;
  --m-ink: var(--sc-text); --m-muted: var(--sc-text-muted); --m-hover: var(--sc-surface); --m-line: var(--sc-line);
}
/* every row: shared box */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(a.kh-m-side-dic, .betterdocs-category-header, .betterdocs-nested-category-title, .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > a) {
  display: flex !important; align-items: center !important; gap: var(--m-gap) !important;
  min-height: var(--m-row) !important; height: auto !important; margin: 0 0 1px !important;
  padding: 0 var(--m-px) !important; border: 0 !important; border-radius: var(--m-r) !important;
  background: transparent !important; box-shadow: none !important;
  font-size: 14px !important; font-weight: 400 !important; line-height: 20px !important; color: var(--m-ink) !important;
  text-decoration: none !important; min-width: 0 !important; box-sizing: border-box !important;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(a.kh-m-side-dic, .betterdocs-category-header, .betterdocs-nested-category-title, .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > a):hover { background: var(--m-hover) !important; color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-category-header, .betterdocs-nested-category-title)[aria-expanded="true"]:not(:hover) { background: transparent !important; }
/* inner wrappers flatten into the row */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-category-header-inner { display: flex !important; align-items: center !important; gap: var(--m-gap) !important; flex: 1 1 auto; min-width: 0 !important; min-height: 0 !important; width: 100%; margin: 0 !important; padding: 0 !important; background: none !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-single-category-inner { display: block !important; height: auto !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-single-category-wrapper { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
/* titles: one size, one weight, ellipsis */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-category-title { flex: 1 1 auto; min-width: 0 !important; margin: 0 !important; padding: 0 !important; font-size: 14px !important; font-weight: 400 !important; line-height: 20px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-category-title a, .betterdocs-nested-category-title a, .kh-m-tx, a.kh-m-side-dic > span) {
  display: block !important; flex: 1 1 auto; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
  overflow: hidden !important; white-space: nowrap !important; text-overflow: ellipsis !important;
  font-size: 14px !important; font-weight: inherit !important; line-height: 20px !important; color: inherit !important; text-decoration: none !important; background: none !important;
}
/* chevrons: 16px box on the start edge */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .kh-m-tree-tg { flex: 0 0 var(--m-ic) !important; order: -1 !important; width: var(--m-ic) !important; height: var(--m-ic) !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 4px !important; color: var(--m-muted) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .kh-m-tree-tg svg { width: 10px !important; height: 10px !important; opacity: 1 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-category-header, .betterdocs-nested-category-title):hover .kh-m-tree-tg { background: transparent !important; color: var(--sc-ink) !important; }
/* count: plain muted number at the end */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-category-items-counts { order: 3 !important; flex: none !important; margin: 0 !important; margin-inline-start: auto !important; padding: 0 !important; background: none !important; border: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-category-items-counts span { display: inline !important; min-width: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--m-muted) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 20px !important; font-variant-numeric: tabular-nums; }
/* article rows: type icon in the same 16px start box */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) { position: relative !important; margin: 0 !important; padding: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper) > a { padding-inline-start: calc(var(--m-px) + var(--m-ic) + var(--m-gap)) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-articles-list li:not(.betterdocs-nested-category-wrapper)::before { top: calc((var(--m-row) - 14px) / 2) !important; bottom: auto !important; inset-inline-start: calc(var(--m-px) + 1px) !important; inset-inline-end: auto !important; width: 14px !important; height: 14px !important; margin: 0 !important; opacity: .7; pointer-events: none; z-index: 1; }
/* one active state: the current page */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-articles-list li > a.active, .betterdocs-articles-list li > a[aria-current="page"], a.kh-m-side-dic.is-on) { background: var(--m-hover) !important; color: var(--sc-ink) !important; font-weight: 500 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-category-header, .betterdocs-nested-category-title, .betterdocs-category-title a, .betterdocs-nested-category-title a):is(.active, .current, [aria-current]) { font-weight: 400 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-single-category-wrapper, .betterdocs-category-header).active:not(:hover) { background: transparent !important; }
/* depth: one guide line under the chevron, sub rows indented */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-body { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left :is(.betterdocs-body > .betterdocs-articles-list, .betterdocs-nested-category-list) {
  margin: 1px 0 4px !important; margin-inline-start: calc(var(--m-px) + var(--m-ic) / 2) !important; margin-inline-end: 0 !important;
  padding: 0 !important; padding-inline-start: 6px !important; border: 0 !important; border-inline-start: 1px solid var(--m-line) !important; list-style: none !important;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left li.betterdocs-nested-category-wrapper { margin: 0 !important; padding: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left li.betterdocs-nested-category-wrapper::before { display: none !important; }
/* «فرهنگ شیفت»: a normal row with its icon in the start box */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic svg { flex: 0 0 var(--m-ic); width: var(--m-ic) !important; height: var(--m-ic) !important; color: var(--m-muted) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.is-on svg { color: var(--sc-ink) !important; }
/* header and group labels */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .kh-m-side-h { min-height: var(--m-row); margin: 0 0 6px !important; padding: 0 var(--m-px) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g {
  display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 8px !important;
  min-height: var(--m-row) !important; margin: 16px 0 2px !important; padding: 0 var(--m-px) !important; border: 0 !important; background: none !important;
  font-size: 13px !important; font-weight: 600 !important; line-height: 20px !important; color: var(--m-muted) !important; text-decoration: none !important;
}
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g:hover { color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g::before,
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g::after { content: none !important; display: none !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > span { display: inline !important; margin: 0 !important; padding: 0 !important; white-space: nowrap; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > span::before { content: "[" !important; margin: 0 !important; margin-inline-end: .3em !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > span::after { content: "]" !important; margin: 0 !important; margin-inline-start: .3em !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g small { margin: 0 !important; padding: 0 6px !important; border: 1px solid var(--m-line) !important; border-radius: 999px !important; background: none !important; color: var(--m-muted) !important; font-size: 11px !important; font-weight: 400 !important; line-height: 18px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-category-grid-wrapper + a.kh-m-side-g { border-top: 0 !important; padding-top: 0 !important; }

/* 52. Docs menu refinements (2026-12-01): brand mark in the header, icons on group titles, bold main entry */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t { display: inline-flex !important; align-items: center; gap: 8px; font-size: 16px !important; font-weight: 800 !important; line-height: 24px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t .kh-m-mark { flex: none; width: 22px; height: 22px; color: var(--sc-ink); }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t > span { white-space: nowrap; }
/* main entry: the one filled row, like the shadcn primary button */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic { min-height: 40px !important; margin: 4px 0 6px !important; padding: 6px 12px !important; background: var(--sc-primary) !important; color: var(--sc-on-primary) !important; font-weight: 700 !important; font-size: 14px !important; line-height: 20px !important; border-radius: 8px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic > span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font-weight: 700 !important; color: inherit !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic svg { color: inherit !important; width: 18px !important; height: 18px !important; flex: 0 0 18px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic:hover { background: var(--sc-primary-hover, var(--sc-primary)) !important; color: var(--sc-on-primary) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic.is-on { background: var(--sc-primary) !important; color: var(--sc-on-primary) !important; box-shadow: 0 0 0 2px var(--sc-bg), 0 0 0 4px var(--sc-primary); }
/* group titles: icon instead of brackets, a little bigger */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g { font-size: 14px !important; font-weight: 600 !important; gap: 8px !important; color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--sc-text-muted); }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > span::before,
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > span::after { content: none !important; margin: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g small { margin-inline-start: 4px !important; }

/* 53. Info row under the article header: smaller text, tight icon gaps, content format as icon only (2026-12-01) */
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li { gap: 4px !important; font-size: 12px !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li svg { width: 14px !important; height: 14px !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li + li::before { margin-inline: 0 6px !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info { column-gap: 10px !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li.sh-ah-item-fmt > span { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li.sh-ah-item-fmt svg { width: 16px !important; height: 16px !important; opacity: 1; }

/* 54. Back to top: the previous small rounded square (40px, radius 8, 20px arrow), with the new thin site border; no progress ring, no shadow (2026-12-01) */
html:not(#sc_):not(#sc__) body.sc-new .sc-top { width: 40px !important; height: 40px !important; border-radius: 8px !important; border: 1px solid var(--sc-line) !important; box-shadow: none !important; background: var(--sc-bg) !important; color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new .sc-top::before { display: none !important; content: none !important; }
html:not(#sc_):not(#sc__) body.sc-new .sc-top svg { width: 20px !important; height: 20px !important; }
html:not(#sc_):not(#sc__) body.sc-new .sc-top:hover { background: var(--sc-surface) !important; }

/* 55. First paint: the docs menu and the A to Z index wait for the script, so the old style never flashes (a 3 second safety timer shows them anyway) */
html.kh-m-pre body.kh-m :is(#betterdocs-full-sidebar-left, #main .betterdocs-taxonomy-doc-category) { visibility: hidden !important; }

/* 56. Menu, shadcn sidebar spacing: header, primary row and group labels share the 8px start edge and 32px rows */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .kh-m-side-h { min-height: 40px !important; margin: 0 0 8px !important; padding: 0 8px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t { gap: 8px; font-size: 16px !important; font-weight: 600 !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t .kh-m-mark { width: 20px; height: 20px; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic { min-height: 32px !important; margin: 0 0 4px !important; padding: 0 8px !important; gap: 8px !important; border-radius: 6px !important; font-size: 14px !important; font-weight: 500 !important; line-height: 20px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic > span { font-weight: 500 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic svg { width: 16px !important; height: 16px !important; flex: 0 0 16px !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g { min-height: 32px !important; margin: 16px 0 0 !important; padding: 0 8px !important; gap: 8px !important; font-size: 12px !important; font-weight: 500 !important; line-height: 16px !important; color: var(--sc-text-muted) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g:hover { color: var(--sc-ink) !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g > svg { width: 16px; height: 16px; }

/* 57. Author box: smaller pictures */
html:not(#sc_):not(#sc__) body.sc-new .shift-authors-wrapper .pp-author-boxes-avatar img { width: 28px !important; height: 28px !important; border-radius: 6px !important; }

/* 58. Selected text tools (shadcn popover) and the quote image dialog */
.kh-q { position: fixed; z-index: 100001; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--sc-line); border-radius: 10px; background: var(--sc-bg); color: var(--sc-ink); box-shadow: 0 8px 24px rgba(0,0,0,.12); direction: rtl; }
.kh-q[hidden] { display: none; }
html body .kh-q-b { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; }
html body .kh-q-b:hover, html body .kh-q-b:focus, html body .kh-q-b:focus-visible { border: 0; color: inherit; background: var(--sc-surface); outline: none; }
html body .kh-q-b:focus-visible { box-shadow: 0 0 0 2px var(--sc-focus, #3366FF); }
.kh-q-b svg { flex: none; color: var(--sc-text-muted); }
.kh-q-ic { padding: 0 8px; }
.kh-q-ic span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kh-q[data-msg]::after { content: attr(data-msg); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--sc-bg); font-size: 13px; font-weight: 600; }
.kh-q-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kh-qd { position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; padding: 16px; }
.kh-qd[hidden] { display: none; }
.kh-qd-bg { position: absolute; inset: 0; background: var(--sc-scrim, rgba(12,12,12,.6)); -webkit-backdrop-filter: blur(var(--sc-scrim-blur, 8px)); backdrop-filter: blur(var(--sc-scrim-blur, 8px)); }
.kh-qd-box { position: relative; width: min(440px, 100%); max-height: 100%; overflow: auto; padding: 16px; border: 1px solid var(--sc-line); border-radius: 12px; background: var(--sc-bg); color: var(--sc-ink); box-shadow: 0 20px 50px rgba(0,0,0,.25); direction: rtl; }
.kh-qd-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 15px; }
html body .kh-qd-x { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--sc-text-muted); cursor: pointer; }
html body .kh-qd-x:focus { background: transparent; border: 0; color: var(--sc-text-muted); outline: none; }
html body .kh-qd-x:focus-visible { box-shadow: 0 0 0 2px var(--sc-focus, #3366FF); }
html body :is(.kh-qd-x, .kh-q-b, .kh-qd-a > *) svg { flex: 0 0 auto !important; width: 16px !important; height: 16px !important; min-width: 16px; }
html body .kh-qd-x:hover { background: var(--sc-surface); color: var(--sc-ink); }
.kh-qd-img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--sc-line); }
.kh-qd-a { display: flex; gap: 8px; margin: 12px 0 0; }
html body .kh-qd-a > * { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 500; text-decoration: none !important; cursor: pointer; }
html body .kh-qd-a > [hidden] { display: none; }
html body .kh-qd-dl, html body .kh-qd-dl:hover, html body .kh-qd-dl:focus { background: var(--sc-primary); color: var(--sc-on-primary) !important; border: 0; }
html body .kh-qd-sh, html body .kh-qd-sh:hover, html body .kh-qd-sh:focus { background: var(--sc-bg); color: var(--sc-ink); border: 1px solid var(--sc-line); }
body.kh-qd-on { overflow: hidden; }

/* 59. Hide-menu icon + its divider: centered on the breadcrumb row on every KnowHouse page */
html:not(#sc_):not(#sc__) body.kh-m .kh-m-bar { display: flex !important; align-items: center !important; min-height: 28px; }
html:not(#sc_):not(#sc__) body.kh-m .kh-m-bar > :is(.kh-m-wide-btn, .kh-m-sep, .betterdocs-breadcrumb) { align-self: center !important; margin-block: 0 !important; }

/* 60. Right docs menu: sub menu rows 13px (letter rows, articles, sub categories) */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left .betterdocs-articles-list :is(a, span, .kh-m-tx) { font-size: 13px !important; }

/* 61. Category, terminology and other list pages: content fills the page container
   (left edge lines up with the header); intro stays readable; index gets more columns */
@media (min-width: 1024px) {
  html:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(#betterdocs-full-sidebar-left):not(:has(#betterdocs-sidebar-right)) { grid-template-columns: 256px minmax(0, 1fr) !important; }
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:has(#betterdocs-full-sidebar-left):not(:has(#betterdocs-sidebar-right)) { grid-template-columns: minmax(0, 1fr) !important; }
  html.kh-m-wide:not(#sc_) body.kh-m:not(.skh-focus) .betterdocs-content-wrapper:not(:has(#betterdocs-sidebar-right)) > #betterdocs-full-sidebar-left { display: none !important; }
  html:not(#sc_) body.sc-new.kh-m.tax-doc_category #main .betterdocs-entry-title p { max-width: none !important; line-height: 2 !important; }
  html:not(#sc_) body.sc-new .sc-az .sc-az-sec > .betterdocs-nested-category-list { column-width: 320px; column-gap: 40px; }
}

/* 62. Selection menu round 2: lighter text, share row with separators; quote dialog theme switch and direct share row */
html body .kh-q-b { font-size: 12.5px; font-weight: 400; gap: 5px; padding: 0 8px; }
.kh-q-sep { flex: none; width: 1px; height: 16px; margin: 0 2px; background: var(--sc-line); }
.kh-qd-h { gap: 8px; }
.kh-qd-h strong { flex: 1; font-weight: 600; }
.kh-qd-th { display: inline-flex; padding: 2px; border: 1px solid var(--sc-line); border-radius: 8px; background: var(--sc-surface); }
html body .kh-qd-th button { height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--sc-text-muted); font: inherit; font-size: 12.5px; font-weight: 400; cursor: pointer; }
html body .kh-qd-th button[aria-pressed="true"] { background: var(--sc-bg); color: var(--sc-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html body .kh-qd-th button:focus-visible { outline: 2px solid var(--sc-focus, #3366FF); outline-offset: 1px; }
.kh-qd-so { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 10px 0 0; }
html body .kh-qd-so button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--sc-ink); font: inherit; font-size: 13px; font-weight: 400; cursor: pointer; }
html body .kh-qd-so button:hover, html body .kh-qd-so button:focus-visible { background: var(--sc-surface); outline: none; }
html body .kh-qd-so button svg { width: 16px; height: 16px; flex: none; color: var(--sc-text-muted); }
html body .kh-qd-a > * { font-weight: 500; }
/* theme-base gives every button 14px/700 with a stronger selector; keep menu and dialog buttons light */
html body :is(.kh-q, .kh-qd) :is(button, a) { font-weight: 400 !important; }
html body .kh-q .kh-q-b, html body .kh-qd-th button { font-size: 12.5px !important; }
html body :is(.kh-qd-so button, .kh-qd-a > *) { font-size: 13px !important; }

/* 63. Quote card round 3: size + colour switches above the picture, story preview, tap-to-colour hint */
.kh-qd-o { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.kh-qd-img { cursor: pointer; }
.kh-qd-img.is-st { width: auto; max-width: 100%; max-height: min(62vh, 560px); margin-inline: auto; }
.kh-qd-tip { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--sc-text-muted); text-align: center; }
@media (hover: none) { .kh-qd-tip { font-size: 12.5px; } }
/* phone: five buttons in the selection menu must fit a 360px screen */
@media (max-width: 420px) { html body .kh-q .kh-q-b { padding: 0 6px !important; gap: 4px !important; } }

/* 64. Round 4: «بپرس» view (AI + search) may wrap on narrow screens; picture window has no text-share row */
.kh-q { max-width: calc(100vw - 16px); }
.kh-q[data-v="ask"] { flex-wrap: wrap; justify-content: center; row-gap: 2px; width: max-content; max-width: min(760px, calc(100vw - 16px)); }
@media (max-width: 560px) { .kh-q[data-v="ask"] .kh-q-sep--g { flex-basis: 100%; width: 100%; height: 1px; margin: 2px 0; } }
/* owner: bigger mark next to «دانش‌کده‌ی شیفت» in the docs menu */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t .kh-m-mark { width: 28px !important; height: 28px !important; }
/* owner (2026-12-01): meta row items have no padding; spacing is only the row gap (10px) and the separator (gap 4px + 6px) */
html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li { padding: 0 !important; }
/* owner (2026-12-01): term word 20px on all screens */
html:not(#sc_) body.sc-new .sd-th .sd-th-word { font-size: 20px !important; }
/* owner (2026-12-01): on phones the info row and the tool bar share one line; it only wraps when the screen is too narrow */
@media (max-width: 600px) {
  html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-meta { flex-wrap: wrap !important; gap: 8px !important; align-items: center !important; }
  html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-meta > .sh-ah-info { flex: 0 1 auto !important; width: auto !important; min-width: 0; order: 1 !important; }
  /* same order as desktop: dates on the right, tool bar on the left */
  html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-meta > .sh-ah-actions { flex: none !important; margin-inline-start: auto !important; order: 2 !important; }
}
/* owner: same look as desktop; only very narrow phones (under 400px) get the compact version so it still fits one line */
@media (max-width: 399px) {
  html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-actions :is(.sh-ah-btn, .shift-bookmark-btn) { width: 30px !important; min-width: 30px !important; padding: 0 !important; }
  html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li + li::before { margin-inline: 0 4px !important; }
  html:not(#sc_):not(#sc__) body.sc-new .sh-ah .sh-ah-info > li:is(.sh-ah-item-pub, .sh-ah-item-mod, .sh-ah-item-time) svg { display: none !important; }
}
/* quote card dialog (2026-12-01, owner): every setting is a small icon button with a tooltip */
html body .kh-qd-o { gap: 8px 6px; }
html body .kh-qd-th button { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 30px; padding: 0 !important; line-height: 1; }
html body .kh-qd-th button svg { width: 17px; height: 17px; flex: none; }
html body .kh-qd-th .kh-qd-sw { display: block; width: 16px; height: 16px; border-radius: 50%; }
html body .kh-qd-th button[aria-pressed="true"] .kh-qd-sw { box-shadow: 0 0 0 2px var(--sc-bg), 0 0 0 3.5px var(--sc-ink) !important; }
html body .kh-qd-th :is(.kh-qd-a1, .kh-qd-a2, .kh-qd-a3) { font-family: inherit; font-weight: 600; line-height: 1; }
html body .kh-qd-th .kh-qd-a1 { font-size: 11px; }
html body .kh-qd-th .kh-qd-a2 { font-size: 14px; }
html body .kh-qd-th .kh-qd-a3 { font-size: 17px; }
@media (max-width: 420px) { html body .kh-qd-o { gap: 6px 4px; } html body .kh-qd-th button { width: 26px; min-width: 26px; } html body .kh-qd-th button svg { width: 16px; height: 16px; } }
/* owner (2026-12-01): clicking the heading "#" copies the link; show it clearly for 1.6s */
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink.is-done { opacity: 1 !important; color: #15803D !important; }
html:not(#sc_):not(#sc__) body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink.is-done::before { content: "✓ لینک کپی شد"; font-size: 13px; font-weight: 500; white-space: nowrap; }
html:not(#sc_)[data-theme="dark"] body.sc-new #betterdocs-single-content :is(h2, h3) > .skh-hlink.is-done { color: #4ADE80 !important; }

/* 63. Gemini گام دوم: پیام «کپی شد» و دکمه‌ی باز کردن */
html body .kh-q-note { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 8px; font-size: 12.5px; color: var(--sc-ink); white-space: nowrap; }
html body .kh-q-note svg { flex: none; width: 15px; height: 15px; color: #16A34A; }
html body .kh-q .kh-q-b.kh-q-go { font-weight: 600 !important; }
html body .kh-q .kh-q-b.kh-q-go svg { color: var(--sc-primary, #3366FF); }
@media (max-width: 420px) { html body .kh-q-note { white-space: normal; height: auto; line-height: 1.5; padding: 4px 6px; } }

/* ---------- 50. Header and menus fixes (2026-12-03, owner bug list 1, 2, 4, 15) ---------- */
/* 1. Main menu as the shadcn Navigation Menu (owner 2026-12-03): no underline; each item is a rounded pill,
      grey on hover and when its dropdown is open, black (ink) for the current section. One row, no extra lines. */
@media (min-width: 850px) {
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__list { align-items: center !important; gap: 2px !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item { align-items: center !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__link { height: 36px !important; min-height: 36px !important; padding: 0 12px !important; border-radius: 8px !important; background: transparent !important; color: var(--sc-ink) !important; transition: background-color .15s ease, color .15s ease !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__link::after { display: none !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item:is(:hover, .is-open, :focus-within) > .sc-nav__link { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item.is-current > .sc-nav__link,
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item.is-current:is(:hover, .is-open, :focus-within) > .sc-nav__link { background: var(--sc-ink) !important; color: var(--sc-bg) !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item.is-current > .sc-nav__link .sc-nav__chev { opacity: .8 !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__link:focus-visible { outline: 2px solid var(--sc-focus) !important; outline-offset: 2px !important; }
  /* dropdowns open a little below the pill, as in shadcn */
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item:not(.is-mega) > .sc-nav__dd { top: calc(50% + 24px) !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item.has-dd:not(.is-mega)::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 34px; }
}
/* 2. Every header dropdown row (camps, about, KnowHouse mega menu, account) shares one hover:
      light surface, ink text, muted icon turns ink. Same in dark mode through the tokens. */
@media (min-width: 850px) {
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__sub > a,
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list a,
  html:not(#sc_) body.sc-new .sc-hd .sc-acc__list a { border-radius: 8px !important; color: var(--sc-ink) !important; transition: background-color .15s ease, color .15s ease !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__sub > a:is(:hover, :focus-visible),
  html:not(#sc_) body.sc-new .sc-mega .sc-mega__list a:is(:hover, :focus-visible),
  html:not(#sc_) body.sc-new .sc-hd .sc-acc__list a:is(:hover, :focus-visible) { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__sub .sc-nav-ic,
  html:not(#sc_) body.sc-new .sc-hd .sc-acc__list .sc-nav-ic { color: var(--sc-text-muted) !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__sub > a:hover .sc-nav-ic,
  html:not(#sc_) body.sc-new .sc-hd .sc-acc__list a:hover .sc-nav-ic { color: var(--sc-ink) !important; }
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__dd:not(.sc-nav__dd--mega) { border: 1px solid var(--sc-line) !important; border-radius: 12px !important; background: var(--sc-bg) !important; box-shadow: 0 10px 30px rgba(0,0,0,.10) !important; padding: 6px !important; }
}
/* 4. Mobile menu icons: one neutral colour (black and white site); blue stays for links and active marks. */
html:not(#sc_) body.sc-new .sc-mm .sc-mm__ic,
html:not(#sc_) body.sc-new .sc-mm .sc-mm__tile .sc-icon { color: var(--sc-ink) !important; }
/* 15a. Docs menu drawer on mobile: inner spacing, so rows and the active row do not touch the edges. */
@media (max-width: 1023px) {
  html:not(#sc_) body .betterdocs-mobile-sidebar-wrapper .betterdocs-full-sidebar-left,
  html:not(#sc_) body .betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right { padding: 16px 16px 32px !important; box-sizing: border-box !important; border-inline-end: 1px solid var(--sc-line) !important; box-shadow: 0 10px 30px rgba(0,0,0,.18) !important; overscroll-behavior: contain; }
  html:not(#sc_):not(#sc__) body.sc-new .betterdocs-mobile-sidebar-wrapper #betterdocs-full-sidebar-left .kh-m-side-h { position: static !important; background: var(--sc-bg) !important; margin: 0 0 8px !important; padding: 0 8px !important; }
  html:not(#sc_) body .betterdocs-mobile-toc-wrapper .betterdocs-toc { padding: 0 !important; }
  html body .betterdocs-mobile-sidebar-wrapper, html body .betterdocs-mobile-toc-wrapper { background: color-mix(in srgb, #000 40%, transparent) !important; }
}
/* 15b. Desktop: the contents title starts on the same line as the KnowHouse sidebar title (both 40px rows). */
@media (min-width: 1024px) {
  html:not(#sc_):not(#sc__) body.sc-new #betterdocs-sidebar-right .betterdocs-toc > .toc-title { display: flex !important; align-items: center !important; min-height: 40px !important; margin: 0 0 8px !important; }
}
/* 6. One frame for the whole site (owner choice 2026-12-03): header, page content, breadcrumbs and footer share the
      1360px container with a 24px gutter (content 1312px). KnowHouse pages already use it (section 41). */
body.sc-new { --sc-container: 1312px; }
html:not(#sc_) body.sc-new:not(.kh-m) #page.grid-container { max-width: 1360px !important; padding-inline: 0 !important; box-sizing: border-box !important; }
html:not(#sc_) body.sc-new:not(.kh-m) #page.grid-container > .site-content { padding-inline: 24px !important; box-sizing: border-box !important; }
@media (max-width: 849px) { html:not(#sc_) body.sc-new:not(.kh-m) #page.grid-container > .site-content { padding-inline: 16px !important; } }
/* 10. Reading progress sits ON the header's bottom line (one line, not a second stripe under it): no tinted track,
       only the blue fill, drawn above the header border (z-index above the header). */
html body.sc-new .sc-rp { background: transparent !important; }

/* Mobile menu: current item = grey row, no underline (matches desktop pill, no underline). */
html:not(#sc_) body.sc-new .sc-mm__item.is-current .sc-mm__label { text-decoration: none !important; }

/* 65. Accordions (owner bug list 2026-12-03, items 11 and 19): calmer padding; smooth open/close where the browser supports it
   (Chrome/Edge 131+: ::details-content + interpolate-size; other browsers open instantly as before) */
html:not(#sc_) body.sc-new details.wp-block-details.accord > summary { min-height: 40px; padding: 8px 16px !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > :not(summary) { padding: 12px 18px !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord > :not(summary) + :not(summary) { padding-top: 0 !important; }
html:not(#sc_) body.sc-new details.wp-block-details.accord[open] > :last-child { padding-bottom: 14px !important; }
@supports (interpolate-size: allow-keywords) {
	html body.sc-new { interpolate-size: allow-keywords; }
	html body.sc-new details.wp-block-details::details-content { block-size: 0; overflow: hidden; transition: block-size .26s cubic-bezier(.2,.7,.2,1), content-visibility .26s allow-discrete; }
	html body.sc-new details.wp-block-details[open]::details-content { block-size: auto; }
}
html body.sc-new details.wp-block-details > summary::after, html body.sc-new details.wp-block-details > summary svg { transition: transform .26s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
	html body.sc-new details.wp-block-details::details-content, html body.sc-new details.wp-block-details > summary::after, html body.sc-new details.wp-block-details > summary svg { transition: none !important; }
}

/* 66. Prev/next box: an empty cell gets the light hatching fill back (owner bug 20); token based so it works in dark and sepia */
html:not(#sc_) body.sc-new .skh-pn .skh-pn-cell.is-empty { background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--sc-ink) 6%, transparent) 8px 9px) !important; }
html:not(#sc_) body.sc-new.skh-focus:is([data-skh-bg="sepia"], [data-skh-bg="dark"], [data-skh-bg="light"]) #betterdocs-single-main .skh-pn .skh-pn-cell.is-empty { background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--sc-ink) 6%, transparent) 8px 9px) !important; }

/* 52. Owner feedback round 2 (2026-12-03 evening) */
/* Main menu: the current section is grey like hover (no black pill); bold text tells it apart. */
@media (min-width: 850px) {
  html:not(#sc_) body.sc-new .sc-nav .sc-nav__item.is-current > .sc-nav__link { background: var(--sc-surface) !important; color: var(--sc-ink) !important; font-weight: 700 !important; }
}
/* Home and other pages: page blocks start and end exactly at the header edges (one frame). */
html:not(#sc_) body.sc-new:not(.kh-m) .entry-content > .sc-page { padding-inline: 0 !important; }
html:not(#sc_) body.sc-new:not(.kh-m) .sc-page > .sh-sec { max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important; }
/* Article header: avatars only, name and role in the tooltip. */
html:not(#sc_) body.sc-new .skh-by.is-avatars .skh-by-av { display: flex; direction: ltr; }
html:not(#sc_) body.sc-new .skh-by-p { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: -8px; border-radius: 999px; border: 2px solid var(--sc-inverse, #0C0C0C); background: #3A3C43; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none !important; overflow: hidden; transition: transform .15s ease; position: relative; }
html:not(#sc_) body.sc-new .skh-by-p:first-child { margin-left: 0; }
html:not(#sc_) body.sc-new .skh-by-p:is(:hover, :focus-visible) { transform: translateY(-2px); z-index: 1; }
html:not(#sc_) body.sc-new .skh-by-p:focus-visible { outline: 2px solid var(--sc-link); outline-offset: 2px; }
html:not(#sc_) body.sc-new .skh-by-p img { width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 999px !important; object-fit: cover; }

/* 53. Owner feedback round 3 (2026-12-03 night) */
/* Tooltip stays the original #0C0C0C with no border (owner). */
/* Mobile header cart: the stuck header's blur made the full-screen cart only as tall as the header (no background). */
html.sc-cart-open body.sc-new .sc-hd { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* New site logo (head + SHIFT .camp) in the mobile menu head. */
html:not(#sc_) body.sc-new .sc-mm .sc-mm__logo img { height: 30px !important; max-width: 110px !important; }
/* Mobile reading mode: menu/TOC buttons hide, the text gets room at the end, and the reading bar slides away while you scroll down. */
@media (max-width: 1023px) {
  html:not(#sc_) body.skh-focus .betterdocs-mobile-nav { display: none !important; }
  html:not(#sc_) body.skh-focus #betterdocs-single-content { padding-bottom: 96px !important; }
  html:not(#sc_) body.skh-focus .skh-rd { transition: transform .25s ease, opacity .25s ease !important; }
  html:not(#sc_) body.skh-focus.skh-rd-away .skh-rd { transform: translateY(140%) !important; opacity: 0 !important; pointer-events: none !important; }
}
@media (prefers-reduced-motion: reduce) { html:not(#sc_) body.skh-focus .skh-rd { transition: none !important; } }

/* 46. Docs with no category (new drafts) have no menu column: the article takes the menu's
   place instead of falling into the narrow 256px track (2026-12-03). */
@media (min-width: 1025px) {
  html:not(#sc_):not(#sc__) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper:not(:has(> #betterdocs-full-sidebar-left)) { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (min-width: 1200px) {
  html:not(#sc_):not(#sc__) body.kh-m:not(.skh-focus) .betterdocs-single-wrapper .betterdocs-content-wrapper:not(:has(> #betterdocs-full-sidebar-left)):has(> #betterdocs-sidebar-right .right-sidebar-toc-container:not(:empty)) { grid-template-columns: minmax(0, 1fr) 224px !important; }
}

/* Tooltip edge (owner 2026-12-03): fill stays #0C0C0C, very thin 50% transparent border. */
html:not([data-theme="dark"]) .sc-tip { box-shadow: 0 0 0 .5px rgba(255,255,255,.5); }

/* shift-kh-hub */
/* =====================================================================
   SHIFT KnowHouse hub pages (2026-12-03, owner bug list 7, 8, 9, 14, 26-29)
   Loads after kh-modern.css, only in the new design (body.sc-new).
   1. KnowHouse home and academy pages: calmer type, search hover, alphabet box
   2. Docs menu: [ SKH ] [ CKH ] [ TKH ] tags, «فرهنگ واژگان شیفت» item and mark
   3. Category pages: one document list (built by kh-hub.js), tighter intro text
   Sizes follow the typography source (sc-type tokens) with the same values as fallback.
   Rules: no coloured side stripe, no em dash, colours only from tokens.
   ===================================================================== */

/* ---------- 1. KnowHouse home (/knowhouse/) and academy pages (/knowhouse/coaching/) ---------- */
html body.sc-new .kh-page {
  --hub-h1: 28px;
  --hub-h2: var(--sc-type-h4-size, 17px);
  --hub-body: var(--sc-type-body-size, 15px);
  --hub-small: var(--sc-type-small-size, 14px);
  --hub-label: var(--sc-type-label-size, 13px);
}

/* hero: smaller logo and title, one thin line under it */
html body.sc-new .kh-page .kh-hero { border-bottom: 1px solid var(--sc-line) !important; }
html body.sc-new .kh-page .kh-hero .kh-sec__in { max-width: 760px; margin-inline: auto; }
html body.sc-new .kh-page .kh-hero .kh-sec__logo { width: min(260px, 64%) !important; margin-inline: auto; }
html body.sc-new .kh-page .kh-hero .kh-sec__logo img { width: 100%; height: auto; }
html body.sc-new .kh-page .kh-hero .kh-hero__title { font-size: var(--hub-h1) !important; line-height: 1.5 !important; padding: 2px 14px !important; margin-block: 16px 12px !important; }
html body.sc-new .kh-page .kh-hero .kh-hero__lead,
html body.sc-new .kh-page .kh-hero p { font-size: var(--hub-body) !important; line-height: var(--sc-type-lh-body, 1.8) !important; max-width: 600px; margin-inline: auto !important; }
html body.sc-new .kh-page .kh-stats { font-size: var(--hub-label) !important; }

/* bug 7: the search box in the hero. Hover = black line and black text on white, never the grey button fill */
html body.sc-new .kh-m-search,
html body.sc-new .kh-m-search:hover,
html body.sc-new .kh-m-search:focus,
html body.sc-new .kh-m-search:active { background: var(--sc-bg) !important; box-shadow: none !important; }
html body.sc-new .kh-m-search { min-height: 48px; font-size: var(--hub-body); }
html body.sc-new .kh-m-search:hover,
html body.sc-new .kh-m-search:focus-visible { border-color: var(--sc-ink) !important; color: var(--sc-ink) !important; }
html body.sc-new .kh-m-search:hover svg { color: var(--sc-ink); }

/* section rhythm: no vertical blue/black stubs between sections, space does the work */
html body.sc-new .kh-page .kh-rule { display: none !important; }
html body.sc-new .kh-page .kh-sec { --p: 48px; --p-sm: 32px; }
html body.sc-new .kh-page .kh-gap { height: 0 !important; }
html body.sc-new .kh-page .kh-block__head { margin-bottom: 16px !important; align-items: baseline; }
html body.sc-new .kh-page .kh-el .kh-h2 { font-size: var(--hub-h2) !important; line-height: 1.6 !important; }
html body.sc-new .kh-page .kh-muted { font-size: var(--hub-label) !important; color: var(--sc-text-muted) !important; }

/* knowhouse cards on the home page */
html body.sc-new .kh-page .kh-kbs { gap: 20px; }
html body.sc-new .kh-page .kh-kb { padding: 24px; gap: 12px; border-radius: 12px; border-color: var(--sc-line); }
html body.sc-new .kh-page .kh-kb--live { border-color: var(--sc-line); }
html body.sc-new .kh-page .kh-kb__en { font-size: 12px; letter-spacing: .02em; color: var(--sc-text-muted); }
html body.sc-new .kh-page .kh-el .kh-kb__title { font-size: var(--sc-type-h3-size, 20px); line-height: 1.5; }
html body.sc-new .kh-page .kh-el .kh-kb__desc { font-size: var(--hub-small); line-height: 1.8; color: var(--sc-text-muted); margin: 0; }
html body.sc-new .kh-page .kh-kb__sections > li > a,
html body.sc-new .kh-page .kh-kb__sections > li.is-soon { min-height: 44px; font-size: var(--hub-small); }
html body.sc-new .kh-page .kh-kb__sections > li > a { font-weight: 700; }
html body.sc-new .kh-page .kh-kb__sname { display: inline-flex; align-items: center; gap: 8px; }
html body.sc-new .kh-page .kh-kb__smeta { font-size: 12px; }
html body.sc-new .kh-page .kh-el .kh-kb__cta { min-height: 40px; padding: 0 18px; font-size: 13.5px; border-radius: 8px; }
html body.sc-new .kh-page .kh-kb__dic { display: inline-flex; align-items: center; justify-content: center; color: var(--sc-ink); }
html body.sc-new .kh-page .kh-kb__dic .sc-dic-mark { width: 18px; height: 18px; }

/* section cards on an academy page (/knowhouse/coaching/) */
html body.sc-new .kh-page .kh-card { padding: 20px !important; gap: 10px !important; border-radius: 12px !important; }
html body.sc-new .kh-page .kh-card__top svg:not(.sc-dic-mark) { width: 30px; height: 30px; }
html body.sc-new .kh-page .kh-el .kh-card__title { font-size: var(--hub-h2) !important; line-height: 1.6 !important; }
html body.sc-new .kh-page .kh-card__desc { font-size: var(--hub-small) !important; line-height: 1.8 !important; }
html body.sc-new .kh-page .kh-card__meta { font-size: 12px !important; }
html body.sc-new .kh-page .kh-dic-tile { display: inline-flex; align-items: center; justify-content: center; color: var(--sc-ink); }
html body.sc-new .kh-page .kh-dic-tile .sc-dic-mark { width: 30px; height: 30px; stroke-width: 1.75; }

/* bug 9: «مرور الفبایی اصطلاحات» sits in its own soft box */
html body.sc-new .kh-page .kh-letters-wrap { padding: 20px 24px 24px; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 12px; }
html body.sc-new .kh-page .kh-letters { gap: 8px; }
html body.sc-new .kh-page .kh-letter { width: 44px; height: 48px; gap: 4px; border-radius: 8px; background: var(--sc-bg); border: 1px solid var(--sc-line); color: var(--sc-ink); }
html body.sc-new .kh-page a.kh-letter:hover { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-bg); }
html body.sc-new .kh-page a.kh-letter:hover .kh-letter__n { color: var(--sc-bg); }
html body.sc-new .kh-page .kh-letter__l { font-size: 16px; }
html body.sc-new .kh-page .kh-letter__n { font-size: 11px; }
html body.sc-new .kh-page .kh-letter--off { background: transparent; border: 1px dashed var(--sc-line); color: var(--sc-text-muted); opacity: .7; }
html body.sc-new .kh-page .kh-more { font-size: var(--hub-label); }

/* most viewed + recent */
html body.sc-new .kh-page .kh-term { padding: 16px; gap: 6px; border-radius: 10px; }
html body.sc-new .kh-page .kh-term__en { font-size: 16px; }
html body.sc-new .kh-page .kh-term__fa { font-size: var(--hub-small); }
html body.sc-new .kh-page .kh-term__top { font-size: 12px; }
html body.sc-new .kh-page .kh-term__rank { width: 22px; height: 22px; font-size: 11px; }
html body.sc-new .kh-page :is(.kh-recent, .kh-recent-wrap) :is(a, li) { font-size: var(--hub-small); }

@media (min-width: 850px) {
  /* two even rows of 13 letters */
  html body.sc-new .kh-page .kh-letters { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); }
  html body.sc-new .kh-page .kh-letter { width: auto; }
}
@media (max-width: 849px) {
  html body.sc-new .kh-page .kh-letters-wrap { padding: 16px; }
}
@media (max-width: 549px) {
  html body.sc-new .kh-page { --hub-h1: 22px; }
  html body.sc-new .kh-page .kh-sec { --p: 32px; --p-sm: 28px; }
  html body.sc-new .kh-page .kh-hero .kh-sec__logo { width: min(200px, 64%) !important; }
  html body.sc-new .kh-page .kh-kb { padding: 20px; }
  html body.sc-new .kh-page .kh-el .kh-kb__title { font-size: 18px; }
  html body.sc-new .kh-page .kh-letters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html body.sc-new .kh-page .kh-letter { width: auto; height: 44px; }
}

/* ---------- 2. Docs menu (right sidebar) ---------- */
/* knowhouse tags in place of the three icons: [ SKH ] [ CKH ] [ TKH ] (black chip; inverts in dark mode) */
html body.sc-new #betterdocs-full-sidebar-left .kh-m-tag {
  flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px;
  font-family: var(--sc-type-font-mono, ui-monospace, Consolas, Menlo, monospace); font-size: 10.5px; font-weight: 700; line-height: 1;
  letter-spacing: .02em; white-space: pre; direction: ltr; unicode-bidi: isolate;
  background: var(--sc-ink); color: var(--sc-bg);
}
/* older menu rules style every "a > span"; the tag keeps its own box */
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left :is(a.kh-m-side-t, a.kh-m-side-g) > .kh-m-tag.kh-m-tag {
  display: inline-flex !important; align-items: center !important; height: 20px !important; padding: 0 6px !important; margin: 0 !important;
  white-space: pre !important; font-size: 10.5px !important; line-height: 1 !important;
}
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left :is(a.kh-m-side-t, a.kh-m-side-g) > .kh-m-tag.kh-m-tag::before,
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left :is(a.kh-m-side-t, a.kh-m-side-g) > .kh-m-tag.kh-m-tag::after { content: none !important; }
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t { gap: 10px !important; }
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-t > .kh-m-tag.kh-m-tag { height: 22px !important; font-size: 11px !important; }
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g { gap: 8px !important; }
/* a knowhouse that is still «به‌زودی»: same tag, quiet */
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-g:has(small) .kh-m-tag { background: transparent; color: var(--sc-text-muted); box-shadow: inset 0 0 0 1px var(--sc-line); }

/* «فرهنگ واژگان شیفت»: white card with the «واژه‌نامه» format icon; selected = grey like hover (no thick border) */
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic {
  min-height: 44px !important; margin: 2px 0 8px !important; padding: 6px 10px !important; gap: 10px !important;
  display: flex !important; align-items: center !important;
  background: var(--sc-bg) !important; color: var(--sc-ink) !important;
  border: 1px solid var(--sc-line) !important; border-radius: 10px !important; box-shadow: none !important;
  transition: background-color .15s ease-out;
}
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic > span:not(.kh-m-dic-tile) { font-size: 14px !important; font-weight: 700 !important; color: inherit !important; }
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic::after {
  content: "A–Z"; margin-inline-start: auto; direction: ltr; font-family: var(--sc-type-font-mono, ui-monospace, Consolas, monospace);
  font-size: 10.5px; font-weight: 700; color: var(--sc-text-muted);
}
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic.kh-m-side-dic.kh-m-side-dic:is(:hover, .is-on) { background: var(--sc-surface) !important; color: var(--sc-ink) !important; border-color: var(--sc-line) !important; box-shadow: none !important; }
html body.sc-new #betterdocs-full-sidebar-left .kh-m-dic-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: var(--sc-ink); }
html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left a.kh-m-side-dic .kh-m-dic-tile svg.sc-dic-mark { width: 18px !important; height: 18px !important; flex: none !important; color: inherit !important; }

.sc-dic-mark { display: block; overflow: visible; }

/* term card: the «واژه در فرهنگ شیفت» button uses the same mark in a rounded square */
html body.sc-new .sd-th .sd-th-top .sd-th-dic,
html body.sc-new .sd-th .sd-th-dic { width: 34px; height: 34px; border-radius: 9px; border-color: var(--sc-line); background: var(--sc-bg); color: var(--sc-ink) !important; }
html body.sc-new .sd-th .sd-th-dic:is(:hover, :focus-visible) { border-color: var(--sc-ink); background: var(--sc-bg); color: var(--sc-ink) !important; }

/* ---------- 3. Category pages ---------- */
/* bug 27: intro text uses body size and line height (was 15px / 30px) */
html:not(#sc_):not(#sc__) body.sc-new.tax-doc_category .betterdocs-entry-title p { font-size: var(--sc-type-body-size, 15px) !important; line-height: var(--sc-type-lh-body, 1.8) !important; }

/* bugs 28, 29: one document list (kh-hub.js) in place of boxes and closed accordions */
html body.sc-new #main .betterdocs-taxonomy-doc-category.has-dl > ul { display: none !important; }
html body.sc-new .sc-dl { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
html body.sc-new .sc-dl-g { display: flex; flex-direction: column; gap: 12px; }
html body.sc-new .sc-dl-g.is-sub { margin-top: 12px; padding-inline-start: 16px; }
html body.sc-new .sc-dl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: var(--sc-type-h4-size, 17px) !important; line-height: 1.6 !important; font-weight: 700 !important; color: var(--sc-ink) !important; }
html body.sc-new .sc-dl-h::before, html body.sc-new .sc-dl-h::after { content: none !important; }
html body.sc-new .sc-dl-g.is-sub > .sc-dl-h { font-size: var(--sc-type-h5-size, 15px) !important; }
html body.sc-new .sc-dl-hn { color: inherit !important; text-decoration: none !important; }
html body.sc-new .sc-dl-hn::before { content: "["; margin-inline-end: .35em; }
html body.sc-new .sc-dl-hn::after { content: "]"; margin-inline-start: .35em; }
html body.sc-new a.sc-dl-hn:hover { color: var(--sc-link) !important; }
html body.sc-new .sc-dl-hc { flex: none; font-size: var(--sc-type-label-size, 13px); font-weight: 400; color: var(--sc-text-muted); }

html body.sc-new .sc-dl-list { display: flex; flex-direction: column; border: 1px solid var(--sc-line); border-radius: 12px; overflow: hidden; background: var(--sc-bg); }
html body.sc-new a.sc-dl-row {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; box-sizing: border-box;
  font-size: var(--sc-type-body-size, 15px); line-height: 1.6; color: var(--sc-ink) !important; text-decoration: none !important;
  border-top: 1px solid var(--sc-line); background: transparent; transition: background-color .15s ease-out;
}
html body.sc-new a.sc-dl-row:first-child { border-top: 0; }
html body.sc-new a.sc-dl-row:hover { background: var(--sc-surface); }
html body.sc-new a.sc-dl-row:focus-visible { outline: 2px solid var(--sc-focus, #3366FF); outline-offset: -2px; }
html body.sc-new .sc-dl-t { flex: 1 1 auto; min-width: 0; text-align: start !important; }
html body.sc-new a.sc-dl-row.is-term .sc-dl-en { flex: none; font-weight: 700; unicode-bidi: isolate; }
html body.sc-new a.sc-dl-row.is-term .sc-dl-dot { flex: 1 1 24px; min-width: 16px; align-self: center; height: 0; border-bottom: 1.5px dotted color-mix(in srgb, var(--sc-text-muted) 45%, transparent); }
html body.sc-new a.sc-dl-row.is-term .sc-dl-fa { flex: none; color: var(--sc-text); }
/* content-format icon (masks per format come inline from kh-modern.php; default = text document) */
html body.sc-new .sc-dl-ic { flex: none; width: 16px; height: 16px; background: var(--sc-text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask-size: contain; mask-size: contain; transition: background-color .15s ease-out; }
html body.sc-new a.sc-dl-row:hover .sc-dl-ic { background: var(--sc-ink); }
/* some sections are for members: small lock + «بخشی ویژه‌ی اعضا» (icon only on phones) */
html body.sc-new .sc-dl-lock { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1.6; color: var(--sc-text-muted); white-space: nowrap; }
html body.sc-new .sc-dl-lock-i { width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.sc-new .sc-dl-go { flex: none; width: 16px; height: 16px; color: var(--sc-text-muted); transition: transform .15s ease-out, color .15s ease-out;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body.sc-new a.sc-dl-row:not(.is-term) .sc-dl-go { margin-inline-start: auto; }
html body.sc-new a.sc-dl-row:hover .sc-dl-go { color: var(--sc-ink); transform: translateX(-2px); }
@media (prefers-reduced-motion: reduce) { html body.sc-new a.sc-dl-row:hover .sc-dl-go { transform: none; } }
@media (max-width: 549px) {
  html body.sc-new a.sc-dl-row { padding: 10px 12px; gap: 8px; font-size: 14.5px; }
  html body.sc-new a.sc-dl-row.is-term { flex-wrap: wrap; row-gap: 2px; }
  html body.sc-new a.sc-dl-row.is-term .sc-dl-dot { min-width: 12px; }
  html body.sc-new .sc-dl-g.is-sub { padding-inline-start: 8px; }
  html body.sc-new .sc-dl-lock-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- 4. Small fixes from owner review (2026-12-03) ---------- */
/* header menu: the current section is grey like hover, not a black pill */
@media (min-width: 850px) {
  html:not(#sc_):not(#sc__):not(#sc___) body.sc-new .sc-nav .sc-nav__item.is-current > .sc-nav__link,
  html:not(#sc_):not(#sc__):not(#sc___) body.sc-new .sc-nav .sc-nav__item.is-current:is(:hover, .is-open, :focus-within) > .sc-nav__link { background: var(--sc-surface) !important; color: var(--sc-ink) !important; }
  html:not(#sc_):not(#sc__):not(#sc___) body.sc-new .sc-nav .sc-nav__item.is-current > .sc-nav__link .sc-nav__chev { opacity: 1 !important; }
}
/* home page: the last grey band («تازه‌های دانش‌کده») gets the same rounded corners as the panels above it */
html body.sc-new .sh-home .sh-band { border-radius: var(--ui-r-xl, var(--sc-radius-md, 14px)); }
/* phone docs menu: the knowhouse title row scrolls with the menu (never pinned over the list) */
@media (max-width: 1023px) {
  html:not(#sc_):not(#sc__):not(#sc___) body.sc-new #betterdocs-full-sidebar-left .kh-m-side-h { position: static !important; }
}

.sc-dl-ic.skh-f-text{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z%27%2F%3E%3Cpath%20d%3D%27M14%202v4a2%202%200%200%200%202%202h4%27%2F%3E%3Cpath%20d%3D%27M10%2013H8%27%2F%3E%3Cpath%20d%3D%27M16%2017H8%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z%27%2F%3E%3Cpath%20d%3D%27M14%202v4a2%202%200%200%200%202%202h4%27%2F%3E%3Cpath%20d%3D%27M10%2013H8%27%2F%3E%3Cpath%20d%3D%27M16%2017H8%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-video{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m16%2013%205.223%203.482a.5.5%200%200%200%20.777-.416V7.87a.5.5%200%200%200-.752-.432L16%2010.5%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%276%27%20width%3D%2714%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m16%2013%205.223%203.482a.5.5%200%200%200%20.777-.416V7.87a.5.5%200%200%200-.752-.432L16%2010.5%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%276%27%20width%3D%2714%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-audio{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2014h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-7a9%209%200%200%201%2018%200v7a2%202%200%200%201-2%202h-1a2%202%200%200%201-2-2v-3a2%202%200%200%201%202-2h3%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2014h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-7a9%209%200%200%201%2018%200v7a2%202%200%200%201-2%202h-1a2%202%200%200%201-2-2v-3a2%202%200%200%201%202-2h3%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-quiz{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203%27%2F%3E%3Cpath%20d%3D%27M12%2017h.01%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203%27%2F%3E%3Cpath%20d%3D%27M12%2017h.01%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-guide{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27m16.24%207.76-1.804%205.411a2%202%200%200%201-1.265%201.265L7.76%2016.24l1.804-5.411a2%202%200%200%201%201.265-1.265z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27m16.24%207.76-1.804%205.411a2%202%200%200%201-1.265%201.265L7.76%2016.24l1.804-5.411a2%202%200%200%201%201.265-1.265z%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-glossary{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m5%208%206%206%27%2F%3E%3Cpath%20d%3D%27m4%2014%206-6%202-3%27%2F%3E%3Cpath%20d%3D%27M2%205h12%27%2F%3E%3Cpath%20d%3D%27M7%202h1%27%2F%3E%3Cpath%20d%3D%27m22%2022-5-10-5%2010%27%2F%3E%3Cpath%20d%3D%27M14%2018h6%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m5%208%206%206%27%2F%3E%3Cpath%20d%3D%27m4%2014%206-6%202-3%27%2F%3E%3Cpath%20d%3D%27M2%205h12%27%2F%3E%3Cpath%20d%3D%27M7%202h1%27%2F%3E%3Cpath%20d%3D%27m22%2022-5-10-5%2010%27%2F%3E%3Cpath%20d%3D%27M14%2018h6%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-exercise{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z%27%2F%3E%3Cpath%20d%3D%27m15%205%204%204%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z%27%2F%3E%3Cpath%20d%3D%27m15%205%204%204%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-slides{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%203h20%27%2F%3E%3Cpath%20d%3D%27M21%203v11a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V3%27%2F%3E%3Cpath%20d%3D%27m7%2021%205-5%205%205%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%203h20%27%2F%3E%3Cpath%20d%3D%27M21%203v11a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V3%27%2F%3E%3Cpath%20d%3D%27m7%2021%205-5%205%205%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-download{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2015V3%27%2F%3E%3Cpath%20d%3D%27M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4%27%2F%3E%3Cpath%20d%3D%27m7%2010%205%205%205-5%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2015V3%27%2F%3E%3Cpath%20d%3D%27M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4%27%2F%3E%3Cpath%20d%3D%27m7%2010%205%205%205-5%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-resource{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-qa{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M14%209a2%202%200%200%201-2%202H6l-4%204V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202z%27%2F%3E%3Cpath%20d%3D%27M18%209h2a2%202%200%200%201%202%202v11l-4-4h-6a2%202%200%200%201-2-2v-1%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M14%209a2%202%200%200%201-2%202H6l-4%204V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202z%27%2F%3E%3Cpath%20d%3D%27M18%209h2a2%202%200%200%201%202%202v11l-4-4h-6a2%202%200%200%201-2-2v-1%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-case{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M16%2020V4a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16%27%2F%3E%3Crect%20width%3D%2720%27%20height%3D%2714%27%20x%3D%272%27%20y%3D%276%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M16%2020V4a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16%27%2F%3E%3Crect%20width%3D%2720%27%20height%3D%2714%27%20x%3D%272%27%20y%3D%276%27%20rx%3D%272%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-checklist{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m3%2017%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27m3%207%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27M13%206h8%27%2F%3E%3Cpath%20d%3D%27M13%2012h8%27%2F%3E%3Cpath%20d%3D%27M13%2018h8%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m3%2017%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27m3%207%202%202%204-4%27%2F%3E%3Cpath%20d%3D%27M13%206h8%27%2F%3E%3Cpath%20d%3D%27M13%2012h8%27%2F%3E%3Cpath%20d%3D%27M13%2018h8%27%2F%3E%3C%2Fsvg%3E")}.sc-dl-ic.skh-f-terminology{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3Cpath%20d%3D%27m8%2013%204-7%204%207%27%2F%3E%3Cpath%20d%3D%27M9.1%2011h5.7%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019.5v-15A2.5%202.5%200%200%201%206.5%202H19a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H6.5a1%201%200%200%201%200-5H20%27%2F%3E%3Cpath%20d%3D%27m8%2013%204-7%204%207%27%2F%3E%3Cpath%20d%3D%27M9.1%2011h5.7%27%2F%3E%3C%2Fsvg%3E")}
