@font-face {
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../../fonts/quicksand-v30-400.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
	size-adjust: 106%;
	ascent-override: 95%;
	descent-override: 24%;
	line-gap-override: 0%
}
:root {
	--surface-color: #1a1a1a;
	--primary-color: #3a7da8;
	--primary-dark: #2c6080;
	--primary-glow: rgba(58, 125, 168, 0.25);
	--text-color: #f0f0f0;
	--text-secondary-color: #9a9a9a;
	--heading-color: #ffffff;
	--border-color: #2c2c2c;
	--border-highlight: rgba(58, 125, 168, 0.4);
	--input-bg-color: #232329;
	--input-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.08), inset 2px 2px 6px rgba(0, 0, 0, 0.6);
	--field-border: #3a3a44;
	--header-bg-color: radial-gradient(circle at 50% 50%, rgba(26, 26, 26, 0.98) 0%, rgba(13, 13, 15, 0.98) 50%, rgba(0, 0, 0, 0.98) 100%);
	--body-bg-image: none;
	--bg-filter: none;
	--card-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
	--font-main: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	--font-headings: 'Quicksand', sans-serif;
	--border-radius-main: 16px;
	--transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
	--transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	--radius-lg: 20px;
	--radius-md: 14px;
	--radius-sm: 10px;
	--shadow-1: 0 6px 20px rgba(0, 0, 0, .18);
	--shadow-2: 0 10px 30px rgba(0, 0, 0, .22);
	--ring: 0 0 0 4px var(--primary-glow);
	--table-radius: 0px;
	--table-border-color: #262626
}
html[data-theme='light'] {
	--surface-color: #ffffff;
	--primary-color: #0056b3;
	--primary-dark: #004494;
	--primary-glow: rgba(0, 86, 179, 0.2);
	--text-color: #1f2937;
	--text-secondary-color: #5a626f;
	--heading-color: #111827;
	--border-color: #e5e7eb;
	--border-highlight: rgba(0, 86, 179, 0.5);
	--input-bg-color: #ffffff;
	--input-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
	--field-border: #000000;
	--header-bg-color: linear-gradient(135deg, rgba(240, 240, 242, 0.97) 0%, rgba(255, 255, 255, 0.96) 45%, rgba(232, 233, 237, 0.97) 100%);
	--body-bg-image: none;
	--bg-filter: none;
	--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--table-border-color: #a0a9b3
}
html {
	scrollbar-gutter: stable;
	scroll-padding-top: 70px;
	overflow-x: hidden;
	overflow-y: auto
}
html,
body {
	margin: 0;
	padding: 0;
	font-family: var(--font-main);
	background-image: var(--body-bg-image);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	filter: var(--bg-filter);
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.7;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	/* Words are never split unless a single word cannot fit a line on its own (long URLs, paths) */
	overflow-wrap: break-word;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh
}
h1,
h2 {
	font-family: var(--font-headings);
	font-weight: 400;
	color: var(--heading-color);
}
h1 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	margin: 32px auto;
	text-shadow: 0 0 10px var(--primary-glow);
	transition-property: color, text-shadow
}
h2 {
	font-size: 1.8rem;
	padding-bottom: 12px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid var(--border-color);
	position: relative;
	transition-property: color, border-color
}
h3 {
	display: inline;
	font-size: 1.17em;
	font-weight: 600;
	color: var(--heading-color);
	background-color: transparent;
	padding: 0;
	border-left: 3px solid var(--primary-color);
	padding-left: 10px;
	margin: 15px 0 8px 0
}
h4 {
	display: inline;
	font-size: 1.05em;
	font-weight: bold;
	opacity: 0.3
}
b { display: inline }
html[data-theme='light'] h3 { background-color: transparent; color: var(--heading-color) }
p {
	text-align: justify;
	color: var(--text-color);
	margin-bottom: 1.2rem;
	text-indent: 1.5em;
	line-height: 1.75
}
h2+p { text-indent: 0 }
a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color var(--transition-fast);
	overflow-wrap: break-word
}
/* Links inside text blocks must not rely on color alone (WCAG 1.4.1) */
p a, .alternatives a {
	text-decoration: underline;
	text-underline-offset: 2px
}
a:hover { color: var(--heading-color); text-shadow: 0 0 8px var(--primary-glow) }
.gradient-text {
	background: linear-gradient(45deg, var(--heading-color), var(--primary-color));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent
}

