.py-run {
    --run-ink: #17130b;
    --run-panel: #2b2415;
    --run-panel-high: #372d18;
    --run-line: #625025;
    --run-gold: #f6cf3c;
    --run-cream: #fff5c8;
    --run-red: #ce594c;
    --run-blue: #41457b;
    --run-green: #79b96c;
    color: #e7d9a7;
}

.py-run [hidden] {
    display: none !important;
}

.py-run button,
.py-run input,
.py-run select,
.py-run textarea {
    font: inherit;
}

.py-run button {
    cursor: pointer;
}

.py-run-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.py-run-score-card {
    position: relative;
    min-height: 160px;
    padding: 18px;
    border: 3px solid var(--run-ink);
    border-radius: 7px;
    background:
        linear-gradient(rgba(65, 69, 123, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 69, 123, .08) 1px, transparent 1px),
        var(--run-gold);
    background-size: 13px 13px;
    color: var(--run-ink);
    box-shadow: inset 0 0 0 3px #ffe578, 7px 7px 0 #993b10;
}

.py-run-score-card::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(23, 19, 11, .3);
    pointer-events: none;
}

.py-run-score-card > * {
    position: relative;
}

.py-run-score-card > span {
    color: #4a3810;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .13em;
}

.py-run-score-card > div:first-of-type {
    display: flex;
    align-items: baseline;
    margin-top: 8px;
}

.py-run-score-card > div strong {
    color: var(--run-blue);
    font-size: 49px;
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: 1;
}

.py-run-score-card > div small {
    color: #514514;
    font-size: 14px;
    font-weight: 950;
}

.py-run-score-track {
    height: 10px;
    margin-top: 6px;
    overflow: hidden;
    border: 2px solid var(--run-ink);
    background: #fff1ae;
}

.py-run-score-track i {
    display: block;
    width: 0;
    height: 100%;
    background: repeating-linear-gradient(90deg, var(--run-blue) 0 13px, #6267a7 13px 26px);
    transition: width .2s ease;
}

.py-run-score-card p {
    margin: 9px 0 0;
    color: #4f3c12;
    font-size: 9px;
    font-weight: 850;
}

.py-run-score-card > small {
    display: block;
    margin-top: 5px;
    color: #6f571d;
    font-size: 7px;
    line-height: 1.35;
}

.py-run-profile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #735c27;
    border-radius: 7px;
    background: #2b2313;
}

.py-run-profile-copy {
    display: grid;
    grid-template-columns: auto minmax(170px, 280px);
    align-items: center;
    gap: 2px 10px;
}

.py-run-profile-copy > span {
    grid-row: 1 / span 2;
    color: var(--run-gold);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .1em;
}

.py-run-profile-copy select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #665125;
    border-radius: 4px;
    background: #19140b;
    color: var(--run-cream);
    font-size: 10px;
    font-weight: 850;
}

.py-run-profile-copy small {
    color: #8f7c4b;
    font-size: 8px;
}

.py-run-profile-copy small.is-success {
    color: #8fc77d;
}

.py-run-profile-copy small.is-error {
    color: #e98675;
}

.py-run-profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.py-run-profile-actions button {
    padding: 6px 8px;
    border: 1px solid #695326;
    border-radius: 4px;
    background: #1d170c;
    color: #d3bd78;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.py-run-profile-actions button:hover {
    border-color: var(--run-gold);
    color: var(--run-gold);
}

.py-run-profile-actions button.is-danger {
    border-color: #79443b;
    color: #db8473;
}

.py-run-workbench {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.py-run-metric-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}

.py-run-metric-strip > a {
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--run-line);
    border-radius: 6px;
    background: #2b2313;
    color: inherit;
    text-decoration: none;
}

.py-run-metric-strip > a:hover {
    border-color: #aa842b;
    transform: translateY(-1px);
}

.py-run-metric-strip > a > span {
    color: #9b8855;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.py-run-metric-strip > a > div {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-top: 5px;
}

.py-run-metric-strip strong {
    color: var(--run-gold);
    font-size: 24px;
    line-height: 1;
}

.py-run-metric-strip small {
    color: #8d7946;
    font-size: 8px;
}

.py-run-metric-strip i {
    display: block;
    height: 5px;
    margin-top: 8px;
    overflow: hidden;
    background: #17130b;
}

