:root {
	--sjc-orange: #c84e16;
	--sjc-orange-dark: #a63d0e;
	--sjc-dark: #252c32;
	--sjc-muted: #626a70;
	--sjc-border: #dde1e3;
	--sjc-light: #f4f5f5;
	--sjc-green: #238a57;
	--sjc-yellow: #b97706;
	--sjc-red: #b73c35;
}

.sjc-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sjc-eyebrow { display: block; margin-bottom: 7px; color: var(--sjc-orange); font-size: 12px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.sjc-button,
a.sjc-button,
button.sjc-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; color: #fff !important; -webkit-text-fill-color: #fff !important; background: var(--sjc-orange) !important; border: 1px solid var(--sjc-orange) !important; border-radius: 7px; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none !important; cursor: pointer; transition: .18s ease; }
.sjc-button:hover { color: #fff !important; background: var(--sjc-orange-dark) !important; border-color: var(--sjc-orange-dark) !important; transform: translateY(-1px); }
.sjc-button--secondary,
a.sjc-button--secondary,
button.sjc-button--secondary { color: var(--sjc-dark) !important; -webkit-text-fill-color: var(--sjc-dark) !important; background: #fff !important; border-color: #ccd2d5 !important; }
.sjc-button--secondary:hover { color: var(--sjc-orange) !important; -webkit-text-fill-color: var(--sjc-orange) !important; background: #fff8f4 !important; border-color: var(--sjc-orange) !important; }

/* Katalog */
.sjc-catalog { color: var(--sjc-dark); }
.sjc-catalog-hero { padding: 54px 0 48px; background: linear-gradient(135deg, #f5f6f6 0%, #fff 67%); border-bottom: 1px solid #eceeef; }
.sjc-catalog-hero h1 { max-width: 850px; margin: 0 0 14px; font-size: clamp(34px, 5vw, 55px); line-height: 1.08; letter-spacing: -.035em; }
.sjc-catalog-hero p { max-width: 780px; margin: 0; color: var(--sjc-muted); font-size: 18px; line-height: 1.65; }
.sjc-hero-stats { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 27px; }
.sjc-hero-stats span { display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 13px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 8px; color: var(--sjc-muted); font-size: 13px; }
.sjc-hero-stats strong { color: var(--sjc-dark); font-size: 18px; }

.sjc-filter-section { padding: 28px 0; background: var(--sjc-light); border-bottom: 1px solid #e7e9ea; }
.sjc-filter { padding: 22px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 14px; box-shadow: 0 10px 30px rgba(30, 38, 44, .06); }
.sjc-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.sjc-filter label { display: block; min-width: 0; }
.sjc-filter label > span { display: block; margin: 0 0 6px; color: #4e575e; font-size: 12px; font-weight: 800; }
.sjc-filter input,
.sjc-filter select { width: 100%; min-width: 0; height: 44px; padding: 9px 11px; color: var(--sjc-dark); background: #fff; border: 1px solid #cfd5d8; border-radius: 6px; font: inherit; font-size: 14px; }
.sjc-filter input:focus,
.sjc-filter select:focus { outline: 3px solid rgba(200,78,22,.12); border-color: var(--sjc-orange); }
.sjc-filter-actions { display: flex; align-items: center; gap: 16px; margin-top: 17px; }
.sjc-filter-actions button { min-height: 44px; padding: 10px 19px; color: #fff; background: var(--sjc-orange); border: 0; border-radius: 7px; font-weight: 800; cursor: pointer; }
.sjc-filter-actions a { color: var(--sjc-orange); font-size: 14px; font-weight: 750; }

.sjc-results-section { padding: 48px 0 62px; background: #fff; }
.sjc-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.sjc-results-head h2 { margin: 0; font-size: 29px; }
.sjc-selected-submit { min-height: 43px; padding: 10px 16px; color: #fff; background: var(--sjc-dark); border: 0; border-radius: 7px; font-weight: 800; cursor: pointer; }
.sjc-selected-submit span { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; margin-left: 7px; background: var(--sjc-orange); border-radius: 50%; }
.sjc-company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.sjc-company-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 21px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 14px; box-shadow: 0 9px 25px rgba(30,38,44,.055); }
.sjc-card-head { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.sjc-company-logo { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 6px; overflow: hidden; background: #fff; border: 1px solid var(--sjc-border); border-radius: 9px; }
.sjc-company-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sjc-company-logo span { font-size: 18px; font-weight: 900; }
.sjc-card-head h3 { margin: 0 0 3px; font-size: 20px; line-height: 1.25; }
.sjc-card-head h3 a { color: var(--sjc-dark); text-decoration: none !important; }
.sjc-location { margin: 0; color: var(--sjc-muted); font-size: 13px; }
.sjc-company-select { align-self: start; cursor: pointer; }
.sjc-company-select input { position: absolute; opacity: 0; pointer-events: none; }
.sjc-company-select span { display: block; width: 25px; height: 25px; border: 2px solid #c8ced1; border-radius: 6px; }
.sjc-company-select input:checked + span { background: var(--sjc-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.2 16.2-4.4-4.4 1.4-1.4 3 3 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--sjc-orange); }
.sjc-card-intro { margin: 16px 0 14px; color: var(--sjc-muted); font-size: 14px; line-height: 1.6; }
.sjc-tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.sjc-tech-tags a,
.sjc-tech-tags span { padding: 5px 8px; color: #505960; background: #f3f4f4; border-radius: 5px; font-size: 11px; font-weight: 750; text-decoration: none; }
.sjc-capacity-box { margin-top: auto; padding: 14px; background: #f7f8f8; border: 1px solid #e2e5e6; border-radius: 9px; }
.sjc-capacity-box > div:first-child { display: flex; align-items: center; gap: 8px; }
.sjc-status-dot { width: 10px; height: 10px; background: #aab0b4; border-radius: 50%; }
.sjc-capacity-box--free .sjc-status-dot,
.sjc-capacity-box--partial .sjc-status-dot { background: var(--sjc-green); }
.sjc-capacity-box--limited .sjc-status-dot { background: var(--sjc-yellow); }
.sjc-capacity-box--full .sjc-status-dot { background: var(--sjc-red); }
.sjc-capacity-box p { margin: 8px 0 0; color: #4f585e; font-size: 13px; }
.sjc-capacity-box dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 11px 0 0; }
.sjc-capacity-box dl div { min-width: 0; }
.sjc-capacity-box dt { color: #747c81; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.sjc-capacity-box dd { margin: 2px 0 0; color: var(--sjc-dark); font-size: 12px; font-weight: 800; }
.sjc-capacity-box small { display: block; margin-top: 10px; color: #7a8287; font-size: 10px; }
.sjc-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.sjc-card-actions .sjc-button { width: 100%; padding-right: 9px; padding-left: 9px; }
.sjc-empty { padding: 45px 22px; background: #f7f8f8; border: 1px dashed #ccd2d5; border-radius: 12px; text-align: center; }
.sjc-empty h3 { margin: 0 0 7px; }
.sjc-empty p { margin: 0; color: var(--sjc-muted); }
.sjc-empty--small { padding: 22px 16px; }
.sjc-pagination { margin-top: 30px; }
.sjc-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sjc-pagination a,
.sjc-pagination span { display: flex; align-items: center; justify-content: center; min-width: 39px; height: 39px; padding: 0 10px; color: var(--sjc-dark); background: #fff; border: 1px solid var(--sjc-border); border-radius: 6px; text-decoration: none; }
.sjc-pagination .current { color: #fff; background: var(--sjc-orange); border-color: var(--sjc-orange); }
.sjc-catalog-cta { padding: 40px 0; color: #fff; background: var(--sjc-dark); }
.sjc-catalog-cta .sjc-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sjc-catalog-cta h2 { margin: 0 0 7px; color: #fff; }
.sjc-catalog-cta p { margin: 0; color: #cbd0d3; }
.sjc-catalog-cta a { flex: 0 0 auto; padding: 12px 18px; color: #fff; background: var(--sjc-orange); border-radius: 7px; font-weight: 800; text-decoration: none; }

/* Portál */
.sjc-portal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.sjc-portal-head h2 { margin: 0 0 7px; }
.sjc-portal-head p { max-width: 720px; margin: 0; color: var(--sjc-muted); }
.sjc-text-link { color: var(--sjc-orange); font-weight: 800; white-space: nowrap; }
.sjc-setting-card,
.sjc-tech-detail,
.sjc-capacity-editor,
.sjc-machine-row { margin-bottom: 17px; padding: 20px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 11px; }
.sjc-switch { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; cursor: pointer; }
.sjc-switch input { position: absolute; opacity: 0; }
.sjc-switch > span { position: relative; width: 45px; height: 25px; background: #bcc2c5; border-radius: 999px; transition: .18s; }
.sjc-switch > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; background: #fff; border-radius: 50%; transition: .18s; }
.sjc-switch input:checked + span { background: var(--sjc-green); }
.sjc-switch input:checked + span::after { transform: translateX(20px); }
.sjc-portal-subhead { margin: 28px 0 14px; }
.sjc-portal-subhead h3 { margin: 0 0 4px; }
.sjc-portal-subhead p { margin: 0; color: var(--sjc-muted); }
.sjc-tech-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sjc-tech-selector label { min-width: 0; cursor: pointer; }
.sjc-tech-selector input { position: absolute; opacity: 0; }
.sjc-tech-selector span { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; color: #515a60; background: #fff; border: 1px solid var(--sjc-border); border-radius: 7px; font-size: 13px; font-weight: 750; }
.sjc-tech-selector input:checked + span { color: var(--sjc-orange); background: #fff7f2; border-color: var(--sjc-orange); box-shadow: inset 3px 0 0 var(--sjc-orange); }
.sjc-tech-details { margin-top: 18px; }
.sjc-tech-detail { display: none; }
.sjc-tech-detail.is-visible { display: block; }
.sjc-tech-detail__title,
.sjc-capacity-editor__head,
.sjc-machine-row__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.sjc-tech-detail__title h3,
.sjc-capacity-editor__head h3,
.sjc-machine-row__head h3 { margin: 0; }
.sjc-tech-detail__title a { color: var(--sjc-orange); font-size: 13px; font-weight: 800; }
.sjc-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sjc-check-grid label,
.sjc-inline-checks label { color: #525b61; font-size: 13px; }
.sjc-inline-checks { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 14px; }
.sjc-message { margin-bottom: 18px; padding: 12px 14px; border-radius: 7px; font-weight: 700; }
.sjc-message--success { color: #17653f; background: #eaf7f0; border: 1px solid #b9e1ca; }
.sjc-message--error { color: #8b2925; background: #fff0ef; border: 1px solid #efc0bd; }
.sjc-portal-notice { padding: 24px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 11px; }
.sjc-portal-notice p { margin: 0 0 14px; }
.sjc-quick-status { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.sjc-quick-status button { padding: 7px 10px; color: #555e64; background: #f4f5f5; border: 1px solid #d7dbdd; border-radius: 6px; font-size: 12px; font-weight: 800; cursor: pointer; }
.sjc-quick-status button:hover,
.sjc-quick-status button.is-active { color: var(--sjc-orange); background: #fff7f2; border-color: var(--sjc-orange); }
.sjc-freshness { padding: 6px 9px; color: #697176; background: #f1f2f2; border-radius: 999px; font-size: 11px; font-weight: 800; }
.sjc-freshness--fresh { color: #17653f; background: #e9f6ef; }
.sjc-freshness--aging { color: #855807; background: #fff4d9; }
.sjc-percent-field { display: flex; }
.sjc-percent-field input { border-radius: 6px 0 0 6px !important; }
.sjc-percent-field span { display: flex; align-items: center; padding: 0 12px; background: #eef0f1; border: 1px solid #cfd5d8; border-left: 0; border-radius: 0 6px 6px 0; font-weight: 800; }
.sjc-form-actions { display: flex; align-items: center; gap: 10px; }
.sjc-remove-machine { color: #a22f2a; background: transparent; border: 0; font-size: 13px; font-weight: 800; cursor: pointer; }

/* Detail firmy */
.sjc-company-cooperation { padding: 42px 0; background: #f5f6f6; border-bottom: 1px solid #e3e6e7; }
.sjc-company-coop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.sjc-company-coop-head h2 { margin: 0 0 7px; font-size: 30px; }
.sjc-company-coop-head p { max-width: 760px; margin: 0; color: var(--sjc-muted); line-height: 1.65; }
.sjc-certifications { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 17px; }
.sjc-certifications span { padding: 5px 9px; color: #4d565c; background: #fff; border: 1px solid var(--sjc-border); border-radius: 999px; font-size: 12px; font-weight: 750; }
.sjc-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sjc-service-card { padding: 18px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 11px; }
.sjc-service-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sjc-service-card h3 { margin: 0; font-size: 18px; }
.sjc-service-card h3 a { color: var(--sjc-dark); text-decoration: none; }
.sjc-capacity-pill { flex: 0 0 auto; padding: 5px 7px; color: #666; background: #eee; border-radius: 999px; font-size: 9px; font-weight: 850; }
.sjc-capacity-pill--free,
.sjc-capacity-pill--partial { color: #17653f; background: #e9f6ef; }
.sjc-capacity-pill--limited { color: #855807; background: #fff4d9; }
.sjc-capacity-pill--full { color: #8b2925; background: #fff0ef; }
.sjc-service-card > p { margin: 13px 0; color: var(--sjc-muted); font-size: 13px; }
.sjc-service-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 13px 0; }
.sjc-service-card dt { color: #747c81; font-size: 9px; text-transform: uppercase; }
.sjc-service-card dd { margin: 2px 0 0; font-size: 12px; font-weight: 800; }
.sjc-service-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sjc-service-tags span { padding: 4px 7px; background: #f1f3f3; border-radius: 4px; font-size: 10px; font-weight: 700; }
.sjc-service-card > small { display: block; margin-top: 11px; color: #7a8287; font-size: 10px; }
.sjc-company-machines { margin-top: 28px; }
.sjc-section-title h3 { margin: 0 0 13px; }
.sjc-company-machines > div:last-child { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sjc-company-machines article { display: flex; flex-direction: column; gap: 3px; padding: 13px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 8px; }
.sjc-company-machines article span,
.sjc-company-machines article small { color: var(--sjc-muted); font-size: 11px; }

/* Poptávka a komunikace */
.sjc-rfq-page-wrap { width: min(920px, calc(100% - 40px)); margin: 38px auto 65px; }
.sjc-rfq-back { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--sjc-border); }
.sjc-rfq-back a { color: var(--sjc-orange); font-size: 14px; font-weight: 800; text-decoration: none; }
.sjc-rfq-back a:hover { color: var(--sjc-orange-dark); text-decoration: underline; }
.sjc-rfq-hero { margin-bottom: 23px; text-align: center; }
.sjc-rfq-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 48px); }
.sjc-rfq-hero p { max-width: 720px; margin: 0 auto; color: var(--sjc-muted); }
.sjc-rfq-login { width: min(760px, calc(100% - 40px)); margin: 70px auto; padding: 38px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 15px; text-align: center; box-shadow: 0 15px 40px rgba(30,38,44,.08); }
.sjc-rfq-login h1 { margin: 0 0 10px; }
.sjc-rfq-login p { color: var(--sjc-muted); }
.sjc-rfq-login > div { display: flex; justify-content: center; gap: 9px; }
.sjc-rfq-form { padding: 25px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 14px; box-shadow: 0 12px 34px rgba(30,38,44,.07); }
.sjc-rfq-form *,
.sjc-rfq-form *::before,
.sjc-rfq-form *::after { box-sizing: border-box; }
.sjc-rfq-form .sjep-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; width: 100%; }
.sjc-rfq-form .sjep-field { min-width: 0; margin: 0; }
.sjc-rfq-form .sjep-field--full { grid-column: 1 / -1; }
.sjc-rfq-form .sjep-field > label { display: block; margin: 0 0 7px; color: var(--sjc-dark); font-size: 14px; font-weight: 750; line-height: 1.35; }
.sjc-rfq-form .sjep-field input,
.sjc-rfq-form .sjep-field select,
.sjc-rfq-form .sjep-field textarea { display: block; width: 100% !important; min-width: 0 !important; max-width: none !important; min-height: 48px; margin: 0 !important; padding: 11px 13px; color: var(--sjc-dark); background: #fff; border: 1px solid #c9d0d4; border-radius: 6px; font: inherit; font-size: 14px; line-height: 1.35; }
.sjc-rfq-form .sjep-field textarea { min-height: 150px; resize: vertical; }
.sjc-rfq-form .sjep-field input:focus,
.sjc-rfq-form .sjep-field select:focus,
.sjc-rfq-form .sjep-field textarea:focus { outline: 3px solid rgba(200,78,22,.12); border-color: var(--sjc-orange); }
.sjc-rfq-recipients { margin-bottom: 23px; padding: 17px; background: #f5f6f6; border-radius: 9px; }
.sjc-rfq-recipients h2 { margin: 0 0 10px; font-size: 20px; }
.sjc-rfq-recipients > div { display: flex; flex-wrap: wrap; gap: 7px; }
.sjc-rfq-recipients label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 6px; font-size: 13px; font-weight: 750; }
.sjc-auto-match,
.sjc-nda-check { display: flex !important; align-items: flex-start; gap: 8px; margin: 15px 0; color: #515a60; font-size: 13px; font-weight: 750; }
.sjc-check-grid label,
.sjc-inline-checks label { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sjc-rfq-recipients label,
.sjc-auto-match,
.sjc-nda-check { align-items: center; }
.sjc-check-grid input[type="checkbox"],
.sjc-inline-checks input[type="checkbox"],
.sjc-rfq-recipients input[type="checkbox"],
.sjc-auto-match input[type="checkbox"],
.sjc-nda-check input[type="checkbox"] {
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	display: inline-block !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 3px !important;
	box-shadow: none !important;
	accent-color: var(--sjc-orange);
}
.sjc-file-upload { margin: 17px 0; padding: 16px; background: #f7f8f8; border: 1px dashed #cbd1d4; border-radius: 8px; }
.sjc-file-upload label { display: block; margin-bottom: 7px; font-weight: 800; }
.sjc-file-upload small { display: block; margin-top: 7px; color: var(--sjc-muted); }
.sjc-rfq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sjc-rfq-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sjc-rfq-list-head h3 { margin: 0; }
.sjc-rfq-list-head span { display: flex; align-items: center; justify-content: center; min-width: 27px; height: 27px; background: #eef0f1; border-radius: 50%; font-size: 12px; font-weight: 800; }
.sjc-rfq-list { display: grid; gap: 8px; }
.sjc-rfq-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; padding: 14px; color: var(--sjc-dark); background: #fff; border: 1px solid var(--sjc-border); border-radius: 8px; text-decoration: none; }
.sjc-rfq-item:hover { border-color: var(--sjc-orange); }
.sjc-rfq-item h4 { margin: 6px 0 2px; font-size: 15px; }
.sjc-rfq-item p,
.sjc-rfq-item time,
.sjc-rfq-item small { display: block; margin: 0; color: var(--sjc-muted); font-size: 11px; }
.sjc-rfq-item > div:last-child { text-align: right; }
.sjc-rfq-status { display: inline-flex; padding: 4px 7px; color: #555e64; background: #eef0f1; border-radius: 999px; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.sjc-rfq-status--interested,
.sjc-rfq-status--preparing { color: #17653f; background: #e9f6ef; }
.sjc-rfq-status--need_info { color: #855807; background: #fff4d9; }
.sjc-rfq-status--no_capacity,
.sjc-rfq-status--closed { color: #8b2925; background: #fff0ef; }
.sjc-rfq-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sjc-rfq-detail-head > a { color: var(--sjc-orange); font-weight: 800; }
.sjc-rfq-detail { padding: 23px; background: #fff; border: 1px solid var(--sjc-border); border-radius: 12px; }
.sjc-rfq-detail header h2 { margin: 0 0 4px; }
.sjc-rfq-detail header p { margin: 0; color: var(--sjc-muted); }
.sjc-rfq-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 20px 0; }
.sjc-rfq-facts > div { padding: 11px; background: #f5f6f6; border-radius: 7px; }
.sjc-rfq-facts span { display: block; margin-bottom: 3px; color: #737b80; font-size: 9px; text-transform: uppercase; }
.sjc-rfq-facts strong { font-size: 12px; }
.sjc-rfq-description,
.sjc-rfq-attachments,
.sjc-message-thread { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sjc-border); }
.sjc-rfq-description h3,
.sjc-rfq-attachments h3,
.sjc-message-thread h3 { margin: 0 0 12px; }
.sjc-nda-note { padding: 10px 12px; color: #855807; background: #fff4d9; border-radius: 6px; font-weight: 750; }
.sjc-rfq-attachments > div { display: grid; gap: 7px; }
.sjc-rfq-attachments a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; color: var(--sjc-dark); background: #f5f6f6; border-radius: 6px; text-decoration: none; }
.sjc-rfq-attachments a span { color: var(--sjc-muted); font-size: 11px; }
.sjc-message-thread article { max-width: 86%; margin: 0 0 9px; padding: 12px 14px; background: #f3f4f4; border-radius: 10px; }
.sjc-message-thread article.is-own { margin-left: auto; background: #fff3ec; }
.sjc-message-thread article > div { display: flex; justify-content: space-between; gap: 10px; }
.sjc-message-thread time { color: var(--sjc-muted); font-size: 10px; }
.sjc-message-thread p { margin: 7px 0; }
.sjc-rfq-reply { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sjc-border); }

@media (max-width: 1000px) {
	.sjc-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sjc-company-grid,
	.sjc-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sjc-tech-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sjc-company-machines > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sjc-rfq-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.sjc-container,
	.sjc-rfq-page-wrap,
	.sjc-rfq-login { width: calc(100% - 28px); }
	.sjc-catalog-hero { padding: 35px 0 32px; }
	.sjc-catalog-hero p { font-size: 16px; }
	.sjc-filter-section { padding: 18px 0; }
	.sjc-filter { padding: 15px; }
	.sjc-filter-grid,
	.sjc-company-grid,
	.sjc-service-grid,
	.sjc-tech-selector,
	.sjc-rfq-columns { grid-template-columns: minmax(0, 1fr); }
	.sjc-results-section { padding: 34px 0 45px; }
	.sjc-results-head,
	.sjc-catalog-cta .sjc-container,
	.sjc-portal-head,
	.sjc-company-coop-head { align-items: stretch; flex-direction: column; }
	.sjc-card-actions { grid-template-columns: 1fr; }
	.sjc-tech-detail,
	.sjc-capacity-editor,
	.sjc-machine-row { padding: 15px; }
	.sjc-check-grid { grid-template-columns: 1fr; }
	.sjc-company-cooperation { padding: 30px 0; }
	.sjc-company-coop-head .sjc-button { width: 100%; }
	.sjc-company-machines > div:last-child { grid-template-columns: 1fr; }
	.sjc-rfq-back { align-items: flex-start; flex-direction: column; gap: 8px; }
	.sjc-rfq-form .sjep-form-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
	.sjc-rfq-form .sjep-field--full { grid-column: auto; }
	.sjc-rfq-form,
	.sjc-rfq-detail { padding: 16px; }
	.sjc-rfq-login { margin: 35px auto; padding: 25px 17px; }
	.sjc-rfq-login > div { flex-direction: column; }
	.sjc-rfq-facts { grid-template-columns: 1fr 1fr; }
	.sjc-message-thread article { max-width: 96%; }
}

@media (max-width: 430px) {
	.sjc-filter-grid,
	.sjc-rfq-facts { grid-template-columns: 1fr; }
	.sjc-card-head { grid-template-columns: 52px minmax(0, 1fr) auto; }
	.sjc-company-logo { width: 52px; height: 52px; }
}

/* Roztažení vlastních veřejných stránek přes celou šířku Astry */
.sjc-catalog-page .site-content > .ast-container,
.sjc-rfq-page .site-content > .ast-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}
.sjc-catalog-page #primary,
.sjc-rfq-page #primary {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.sjc-catalog-page .entry-header,
.sjc-rfq-page .entry-header { display: none !important; }
.sjc-catalog-page .entry-content,
.sjc-rfq-page .entry-content { margin: 0 !important; }

/* =====================================================
   KOOPERACE 1.1.0 – HLAVIČKA, VYBAVENÍ A VÝROBNÍ PROFIL
   ===================================================== */
body.sjc-catalog-page.ast-theme-transparent-header #masthead,
body.sjc-rfq-page.ast-theme-transparent-header #masthead{
	position:relative!important;
	background:#fff!important;
}
body.sjc-catalog-page .site-header,
body.sjc-catalog-page .ast-primary-header-bar,
body.sjc-catalog-page .main-header-bar,
body.sjc-rfq-page .site-header,
body.sjc-rfq-page .ast-primary-header-bar,
body.sjc-rfq-page .main-header-bar{
	background:#fff!important;
}
.sjc-portal-subhead--compact{margin:0 0 16px}
.sjc-advanced-fields{
	margin-top:17px;
	padding:14px 16px;
	background:#F7F8F8;
	border:1px solid #E0E4E5;
	border-radius:8px;
}
.sjc-advanced-fields summary{
	color:var(--sjc-dark);
	font-size:13px;
	font-weight:850;
	cursor:pointer;
}
.sjc-advanced-fields>p{
	margin:10px 0 14px;
	color:var(--sjc-muted);
	font-size:12px;
}
.sjc-equipment-help{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin:0 0 20px;
	padding:14px 16px;
	color:#365847;
	background:#EEF6F1;
	border:1px solid #D5E7DB;
	border-radius:8px;
	font-size:13px;
}
.sjc-equipment-help strong{flex:0 0 auto}
.sjc-equipment-help span{color:#557064}
.sjc-machine-row__actions{
	display:flex;
	align-items:center;
	gap:12px;
}
.sjc-duplicate-machine,
.sjc-remove-machine{
	appearance:none;
	padding:0;
	background:transparent!important;
	border:0!important;
	font-size:13px;
	font-weight:800;
	cursor:pointer;
}
.sjc-duplicate-machine{color:var(--sjc-orange)}
.sjc-remove-machine{color:#A22F2A}
.sjc-equipment-technologies{
	margin:18px 0;
	padding:15px;
	background:#F7F8F8;
	border:1px solid #E1E4E5;
	border-radius:8px;
}
.sjc-equipment-technologies>label{
	display:block;
	margin-bottom:4px;
	color:var(--sjc-dark);
	font-weight:800;
}
.sjc-equipment-technologies>p{
	margin:0 0 12px;
	color:var(--sjc-muted);
	font-size:12px;
}
.sjc-check-grid--technologies{
	grid-template-columns:repeat(3,minmax(0,1fr));
}
.sjc-equipment-template-fields{
	margin-top:16px;
	padding-top:17px;
	border-top:1px solid var(--sjc-border);
}
.sjc-equipment-template-fields[hidden]{display:none!important}
.sjc-equipment-template-note{
	margin:0 0 14px;
	color:var(--sjc-muted);
	font-size:13px;
}
.sjc-service-equipment{
	display:grid;
	gap:2px;
	margin:12px 0;
	padding:10px 11px;
	background:#F7F8F8;
	border-left:3px solid var(--sjc-orange);
	border-radius:0 6px 6px 0;
}
.sjc-service-equipment span{
	color:#747C81;
	font-size:9px;
	font-weight:800;
	letter-spacing:.04em;
	text-transform:uppercase;
}
.sjc-service-equipment strong{font-size:12px}
.sjc-service-equipment small{color:var(--sjc-muted);font-size:10px}
.sjc-section-title p{
	max-width:760px;
	margin:-5px 0 15px;
	color:var(--sjc-muted);
	font-size:13px;
	line-height:1.6;
}
.sjc-company-machines>div:last-child{
	grid-template-columns:repeat(3,minmax(0,1fr));
}
.sjc-company-machines article{
	gap:6px;
	padding:16px;
}
.sjc-equipment-type-label{
	color:var(--sjc-orange)!important;
	font-size:9px!important;
	font-weight:850;
	letter-spacing:.04em;
	text-transform:uppercase;
}
.sjc-company-machines article strong{font-size:14px;line-height:1.35}
.sjc-company-machines article dl{
	display:grid;
	gap:7px;
	margin:7px 0 0;
}
.sjc-company-machines article dl div{
	padding-top:7px;
	border-top:1px solid #ECEEEF;
}
.sjc-company-machines article dt{
	color:#7A8287;
	font-size:9px;
	text-transform:uppercase;
}
.sjc-company-machines article dd{
	margin:2px 0 0;
	color:var(--sjc-dark);
	font-size:11px;
	font-weight:750;
	line-height:1.4;
}
.sjc-cooperation-contact{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);
	gap:35px;
	align-items:start;
	margin-top:32px;
	padding:24px;
	background:#fff;
	border:1px solid var(--sjc-border);
	border-radius:11px;
}
.sjc-cooperation-contact h3{margin:0 0 7px;font-size:24px}
.sjc-cooperation-contact p{margin:0;color:var(--sjc-muted);line-height:1.6}
.sjc-cooperation-contact dl{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:10px;
	margin:0;
}
.sjc-cooperation-contact dl div{
	padding:10px 12px;
	background:#F7F8F8;
	border-radius:7px;
}
.sjc-cooperation-contact dt{color:#7A8287;font-size:10px;text-transform:uppercase}
.sjc-cooperation-contact dd{margin:3px 0 0;font-size:13px;font-weight:800}
.sjc-cooperation-contact a{color:var(--sjc-dark);text-decoration:none}
.sjc-cooperation-final-cta{
	padding:62px 0 70px;
	color:#fff;
	background:linear-gradient(135deg,#20262D,#171C21);
}
.sjc-cooperation-final-cta .sjf-single-container{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:45px;
}
.sjc-cooperation-final-cta h2{
	margin:0 0 10px;
	color:#fff;
	font-size:clamp(29px,4vw,43px);
}
.sjc-cooperation-final-cta p{
	max-width:750px;
	margin:0;
	color:#C8CDD1;
	line-height:1.65;
}
.sjc-cooperation-final-cta .sjc-button{flex:0 0 auto;min-width:220px}
body.sjf-company-profile-cooperation .sjc-company-cooperation{
	padding-top:52px;
	border-top:0;
}
@media(max-width:1000px){
	.sjc-check-grid--technologies{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sjc-company-machines>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sjc-cooperation-contact{grid-template-columns:1fr}
}
@media(max-width:767px){
	.sjc-catalog-hero{padding-top:40px}
	.sjc-equipment-help{flex-direction:column}
	.sjc-machine-row__head{align-items:flex-start;flex-direction:column}
	.sjc-machine-row__actions{width:100%;justify-content:flex-end}
	.sjc-check-grid--technologies{grid-template-columns:1fr}
	.sjc-company-machines>div:last-child{grid-template-columns:1fr}
	.sjc-cooperation-contact{padding:18px}
	.sjc-cooperation-contact dl{grid-template-columns:1fr}
	.sjc-cooperation-final-cta{padding:50px 0 56px}
	.sjc-cooperation-final-cta .sjf-single-container{align-items:stretch;flex-direction:column;gap:25px}
	.sjc-cooperation-final-cta .sjc-button{width:100%;min-width:0}
}
