body {
    padding: 0px; margin: 0px; background-color: #525669;
}
table {
    border-spacing: 0px;
}
td { font-family: 'Roboto', 'Arial'; font-size: 1em; padding: 0px; }
div { font-family: 'Roboto', 'Arial'; font-size: 1em; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; outline: none; }
input[type=text]::-ms-clear { display: none; }
.menu-row { width: 100%; display: flex; flex-direction: row; z-index: 5000; }
.responsive-flex {
    display: flex;
}
@media all And (min-width: 880px) {
    .header-row { display: block; }
    .menu-row { display: none; }
    .responsive-flex { flex-direction: row; }
}
@media all And (max-width: 880px) {
    .header-row { display: none; }
    .menu-row { display: flex; }
    .responsive-flex { flex-direction: column; }
}
.link-button {
    display: block;
    flex: 1;
    width: 100%;
    cursor: pointer;
    font-size: 1em;
    border-style: none;
    text-align: center; 
    text-decoration: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.link-button:hover:active:focus { opacity: .8; }
.link-button:disabled { cursor: default; opacity: .4; }
*::-webkit-input-placeholder { color: #a9a9a9; }
*:-moz-placeholder { color: #e1e1e1; }
*:-ms-input-placeholder { /* IE10+ */ color: #a9a9a9; }

.menu-container { position: relative; overflow: hidden; left: 0; right: 0; height: 0px; transition: height 250ms; -webkit-transition: height 250ms; z-index: 5000; }
.expand-menu-container { flex: 1; width: 100%; background-color: #212121; padding: 0px 20px 0px 20px; height: 210px; }
.menu-button { display: block; width: 60px; height: 50px; background-color: #525669; border-style: none; box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing: border-box; border-style: solid; border-width: 0px; font-size: 1.25em; color: white; padding: 0px; margin: 0px; cursor: pointer; appearance: none; -webkit-appearance: none; border-radius: 4px; outline: none; }
.menu-button:hover:active:focus { opacity: .8; }

/* Page Header Styles */
.header {
    display: flex;
    flex: 1;
    flex-direction: row;
    height: 40px;
}

.header-link {
    display: block;
    height: 40px;
    line-height: 40px;
    border-style: none; 
    border-radius: 4px;
    background-color: transparent;
    text-decoration: none;
    font-size: 1.25em;
    padding: 0px 10px 0px 10px;
    color: #000000;
    transition: transform 0.2s ease-in-out;
}
.header-link:hover {
    background-color: #eeeeee;
}
.link-button.site-header-account {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(160,214,156,0.42);
    border-radius: 5px;
    background-color: rgba(160,214,156,0.08);
    color: #a0d69c;
    font-weight: 600;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.link-button.site-header-account:hover {
    border-color: rgba(160,214,156,0.7);
    background-color: rgba(160,214,156,0.14);
}

/* Account section tab bar (icon + label per tab, active tab highlighted) */
.account-tabs {
    display: flex;
    flex-direction: row;
    padding: 4px 0px 10px 0px;
}
.account-tab {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 0px 6px 0px;
    text-decoration: none;
    color: #a9a9a9;
    font-size: 0.8em;
    font-weight: 500;
    font-family: inherit;
    border-style: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease-in-out;
}
.account-tab:hover {
    background-color: #eeeeee;
}
.account-tab img {
    width: 22px;
    height: 22px;
    opacity: 0.45;
}
.account-tab.active {
    color: #414141;
    font-weight: 600;
}
.account-tab.active img {
    opacity: 1;
}

/* Performance evaluation grid (registration detail Evaluation tab) */
.performance-grid-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 8px 4px;
}
.performance-grid-label {
    font-size: 0.7em;
    color: rgba(65,65,65,0.5);
    font-weight: 600;
}
.performance-grid-value {
    font-size: 1em;
    color: #414141;
}
.performance-grid-value-secondary {
    font-size: 1em;
    color: rgba(65,65,65,0.6);
}

/* Pedigree compact bracket layout (registration detail Pedigree tab) - bracket-top/bracket-bottom.svg mirror the app's bracket icons */
.pedigree-compact {
    display: flex;
    flex-direction: column;
}
.pedigree-compact-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
    margin-top: 3px;
}
.pedigree-compact-indent {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.pedigree-compact-bracket {
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.pedigree-compact-name {
    display: block;
    flex: 1;
    height: 40px;
    line-height: 40px;
    margin-left: 8px;
    padding: 0px 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.85em;
    color: #414141;
    text-decoration: none;
}
.pedigree-compact-name-f {
    background-color: rgba(244, 194, 194, 0.4);
}
.pedigree-compact-name-m {
    background-color: rgba(137, 207, 240, 0.4);
}
.pedigree-compact-name-u {
    background-color: rgba(166, 166, 166, 0.25);
}

.light-button {
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-style: none;
    border-radius: 4px;
    background-color: inherit;
    transition: transform 0.2s ease-in-out;
}
.light-button:hover {
    background-color: #e1e1e1;
}

.dark-button {
    width: 40px; 
    height: 40px; 
    border-style: none; 
    border-radius: 4px;
    background-color: #373737;
    color: #eeeeee;
    transition: transform 0.2s ease-in-out;
}
.dark-button:hover {
    filter: contrast(80%);
}

.standard-button {
    width: 100px; 
    height: 40px; 
    border-style: none; 
    border-radius: 4px;
    background-color: #5dbea3;
    font-size: 1em;
    font-weight: 500;
    transition: transform 0.2s ease-in-out;
}
.standard-button:hover {
    filter: contrast(80%);
}

/* Public site footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background-color: #252925;
    color: #cbd0cc;
}
.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(150px, 0.55fr));
    gap: 48px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 44px;
    box-sizing: border-box;
}
.site-footer-brand {
    max-width: 360px;
}
.site-footer-wordmark {
    display: block;
    width: 156px;
    height: auto;
}
.site-footer-description {
    margin: 20px 0 0;
    color: #aeb5af;
    font-size: 0.9em;
    line-height: 1.65;
}
.site-footer-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 24px;
    padding: 0 16px;
    border: 1px solid rgba(160,214,156,0.42);
    border-radius: 5px;
    background-color: rgba(160,214,156,0.08);
    color: #a0d69c;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.site-footer-account:hover {
    border-color: rgba(160,214,156,0.7);
    background-color: rgba(160,214,156,0.14);
}
.site-footer-heading {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
}
.site-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.site-footer-link {
    padding: 7px 0;
    color: #b9c0ba;
    font-size: 0.92em;
    text-decoration: none;
    transition: color 160ms ease;
}
.site-footer-link:hover {
    color: #a0d69c;
}
.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: calc(100% - 48px);
    max-width: 1072px;
    margin: 0 auto;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.09);
    color: #858d86;
    font-size: 0.78em;
    box-sizing: border-box;
}
.site-footer-bottom a {
    color: #aeb5af;
    text-decoration: none;
}
.site-footer-bottom a:hover {
    color: #a0d69c;
}
@media all and (max-width: 720px) {
    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;
        padding-top: 44px;
    }
    .site-footer-brand {
        grid-column: 1 / -1;
    }
}
@media all and (max-width: 440px) {
    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
@media all and (max-width: 320px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
    }
    .site-footer-brand {
        grid-column: auto;
    }
}

/* Material Text */
.material-text-container {
  position: relative;
  flex: 1;
  padding: 15px 0 0;
  border-radius: 4px 4px 0px 0px;
  background-color: transparent;
}
.material-text {
  width: 100%;
  font-size: 1em;
  font-family: 'Roboto', 'Arial';
  color: #414141;
  padding: 12px 4px 8px 4px;
  outline: none;
  box-sizing: border-box;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #414141;
  border: 0;
  border-bottom: 2px solid #eeeeee;  
}
.material-text-label {
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  transition: 0.2s;
  font-size: 12px;
  color: rgba(65,65,65,0.5);
  pointer-events: none;
}

/* Material Input */
.material-input-container {
  position: relative;
  flex: 1;
  padding: 15px 0 0;
  border-radius: 4px 4px 0px 0px;
  background-color: #f6f6f6;
}
.material-input {
  all: initial;
  width: 100%;
  height: 40px;
  border: 0;
  border-bottom: 2px solid #eeeeee;
  font-size: 1em;
  font-family: 'Roboto', 'Arial';
  color: #414141;
  opacity: 1;
  padding: 12px 4px 4px 4px;
  background-color: transparent;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
  text-align: left;
  autocomplete: off;
}
.material-input[type="date"] {
  display: block;
  align-items: left;
  text-align-last: left;
  -webkit-appearance: textfield;
}
.material-input:focus {
  border-bottom: 2px solid #414141;
  color: #414141;
}
.material-input-label {
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  transition: 0.2s;
  font-size: 12px;
  color: rgba(65,65,65,0.5);
  pointer-events: none;
}
.material-input-selector {
  display: none;
  position: absolute;
  width: 100%;
  top: 58px;
  background-color: #bcc6d7;
  padding: 5px;
  z-index: 1999;
  border-radius: 5px;
  box-sizing: border-box;
}
.material-input-selector-item:hover {
    background-color: #ffffff50;
    border-radius: 5px;
}
.material-input-link {
  position: absolute;
  top: 16px;
  right: 0px;
  height: 40px;
  width: 40px;
  padding: 12px;
  background-color: transparent;
  background-image: url('../icons/next_414141.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  border: 0;
  opacity: 1;
  transition: 0.2s;
  outline: none;
  cursor: pointer;
}
.material-input-link:hover {
  opacity: 0.7;
}

.popup-pulse {
  animation: popup-pulse 1.5s infinite;
}
@keyframes popup-pulse {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(0.75); }
  100% { filter: brightness(1); }
}