.py-run-metric-strip i b {
    display: block;
    height: 100%;
    background: var(--run-gold);
}

.py-run-metric-strip .is-badges i b,
.py-run-metric-strip .is-team i b {
    background: #d96b4e;
}

.py-run-metric-strip .is-story i b,
.py-run-metric-strip .is-trainers i b {
    background: #666ab0;
}

.py-run-metric-strip p {
    margin: 6px 0 0;
    overflow: hidden;
    color: #827041;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.py-run-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--run-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(246, 207, 60, .032), transparent 46%),
        var(--run-panel);
    box-shadow: inset 0 1px rgba(255, 246, 207, .04);
}

.py-run-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #50401d;
}

.py-run-section-head > div:first-child > span {
    color: var(--run-gold);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .13em;
}

.py-run-section-head h2 {
    margin: 2px 0 0;
    color: var(--run-cream);
    font-size: 19px;
    line-height: 1.1;
}

.py-run-section-head > a,
.py-run-section-head > div:last-child a,
.py-run-section-head button {
    padding: 6px 8px;
    border: 1px solid #715927;
    border-radius: 4px;
    background: #1d170c;
    color: #d4bd78;
    font-size: 8px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.py-run-section-head > div:last-child {
    display: flex;
    gap: 6px;
}

.py-run-section-head > strong {
    display: grid;
    min-width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid #8a493e;
    border-radius: 50%;
    background: #361d19;
    color: #e38976;
    font-size: 10px;
}

.py-run-section-head > strong.is-clear {
    border-color: #56804a;
    background: #21301d;
    color: var(--run-green);
}

.py-run-section-head > small {
    color: #8c7948;
    font-size: 8px;
}

.py-run-primary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: 12px;
}

.py-run-next-summary {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    margin-top: 13px;
    padding: 14px;
    border: 1px solid #795f28;
    background:
        radial-gradient(circle at 92% 10%, rgba(246, 207, 60, .12), transparent 28%),
        #211a0e;
}

.py-run-next-summary > div span,
.py-run-next-summary > div strong,
.py-run-next-summary > div small {
    display: block;
}

.py-run-next-summary > div span {
    color: var(--run-gold);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.py-run-next-summary > div strong {
    margin-top: 5px;
    color: #f2e3ae;
    font-size: 15px;
}

.py-run-next-summary > div small {
    margin-top: 3px;
    color: #9c8955;
    font-size: 9px;
}

.py-run-next-summary > p {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: #b1a06c;
    font-size: 10px;
    line-height: 1.5;
}

.py-run-next-summary > b {
    position: absolute;
    top: 13px;
    right: 13px;
    color: #8d7948;
    font-size: 8px;
}

.py-run-next-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.py-run-next-actions button {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
    min-height: 55px;
    padding: 8px;
    border: 1px solid #54431f;
    border-radius: 5px;
    background: #221b0f;
    color: #d8c893;
    text-align: left;
}

.py-run-next-actions button:hover {
    border-color: #9e7c2a;
}

.py-run-next-actions button > i {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 2px solid #6b5628;
    border-radius: 50%;
    color: #1b160c;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

.py-run-next-actions button strong,
.py-run-next-actions button small {
    display: block;
}

.py-run-next-actions button strong {
    color: #dfd09b;
    font-size: 9px;
}

.py-run-next-actions button small {
    margin-top: 3px;
    color: #857345;
    font-size: 7px;
    text-transform: capitalize;
}

.py-run-next-actions button.is-done {
    border-color: #577c48;
    background: #24301b;
}

.py-run-next-actions button.is-done > i {
    border-color: var(--run-green);
    background: var(--run-green);
}

.py-run-next-card > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 11px;
}

.py-run-next-card > footer a,
.py-run-finish-link {
    color: var(--run-gold);
    font-size: 9px;
    font-weight: 900;
}

.py-run-next-card > footer button {
    padding: 5px 8px;
    border: 1px solid #665125;
    border-radius: 4px;
    background: transparent;
    color: #a9955d;
    font-size: 8px;
}

.py-run-health-list {
    display: grid;
    gap: 6px;
    max-height: 440px;
    margin-top: 12px;
    overflow: auto;
}

.py-run-health-list > a,
.py-run-observations > a {
    display: grid;
    grid-template-columns: 27px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid #55431f;
    border-radius: 5px;
    background: #211a0e;
    color: inherit;
    text-decoration: none;
}

.py-run-health-list > a > i,
.py-run-observations > a > i {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #6b5628;
    border-radius: 50%;
    color: #a9955f;
    font-size: 9px;
    font-style: normal;
    font-weight: 950;
}

.py-run-health-list a.is-warning,
.py-run-observations a.is-warning {
    border-color: #78493e;
}

.py-run-health-list a.is-warning > i,
.py-run-observations a.is-warning > i {
    border-color: #a95b4c;
    color: #e88c79;
}

.py-run-health-list a.is-success,
.py-run-observations a.is-success {
    border-color: #4e7544;
}

.py-run-health-list a.is-success > i,
.py-run-observations a.is-success > i {
    color: var(--run-green);
}

.py-run-health-list strong,
.py-run-health-list small,
.py-run-observations strong,
.py-run-observations small {
    display: block;
}

.py-run-health-list strong,
.py-run-observations strong {
    color: #dfd09b;
    font-size: 9px;
}

.py-run-health-list small,
.py-run-observations small {
    margin-top: 3px;
    color: #8f7c4c;
    font-size: 7px;
    line-height: 1.4;
}

.py-run-health-list > a > b {
    color: #b99f51;
    font-size: 7px;
    white-space: nowrap;
}

.py-run-gym-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
}