p.last-updated {
	margin: 10px auto 0;
	padding: 0 4%;
	text-align: center;
	font-size: .8rem;
	color: var(--text-secondary-color);
	opacity: .75
}
h2 svg {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	stroke: var(--primary-color);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
h2::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100px;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), transparent);
	transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1)
}
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--surface-color);
	border: 1px solid var(--table-border-color, var(--border-color));
	border-radius: var(--table-radius);
	overflow: hidden
}
th,
td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--border-color);
	border-left: 1px solid var(--border-color);
	vertical-align: middle
}
th:first-child,
td:first-child { border-left: 0 }
th {
	text-align: left;
	font-weight: 600;
	color: var(--heading-color)
}
tbody tr:nth-child(odd) { background: rgba(255, 255, 255, 0.03) }
tbody tr:hover,
tbody tr:hover > td,
tbody tr:hover > th { background: rgba(0, 184, 255, 0.08) }
thead th { background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04)) }
thead th { border-bottom: 1px solid var(--table-border-color) }
thead { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) }
table tr:last-child td { border-bottom: 0 }
html[data-theme='light'] tbody tr:nth-child(odd) { background: rgba(0, 0, 0, 0.02) }
html[data-theme='light'] tbody tr:hover,
html[data-theme='light'] tbody tr:hover > td,
html[data-theme='light'] tbody tr:hover > th { background: rgba(0, 86, 179, 0.08) }
html[data-theme='light'] thead th { background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.02)) }
html[data-theme='light'] .theme_color { mix-blend-mode: multiply }
#sortable th {
	position: sticky;
	top: 0;
	z-index: 1
}
.page-din-en-iso-standards table[data-sortable] thead th,
.page-macros table[data-sortable] thead th,
.page-free-software table[data-sortable] thead th {
	position: sticky;
	top: 59px;
	z-index: 3;
	background-color: #0b0b0e
}
html[data-theme='light'] .page-din-en-iso-standards table[data-sortable] thead th,
html[data-theme='light'] .page-macros table[data-sortable] thead th,
html[data-theme='light'] .page-free-software table[data-sortable] thead th { background-color: #ffffff }
html[data-theme='black'] .page-din-en-iso-standards table[data-sortable] thead th,
html[data-theme='black'] .page-macros table[data-sortable] thead th,
html[data-theme='black'] .page-free-software table[data-sortable] thead th { background-color: #000000 }
@media (max-width: 900px) {
	.page-din-en-iso-standards table[data-sortable] thead th,
	.page-macros table[data-sortable] thead th,
	.page-free-software table[data-sortable] thead th { top: 0 }
}
#sortable th .sort-icon {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 700
}
#wrapper {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	box-sizing: border-box
}
html:not([data-theme='light']) #wrapper {
	background-color: #1a1a1a;
	background-image: radial-gradient(circle at 50% 50%, rgba(26, 26, 26, 0.98) 0%, rgba(13, 13, 15, 0.98) 50%, rgba(0, 0, 0, 0.98) 100%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center
}
html[data-theme='light'] #wrapper {
	background-image: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 1) 0%, rgba(220, 220, 220, 0.85) 60%, rgba(0, 0, 0, 0.10) 100%), url(../../img/bg/kod5-com-index.webp);
	background-attachment: fixed, fixed;
	background-repeat: no-repeat, no-repeat;
	background-size: cover, cover;
	background-position: center center, center center
}
#container { min-height: 59px }
header {
	position: fixed;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-color);
	box-sizing: border-box;
	left: 0;
	right: 0;
	width: auto;
	margin: 0;
	padding-right: 0;
	will-change: transform
}
header::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--primary-color) 50%, transparent);
	transform: scaleX(0);
	opacity: 0;
	transition: transform var(--transition-fast), opacity var(--transition-fast);
	pointer-events: none
}
header:hover::after { transform: scaleX(1); opacity: 1 }
html[data-theme='light'] header { background: var(--header-bg-color) }
html:not([data-theme='light']) header { background: var(--header-bg-color); border-bottom: 1px solid var(--border-color) }
header nav {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 14px;
	box-sizing: border-box
}
nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: nowrap
}
nav ul li { position: relative }
nav a {
	display: block;
	padding: 15px 18px;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: 400;
	text-decoration: none;
	position: relative;
	transition: text-shadow var(--transition-fast), transform var(--transition-fast), background-color .2s ease
}
nav ul li:hover>a {
	color: var(--heading-color);
	transform: scale(1.05);
	text-shadow: 0 0 12px var(--primary-glow)
}
nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: radial-gradient(circle at 50% 50%, rgba(26, 26, 26, 0.98) 0%, rgba(13, 13, 15, 0.98) 50%, rgba(0, 0, 0, 0.98) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
	border-radius: 0 0 12px 12px;
	min-width: 200px;
	width: auto;
	max-width: 100%;
	opacity: 0;
	transform: translateY(15px) scale(0.98);
	transform-origin: top center;
	animation: fadeInMenu 0.3s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
	z-index: 100
}
@keyframes fadeInMenu {
	to { opacity: 1; transform: translateY(0) scale(1) }
}
nav ul li:hover>ul { display: block }
nav ul ul li { width: 100%; position: relative }
nav ul ul li a { padding: 9px 14px; line-height: 1.35 }
nav ul ul li:not(:last-child)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--border-color) 50%, transparent)
}
nav ul ul li a:hover { background-color: rgba(0, 184, 255, 0.12) }
nav a#previousPage,
nav a#nextPage {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 10px;
	padding-right: 10px;
	color: var(--text-color)
}
nav a#previousPage:hover,
nav a#nextPage:hover {
	color: var(--primary-color);
	text-shadow: none
}
nav a#previousPage svg,
nav a#nextPage svg {
	transform: translateY(3px);
	stroke: currentColor;
}
html[data-theme='light'] nav ul ul {
	background: var(--surface-color);
	backdrop-filter: none;
	-webkit-backdrop-filter: none
}
html[data-theme='light'] nav ul ul li a:hover { background-color: rgba(0, 86, 179, 0.1) }
.grid_items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 24px;
	padding: 16px 4%;
	max-width: 1800px;
	margin: 0 auto;
	contain: layout style;
	
}
.grid_item {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-1);
	transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
	flex: 1 1 300px;
	min-width: 260px;
	min-height: 0;
	align-self: stretch;
	max-width: 420px;
	content-visibility: auto;
	contain-intrinsic-size: auto 350px;
	
}
html:not([data-theme='light']) .grid_item {
	background: #000;
	border: none;
}
html[data-theme='light'] .grid_item { background-color: var(--surface-color) }
.grid_item:hover { border-color: var(--border-highlight); box-shadow: var(--shadow-2) }
.grid_item:hover h2::after { width: 100%; background: linear-gradient(90deg, var(--primary-color), transparent) }
.grid_item .menu { flex-grow: 1 }
.grid_item>table,
.grid_item table {
	display: table;
	max-width: 100%;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch
}
/* Words stay whole; a word is only split when it cannot fit a line on its own */
th,
td { overflow-wrap: break-word; word-break: normal; white-space: normal }
@media only screen and (max-width: 768px) {
  /* Wide tables scroll inside the card instead of squeezing their words */
  .grid_item:has(table),
  .table-container,
  .thread-table-wrap,
  .nut-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Inside a scroll container the table may grow past 100% so its words stay intact */
  .grid_item:has(table) table,
  .table-container table,
  .thread-table-wrap table,
  .nut-table-wrap table { max-width: none; width: max-content; min-width: 100%; }
  .grid_item:has(table) th,
  .grid_item:has(table) td,
  .table-container th,
  .table-container td,
  .thread-table-wrap th,
  .thread-table-wrap td,
  .nut-table-wrap th,
  .nut-table-wrap td { width: auto; }
  /* Header labels stay on one line; the table scrolls instead of breaking them */
  .grid_item:has(table) th,
  .table-container th,
  .thread-table-wrap th,
  .nut-table-wrap th { white-space: nowrap; }
}
/* Below 768px these pages switch to a single-column table; it must fit the card instead of scrolling sideways */
@media (max-width: 767px) {
  .page-din-en-iso-standards #liste table,
  .page-macros #liste table {
    display: table;
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .page-din-en-iso-standards #liste thead,
  .page-din-en-iso-standards #liste tbody,
  .page-din-en-iso-standards #liste tr,
  .page-macros #liste thead,
  .page-macros #liste tbody,
  .page-macros #liste tr {
    width: 100%;
    min-width: 0;
  }
  .page-din-en-iso-standards #liste th,
  .page-din-en-iso-standards #liste td,
  .page-macros #liste th,
  .page-macros #liste td {
    width: auto;
    overflow-wrap: break-word;
  }
}
#search-bar {
	width: 60vw;
	max-width: 480px;
	padding: 12px 16px;
	font-size: 1.2em;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-color: var(--border-color) !important;
	transition: opacity 0.3s ease;
	cursor: text
}
#search-bar:hover { border-color: var(--border-highlight) !important }
#search-bar:focus { border-color: var(--primary-color) !important; outline: none }
#search-bar:hover::placeholder { opacity: 0; transition: opacity 0.3s ease }
#search-bar:focus::placeholder { opacity: 0 }
#search-bar::placeholder { transition: opacity 0.3s ease }
#search-input-wrapper {
	position: relative;
	display: inline-block
}
#search-clear-btn {
	display: none;
	position: absolute;
	right: 8px;
	top: -5px;
	bottom: 5px;
	margin: auto 0;
	background: none;
	border: none;
	color: var(--text-secondary-color);
	font-size: 1.2em;
	font-weight: 700;
	cursor: pointer;
	padding: 0 4px;
	height: 24px;
	line-height: 24px;
	text-shadow: none;
	box-shadow: none;
	transition: color var(--transition-fast)
}
#search-clear-btn:hover { color: var(--primary-color) }
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid var(--primary-color);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	text-align: center;
	padding: 8px 20px;
	background-image: linear-gradient(to right, var(--primary-color) 0%, var(--primary-dark) 51%, var(--primary-color) 100%);
	margin: 5px;
	transition: all var(--transition-smooth);
	background-size: 200% auto;
	box-shadow: none;
	font-family: var(--font-headings);
	font-size: 1rem;
	font-weight: 400;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5)
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-position: right center;
	box-shadow: 0 0 0 3px rgba(58, 125, 168, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
	filter: brightness(1.08);
}
button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled { cursor: default }
html:not([data-theme='light']) button,
html:not([data-theme='light']) input[type="button"],
html:not([data-theme='light']) input[type="reset"],
html:not([data-theme='light']) input[type="submit"] {
	border: 1px solid rgba(120, 170, 205, 0.35);
	background-image: linear-gradient(180deg, #4a8bb8 0%, #2c6080 55%, #234d68 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.55);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
	letter-spacing: 0.02em
}
html:not([data-theme='light']) button:hover,
html:not([data-theme='light']) input[type="button"]:hover,
html:not([data-theme='light']) input[type="reset"]:hover,
html:not([data-theme='light']) input[type="submit"]:hover {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 3px rgba(58, 125, 168, 0.35), 0 6px 18px rgba(0, 0, 0, 0.6);
	filter: brightness(1.12)
}
/* Soft light that rises from the top edge on hover, behind the button text */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	position: relative;
	isolation: isolate;
	overflow: hidden
}
button::before,
input[type="button"]::before,
input[type="reset"]::before,
input[type="submit"]::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(75% 100% at 50% 0%, rgba(56, 189, 248, 0.6) 0%, rgba(56, 189, 248, 0) 75%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease
}
button:hover::before,
input[type="button"]:hover::before,
input[type="reset"]:hover::before,
input[type="submit"]:hover::before { opacity: 1 }
/* Buttons size to their text, not the full width of their container */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	width: auto;
	max-width: 100%;
	align-self: flex-start;
	justify-self: start
}
/* Copy buttons generated under .copyable-code blocks: same look as standard buttons, placed under the code */
button.copy-btn {
	display: block;
	margin: 6px 5px 10px;
	padding: 6px 16px;
	font-size: 0.9rem;
	min-width: 110px
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
select { height: 48px }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
	width: 100%;
	background-color: var(--input-bg-color);
	border: 1px solid var(--field-border);
	border-radius: 8px;
	padding: 8px 10px;
	color: var(--text-color);
	font-family: var(--font-main);
	font-size: 1rem;
	box-sizing: border-box;
	transition: box-shadow var(--transition-fast);
	box-shadow: var(--input-shadow)
}
textarea {
	width: 100%;
	background-color: var(--input-bg-color);
	border: 1px solid var(--field-border);
	border-radius: 8px;
	padding: 8px 10px;
	color: var(--text-color);
	font-family: var(--font-main);
	font-size: 1rem;
	box-sizing: border-box;
	transition: box-shadow var(--transition-fast);
	box-shadow: var(--input-shadow);
	resize: vertical
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: var(--input-shadow), var(--ring)
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover {
	border-color: var(--primary-color);
	box-shadow: var(--input-shadow), var(--ring)
}
html:not([data-theme='light']) input[type="text"],
html:not([data-theme='light']) input[type="email"],
html:not([data-theme='light']) input[type="password"],
html:not([data-theme='light']) input[type="number"],
html:not([data-theme='light']) select,
html:not([data-theme='light']) textarea {
	background: linear-gradient(180deg, #1e1e24 0%, #15151a 100%) padding-box, linear-gradient(135deg, #5c5c66 0%, #1c1c22 45%, #4a4a55 100%) border-box;
	border: 1px solid transparent
}
html:not([data-theme='light']) input[type="text"]:focus,
html:not([data-theme='light']) input[type="email"]:focus,
html:not([data-theme='light']) input[type="password"]:focus,
html:not([data-theme='light']) input[type="number"]:focus,
html:not([data-theme='light']) select:focus,
html:not([data-theme='light']) textarea:focus,
html:not([data-theme='light']) input[type="text"]:hover,
html:not([data-theme='light']) input[type="email"]:hover,
html:not([data-theme='light']) input[type="password"]:hover,
html:not([data-theme='light']) input[type="number"]:hover,
html:not([data-theme='light']) select:hover,
html:not([data-theme='light']) textarea:hover {
	border-color: var(--primary-color)
}
input[type=number] {
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0 }
input[type=number]:focus {
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto
}
input[type=number]:focus::-webkit-inner-spin-button,
input[type=number]:focus::-webkit-outer-spin-button { -webkit-appearance: auto; appearance: auto; margin: 0 }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px }
/* Unit shown inside the field: <div class="input-wrapper input-with-unit"><input><span class="unit">mm</span></div>
   Add .input-with-unit-block for full-width fields in stacked forms. */
.input-with-unit {
	position: relative;
	display: flex;
	width: 100%;
	align-items: center;
	max-width: 100%
}
.input-with-unit input[type="number"],
.input-with-unit input[type="text"] { padding-right: var(--k5-unit-pad, 50px) }
.input-with-unit input[type="number"] { padding-right: calc(var(--k5-unit-pad, 50px) + 18px) }
.input-with-unit .unit {
	position: absolute;
	right: var(--k5-unit-inset, 14px);
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	white-space: nowrap;
	color: var(--text-secondary-color);
	pointer-events: none
}
/* Labels wider than ~3 chars ("teeth", "kg/L", "L/min", "cm°/rev") need more reserved room. */
.input-with-unit.unit-wide input[type="number"],
.input-with-unit.unit-wide input[type="text"] { --k5-unit-pad: 80px }
.input-with-unit-block {
	display: flex;
	width: 100%;
	max-width: var(--field-max-width, 100%)
}
.input-with-unit.input-with-unit-block > input,
.input-with-unit.input-with-unit-block > select {
	width: 100%;
	max-width: none;
	margin: 0
}
.form-group-inline {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px
}
.form-group-inline label { color: var(--text-secondary-color); margin-bottom: 0 }
.form-group-inline .input-wrapper {
	display: flex;
	align-items: center;
	gap: 8px
}
.form-group-inline input,
.form-group-inline select { flex-grow: 1; min-width: 80px }
.form-group-inline .unit { color: var(--text-secondary-color) }
.menu {
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0
}
.menu li { position: relative; padding: 8px 0 8px 30px }
.menu li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-color: var(--primary-color);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transition: transform var(--transition-fast)
}
.menu li:hover::before { transform: translateY(-50%) translateX(6px); background-color: var(--heading-color) }
.menu a { font-size: 1rem; font-weight: 400 }

#search-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 4px 0 20px 0;
	contain: layout style
}

#theme-toggle-button {
	display: inline-grid;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	min-height: 22px;
}
#theme-toggle-button svg {
	grid-area: 1 / 1;
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	opacity: 0;
	transition: opacity 200ms ease;
	transform: translateY(1px);
}
#theme-toggle-button .theme-icon-auto { opacity: 1 }
#theme-toggle-button .theme-icon-sun { opacity: 0 }
#theme-toggle-button .theme-icon-moon { opacity: 0 }
html[data-theme-mode='light'] #theme-toggle-button .theme-icon-auto { opacity: 0 }
html[data-theme-mode='light'] #theme-toggle-button .theme-icon-sun { opacity: 1 }
html[data-theme-mode='dark'] #theme-toggle-button .theme-icon-auto { opacity: 0 }
html[data-theme-mode='dark'] #theme-toggle-button .theme-icon-moon { opacity: 1 }

#search-results {
	display: none;
	width: 100vw;
	max-width: 100vw;
	color: #fff;
	margin: 0;
	margin-top: 8px;
	background: none;
	border-radius: 8px;
	padding: 0;
	box-sizing: border-box
}

