.show-page-heading { padding: 35px 0; }
.show-latest { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 38px 0 50px; }
.show-latest h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.12; }
.show-latest figure { margin: 0; }
.show-latest figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
.show-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
.show-facts div:last-child { grid-column: 1 / -1; }
.show-facts dt { font-size: 15px; color: #59615d; margin-bottom: 5px; }
.show-facts dd { margin: 0; font-size: 21px; font-weight: 600; }
.show-facts dd span { font-size: 17px; font-weight: 400; }
.show-latest-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.show-publication-photo { display: block; margin-bottom: 18px; }
.show-publication-photo img { display: block; width: 100%; height: 210px; object-fit: contain; background: #f6f7f6; border-radius: 5px; }
@media (max-width: 750px) { .show-latest { grid-template-columns: 1fr; gap: 26px; padding-top: 25px; } }
.show-page-heading h1 { font-size: clamp(39px, 4.5vw, 54px); }
.show-page-heading p { font-size: 21px; max-width: 800px; margin-top: 21px; }
.show-navigation { display: flex; gap: 35px; border-block: 1px solid var(--line); margin-bottom: 35px; flex-wrap: wrap; }
.show-navigation a { padding: 16px 0; border-bottom: 3px solid transparent; }
.show-navigation a[aria-current] { border-color: var(--green); color: var(--green); font-weight: 600; }
.show-services { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding: 8px 0 50px; }
.show-services article { display: flex; flex-direction: column; align-items: start; }
.show-services h2 { font-size: 30px; }
.show-services p { margin: 18px 0 25px; }
.show-services a { margin-top: auto; }
.show-archive { border-top: 1px solid var(--line); padding: 40px 0; }
.show-archive h2 { font-size: 34px; }
.show-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.show-archive-grid article { border-top: 2px solid var(--green); padding-top: 22px; }
.show-archive-grid time { font-size: 14px; }
.show-archive-grid h3 { margin: 15px 0; }
.show-archive-grid p { font-size: 16px; margin-bottom: 20px; }
.show-plugin-content { margin-bottom: 35px; }
.show-plugin-content > p + p { margin-top: 1em; }
.show-support { display: flex; gap: 35px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 32px 0 50px; }
.show-support h2 { font-size: 27px; }
.show-support p { font-size: 17px; max-width: 720px; margin-top: 16px; }
.show-support .btn { flex-shrink: 0; }

.show-plugin-content .dogshow-form {
	--dogshow-accent: var(--green);
	--dogshow-accent-dark: #104d32;
	--dogshow-accent-soft: #f0f6f2;
	--dogshow-frame: var(--line);
	--dogshow-field: #9eaea3;
	--dogshow-label: var(--ink);
	--dogshow-heading: var(--ink);
	--dogshow-muted: #526057;
	--dogshow-text: var(--ink);
	font-family: Club, sans-serif;
	font-size: 18px;
	max-width: none;
	width: 100%;
}
.show-plugin-content .dogshow-section { min-width: 0; padding: 25px; border-radius: 6px; margin-bottom: 28px; }
.show-plugin-content .dogshow-section legend { font-size: 25px; font-weight: 600; padding-inline: 10px; }
.show-plugin-content .dogshow-form input:not([type="radio"], [type="checkbox"], [type="hidden"], [type="file"]),
.show-plugin-content .dogshow-form select { min-height: 46px; font-size: 17px; border-radius: 5px; }
.show-plugin-content input:is([type="radio"], [type="checkbox"]) { accent-color: var(--green); }
.show-plugin-content .dogshow-btn { border-radius: 5px; padding: 10px 22px; font-size: 17px; }
.show-plugin-content .dogshow-form .description { font-size: 15px; }
.show-plugin-content .dogshow-notice { border-left: 3px solid var(--green); background: #f0f6f2; padding: 27px; font-size: 19px; margin: 0 0 24px; }
.show-plugin-content .dogshow-error { border-color: #b32424; background: #fff4f4; }
.show-plugin-content .dogshow-warning { border-color: #99700e; background: #fffaf0; }
.show-plugin-content .dogshow-show-opt { padding: 20px; }
.show-plugin-content .dogshow-table { font-size: 16px; }
.show-plugin-content .dogshow-table th { background: #f0f6f2; }
.show-plugin-content .dogshow-table :is(td, th) { padding: 13px 12px; overflow-wrap: anywhere; }

.show-plugin-content .dogshow-catalog {
	--dsc-house: var(--green);
	--dsc-house-soft: #f0f6f2;
	--dsc-male: #245b83;
	--dsc-female: #9c355b;
	--dsc-rule: #bdcfc2;
	--dsc-line: var(--line);
	--dsc-official: var(--green);
	--dsc-official-soft: #f0f6f2;
	--dsc-unofficial: var(--green);
	--dsc-unofficial-soft: #f0f6f2;
	font-family: Club, sans-serif;
	font-size: 17px;
	max-width: 1050px;
}
.show-plugin-content .dogshow-cat-tone { --dsc-tone: var(--green); --dsc-tone-soft: #f0f6f2; --dsc-tone-ink: #104d32; }
.show-plugin-content :is(.dogshow-cat-section, .dogshow-cat-group) { color: #fff; background: var(--green); padding: 12px 15px; letter-spacing: .035em; }
.show-plugin-content .dogshow-cat-sex--male { background: #f1f6fa; color: #245b83; border: 1px solid #245b83; border-left-width: 4px; padding: 10px; }
.show-plugin-content .dogshow-cat-sex--female { background: #fcf2f5; color: #9c355b; border: 1px solid #9c355b; border-left-width: 4px; padding: 10px; }
.show-plugin-content .dogshow-cat-dog--male { --dsc-tone: #245b83; }
.show-plugin-content .dogshow-cat-dog--female { --dsc-tone: #9c355b; }
.show-plugin-content .dogshow-cat-class-head { color: #104d32; padding: 10px 12px; }
.show-plugin-content .dogshow-res-place { background: #f0f6f2; color: var(--green); border: 1px solid #bdcfc2; }
.show-plugin-content .dogshow-res-head { margin: 30px 0; }
.show-plugin-content .dogshow-res-row { padding-block: 12px; }

@media (max-width: 1100px) {
	.show-services { gap: 25px; }
	.show-archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.show-page-heading { padding: 27px 0; }
	.show-page-heading p { font-size: 18px; }
	.show-navigation { gap: 0; justify-content: space-between; font-size: 15px; }
	.show-navigation a { padding: 13px 2px; }
	.show-services, .show-archive-grid { grid-template-columns: 1fr; gap: 30px; }
	.show-services article + article { border-top: 1px solid var(--line); padding-top: 25px; }
	.show-support { align-items: start; flex-direction: column; gap: 23px; }
	.show-plugin-content .dogshow-section { padding: 17px 12px; }
	.show-plugin-content .dogshow-section legend { font-size: 22px; }
	.show-plugin-content .dogshow-notice { font-size: 18px; padding: 22px; }
	.show-plugin-content .dogshow-catalog { font-size: 15px; }
	.show-archive .section-heading p { margin: 0; }
}

/* Web presentation only. Plugin and standalone print output stay unchanged. */
@media screen {
 .show-view-catalog .show-page-heading,.show-view-results .show-page-heading{padding:24px 0}
 .show-view-catalog .show-page-heading p,.show-view-results .show-page-heading p{margin-top:12px}
 .show-view-catalog .show-navigation,.show-view-results .show-navigation{margin-bottom:22px}
 :is(.show-view-catalog,.show-view-results) .dogshow-section{padding:12px 16px;margin-bottom:20px}
 :is(.show-view-catalog,.show-view-results) .dogshow-section legend{font-size:20px}
 :is(.show-view-catalog,.show-view-results) .dogshow-show-opt{padding:12px}
 .show-plugin-content :is(.dogshow-cat-section,.dogshow-cat-group){background:#f1f5f2;color:#243d30;border:0;border-left:3px solid var(--green);text-align:left;padding:10px 12px;letter-spacing:0;text-transform:none;font-size:21px;line-height:1.35}
 .show-plugin-content .dogshow-cat-class-head{background:#f6f7f6;color:#26372e;padding:9px 12px;border-left-color:#9cac9f}
 .show-plugin-content .dogshow-catalog{font-size:17px;line-height:1.5}
 .show-plugin-content .dogshow-cat-dog th{color:#414c45;font-size:15px;line-height:1.4}
 .show-plugin-content .dogshow-cat-dog :is(th,td){padding:6px 9px}
 .show-plugin-content .dogshow-cat-dog td{font-size:16px;line-height:1.4}
 .show-plugin-content .dogshow-cat-dog .dogshow-cat-dog-num th{font-size:18px}
 .show-plugin-content .dogshow-res-head{margin:20px 0}
 .show-plugin-content .dogshow-res-sex{font-family:Arial,sans-serif;font-size:24px;line-height:1;font-weight:700;display:inline-block;min-width:22px;margin-right:6px;vertical-align:-2px}
 .show-plugin-content .dogshow-res-sex--male{color:#245b83}
 .show-plugin-content .dogshow-res-sex--female{color:#9c355b}
 .show-plugin-content .dogshow-res-win:not(.dogshow-res-win--hand){display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:6px 18px;padding:12px 10px;align-items:baseline}
 .show-plugin-content .dogshow-res-who{min-width:0}
 .show-plugin-content .dogshow-res-win--top .dogshow-res-dog{font-size:1em}
 .show-plugin-content .dogshow-res-text{font-size:15px;line-height:1.5}
 .show-plugin-content .dogshow-res-text--win{color:#314d3d;font-weight:600}
 .show-plugin-content .dogshow-res-row--dog,.show-result-columns{display:grid;grid-template-columns:44px 44px minmax(0,1fr);gap:8px;padding:10px 8px}
 .show-result-columns{font-size:13px;color:#4b584f;border-bottom:1px solid var(--line);align-items:end;padding-block:6px}
 .show-plugin-content .dogshow-res-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:4px 18px;line-height:1.5;min-width:0}
 .show-plugin-content .dogshow-res-name{margin:0}
 .show-plugin-content .dogshow-res-desc{grid-column:1/-1}
 .show-plugin-content .dogshow-res-place{background:#f3f5f3;color:#344b3c;border-color:#b6c5ba;font-size:14px;width:24px;height:24px;line-height:24px}
 .show-plugin-content .dogshow-res-no{color:#435047;font-size:15px;line-height:24px}
 .show-catalog-jumps{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;padding:12px 0;border-block:1px solid var(--line);margin:16px 0 24px;font-size:16px}
 .show-catalog-jumps a{color:#205f44;text-decoration:underline;text-underline-offset:3px}
 .show-catalog-jumps summary{cursor:pointer;font-weight:600;color:#205f44;padding:4px 0}
 .show-catalog-jumps details{flex:0 0 auto}
 .show-catalog-jumps details[open]{flex-basis:100%}
 .show-catalog-class-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 30px;padding:12px 0 4px}
 .show-catalog-class-links strong{display:block;margin-bottom:5px;font-size:15px}
 .show-catalog-class-links a{display:block;padding:5px 0}
 .show-plugin-content [id^="catalog-section-"]{scroll-margin-top:55px}
}
@media screen and (max-width:600px){
 .show-plugin-content .dogshow-catalog{font-size:16px}
 .show-plugin-content :is(.dogshow-cat-section,.dogshow-cat-group){font-size:19px}
 .show-plugin-content .dogshow-catalog:not(.dogshow-measuring) .dogshow-cat-dog tr:not(.dogshow-cat-dog-num) th{font-size:14px;color:#414c45;padding:6px 9px 2px}
 .show-plugin-content .dogshow-catalog:not(.dogshow-measuring) .dogshow-cat-dog td{font-size:16px;padding:0 9px 6px}
 .show-plugin-content .dogshow-res-win:not(.dogshow-res-win--hand){grid-template-columns:1fr;gap:4px}
 .show-plugin-content .dogshow-res-row--dog,.show-result-columns{grid-template-columns:42px 30px minmax(0,1fr);gap:6px;padding-inline:4px}
 .show-plugin-content .dogshow-res-main{grid-template-columns:1fr;gap:3px}
 .show-result-columns{font-size:12px}
 .show-catalog-jumps{gap:8px 14px;font-size:15px}
 .show-catalog-class-links{grid-template-columns:1fr;gap:12px}
}
@media print{.show-catalog-jumps,.show-result-columns{display:none!important}}

/* Entry layout is scoped to the registration page, never the catalog. */
.show-view-entry .show-page-heading { padding: 24px 0; }
.show-view-entry .show-page-heading p { margin-top: 12px; }
.show-view-entry .dogshow-section { padding: 18px; margin-bottom: 20px; }
.show-view-entry .dogshow-section legend { font-size: 21px; }
.show-view-entry .dogshow-form .dogshow-row { margin-bottom: 12px; }
.show-view-entry .dogshow-form .dogshow-next { padding: 12px 14px; font-size: 15px; line-height: 1.5; background: #f7f9f7; border-left-width: 2px; }
.show-view-entry .dogshow-next .dogshow-label { margin-bottom: 6px; }
.show-view-entry .dogshow-next [hidden], .show-view-entry .dogshow-next[hidden] { display: none; }
.show-view-entry .dogshow-next .dogshow-next-list { padding-left: 0; list-style: none; }
.show-view-entry .show-entry-help { margin: 0 0 14px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fafbf9; font-size: 15px; line-height: 1.5; }
.show-view-entry .show-entry-help summary { padding: 10px 12px; cursor: pointer; color: #254c39; font-weight: 600; }
.show-view-entry .show-entry-help > :not(summary) { margin: 0; padding: 0 14px 12px; background: transparent; border: 0; font-size: 15px; }
.show-view-entry .show-entry-help > ol { padding-left: 32px; }
.show-view-entry .show-entry-help .dogshow-label[hidden] { display: none; }
.show-view-entry .dogshow-form .dogshow-entry-actions { white-space: nowrap; }
.show-view-entry .dogshow-form .dogshow-entry-actions .dogshow-inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; vertical-align: middle; }
.show-view-entry .dogshow-entry-actions .dogshow-inline-form + .dogshow-inline-form { margin-left: 6px; }
.show-view-entry .dogshow-form .dogshow-entry-actions select { width: 150px; min-height: 40px; margin: 0; padding: 6px; font-size: 14px; }
.show-view-entry .dogshow-form .dogshow-entry-actions button { min-height: 40px; margin: 0; padding: 6px 8px; border: 1px solid #b8c9bf; border-radius: 4px; font-size: 14px; line-height: 1.2; text-decoration: none; background: #fff; }
.show-view-entry .dogshow-entry-actions button:hover { background: #eef4ef; }
.show-view-entry .dogshow-entries-editable :is(td,th) { padding: 10px 8px; }
.show-view-entry .show-group-field-label { display: none; }
@media (max-width: 900px) and (min-width: 601px) {
 .show-view-entry .dogshow-form .dogshow-entry-actions { white-space: normal; }
 .show-view-entry .dogshow-form .dogshow-entry-actions .dogshow-inline-form { margin-bottom: 5px; }
}
@media (max-width: 600px) {
 .show-view-entry .dogshow-section { padding: 14px 10px; margin-bottom: 17px; }
 .show-view-entry .dogshow-section legend { font-size: 20px; padding-inline: 5px; }
 .show-view-entry .dogshow-form .dogshow-entry-actions { display: flex; align-items: center; gap: 6px; padding: 8px 0 0; }
 .show-view-entry .dogshow-form .dogshow-entry-actions .dogshow-inline-form { margin: 0; }
 .show-view-entry .dogshow-entry-actions .dogshow-inline-form:has(select) { flex: 1; min-width: 0; }
 .show-view-entry .dogshow-form .dogshow-entry-actions select { flex: 1; min-width: 0; width: 1px; max-width: 150px; font-size: 13px; }
 .show-view-entry .dogshow-form .dogshow-entry-actions button { min-height: 44px; padding: 6px; font-size: 13px; }
 .show-view-entry .dogshow-form .dogshow-entry-actions select { min-height: 44px; }
 .show-view-entry .dogshow-members tbody .dogshow-member-row:not([hidden]) { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
 .show-view-entry .dogshow-members tbody td { display: block; width: 100%; padding: 4px 0; border: 0; }
 .show-view-entry .dogshow-members .show-group-field-label { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #34473c; }
 .show-view-entry .dogshow-members input, .show-view-entry .dogshow-members select { width: 100%; max-width: 100%; }
 .show-view-entry .dogshow-members-kind { font-size: 15px; }
 .show-view-entry .dogshow-mode-switch { padding: 10px; }
 .show-view-entry .dogshow-mode-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
 .show-view-entry .dogshow-mode-buttons button { padding: 8px; font-size: 14px; }
}

/* A-02/A-04: screen-only contrast, retaining the existing palette and layout. */
@media screen {
 .show-plugin-content .dogshow-form { --dogshow-field: #6f8377; }
 .show-plugin-content .dogshow-cat-finals-arrow { color: #61666c; white-space: nowrap; }
 /* Match the original 44px columns and 24px badges at normal text size. */
 .show-plugin-content .dogshow-res-row--dog,.show-result-columns { grid-template-columns:2.75rem 2.75rem minmax(0,1fr); }
 .show-plugin-content .dogshow-res-place { width:1.714286em; height:auto; min-height:1.714286em; line-height:1.714286; }
 .show-plugin-content .dogshow-res-no { line-height:1.6; }
}
@media screen and (max-width:600px) {
 .show-plugin-content .dogshow-res-row--dog,.show-result-columns { grid-template-columns:2.625rem 1.875rem minmax(0,1fr); }
}