.py-run-gym-strip > a {
    display: grid;
    grid-template-columns: 22px 42px 1fr;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #55441f;
    border-radius: 5px;
    background: #221b0f;
    color: inherit;
    text-decoration: none;
}

.py-run-gym-strip > a:hover {
    border-color: #9c7929;
}

.py-run-gym-strip > a > span {
    color: #756235;
    font-size: 12px;
    font-weight: 950;
}

.py-run-gym-strip img {
    object-fit: contain;
    filter: grayscale(1) opacity(.52);
}

.py-run-gym-strip > a.is-complete {
    border-color: #607e47;
    background: #263019;
}

.py-run-gym-strip > a.is-partial {
    border-color: #99762a;
}

.py-run-gym-strip > a.is-complete img,
.py-run-gym-strip > a.is-partial img {
    filter: none;
}

.py-run-gym-strip strong,
.py-run-gym-strip small {
    display: block;
}

.py-run-gym-strip strong {
    color: #e2d29d;
    font-size: 9px;
}

.py-run-gym-strip small {
    margin-top: 2px;
    color: #847243;
    font-size: 7px;
}

.py-run-gym-strip > a > b {
    grid-column: 2 / -1;
    color: #887648;
    font-size: 7px;
}

.py-run-gym-strip > a.is-complete > b {
    color: var(--run-green);
}

.py-run-secondary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr) minmax(270px, .8fr);
    gap: 12px;
}

.py-run-team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
}

.py-run-team > a {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 7px;
    padding: 8px;
    border: 1px solid #54431f;
    border-radius: 5px;
    background: #211a0e;
    color: inherit;
    text-decoration: none;
}

.py-run-team > a > span {
    position: absolute;
    top: 4px;
    left: 4px;
    color: #746134;
    font-size: 7px;
    font-weight: 900;
}

.py-run-team img {
    image-rendering: pixelated;
}

.py-run-team strong,
.py-run-team small,
.py-run-team i {
    display: block;
}

.py-run-team strong {
    color: #e2d19a;
    font-size: 9px;
}

.py-run-team small {
    margin-top: 2px;
    color: #8b7848;
    font-size: 7px;
}

.py-run-team i {
    margin-top: 3px;
    color: #b69d50;
    font-size: 7px;
    font-style: normal;
}