.search-results-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	align-items: stretch;
	max-width: 1320px;
	margin: 0 auto;
	padding: 16px 4%
}
.search-result {
	flex: 1 1 260px;
	min-width: 220px;
	max-width: 320px;
	box-sizing: border-box;
	padding: 16px 18px 12px 18px;
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(18, 18, 22, 0.92) 0%, rgba(4, 4, 6, 0.88) 100%);
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-1);
	transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start
}
.search-result:hover { border-color: var(--border-highlight); box-shadow: var(--shadow-2) }
.search-result-title {
	font-size: 1.13em;
	color: #ffe066;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: color 0.2s
}
.search-result-title:hover { color: #fffbe7; text-shadow: 0 2px 8px #ffe06644 }
.search-result-desc {
	font-size: 0.98em;
	color: #e0e0e0;
	margin: 4px 0 0 0;
	line-height: 1.4;
	flex: 1 1 auto
}
.search-result-keywords {
	font-size: 0.87em;
	color: #b0b0b0;
	margin-top: 2px;
	font-style: italic
}
html[data-theme='light'] .search-result { background: linear-gradient(90deg, #fffbe7 0%, #f6f6fa 100%); border: 1px solid #ffffff; box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px }
html[data-theme='light'] .search-result:hover { border-color: #0056b3; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) }
html[data-theme='light'] .search-result-title { color: #b8860b }
html[data-theme='light'] .search-result-title:hover { color: #222; text-shadow: 0 2px 8px #ffe06644 }
html[data-theme='light'] .search-result-desc { color: #222 }
html[data-theme='light'] .search-result-keywords { color: #666 }
.lightbox-overlay {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center;
	cursor: pointer;
	padding: 24px;
	box-sizing: border-box
}
.lightbox-content {
	margin: auto;
	display: block;
	max-width: 94vw;
	max-height: 94vh;
	border-radius: 6px;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
	animation: zoom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1)
}
@keyframes zoom {
	from { transform: scale(0.1) }
	to { transform: scale(1) }
}
.lightbox-frame {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center
}
.lb-corner {
	position: absolute;
	width: 18px;
	height: 18px;
	pointer-events: none
}
.lb-tl { top: -10px; left: -6px; border-top: 2px solid #0f86c7; border-left: 2px solid #0f86c7 }
.lb-tr { top: -10px; right: -6px; border-top: 2px solid #0f86c7; border-right: 2px solid #0f86c7 }
.lb-bl { bottom: -10px; left: -6px; border-bottom: 2px solid #0f86c7; border-left: 2px solid #0f86c7 }
.lb-br { bottom: -10px; right: -6px; border-bottom: 2px solid #0f86c7; border-right: 2px solid #0f86c7 }

.lb-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2001;
	display: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.lb-nav:hover { background: rgba(15, 134, 199, 0.9); border-color: #0f86c7 }
#kod5-lightbox-prev { left: 14px }
#kod5-lightbox-next { right: 14px }
@media only screen and (max-width: 600px) {
	.lb-nav { width: 42px; height: 42px; font-size: 18px; top: auto; bottom: 18px; transform: none }
	#kod5-lightbox-prev { left: calc(50% - 52px); right: auto }
	#kod5-lightbox-next { right: calc(50% - 52px); left: auto }
}

#kod5-lightbox-hint {
	border: 1px solid #0f86c7
}

.u-text-center { text-align: center !important }
.u-block-center { text-align: center !important }
.u-block-center {
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important
}
.u-fullwidth { width: 100% !important }
.u-height-auto { height: auto !important }
.u-nowrap { white-space: nowrap !important }
.u-hidden { display: none !important }
.u-justify { text-align: justify !important }
.u-small-note { font-size: 0.9em !important; margin-top: 4px !important }
.u-h-120 { height: 120px !important }
.u-h-130 { height: 130px !important }
.u-h-150 { height: 150px !important }
.u-h-170 { height: 170px !important }

.u-h-200 { height: 200px !important }
.u-h-250 { height: 250px !important }
.u-h-35 { height: 35px !important }
.u-w-50 { width: 50% !important }
.u-w-90 { width: 90px !important }
.u-w-95 { width: 95% !important }
.u-w-100 { width: 100px !important }

.u-w-200 { width: 200px !important }
.u-w-250 { width: 250px !important }
.u-w-600 { width: 600px !important }
.u-wp-80 { width: 80% !important }
.u-pl-5 { padding-left: 5px !important }
.u-ml-10 { margin-left: 10px !important }
.u-mt-5 { margin-top: 5px !important }
.u-mt-20 { margin-top: 20px !important }
.u-mb-15 { margin-bottom: 15px !important }
.u-m-0 { margin: 0 !important }
.u-mx-auto { margin-left: auto !important; margin-right: auto !important }
.u-flex-center,
.u-flex-center-items {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important
}
.u-align-stretch { align-items: stretch !important }
.u-resize-vertical { resize: vertical !important }
.u-hr-border { border-color: var(--border-color) !important; margin: 20px 0 !important }
.u-label-muted {
	color: var(--text-secondary-color) !important;
	margin-bottom: 10px !important;
	display: block !important
}
.u-visually-hidden-small {
	opacity: 0 !important;
	width: 30px !important;
	border: 0 !important;
	padding: 0 !important;
	height: 1px !important
}
.u-scroll-x { overflow-x: auto !important }
.u-results {
	background-color: #e2e3e5;
	color: #333;
	font-size: 14px;
	padding: 8px;
	border-radius: 6px
}
.status-red { color: #6c0804 !important }
.status-green { color: #0a6b00 !important }
.u-pre-scroll {
	white-space: pre !important;
	overflow-wrap: normal !important;
	overflow-x: scroll !important
}
.u-grid-col-2 { grid-column-start: 2 !important }
.u-text-left { text-align: left !important }
.u-text-right { text-align: right !important }

.u-overflow-hidden { overflow: hidden !important }
.u-dir-rtl { direction: rtl !important }
.u-min-w-1200 { min-width: 1200px !important }
#emailForm input[type="text"],
#emailForm select { padding: 8px; box-sizing: border-box }
.k-revision-select { width: 100% }
.k-isim-sehir__table {
	width: 100% !important;
	table-layout: fixed;
	border-collapse: collapse
}
.k-isim-sehir__table,
.k-isim-sehir__table th,
.k-isim-sehir__table td { border-radius: 0 !important }
.k-isim-sehir__table td {
	white-space: nowrap;
	padding: 1px 2px;
	width: 14.2857%
}
.k-isim-sehir__table thead td,
.k-isim-sehir__table th {
	background: none !important;
	background-color: transparent !important;
	padding: 1px 2px;
	width: 14.2857%;
	text-align: center;
	font-weight: bold
}
/* Columns follow their content and the game table scrolls instead of squashing words */
#tablo { overflow-x: auto; -webkit-overflow-scrolling: touch }
.k-isim-sehir__table { width: max-content !important; min-width: 100%; table-layout: auto }
.k-isim-sehir__table td,
.k-isim-sehir__table th { width: auto }
#harfverbtn,
#erkenbittibtn,
input[value="Oyunu Sıfırla"] {
	display: inline-block;
	width: auto;
	min-width: unset;
	padding: 8px 20px;
	font-size: 1em;
	margin: 0 4px 0 0;
	box-sizing: border-box
}
.c-cursor {
	display: inline-block !important;
	position: relative !important;
	right: 0 !important
}
.ekran-theme {
	background: #000 !important;
	color: #68da82 !important;
	opacity: 0.9 !important
}
.console-input {
	border: 0 !important;
	background: #000 !important;
	color: #fff !important;
	width: 90% !important
}

.page-weight-calculator .calculator-form { display: none }
.page-unit-converter .uc-category-tabs {
	display: flex;
	flex-direction: column;
	gap: 3px
}
.page-unit-converter .uc-category-tabs button {
	min-height: 40px;
	padding: 8px 12px;
	margin: 0;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background: var(--surface-color);
	color: var(--text-color);
	text-align: left;
	cursor: pointer;
	text-shadow: none
}
.page-unit-converter .uc-category-tabs button:hover { border-color: var(--primary-color) }
.page-unit-converter .uc-category-tabs button.is-active {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: #fff;
	font-weight: 700
}
.page-unit-converter .uc-workspace {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 0 0 auto
}
.page-unit-converter .uc-side { display: grid; gap: 10px; min-width: 0 }
.page-unit-converter .uc-side label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase }
.page-unit-converter .uc-value-unit { display: grid; grid-template-columns: minmax(90px, 36%) minmax(145px, 1fr); gap: 8px }
.page-unit-converter .uc-value-unit input,
.page-unit-converter .uc-value-unit select { width: 100%; height: 58px; box-sizing: border-box }
.page-unit-converter .uc-value-unit input { font-size: 1.55rem; font-weight: 700 }
.page-unit-converter .uc-swap {
	position: relative;
	width: 48px;
	height: 48px;
	align-self: center;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--primary-color) 58%, var(--border-color));
	border-radius: 14px;
	background: var(--surface-color);
	color: var(--primary-color);
	box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.14);
	transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	text-shadow: none
}
.page-unit-converter .uc-swap:hover {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: #fff;
	box-shadow: 0 9px 22px rgba(0, 86, 179, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
	transform: translateY(-2px)
}
.page-unit-converter .uc-swap:active {
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.16), inset 0 1px 3px rgba(0, 0, 0, 0.16);
	transform: translateY(0) scale(0.96)
}
.page-unit-converter .uc-swap svg {
	display: block;
	width: 24px;
	height: 24px;
	margin: auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round
}
.page-unit-converter .uc-swap path {
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.2s ease
}
.page-unit-converter .uc-swap:hover .uc-swap-up { transform: translateY(-1.5px) }
.page-unit-converter .uc-swap:hover .uc-swap-down { transform: translateY(1.5px) }
.page-unit-converter .uc-primary-result {
	background: rgba(58, 125, 168, 0.1);
	color: var(--text-color);
	cursor: copy
}
.page-unit-converter .uc-error { min-height: 1.2em; color: #c62828; font-size: 0.85rem }
.page-unit-converter .uc-status { min-height: 24px; padding: 9px 0; text-align: center }
.page-unit-converter .uc-conversion-panel { justify-content: flex-start }
.page-unit-converter .uc-results-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	align-content: start
}
.page-unit-converter .uc-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "name unit" "value unit";
	gap: 2px 8px;
	min-width: 0;
	align-items: baseline;
	padding: 6px 8px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background: transparent;
	color: var(--text-color);
	text-align: left;
	cursor: copy;
	text-shadow: none
}
.page-unit-converter .uc-result:hover { border-color: var(--primary-color); background: rgba(58, 125, 168, 0.08) }
.page-unit-converter .uc-result span { grid-area: name; white-space: normal; overflow-wrap: anywhere; opacity: 0.72; font-size: 0.8rem }
.page-unit-converter .uc-result strong { grid-area: value; font-size: 0.95rem; overflow-wrap: anywhere }
.page-unit-converter .uc-result small { grid-area: unit; align-self: center; font-size: 0.75rem; opacity: 0.7 }
.page-unit-converter .uc-result--primary {
	border-color: var(--primary-color)
}
.page-unit-converter .copied-highlight { border-color: var(--primary-color) !important; background: rgba(58, 125, 168, 0.2) !important }
@media (max-width: 650px) {
	.page-unit-converter .uc-value-unit { grid-template-columns: minmax(80px, 38%) minmax(120px, 1fr) }
	.page-unit-converter .uc-results-grid { grid-template-columns: minmax(0, 1fr) }
}
.page-simple-shaft-design .table-like-form {
	display: table;
	width: 100%;
	border-collapse: collapse
}
.page-simple-shaft-design .table-row { display: table-row }
.page-simple-shaft-design .table-row>* {
	display: table-cell;
	padding: 5px;
	vertical-align: middle
}
.page-simple-shaft-design input[type="number"] { width: 100px }
.page-simple-shaft-design #shaftImage { max-width: 300px; margin-top: 10px }
.page-simple-shaft-design table {
	border-collapse: separate;
	border-spacing: 0 2px;
	margin-top: 10px
}
.page-simple-shaft-design th,
.page-simple-shaft-design td {
	border: 0 solid #ccc;
	padding: 4px 6px;
	text-align: left;
	font-size: 0.9em;
	background: none
}
.page-simple-shaft-design .compact-table th {
	width: auto;
	position: unset;
	font-weight: bold
}
.page-simple-shaft-design .suggestion-text { margin-left: 5px; font-size: 0.8em }
.page-simple-shaft-design .standard-size-info {
	font-style: italic;
	margin-top: 5px;
	font-size: 0.9em
}
.page-simple-shaft-design .product-summary { font-style: normal; margin-top: 10px }
.page-simple-shaft-design .pressure-value {
	margin: 0 2px;
	cursor: pointer;
	padding: 2px;
	display: inline-block
}
.page-simple-shaft-design .pressure-value:hover { background-color: #f0f0f0 }
.page-simple-shaft-design .pressure-value.active { background-color: #d0d0d0; font-weight: bold }
.page-simple-shaft-design select { width: 190px }
.table-container { overflow-x: auto; -webkit-overflow-scrolling: touch }
.page-metric-thread-pitch .grid_items table {
	font-size: 14px;
	width: 100%;
	border-collapse: collapse
}
.page-metric-thread-pitch .grid_items table th,
.page-metric-thread-pitch .grid_items table td {
	padding: 8px;
	white-space: nowrap;
	text-align: left
}
.page-linear-speed-calculator .grid_item { padding: 10px }
.page-din-spline-dimensions .form-group { margin-bottom: 15px }
.page-din-spline-dimensions label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold
}
.page-din-spline-dimensions select { width: 100% }
.page-din-spline-dimensions .result-item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 10px
}
.page-din-spline-dimensions .result-label {
	flex: 0 0 135px;
	font-weight: bold
}
.page-din-spline-dimensions #normative-textbox {
	flex: 1 1 180px;
	min-width: 0;
	width: auto;
	max-width: 100%
}
.page-din-spline-dimensions .lightbox {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center
}
.page-din-spline-dimensions .lightbox-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90vh;
	animation-name: zoom;
	animation-duration: 0.4s
}
.page-smd-calculator #result { font-weight: bold; font-size: 1.2em }
.page-fuel-calculator .form-group {
	display: flex;
	align-items: center;
	justify-content: space-between
}
.page-fuel-calculator .form-group { margin-bottom: 12px }
/* Light theme: text and its unit go solid black while a field has focus */
html[data-theme='light'] input:focus,
html[data-theme='light'] select:focus,
html[data-theme='light'] textarea:focus { color: #000 }
html[data-theme='light'] input:focus + .unit,
html[data-theme='light'] .input-with-unit:focus-within .unit { color: #000 }
/* DIN spline: inner top and left shade in the same tone as the table header (rgba 0,0,0 .10) */
html[data-theme='light'] .page-din-spline-dimensions .grid_item:has(#din5480_module) {
	box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px 0px, rgba(0, 0, 0, 0.22) 0px 15px 12px 0px, inset 10px 0 12px -10px rgba(0, 0, 0, 0.1), inset 0 10px 12px -10px rgba(0, 0, 0, 0.1)
}
/* KDV: the three cards sit in one row on desktop widths */
@media only screen and (min-width: 900px) {
	.page-k-kdv-hesapla .grid_items:not(.faq-grid) { flex-wrap: nowrap }
	.page-k-kdv-hesapla .grid_items:not(.faq-grid) > .grid_item { flex: 1 1 0; min-width: 0 }
}
/* Phone width: cards take the full row and shrink with the screen (no horizontal scroll) */
@media only screen and (max-width: 599px) {
	.grid_items { padding: 12px; gap: 16px; box-sizing: border-box; width: 100%; max-width: 100% }
	.grid_items > .grid_item { flex: 1 1 100%; min-width: 0; max-width: 100%; box-sizing: border-box; padding: 16px; overflow-x: auto }
}
/* Gas cost: the two cards stay side by side on tablet and desktop widths */
@media only screen and (min-width: 700px) {
	.page-gas-cost-calculator .grid_items:not(.faq-grid) { flex-wrap: nowrap }
	.page-gas-cost-calculator .grid_items:not(.faq-grid) > .grid_item { flex: 1 1 0; min-width: 0 }
}
.page-fuel-calculator .form-group input { width: 70px; text-align: right }
.page-fuel-calculator .results p {
	display: flex;
	justify-content: space-between;
	margin: 5px 0;
	font-size: 1.1em
}
.page-fuel-calculator .results span { font-weight: bold }
@media (min-width:1200px) {
	.grid_items { gap: 28px; padding: 18px 4% }
}
.page-index .grid_items:not(.faq-grid),
.page-ground-pressure-calculator .grid_items:not(.faq-grid),
	.page-din-spline-dimensions .grid_items:not(.faq-grid),
	.page-cones-iso-3040 .grid_items:not(.faq-grid),
	.page-bolt-size-calc .grid_items:not(.faq-grid),
	.page-circlip-groove-dimensions .grid_items:not(.faq-grid),
	.page-fastener-ordering-tool .grid_items:not(.faq-grid),
	.page-key-dimensions-din-6885 .grid_items:not(.faq-grid) {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.page-index .grid_items:not(.faq-grid) .grid_item,
	.page-ground-pressure-calculator .grid_items:not(.faq-grid) .grid_item,
	.page-din-spline-dimensions .grid_items:not(.faq-grid) .grid_item,
	.page-cones-iso-3040 .grid_items:not(.faq-grid) .grid_item,
	.page-bolt-size-calc .grid_items:not(.faq-grid) .grid_item,
	.page-circlip-groove-dimensions .grid_items:not(.faq-grid) .grid_item,
	.page-fastener-ordering-tool .grid_items:not(.faq-grid) .grid_item,
	.page-key-dimensions-din-6885 .grid_items:not(.faq-grid) .grid_item {
	flex: none;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
}
@media (max-width:1100px) {
	.page-index .grid_items:not(.faq-grid),
	.page-ground-pressure-calculator .grid_items:not(.faq-grid),
	.page-din-spline-dimensions .grid_items:not(.faq-grid),
	.page-cones-iso-3040 .grid_items:not(.faq-grid),
	.page-bolt-size-calc .grid_items:not(.faq-grid),
	.page-circlip-groove-dimensions .grid_items:not(.faq-grid),
	.page-fastener-ordering-tool .grid_items:not(.faq-grid),
	.page-key-dimensions-din-6885 .grid_items:not(.faq-grid) { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width:640px) {
	.page-index .grid_items:not(.faq-grid),
	.page-ground-pressure-calculator .grid_items:not(.faq-grid),
	.page-din-spline-dimensions .grid_items:not(.faq-grid),
	.page-cones-iso-3040 .grid_items:not(.faq-grid),
	.page-bolt-size-calc .grid_items:not(.faq-grid),
	.page-circlip-groove-dimensions .grid_items:not(.faq-grid),
	.page-fastener-ordering-tool .grid_items:not(.faq-grid),
	.page-key-dimensions-din-6885 .grid_items:not(.faq-grid) { grid-template-columns: 1fr }
}
@media (min-width:1024px) and (max-width:1279px) {
	.grid_item { flex: 1 1 280px; min-width: 240px }
}
@media (min-width:1280px) and (max-width:1599px) {
	.grid_item { flex: 1 1 272px; min-width: 240px }
}
@media (min-width:1600px) {
	.grid_item { flex: 1 1 340px; min-width: 240px }
}
@media (max-width:800px) {
}
@media (max-width:768px) {
	#container { min-height: 74px }
	.grid_item>.menu>li { padding-top: 0; padding-bottom: 0 }
	.grid_item>.menu>li>a { display: flex; align-items: center; min-height: 44px }
	nav ul ul,
	nav ul li.menu-item-right>ul {
		position: absolute;
		left: 10px;
		right: 10px;
		width: auto;
		min-width: 0;
		transform-origin: top center;
		box-sizing: border-box
	}
	nav ul ul li a {
		white-space: normal;
		overflow-wrap: break-word;
		padding: 12px 18px
	}
	.page-cutting-offset-calculator .grid_item table { font-size: 14px }
	.page-cutting-offset-calculator .grid_item table td,
	.page-cutting-offset-calculator .grid_item table th { padding: 8px 10px }
}
@media (max-width:640px) {
	table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch
	}
	thead,
	tbody,
	tr { width: max-content }
}
@media (max-width:600px) {
	.page-metric-thread-pitch .grid_items table { font-size: 13px }
	.page-metric-thread-pitch .grid_items table th,
	.page-metric-thread-pitch .grid_items table td { padding: 8px 6px }
	.page-linear-speed-calculator input,
	.page-linear-speed-calculator select { width: 100% }
}
@media only screen and (min-width: 500px) {
	.page-text-numarator .grid_items {
		grid-template-columns: 47.5% 47.5%;
		column-gap: 20px;
		row-gap: 20px
	}
	.page-text-numarator .grid_items>div { padding: 20px; grid-column-start: 1 }
}
@media only screen and (min-width: 1000px) {
	.page-text-numarator .grid_items { grid-template-columns: 32% 32% 32%; row-gap: 20px }
	.page-text-numarator .grid_items>div { padding: 10px; grid-column-start: 2 }
}
html[data-theme='light'] header { box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px }
html[data-theme='light'] .grid_item { box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px; border-color: #ffffff }
html[data-theme='light'] .grid_item:hover { border-color: #0056b3; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) }
html:not([data-theme='light']) .grid_item {
	box-shadow: none;
	border: 1px solid transparent;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.55)) padding-box, linear-gradient(135deg, #5c5c66 0%, #1c1c22 45%, #4a4a55 100%) border-box;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px)
}
html:not([data-theme='light']) .grid_item:hover { box-shadow: none; border-color: var(--primary-color) }
html:not([data-theme='light']) #search-bar {
	border: 1px solid transparent !important;
	background: linear-gradient(#000, #000) padding-box, linear-gradient(135deg, #5c5c66 0%, #1c1c22 45%, #4a4a55 100%) border-box !important
}
html:not([data-theme='light']) #search-bar:hover { border-color: var(--border-highlight) !important }
html:not([data-theme='light']) #search-bar:focus { border-color: var(--primary-color) !important }
.modulo-hl { background: #ff0 }
html:not([data-theme='light']) .modulo-hl { background: rgba(58, 125, 168, 0.35); color: #fff; border-radius: 3px; padding: 0 3px }
html[data-theme='black'] header,
html[data-theme='black'] table,
html[data-theme='black'] th,
html[data-theme='black'] td,
html[data-theme='black'] tbody tr:nth-child(odd),
html[data-theme='black'] thead th { background: #000; background-color: #000 }
html[data-theme='black'] tbody tr:hover { background: rgba(0, 184, 255, 0.08) }
html:not([data-theme='light']) h1,
html:not([data-theme='light']) h2 {
	background: linear-gradient(180deg, #ffffff 0%, #606060 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: none
}
html:not([data-theme='light']) h1 *:not(.gradient-text),
html:not([data-theme='light']) h2 *:not(.gradient-text) {
	background: linear-gradient(180deg, #ffffff 0%, #606060 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text
}
html:not([data-theme='light']) .gradient-text {
	background: linear-gradient(45deg, var(--heading-color), var(--primary-color)) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important
}
html:not([data-theme='light']) table { background: rgba(0, 0, 0, 0.3) }
html:not([data-theme='light']) thead th { background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)) }
html:not([data-theme='light']) thead { box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55) }
html:not([data-theme='light']) tbody tr:nth-child(odd) { background: rgba(0, 0, 0, 0.2) }
html:not([data-theme='light']) tbody tr:nth-child(even) { background: rgba(0, 0, 0, 0.1) }
html:not([data-theme='light']) tbody tr:hover > td,
html:not([data-theme='light']) tbody tr:hover > th { background: rgba(0, 184, 255, 0.08) }
html[data-theme='black'] nav ul ul {
	background: radial-gradient(circle at 50% 50%, rgba(10, 10, 10, 0.98) 0%, rgba(0, 0, 0, 0.98) 50%, rgba(0, 0, 0, 1) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px)
}
html:not([data-theme='light']) nav ul ul {
	background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0d0d0f 50%, #000 100%);
	border: 1px solid var(--primary-color)
}
html[data-theme='black'] nav ul ul li a:hover { background-color: rgba(0, 184, 255, 0.12) }
html[data-theme='black'] .search-result { background: #000; border: 1px solid rgba(80, 80, 120, 0.18); box-shadow: var(--shadow-1) }
html[data-theme='black'] .search-result:hover { border-color: var(--primary-color); box-shadow: var(--shadow-2) }
.grid_item:hover { border-color: var(--primary-color) }
#search-bar:hover { border-color: var(--primary-color) !important }
@media (max-width:768px) {
	nav ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch
	}
	nav a { white-space: nowrap }
}
html.no-transition,
html.no-transition * { transition: none !important; animation: none !important }
p:hover, h1, h2, h3, h4, h5, h6, div { cursor: default }
select { cursor: pointer }
#notification {
    display: none; position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%); background-color: #333; color: #fff;
    padding: 10px; border-radius: 5px; opacity: 0; transition: opacity 1s;
}
@media (max-width: 1110px) { .col-details { display: none; } }
.table-like-form { display: table; width: 100%; border-collapse: collapse; }
.table-row { display: table-row; }
.table-row > * { display: table-cell; padding: 5px; vertical-align: middle; }
.table-row > label { width: 40%; }
.table-row > input, .table-row > select, .table-row > textarea { width: 60%; box-sizing: border-box; }
.table-row > button { width: auto; text-align: center; }
.son { cursor: pointer; text-decoration: underline; color: var(--primary-color, #4a9eff); transition: opacity 0.2s ease; }
.son:hover { opacity: 0.7; }
.tolerance-stack { display: inline-flex; flex-direction: column; justify-content: space-between; line-height: 0.7; vertical-align: middle; height: 1em; }
.tolerance { font-size: 0.6em; }
.tolerance.upper { margin-bottom: -0.2em; }
.tolerance.lower { margin-top: -0.2em; }
@media only screen and (min-width: 500px) {
  .grid-2col-3col .grid_items { grid-template-columns: 47.5% 47.5%; column-gap: 20px; row-gap: 20px; }
  .grid-2col-3col .grid_items > div { padding: 20px; grid-column-start: 1; }
}
@media only screen and (min-width: 1000px) {
  .grid-2col-3col .grid_items { grid-template-columns: 32% 32% 32%; row-gap: 20px; }
  .grid-2col-3col .grid_items > div { padding: 10px; grid-column-start: 2; }
}
@media only screen and (max-width: 499px) {
  /* Label keeps the majority of the row so it can wrap instead of being cut off */
  .form-group-inline,
  .fgi-mobile,
  .fgi-mobile-wrap,
  .fgi-mobile-trim { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 8px; }
  /* fgi-mobile-42 … -68 mean "input takes this share of the row" (capped at 50% for the label) */
  .fgi-mobile-42 { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
  .fgi-mobile-48 { grid-template-columns: minmax(0, 1fr) minmax(0, 48%); }
  .fgi-mobile-50,
  .fgi-mobile-52,
  .fgi-mobile-55,
  .fgi-mobile-62,
  .fgi-mobile-68 { grid-template-columns: minmax(0, 1fr) minmax(0, 50%); }
  /* Rows whose second cell is a button keep the button at its own width */
  .form-group-inline:not(:has(.input-wrapper, select, textarea)) { grid-template-columns: minmax(0, 1fr) auto; }
  /* Fixed-width inputs fill their column and never grow past their pixel width */
  .fgi-mobile-110 .input-wrapper { max-width: 110px }
  .fgi-mobile-120 .input-wrapper { max-width: 120px }
  .fgi-mobile-145 .input-wrapper { max-width: 145px }
  .fgi-mobile-150 .input-wrapper { max-width: 150px }
  .fgi-mobile-170 .input-wrapper { max-width: 170px }
  .fgi-mobile-180 .input-wrapper { max-width: 180px }
  .fgi-mobile-200 .input-wrapper { max-width: 200px }
  .fgi-mobile-110 .input-wrapper input[type="number"], .fgi-mobile-110 .input-wrapper input[type="text"], .fgi-mobile-110 .input-wrapper select { width: 100%; max-width: 110px; }
  .fgi-mobile-120 .input-wrapper input[type="number"], .fgi-mobile-120 .input-wrapper input[type="text"], .fgi-mobile-120 .input-wrapper select { width: 100%; max-width: 120px; }
  .fgi-mobile-145 .input-wrapper input[type="number"], .fgi-mobile-145 .input-wrapper input[type="text"], .fgi-mobile-145 .input-wrapper select { width: 100%; max-width: 145px; }
  .fgi-mobile-150 .input-wrapper input[type="number"], .fgi-mobile-150 .input-wrapper input[type="text"], .fgi-mobile-150 .input-wrapper select { width: 100%; max-width: 150px; }
  .fgi-mobile-170 .input-wrapper input[type="number"], .fgi-mobile-170 .input-wrapper input[type="text"], .fgi-mobile-170 .input-wrapper select { width: 100%; max-width: 170px; }
  .fgi-mobile-180 .input-wrapper input[type="number"], .fgi-mobile-180 .input-wrapper input[type="text"], .fgi-mobile-180 .input-wrapper select { width: 100%; max-width: 180px; }
  .fgi-mobile-200 .input-wrapper input[type="number"], .fgi-mobile-200 .input-wrapper input[type="text"], .fgi-mobile-200 .input-wrapper select { width: 100%; max-width: 200px; }
  .fgi-mobile-fill .input-wrapper input[type="number"], .fgi-mobile-fill .input-wrapper input[type="text"], .fgi-mobile-fill .input-wrapper select { max-width: 100%; }
  .fgi-mobile > label:first-child,
  .fgi-mobile-wrap > label:first-child { min-width: 0; font-size: 0.85em; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; }
  .fgi-mobile-trim > label:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .form-group-inline > label:first-child { min-width: 0; overflow-wrap: break-word; }
	.fgi-mobile-42 .input-wrapper { max-width: 42vw; }
	.fgi-mobile-48 .input-wrapper { max-width: 48vw; }
	.fgi-mobile-52 .input-wrapper { max-width: 52vw; }
  .fgi-mobile-55 .input-wrapper { max-width: 55vw; }
	.fgi-mobile-62 .input-wrapper { max-width: 62vw; }
	.fgi-mobile-68 .input-wrapper { max-width: 68vw; }
	.fgi-mobile-110 .input-wrapper input[type="number"], .fgi-mobile-110 .input-wrapper input[type="text"], .fgi-mobile-110 .input-wrapper select { width: 110px; max-width: 110px; }
  .fgi-mobile-120 .input-wrapper input[type="number"], .fgi-mobile-120 .input-wrapper input[type="text"], .fgi-mobile-120 .input-wrapper select { width: 120px; max-width: 120px; }
	.fgi-mobile-145 .input-wrapper input[type="number"], .fgi-mobile-145 .input-wrapper input[type="text"], .fgi-mobile-145 .input-wrapper select { width: 145px; max-width: 145px; }
	.fgi-mobile-150 .input-wrapper input[type="number"], .fgi-mobile-150 .input-wrapper input[type="text"], .fgi-mobile-150 .input-wrapper select { width: 150px; max-width: 150px; }
	.fgi-mobile-170 .input-wrapper input[type="number"], .fgi-mobile-170 .input-wrapper input[type="text"], .fgi-mobile-170 .input-wrapper select { width: 170px; max-width: 170px; }
	.fgi-mobile-180 .input-wrapper input[type="number"], .fgi-mobile-180 .input-wrapper input[type="text"], .fgi-mobile-180 .input-wrapper select { width: 180px; max-width: 180px; }
  .fgi-mobile-fill .input-wrapper input[type="number"], .fgi-mobile-fill .input-wrapper input[type="text"], .fgi-mobile-fill .input-wrapper select { max-width: 100%; }
}
#calculate-button { margin-top: 10px; }
.page-hydraulic-force-calculator #detay,
.page-pneumatic-force-calculator #detay { min-height: 320px; resize: vertical; overflow-y: auto; }
.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  padding: 8px 20px;
  margin: 0;
  transition: all var(--transition-smooth);
  box-shadow: none;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5)
}
.u-btn:hover {
  background-position: initial;
  box-shadow: 0 0 0 3px rgba(58, 125, 168, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  filter: brightness(1.08);
}
.u-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.u-btn--xs { padding: 2px 6px; border-radius: 8px; font-weight: 400; }
.u-btn--danger { background-color: #dc3545; border-color: #dc3545; background-image: none; }
.u-btn--soft:is(.active, .is-active) {
  background-color: #4CAF50;
  background-image: none;
  color: #fff;
  border-color: #45a049;
}
.u-btn--danger-text {
  background: none;
  border: none;
  border-radius: 0;
  color: red;
  padding: 0 5px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.u-btn--danger-text:hover { background-color: #f0f0f0; opacity: 1; }
.u-form-row {
  display: flex;
  align-items: center;
  gap: var(--u-form-row-gap, 10px);
  margin-bottom: var(--u-form-row-margin, 10px);
}
.u-form-row > label:first-child {
  width: var(--u-form-row-label-width, auto);
  min-width: var(--u-form-row-label-min-width, 0);
  margin-bottom: 0;
}
.u-form-row > :last-child {
  flex: 1;
  width: var(--u-form-row-control-width, auto);
}
.u-form-row--split {
  justify-content: space-between;
  --u-form-row-label-width: 40%;
  --u-form-row-control-width: 60%;
}
.u-form-row--label-120 { --u-form-row-label-min-width: 120px; --u-form-row-margin: 8px; }
.u-form-row--label-140 { --u-form-row-gap: 12px; --u-form-row-margin: 12px; --u-form-row-label-min-width: 140px; }
@media only screen and (max-width: 499px) {
  .page-fastener-ordering-tool input,
  .page-hydraulic-installation-calculator input { padding: 20px; }
}
/* Narrow unit-wide fields on mobile: shrink the reserved unit space so the value stays visible. */
.page-hydraulic-installation-calculator #hizIleri { --k5-unit-pad: 56px; }
.page-hydraulic-tank-capacity-calculator #oilDensity { --k5-unit-pad: 56px; }
.u-form-row,
.page-conic-bending-dimensions .input-group,
.page-iso-fits-and-tolerances .diameter-row,
.page-key-dimensions-din-6885 .filter-container,
.page-line-filter .control-row,
.page-smd-calculator .calc-row,
.page-spur-gear-dimensions .input-group,
.page-website-analysis .form-actions { display: flex; align-items: center; }
.page-conic-bending-dimensions .input-group,
.page-spur-gear-dimensions .input-group { justify-content: space-between; }
.page-line-filter .control-row,
.page-website-analysis .form-actions { flex-wrap: wrap; }
.page-hydraulic-installation-calculator .results table,
.page-key-dimensions-din-6885 table,
.page-metric-thread-pitch .table-container table,
.page-tolerances-iso-286 #TeknikTablo,
.page-tolerances-iso-286 .result-table { width: 100%; border-collapse: collapse; }
@media only screen and (max-width: 768px) {
	/* Let the reference tables use their natural width and scroll inside .table-container */
	.page-metric-thread-pitch .table-container table,
	.page-key-dimensions-din-6885 table { width: max-content; min-width: 100%; max-width: none }
}
.site-footer {
    position: relative;
    z-index: 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    /* backup: background: linear-gradient(180deg, var(--surface-color) 0%, color-mix(in srgb, var(--primary-color) 22%, var(--surface-color)) 100%); */
    background: radial-gradient(circle at 50% 50%, rgba(26, 26, 26, 0.98) 0%, rgba(13, 13, 15, 0.98) 50%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: rgba(0, 0, 0, 0.3) 0 -19px 38px, rgba(0, 0, 0, 0.22) 0 -15px 12px;
}
html[data-theme='light'] .site-footer {
    /* backup: background: linear-gradient(180deg, #ffffff 0%, #eaf2f9 100%); */
    background: linear-gradient(135deg, rgba(240, 240, 242, 0.97) 0%, rgba(255, 255, 255, 0.96) 45%, rgba(232, 233, 237, 0.97) 100%);
}
body[class] #wrapper {
    padding-bottom: 100px;
}

.recommendation {
    font-size: .9rem;
    color: var(--heading-color);
    font-weight: 600;
    text-indent: 0;
    margin: 10px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 4% 8px;
}
.footer-section {
    flex: 1 1 180px;
    min-width: 150px;
}
.footer-section h3,
.footer-section h4 {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--heading-color);
    opacity: 1;
    margin-bottom: 4px;
    border-left: 3px solid var(--primary-color);
    padding-left: 8px;
}
.footer-section p {
    font-size: 0.85rem;
    color: var(--text-secondary-color);
    text-indent: 0;
    margin: 0;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    padding: 2px 0;
}
.footer-section ul li::before {
    display: none;
}
.footer-section ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary-color);
    transition: color var(--transition-fast);
}
.footer-section ul li a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding: 6px 4%;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-secondary-color);
}
.footer-bottom p {
    text-indent: 0;
    margin: 0;
    text-align: center;
}
.footer-bottom p+p {
    margin-top: 4px;
}
.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 12px 4% 8px;
    }
    .footer-section {
        min-width: 100%;
    }
}
@media only screen and (max-width: 499px) {
#search-section {
                width: 100%;
                padding-left: 12px;
                padding-right: 12px;
                box-sizing: border-box;
            }
#search-bar,
#search-results,
#search-input-wrapper {
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }
}
.page-breaktime #id { width: 200px }
.page-breaktime .status-line {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin: 8px 0;
        }
.page-chain-length-calculator textarea#output,
.page-chain-length-calculator textarea#sprocketOutput { overflow: hidden; resize: none; }
.page-chain-length-calculator .cart-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            list-style: none;
        }
.page-chain-length-calculator ul#material-items { padding-left: 0; }
.page-chain-length-calculator #connectingLinkPreview {
            width: 75% !important;
            height: auto !important;
            max-width: 75% !important;
            max-height: none !important;
            object-fit: contain;
            display: none;
            margin: 0 auto !important;
            padding: 0 !important;
            vertical-align: top;
        }
.page-chain-length-calculator #sprocket-link-card { align-self: flex-start; }
body.page-check-ce-mark,
body.page-check-ce-mark,
body.page-check-ce-mark * { font-family: Quicksand, sans-serif; }
.page-check-ce-mark button,
.page-check-ce-mark a.control-button {
            cursor: pointer;
            font-size: 24px;
            margin: 5px;
        }
body.page-check-ce-mark,
body.page-check-ce-mark {
            width: 100%;
            height: 100%;
            overflow: hidden;
            margin: 0;
            padding: 0;
        }
.page-check-ce-mark button,
.page-check-ce-mark a.control-button,
.page-check-ce-mark input[type="button"],
.page-check-ce-mark input[type="reset"],
.page-check-ce-mark input[type="submit"] {
            border: 0px;
            border-radius: 6px;
            color: #fff;
            text-decoration: none;
            cursor: default;
            text-align: center;
            text-shadow: 1px 1px 1px #000;
            padding: 8px 20px;
            background-image: linear-gradient(to right, #2980b9 0%, #2c3e50 51%, #2980b9 100%);
            margin: 1px;
            text-align: center;
            transition: 0.5s;
            background-size: 200% auto;
            color: white;
            box-shadow: none;
            font-size: 16px;
            font-weight: 400;
            font-family: Quicksand, sans-serif;
        }
.page-check-ce-mark button:hover,
.page-check-ce-mark a.control-button:hover,
.page-check-ce-mark input[type="button"]:hover,
.page-check-ce-mark input[type="reset"]:hover,
.page-check-ce-mark input[type="submit"]:hover {
            cursor: pointer;
            background-position: right center;
            color: #fff;
            text-decoration: none;
        }
.page-check-ce-mark #cameraFeed {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            z-index: -1;
        }

.page-check-ce-mark #overlay {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            opacity: 0.5;
        }
.page-check-ce-mark .container {
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

@media screen and (orientation: landscape) {
.page-check-ce-mark .container { flex-direction: row; }
.page-check-ce-mark .div1 {
                flex: 1;
                display: flex;
                justify-content: center;
				flex-direction: column;
                align-items: center;
                position: relative;
            }
.page-check-ce-mark .div2 {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
            }
}

.page-conic-bending-dimensions #inputForm { width: 100%; }
.page-conic-bending-dimensions .form-group-inline .input-wrapper { width: 100%; max-width: none; }
.page-conic-bending-dimensions .form-group-inline .input-wrapper input[type="number"],
.page-conic-bending-dimensions .form-group-inline .input-wrapper input[type="text"],
.page-conic-bending-dimensions .form-group-inline .input-wrapper select { width: 100%; max-width: none; }
.page-contact .form-message { margin: 1rem 0; font-weight: 600; }
.page-contact .form-message.success { color: #0b7a29; }
.page-contact .form-message.error { color: #b00020; }
.page-crypto-bot-profit-calculator input,
.page-crypto-bot-profit-calculator select { font-size: 20px; }
.page-crypto-bot-profit-calculator input { text-align: left; }
.page-crypto-bot-profit-calculator .k-formula { white-space: nowrap; }
.page-crypto-bot-profit-calculator .k-formula sup {
            font-size: 0.75em;
            line-height: 0;
            vertical-align: super;
        }
.page-cutting-offset-calculator .clickable { cursor: pointer; text-decoration: underline; }
.page-cutting-offset-calculator .clickable:hover { color: darkblue; }
.page-cutting-offset-calculator .hole-good { color: green !important; font-weight: bold; }
.page-cutting-offset-calculator .hole-bad {
            color: red !important;
            text-decoration: line-through;
            opacity: 0.7;
        }
.page-cutting-offset-calculator .hole-neutral {
            color: gray !important;
            text-decoration: line-through;
            opacity: 0.6;
        }
.page-drawing-layout-planner { --field-max-width: 350px; }
.page-drawing-layout-planner label,
.page-drawing-layout-planner input,
.page-drawing-layout-planner button,
.page-drawing-layout-planner select { display: block; margin-bottom: 5px; }
.page-drawing-layout-planner input,
.page-drawing-layout-planner select { width: 100%; max-width: var(--field-max-width); }
.page-drawing-layout-planner input[type="checkbox"] { width: auto; max-width: none; display: inline-block; margin: 0; }
.page-drawing-layout-planner .checkbox-row { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.page-drawing-layout-planner .checkbox-row label { display: inline; margin: 0; }
.page-drawing-layout-planner .inline-field { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.page-drawing-layout-planner .inline-field label { display: inline-block; margin: 0; min-width: 160px; }
.page-drawing-layout-planner .inline-field input,
.page-drawing-layout-planner .inline-field select { width: 120px; max-width: none; margin: 0; }
.page-drawing-layout-planner .changed-value { color: #c00; }
/* Title block and frame offset fields: label and field on one row, mm unit inside the field on the right */
.page-drawing-layout-planner .inline-field .input-wrapper { width: 120px; flex: 0 0 120px; max-width: 120px }
.page-drawing-layout-planner .inline-field .input-wrapper input { width: 100%; max-width: none }
.page-drawing-layout-planner .image-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding-bottom: 70.7%;
            height: 0;
            position: relative;
            background-color: #fff;
        }
.page-drawing-layout-planner .image-container.portrait { padding-bottom: 141.4%; }
.page-drawing-layout-planner .grid_item { min-height: 0; }
.page-drawing-layout-planner #drawingPanel {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            overflow: hidden;
        }
.page-drawing-layout-planner #drawingPanel b {
            position: relative;
            top: unset;
            left: unset;
            margin-top: 10px;
            margin-bottom: 5px;
            z-index: 10;
            text-align: left;
            width: 100%;
            padding-left: 10px;
        }
.page-drawing-layout-planner #drawingPanel p {
            margin-bottom: 10px;
            text-align: left;
            font-weight: normal;
            width: 100%;
            padding-left: 10px;
        }
.page-drawing-layout-planner canvas {
            border: none;
            background-color: #fff;
            width: auto;
            height: auto;
            transform-origin: center center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(1);
        }

body.page-engineering-dictionary,
body.page-engineering-dictionary { height: 100%; }
.page-engineering-dictionary table,
.page-engineering-dictionary td,
.page-engineering-dictionary th { border: 0px; text-align: left; width: auto; }
.page-engineering-dictionary td { padding: 3px; }
.page-engineering-dictionary input[type="text"] { box-shadow: none; color: #68da82; caret-color: #68da82; text-shadow: 0 0 5px #68da82; margin: 0px; width: 100px; }
.page-engineering-dictionary .ekran { border: 0; border-radius: 12px; width: 95%; min-height: 150px; height: auto; border: #f2f2f2 solid 1px; -webkit-box-shadow: 0 20px 30px -10px #000; box-shadow: 0 20px 30px -10px #000; background-color: #fff; background-color: rgba(255, 255, 255, 0.9); padding: 5px; margin: auto; background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%); }
.page-engineering-dictionary .ekran:hover { caret-color: black; }
.page-engineering-dictionary textarea:focus,
.page-engineering-dictionary input:focus { outline: none; }
.page-engineering-dictionary #dictionary { max-height: 100px; overflow: auto; }
.page-engineering-dictionary .glow-text { text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); transition: text-shadow 0.3s ease; background: #000; color: #fff; }
.page-engineering-dictionary .highlight { color: #fff; text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); }
.page-engineering-dictionary #konsol:focus { outline: none; }
.page-fastener-ordering-tool #fastener-image {
            max-width: 150px;
            max-height: 150px;
            margin-top: 10px;
            display: none;
        }
.page-fastener-ordering-tool .cart-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            list-style: none;
        }
/* The cart card fills the row height; the table takes the free space and scrolls inside it */
.page-fastener-ordering-tool .grid_item:has(#Cart) { display: flex; flex-direction: column; }
.page-fastener-ordering-tool #Cart { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.page-fastener-ordering-tool .cart-table-wrap { flex: 1 1 0; height: 0; min-height: 120px; overflow: auto; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
.page-fastener-ordering-tool .cart-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface-color); }
.page-fastener-ordering-tool .cart-actions { display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.page-fastener-ordering-tool .cart-table { width: 100%; border-collapse: collapse; }
.page-fastener-ordering-tool .cart-table th,
.page-fastener-ordering-tool .cart-table td { padding: 8px 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border-color); }
.page-fastener-ordering-tool .cart-table th { font-weight: 600; white-space: nowrap; }
.page-fastener-ordering-tool .cart-table .cart-qty { width: 1%; white-space: nowrap; text-align: right; }
.page-fastener-ordering-tool .cart-table .cart-notes { width: 1%; text-align: center; }
.page-fastener-ordering-tool .cart-table .cart-notes > * { display: block; margin: 0 auto; }
.page-fastener-ordering-tool .cart-table .cart-notes > .cart-note-badge { display: inline-flex; margin: 0 auto; }
.page-fastener-ordering-tool .cart-remove-x { display: block; margin: 2px auto 0; color: #dc3545; font-size: 14px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; }
.page-fastener-ordering-tool .cart-table tbody td.cart-notes:hover .cart-remove-x,
.page-fastener-ordering-tool .cart-remove-x:focus-visible { opacity: 1; }
@media (hover: none) {
  .page-fastener-ordering-tool .cart-remove-x { opacity: 1; }
}
.page-fastener-ordering-tool .cart-note-badge { display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0; background: none; border: none; color: inherit; font-family: inherit; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1; cursor: pointer; }
.page-fastener-ordering-tool #fastener-image { margin: 0 auto; }
.page-fastener-ordering-tool #add-to-Cart { display: block; margin-left: auto; }
.page-fastener-ordering-tool .confirm-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.6); }
.page-fastener-ordering-tool .confirm-modal[hidden] { display: none; }
.page-fastener-ordering-tool .confirm-box { width: 100%; max-width: 360px; padding: 20px 24px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--surface-color); color: inherit; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.page-fastener-ordering-tool .confirm-box p { margin: 0 0 16px; font-size: 16px; }
.page-fastener-ordering-tool .confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
.page-fastener-ordering-tool .cart-note-popup { position: fixed; z-index: 1000; max-width: 280px; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 6px; background: var(--surface-color); color: inherit; font-size: 14px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
:root {
            --winget-accent: #0f86c7;
            --winget-accent-strong: #09679a;
            --winget-soft: #e7f4ff;
            --winget-border: #cfe5f5;
        }
.page-free-software .intro-note { margin-bottom: 14px; line-height: 1.55; }
.page-free-software .software-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }
.page-free-software .download-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            border-radius: 4px;
            background: #eef8ff;
            color: var(--winget-accent-strong);
            font-size: 12px;
            flex: 0 0 auto;
        }
@media (max-width: 768px) {
}
.std-link { cursor: pointer; text-decoration: underline; color: var(--primary-color, #4a9eff) !important; }
.std-link:hover { opacity: 0.7; }
.page-hydraulic-installation-calculator .table-row > * { padding: 1px; }
.page-hydraulic-installation-calculator #boruTablosu table { font-size: 12px; }
.page-hydraulic-installation-calculator #boruTablosu th,
.page-hydraulic-installation-calculator #boruTablosu td { padding: 4px; line-height: 1.2; }
.page-hydraulic-installation-calculator #boruTablosu p { font-size: 12px; margin: 5px 0; }
.page-hydraulic-installation-calculator #hortumTablosu table { font-size: 12px; }
.page-hydraulic-installation-calculator #hortumTablosu th,
.page-hydraulic-installation-calculator #hortumTablosu td { padding: 4px; line-height: 1.2; }
.page-hydraulic-installation-calculator #hortumTablosu p { font-size: 12px; margin: 5px 0; }
.page-hydraulic-installation-calculator #hortumTablosu h3 { font-size: 14px; margin: 5px 0; }
.page-hydraulic-installation-calculator .u-results { background: transparent !important; }
.page-k-isim-sehir #liste {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
            line-height: 1.8;
        }
.page-k-isim-sehir #liste .harf {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 22px;
            padding: 2px 8px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
            color: var(--heading-color);
            user-select: none;
        }
.page-k-isim-sehir #liste .gosterilen { border-color: var(--primary-color); box-shadow: var(--ring); }
.page-k-isim-sehir #liste .kullanilan { opacity: 0.35; }
.page-iso-fits-and-tolerances .input-section label { display: block; margin-bottom: 5px; }
@media only screen and (min-width: 500px) {
    .page-iso-fits-and-tolerances .form-group-inline { grid-template-columns: auto minmax(0, 1fr); }
}
@media only screen and (max-width: 499px) {
    .page-iso-fits-and-tolerances .select-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
.page-iso-fits-and-tolerances #result > div {
            margin-bottom: 15px;
            font-size: 1.1em;
        }
.page-iso-fits-and-tolerances .fit-description {
            margin-top: 15px;
            font-size: 0.9em;
            line-height: 1.4;
            word-wrap: break-word;
        }
.page-iso-fits-and-tolerances table { width: 100%;}
.page-iso-fits-and-tolerances #calcDetails {
            width: 100%;
            min-height: 160px;
            box-sizing: border-box;
        }
.page-its pre { text-align: left }
.page-k-kdv-hesapla #kdv_oran { text-align: right; text-align-last: right; }
.page-k-kdv-hesapla #kdv_oran option { text-align: right; }
@media only screen and (max-width: 499px) {
.page-key-dimensions-custom .grid_item:first-child #custom_keyway_row select { width: 225px; max-width: 225px; }
}
.page-key-dimensions-din-6885 label,
.page-key-dimensions-din-6885 input,
.page-key-dimensions-din-6885 button,
.page-key-dimensions-din-6885 select { display: block; margin-bottom: 5px; }
.page-key-dimensions-din-6885 input,
.page-key-dimensions-din-6885 select { width: 100%; max-width: 350px; }
.page-key-dimensions-din-6885 #kamaListesiWrapper { max-width: 100%; width: 100%; }
.page-key-dimensions-din-6885 #kamaListesi { max-width: 100%; width: 100%; overflow: hidden; text-overflow: clip; white-space: normal; }
.page-key-dimensions-din-6885 table { table-layout: fixed; }
.page-key-dimensions-din-6885 td { border: 1px solid #ddd; padding: 8px; text-align: left; word-break: break-word; }
.page-key-dimensions-din-6885 #dimensionsTable td:first-child { width: 45%; white-space: nowrap; }
.page-key-dimensions-din-6885 #dimensionsTable td:last-child { width: 55%; }
.page-key-dimensions-din-6885 .fit-container { display: flex; flex-direction: column; gap: 5px; }
.page-key-dimensions-din-6885 .filter-container { margin-bottom: 10px; }
.page-key-dimensions-din-6885 .filter-container span { margin-right: 5px; }
.page-key-dimensions-din-6885 .filter-container select { display: inline-block; width: auto; max-width: 150px; margin: 0; }
.page-key-dimensions-din-6885 .image-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
        }
.page-key-dimensions-din-6885 .key-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: opacity 0.3s ease-in-out;
            opacity: 1;
        }
.page-key-dimensions-din-6885 .key-image.hidden { opacity: 0; }
.page-key-dimensions-din-6885 .grid_item { min-height: 0; }
.page-key-dimensions-custom .grid_item > img { align-self: center }
.page-line-filter .controls-container {
            border: 1px solid rgba(128, 128, 128, 0.35);
            border-radius: 10px;
            padding: 14px;
            display: grid;
            gap: 12px;
            overflow: hidden
        }
.page-line-filter .control-row { gap: 8px; }
.page-line-filter .control-row.actions-top { flex-wrap: wrap; }
.page-line-filter .control-row.actions-top input[type="button"] { flex: 0 0 auto; }
.page-line-filter .control-row.range { flex-wrap: wrap }
.page-line-filter .control-row.range input[type="text"] { width: 80px; min-width: 0 }
.page-line-filter .control-row label { margin-right: 2px; }
.page-metric-bolt-torque-chart .grid_item:first-child table td:first-child,
.page-metric-bolt-torque-chart .grid_item:first-child table th:first-child { white-space: nowrap; }
.page-metric-thread-pitch .standard-popup {
            position: fixed;
            display: none;
            background-color: #fff;
            border: 1px solid #ccc;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            padding: 10px;
            border-radius: 5px;
            z-index: 1000;
            pointer-events: none;
            color: #333;
        }
body.page-metric-thread-pitch[data-theme="dark"] .standard-popup {
            background-color: #333;
            border: 1px solid #555;
            color: #eee;
        }
.page-metric-thread-pitch .popup-content {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
.page-metric-thread-pitch .popup-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
.page-metric-thread-pitch .popup-item img {
            width: 36px;
            height: 36px;
            object-fit: contain;
            border: 1px solid #eee;
        }
body.page-metric-thread-pitch[data-theme="dark"] .popup-item img { border: 1px solid #444; }
.page-metric-thread-pitch .popup-item span { font-size: 14px; }
.page-metric-thread-pitch td.has-standard { cursor: pointer; position: relative; background-color: rgba(255, 200, 0, 0.12); }
body.page-metric-thread-pitch[data-theme="dark"] td.has-standard { background-color: rgba(255, 200, 0, 0.08); }
.page-metric-thread-pitch td.has-standard span.interactive-text {
            border: none;
            border-bottom: 1px solid red;
            padding-bottom: 2px;
            text-decoration: none;
        }
.page-metric-thread-pitch .table-container table { border-spacing: 0; }
.page-metric-thread-pitch .table-container th,
.page-metric-thread-pitch .table-container td {
            border: none;
            border-bottom: 1px solid #eee;
            padding: 12px 15px;
            text-align: left;
        }
body.page-metric-thread-pitch[data-theme="dark"] .table-container th,
body.page-metric-thread-pitch[data-theme="dark"] .table-container td { border-bottom: 1px solid #444; }
.page-metric-thread-pitch .table-container tbody tr:last-child td { border-bottom: none; }
.page-metric-thread-pitch #standards-descriptions li { transition: opacity 0.25s ease-in-out; }
.page-metric-thread-pitch #standards-descriptions h4 { margin-top: 20px; }
.page-metric-thread-pitch #standards-descriptions.is-focus-mode li { opacity: 0.3; }
.page-metric-thread-pitch #standards-descriptions.is-focus-mode li.is-active { opacity: 1; }
.page-ms-excel .grid_items {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin:20px 0}
@media (min-width:1280px) {
	.page-ms-excel .grid_items { grid-template-columns: repeat(4, 1fr) }
}
.page-ms-excel .grid_item {min-height:200px;overflow:hidden}
.page-ms-excel .grid_item img {max-width:100%;height:auto}
.page-okey-puan-tablosu .test { text-decoration: underline }
.page-okey-puan-tablosu .test:hover { cursor: pointer; text-decoration: none; }
.page-okey-puan-tablosu .bitti { color: green; text-decoration: none; }
.page-okey-puan-tablosu input[type="text"] { width: 70px }
.page-okey-puan-tablosu .oy1,
.page-okey-puan-tablosu .oy2,
.page-okey-puan-tablosu .oy3,
.page-okey-puan-tablosu .oy4 { text-align: center }
.page-okey-puan-tablosu td { text-align: center }
.page-pneumatic-air-consumption #vcTable select { width: auto; min-width: max-content; white-space: nowrap; }
.page-pneumatic-air-consumption #vcTable th:last-child,
.page-pneumatic-air-consumption #vcTable td:last-child { text-align:center; width:1%; white-space:nowrap; padding-left:2px; padding-right:2px; }
.page-pneumatic-air-consumption #vcTable th,
.page-pneumatic-air-consumption #vcTable td { padding:4px 6px; line-height:1.2; }
.page-pneumatic-air-consumption #vcTable input[type=number] { padding:2px 4px; }
.page-pneumatic-air-consumption #vcTable select { padding:2px 4px; }
.page-pneumatic-air-consumption #vcTable th:nth-child(2) { white-space:nowrap; }
.page-pneumatic-air-consumption #vcTable th:nth-child(4),
.page-pneumatic-air-consumption #vcTable td:nth-child(4) { width:50px; }
.page-pneumatic-air-consumption #vcTable td:nth-child(4) input[type=number] { width:50px; }
.page-pneumatic-air-consumption #vcTable th:nth-child(5),
.page-pneumatic-air-consumption #vcTable td:nth-child(5) { width:76px; }
.page-pneumatic-air-consumption #vcTable th:nth-child(5),
.page-pneumatic-air-consumption #vcTable td:nth-child(5) { padding-right:2px; }
.page-pneumatic-air-consumption #vcTable th:last-child,
.page-pneumatic-air-consumption #vcTable td:last-child { padding-left:1px; }
.page-pneumatic-air-consumption .grid_item.calc-details { display: flex; flex-direction: column; }
.page-pneumatic-air-consumption .grid_item.calc-details textarea { flex: 1; min-height: 300px; }
@media only screen and (max-width: 499px) {
.page-pneumatic-air-consumption #vc-form .u-overflow-auto { overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.page-pneumatic-air-consumption #vcTable { width: 100%; min-width: 100%; }
.page-pneumatic-air-consumption #vcTable th,
.page-pneumatic-air-consumption #vcTable td {
                white-space: nowrap;
                padding: 3px 4px;
                font-size: 0.85em;
            }
.page-pneumatic-air-consumption #vcTable td:nth-child(5) { padding-right: 1px; }
.page-pneumatic-air-consumption #vcTable td:last-child { padding-left: 1px; }
.page-pneumatic-air-consumption #vcTable select,
.page-pneumatic-air-consumption #vcTable input[type=number] { min-width: 58px; }
.page-pneumatic-air-consumption #vcTable td:nth-child(3) input[type=number] { width: 64px; }
.page-pneumatic-air-consumption #vcTable td:nth-child(5) input[type=number] { width: 72px; }
}
.page-smd-calculator .calc-row { gap: 10px; margin-bottom: 12px; }
.page-smd-calculator .calc-row label { min-width: 140px; white-space: nowrap; }
.page-smd-calculator .calc-row input { flex: 1; }
.page-spur-gear-dimensions .input-group { margin-bottom: 12px; }
.page-spur-gear-dimensions .input-group label { margin-right: 10px; white-space: nowrap; }
.page-spur-gear-dimensions .input-group select,
.page-spur-gear-dimensions .input-group input {
            width: 120px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
.page-spur-gear-dimensions .input-wrapper select,
.page-spur-gear-dimensions .input-wrapper input[type="number"] { width: 100%; max-width: none; }
.page-spur-gear-dimensions .grid_items button {
            width: auto;
            padding: 8px 20px;
            font-size: 16px;
        }
.page-spur-gear-dimensions #teeth1-error,
.page-spur-gear-dimensions #teeth2-error {
            color: red;
            font-size: 0.9em;
            text-align: right;
            margin-top: -10px;
            margin-bottom: 10px;
        }
.page-text-adjuster [data-theme="light"] body {
            background-repeat: repeat;
            background-size: auto;
        }
.page-text-adjuster [data-theme="light"] .grid_item { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); }
.page-tolerances-iso-286 #tablo { overflow-x: auto; }
.page-tolerances-iso-286 #TeknikTablo { font: 12px Quicksand, Arial, sans-serif; }
.page-tolerances-iso-286 #TeknikTablo td,
.page-tolerances-iso-286 #TeknikTablo th { padding: 8px 10px; white-space: nowrap; }
.page-tolerances-iso-286 #TeknikTablo th { font-weight: bold; }
.page-tolerances-iso-286 #TeknikTablo .isaretle { background-color: #ffecb3; font-weight: bold; }
.page-tolerances-iso-286 #TeknikTablo tr.isaretle td,
.page-tolerances-iso-286 #TeknikTablo tr.isaretle th { color: #212121 !important; }
.page-tolerances-iso-286 #TeknikTablo tr.isaretle td.parlat { color: #005662 !important; }
.page-tolerances-iso-286 #TeknikTablo tr.isaretle td:first-child { color: revert !important; }
.page-tolerances-iso-286 #TeknikTablo .parlat {
            background-color: #b2ebf2;
            color: #005662;
            font-weight: 500;
            cursor: pointer;
        }
.page-tolerances-iso-286 #TeknikTablo .gizle { color: #aaa; }
.page-tolerances-iso-286 .gizle-sutun { display: none; }
html:not([data-theme='light']) .page-tolerances-iso-286 #TeknikTablo .isaretle { background-color: rgba(58, 125, 168, 0.22); font-weight: normal }
html:not([data-theme='light']) .page-tolerances-iso-286 #TeknikTablo tr.isaretle td,
html:not([data-theme='light']) .page-tolerances-iso-286 #TeknikTablo tr.isaretle th { color: #f0f0f0 !important }
html:not([data-theme='light']) .page-tolerances-iso-286 #TeknikTablo tr.isaretle td.parlat { color: #fff !important }
html:not([data-theme='light']) .page-tolerances-iso-286 #TeknikTablo .parlat { background-color: rgba(58, 125, 168, 0.45); color: #fff; font-weight: 600 }
.page-tolerances-iso-286 td[title]:hover { cursor: help; }
.page-tolerances-iso-286 .tolerance-display {
            display: inline-flex;
            align-items: center;
            gap: 0.25em;
            vertical-align: middle;
            font-size: 1.1em;
        }
.page-tolerances-iso-286 .tolerance-limits {
            display: inline-flex;
            flex-direction: column;
            font-size: 0.7em;
            line-height: 1.1;
        }
.page-tolerances-iso-286 #resultContainer { min-height: 50px; }
.page-tolerances-iso-286 .result-table { max-width: 400px; font-size: 1em; }
.page-tolerances-iso-286 .result-table th,
.page-tolerances-iso-286 .result-table td {
            padding: 10px;
            text-align: left;
            vertical-align: middle;
        }
.page-tolerances-iso-286 .result-table th { font-weight: bold; }
.page-tolerances-iso-286 .result-table th[title]:hover { cursor: help; }
.page-website-analysis .form-actions { gap: 10px; }
.page-website-analysis .form-actions input { margin: 0; }
#search-bar{box-shadow:var(--shadow-1)}
/* ================= PREMIUM ÜST MENÜ AÇILIR OKU =================
   YEDEK (eski hâl - yorum satırı olarak saklanıyor):
   nav a[aria-haspopup="true"]{padding-right:30px}
   nav a[aria-haspopup="true"]::after{content:"\25BE";position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:.9em;color:var(--primary-color);line-height:1;pointer-events:none}
================================================================ */
nav a[aria-haspopup="true"]{padding-right:14px}
nav a[aria-haspopup="true"]::after{
	content:'';
	display:inline-block;
	width:.62em;
	height:.62em;
	margin-left:.34em;
	vertical-align:-.12em;
	background-color:var(--primary-color);
	-webkit-mask:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
	transition:transform .3s cubic-bezier(.34,1.56,.64,1), filter .3s ease;
	filter:drop-shadow(0 0 3px color-mix(in srgb, var(--primary-color) 55%, transparent));
	pointer-events:none
}
nav ul li:hover>a[aria-haspopup="true"]::after,
nav ul li:focus-within>a[aria-haspopup="true"]::after,
nav ul li.kod5-open>a[aria-haspopup="true"]::after{
	transform:rotate(180deg);
	filter:drop-shadow(0 0 8px var(--primary-color))
}
@media (max-width: 900px){#container{position:static}header{position:relative;z-index:1000}header nav{position:relative}nav a{padding:12px 12px !important;font-size:.95rem}nav a[aria-haspopup="true"]{padding-right:10px !important}nav a[aria-haspopup="true"]::after{margin-left:.28em}nav ul{flex-wrap:wrap !important;overflow-x:visible !important}nav ul li{position:static}nav ul ul{left:10px;right:10px;width:auto;min-width:0;max-height:70vh;overflow:auto;box-sizing:border-box;z-index:9999}nav ul li.kod5-open>ul{display:block;opacity:1;transform:translateY(0) scale(1);animation:none}}
.page-wrench-size tr.sw-match { font-weight: bold; background-color: rgba(255, 193, 7, 0.35) !important; }
[data-theme="light"] .page-wrench-size tr.sw-match { background-color: rgba(180, 100, 0, 0.22) !important; }
.page-wrench-size hr.u-hr-border { margin: 1px 0; border: none; height: 1px; background: linear-gradient(to right, transparent, var(--text-color, #555), transparent); opacity: 0.4; }
.page-wrench-size .thread-table-wrap { max-height: 340px; overflow-y: auto; overflow-x: auto; }
.page-wrench-size .thread-table-wrap table { display: table !important; width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; }
.page-wrench-size .thread-table-wrap table td, .page-wrench-size .thread-table-wrap table th { padding: 1px 4px; }
.page-wrench-size .thread-table-wrap thead th { position: sticky; top: 0; z-index: 2; background-color: #1a1a1a !important; box-shadow: inset 0 -1px 0 var(--border-color, #333); }
[data-theme="light"] .page-wrench-size .thread-table-wrap thead th { background-color: #ffffff !important; }
.page-wrench-size .grid_item:nth-child(3) img { margin-bottom: 12px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}
nav a#feedbackButton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--text-color)
}
nav a#feedbackButton:hover {
    color: var(--primary-color);
    text-shadow: none
}
nav a#feedbackButton svg {
    transform: translateY(3px);
    stroke: currentColor;
}
#k5-feedback-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    width: 340px;
    max-width: calc(100vw - 40px);
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    background: var(--surface-color, #18181b);
    color: var(--text-color);
    border: 1px solid var(--border-color, #333);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    padding: 14px 16px;
    font-size: .95rem;
    display: none;
    transition: none
}
#k5-feedback-panel.k5-fb-open {
    display: block
}
#k5-feedback-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1999;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: none
}
#k5-feedback-overlay.k5-fb-open {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    visibility: visible
}
#k5-feedback-panel .k5-fb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}
#k5-feedback-panel .k5-fb-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-color);
    cursor: pointer;
    opacity: .7
}
#k5-feedback-panel .k5-fb-close:hover {
    opacity: 1
}
#k5-feedback-panel .k5-fb-how {
    margin: 0 0 6px
}
#k5-feedback-panel .k5-fb-opts {
    display: flex;
    gap: 8px;
    margin-bottom: 10px
}
/* Helpful / Not helpful: same look as the standard site buttons */
#k5-feedback-panel .k5-fb-opt {
    flex: 1;
    margin: 0;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(to right, var(--primary-color) 0%, var(--primary-dark) 51%, var(--primary-color) 100%);
    background-size: 200% auto;
    box-shadow: none;
    transition: all var(--transition-smooth)
}
html:not([data-theme='light']) #k5-feedback-panel .k5-fb-opt {
    border: 1px solid rgba(120, 170, 205, 0.35);
    background-image: linear-gradient(180deg, #4a8bb8 0%, #2c6080 55%, #234d68 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.55);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.02em
}
#k5-feedback-panel .k5-fb-opt:hover {
    background-position: right center;
    box-shadow: 0 0 0 3px rgba(58, 125, 168, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
    filter: brightness(1.08)
}
#k5-feedback-panel .k5-fb-opt.selected {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background-position: right center
}
#k5-feedback-panel .k5-fb-opt[data-v="yes"].selected {
    outline-color: #22c55e;
    background-image: linear-gradient(180deg, #22c55e 0%, #15803d 100%)
}
#k5-feedback-panel .k5-fb-opt[data-v="no"].selected {
    outline-color: #ef4444;
    background-image: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%)
}
#k5-feedback-panel textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #333);
    background: var(--surface-color, #18181b);
    color: var(--text-color)
}
#k5-feedback-panel .k5-fb-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0
}
#k5-feedback-panel .k5-fb-send {
    margin-top: 10px
}
#k5-feedback-panel .k5-fb-send:disabled {
    opacity: .6;
    cursor: wait
}
#k5-feedback-panel .k5-fb-err {
    color: #f87171;
    font-size: .85rem;
    margin-top: 6px;
    min-height: 1em
}
#k5-feedback-panel .k5-fb-ok {
    padding: 8px 0
}
#k5-feedback-panel .k5-fb-ok-msg {
    margin: 0 0 12px;
    color: var(--text-color)
}
#k5-feedback-panel .k5-fb-again {
    margin-top: 10px
}