.py-run-hm-status {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.py-run-hm-status > div,
.py-run-hm-status > a {
    padding: 7px;
    border: 1px solid #50401e;
    background: #1d170c;
    color: inherit;
    text-decoration: none;
}

.py-run-hm-status span,
.py-run-hm-status strong,
.py-run-hm-status small {
    display: block;
}

.py-run-hm-status span {
    color: #7f6d40;
    font-size: 6px;
    font-weight: 900;
}

.py-run-hm-status strong {
    margin-top: 2px;
    color: #d9c991;
    font-size: 8px;
}

.py-run-hm-status small {
    margin-top: 2px;
    color: #7d6b3e;
    font-size: 6px;
}

.py-run-hm-status > a.is-covered {
    border-color: #527644;
    background: #24301b;
}

.py-run-hm-status > a.is-covered small {
    color: var(--run-green);
}

.py-run-empty {
    padding: 18px;
    border: 1px dashed #604d24;
    border-radius: 6px;
    text-align: center;
}

.py-run-empty strong {
    color: #dfcf99;
    font-size: 11px;
}

.py-run-empty p {
    margin: 5px 0 0;
    color: #8f7c4b;
    font-size: 8px;
    line-height: 1.45;
}

.py-run-empty a {
    display: inline-block;
    margin-top: 8px;
    color: var(--run-gold);
    font-size: 8px;
    font-weight: 900;
}

.py-run-team > .py-run-empty {
    grid-column: 1 / -1;
}

.py-run-position {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #755c28;
    background:
        linear-gradient(rgba(65, 69, 123, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 69, 123, .05) 1px, transparent 1px),
        #211a0e;
    background-size: 15px 15px;
}

.py-run-position > span {
    color: var(--run-gold);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.py-run-position h3 {
    margin: 6px 0 12px;
    color: #f0e0aa;
    font-size: 19px;
}

.py-run-position > div {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.py-run-position strong {
    color: #c7af57;
    font-size: 9px;
}

.py-run-position small {
    color: #8b7848;
    font-size: 7px;
}

.py-run-wallet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
}

.py-run-wallet > div {
    padding: 8px;
    border: 1px solid #50401e;
    background: #211a0e;
}

.py-run-wallet span,
.py-run-wallet strong {
    display: block;
}

.py-run-wallet span {
    color: #7f6c3e;
    font-size: 7px;
    text-transform: uppercase;
}

.py-run-wallet strong {
    margin-top: 3px;
    color: #e1cf91;
    font-size: 12px;
}

.py-run-area-cleanup {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #51401d;
}

.py-run-cleanup-head,
.py-run-cleanup-head > div,
.py-run-cleanup-head span,
.py-run-cleanup-head strong {
    min-width: 0;
}

.py-run-cleanup-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.py-run-cleanup-head span,
.py-run-cleanup-head strong {
    display: block;
}

.py-run-cleanup-head span {
    color: #806d3d;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .1em;
}

.py-run-cleanup-head strong {
    margin-top: 3px;
    overflow: hidden;
    color: #e9d99f;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.py-run-cleanup-head > b {
    color: #e4bd3d;
    font-size: 8px;
    white-space: nowrap;
}

.py-run-cleanup-head > b.is-complete {
    color: #83c876;
}

.py-run-cleanup-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 8px;
}

.py-run-cleanup-stats > div {
    padding: 7px 3px;
    border: 1px solid #4e3e1c;
    background: #1c170d;
    text-align: center;
}

.py-run-cleanup-stats strong,
.py-run-cleanup-stats span {
    display: block;
}

.py-run-cleanup-stats strong {
    color: #f3d55d;
    font-size: 12px;
}

.py-run-cleanup-stats span {
    margin-top: 3px;
    color: #77663b;
    font-size: 6px;
    text-transform: uppercase;
}

.py-run-cleanup-groups {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.py-run-cleanup-group {
    padding: 8px;
    border: 1px solid #4e3e1c;
    background: #1d180e;
}

.py-run-cleanup-group header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.py-run-cleanup-group header span,
.py-run-cleanup-group header strong {
    font-size: 7px;
}

.py-run-cleanup-group header span {
    color: #ddc36b;
    font-weight: 900;
    text-transform: uppercase;
}

.py-run-cleanup-group header strong {
    color: #756439;
}

.py-run-cleanup-group > a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 5px 0;
    color: inherit;
    text-decoration: none;
}

.py-run-cleanup-group > a + a {
    border-top: 1px solid rgba(85, 68, 31, .55);
}

.py-run-cleanup-group > a > i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1px solid #755c28;
    border-radius: 999px;
    color: #f3d55d;
    font-size: 7px;
    font-style: normal;
    font-weight: 900;
}

.py-run-cleanup-group > a strong,
.py-run-cleanup-group > a small {
    display: block;
    min-width: 0;
}

.py-run-cleanup-group > a strong {
    color: #dfce91;
    font-size: 8px;
}

.py-run-cleanup-group > a small,
.py-run-cleanup-group > p {
    color: #77663c;
    font-size: 7px;
    line-height: 1.35;
}

.py-run-cleanup-group > a small {
    margin-top: 2px;
}

.py-run-cleanup-group > p {
    margin: 4px 0 0;
}

.py-run-cleanup-group.is-complete {
    border-color: rgba(119, 183, 105, .32);
}

.py-run-cleanup-group.is-complete > p {
    color: #83c876;
}

.py-run-cleanup-group.is-empty {
    opacity: .72;
}

.py-run-cleanup-map-link {
    display: block;
    margin-top: 8px;
    color: #e6c94f;
    font-size: 8px;
    font-weight: 900;
    text-align: right;
    text-decoration: none;
}

.py-run-cleanup-empty strong,
.py-run-cleanup-empty p {
    display: block;
}

.py-run-cleanup-empty strong {
    color: #dccc93;
    font-size: 9px;
}

.py-run-cleanup-empty p {
    margin: 4px 0 0;
    color: #77663c;
    font-size: 7px;
}

.py-run-inventory {
    margin-top: 12px;
}

.py-run-inventory-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

.py-run-inventory-summary > div {
    padding: 8px;
    border: 1px solid #51411e;
    background: #211a0e;
    text-align: center;
}

.py-run-inventory-summary strong,
.py-run-inventory-summary span {
    display: block;
}

.py-run-inventory-summary strong {
    color: var(--run-gold);
    font-size: 17px;
}

.py-run-inventory-summary span {
    color: #827042;
    font-size: 6px;
    text-transform: uppercase;
}

.py-run-bag-list {
    display: grid;
    gap: 4px;
    max-height: 220px;
    margin-top: 8px;
    overflow: auto;
}

.py-run-bag-list > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1px 8px;
    padding: 6px 8px;
    border-bottom: 1px solid #463719;
}

.py-run-bag-list strong {
    color: #d8c792;
    font-size: 8px;
}

.py-run-bag-list span {
    color: var(--run-gold);
    font-size: 8px;
    font-weight: 900;
}

.py-run-bag-list small {
    grid-column: 1 / -1;
    color: #7b693d;
    font-size: 6px;
}

.py-run-bag-list p,
.py-run-inventory-note {
    margin: 5px 0 0;
    color: #817044;
    font-size: 7px;
}

.py-run-key-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.py-run-key-list span {
    padding: 5px 7px;
    border: 1px solid #665125;
    border-radius: 999px;
    background: #211a0e;
    color: #d7c58f;
    font-size: 7px;
}

.py-run-pack-count {
    display: block;
    margin-top: 10px;
    color: var(--run-gold);
    font-size: 10px;
}

.py-run-analyzer-card {
    border-color: #8a6c2b;
}

.py-run-save-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 13px;
    padding: 13px 15px;
    border: 1px solid #55441f;
    background: #211a0e;
}

.py-run-save-banner.is-valid {
    border-color: #567848;
    background: #24301b;
}

.py-run-save-banner.is-empty {
    border-color: #7b503f;
    background: #2d1e17;
}

.py-run-save-banner span,
.py-run-save-banner strong,
.py-run-save-banner p {
    display: block;
}

.py-run-save-banner span {
    color: var(--run-green);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .1em;
}

.py-run-save-banner.is-empty span {
    color: #e58b77;
}

.py-run-save-banner strong {
    margin-top: 3px;
    color: #e8d8a3;
    font-size: 12px;
}

.py-run-save-banner p {
    margin: 3px 0 0;
    color: #958353;
    font-size: 8px;
}

.py-run-save-banner > b {
    padding: 7px 10px;
    border: 2px solid var(--run-green);
    color: var(--run-green);
    font-size: 9px;
}

.py-run-save-banner > a {
    padding: 7px 10px;
    border: 1px solid #985548;
    color: #e58d79;
    font-size: 8px;
    font-weight: 900;
    text-decoration: none;
}

.py-run-analyzer-grid {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(300px, 1fr) minmax(340px, 1.15fr);
    gap: 10px;
    margin-top: 10px;
}

.py-run-analyzer-grid > div {
    min-width: 0;
    padding: 11px;
    border: 1px solid #50401e;
    background: #211a0e;
}