/* ---------- Mobil duzeltmeler (k-sayfalari) ---------- */
@media (max-width: 640px) {
    /* Justified text stretches words unevenly on narrow screens */
    .page-about p,
    .page-contact p,
    .page-privacy-policy p { text-align: left }
    /* Bolt torque: the four tables must fit the card width */
    .page-metric-bolt-torque-chart .grid_item table { display: table; width: 100%; table-layout: fixed }
    .page-metric-bolt-torque-chart thead,
    .page-metric-bolt-torque-chart tbody,
    .page-metric-bolt-torque-chart tr { width: auto }
    .page-metric-bolt-torque-chart th,
    .page-metric-bolt-torque-chart td { padding: 6px 4px; font-size: 13px; white-space: normal }
    /* Shaft design: compact table must not push past the card */
    .page-simple-shaft-design .compact-table { display: table; width: 100%; max-width: 100% }
    /* Standard size hint lines up with the field labels */
    .page-simple-shaft-design .suggestion-text { margin-left: 0 }
    /* Keyway calculator: all inputs share one width */
    .page-key-dimensions-custom .input-wrapper { width: 100%; max-width: none }
    .page-key-dimensions-custom .input-wrapper input[type="number"],
    .page-key-dimensions-custom .input-wrapper select { width: 100%; max-width: none; box-sizing: border-box }
    /* Metric thread pitch: tables use the full card width */
    .page-metric-thread-pitch .table-container { width: 100% }
    .page-metric-thread-pitch .table-container table { width: 100%; min-width: 0 }
}
/* Unit converter: input focus indicator removed (border stays as in the unfocused state) */
.page-unit-converter input[type="text"]:focus,
.page-unit-converter select:focus { outline: none; box-shadow: none; border-color: var(--field-border) }
html:not([data-theme='light']) .page-unit-converter input[type="text"]:focus,
html:not([data-theme='light']) .page-unit-converter select:focus { border-color: transparent }