.py-run-analyzer-grid h3 {
    margin: 0 0 9px;
    color: var(--run-gold);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.py-run-import-facts > div {
    padding: 7px 0;
    border-bottom: 1px solid #443619;
}

.py-run-import-facts span,
.py-run-import-facts strong {
    display: block;
}

.py-run-import-facts span {
    color: #7e6b3f;
    font-size: 7px;
    text-transform: uppercase;
}

.py-run-import-facts strong {
    margin-top: 3px;
    color: #d9c893;
    font-size: 8px;
    line-height: 1.4;
}

.py-run-sync-matrix > div {
    display: grid;
    grid-template-columns: 21px 1fr auto;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    border-bottom: 1px solid #443619;
}

.py-run-sync-matrix i {
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 1px solid #5b4922;
    border-radius: 50%;
    color: #746337;
    font-size: 7px;
    font-style: normal;
}

.py-run-sync-matrix .is-present i {
    border-color: #567849;
    color: var(--run-green);
}

.py-run-sync-matrix span {
    color: #cabb87;
    font-size: 8px;
}

.py-run-sync-matrix strong {
    color: #8e7b4a;
    font-size: 7px;
    text-align: right;
}

.py-run-observations {
    display: grid;
    align-content: start;
    gap: 5px;
}

.py-run-observations h3 {
    margin-bottom: 4px;
}

.py-run-observations > a {
    grid-template-columns: 24px 1fr;
    padding: 7px;
}

.py-run-observations > a > i {
    width: 22px;
    height: 22px;
}

.py-run-copy-status {
    min-height: 13px;
    margin: 8px 0 0;
    color: #8fbc7d;
    font-size: 8px;
    text-align: right;
}

.py-run-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 12px;
}

.py-run-notes-card textarea {
    width: 100%;
    min-height: 150px;
    margin-top: 12px;
    padding: 12px;
    resize: vertical;
    border: 1px solid #635025;
    border-radius: 5px;
    background:
        repeating-linear-gradient(0deg, transparent 0 24px, rgba(246, 207, 60, .08) 24px 25px),
        #1d170c;
    color: #e2d29d;
    font-size: 10px;
    line-height: 25px;
}

.py-run-notes-card textarea::placeholder {
    color: #746237;
}

.py-run-links-card nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
}

.py-run-links-card nav a {
    min-width: 0;
    padding: 10px;
    border: 1px solid #54431f;
    border-radius: 5px;
    background: #211a0e;
    color: inherit;
    text-decoration: none;
}

.py-run-links-card nav a:hover {
    border-color: #987628;
}

.py-run-links-card strong,
.py-run-links-card small {
    display: block;
}

.py-run-links-card strong {
    color: #e1d09a;
    font-size: 9px;
}

.py-run-links-card small {
    margin-top: 3px;
    color: #837143;
    font-size: 7px;
}

@media (max-width: 1200px) {
    .py-run-metric-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .py-run-secondary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .py-run-team-card {
        grid-column: 1 / -1;
    }

    .py-run-analyzer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .py-run-observations {
        grid-column: 1 / -1;
    }
}

@media (max-width: 930px) {
    .py-run-hero,
    .py-run-primary-grid,
    .py-run-bottom-grid {
        grid-template-columns: 1fr;
    }

    .py-run-score-card {
        max-width: 470px;
    }

    .py-run-profile-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .py-run-profile-actions {
        justify-content: flex-start;
    }

    .py-run-gym-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .py-run-metric-strip,
    .py-run-secondary-grid,
    .py-run-analyzer-grid,
    .py-run-team,
    .py-run-links-card nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .py-run-team-card,
    .py-run-observations {
        grid-column: 1 / -1;
    }

    .py-run-next-actions {
        grid-template-columns: 1fr;
    }

    .py-run-hm-status {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .py-run-analyzer-grid > div {
        grid-column: 1 / -1;
    }
}

@media (max-width: 460px) {
    .py-run-card {
        padding: 12px;
    }

    .py-run-profile-copy {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .py-run-profile-copy > span {
        grid-row: auto;
    }

    .py-run-metric-strip,
    .py-run-secondary-grid,
    .py-run-team,
    .py-run-links-card nav,
    .py-run-gym-strip {
        grid-template-columns: 1fr;
    }

    .py-run-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .py-run-next-summary {
        grid-template-columns: 1fr;
    }

    .py-run-next-summary > b {
        position: static;
    }

    .py-run-next-card > footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .py-run-hm-status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
