/* =========================================================
   THULTHUL — TOOL DETAIL
========================================================= */

.tt-tool-detail {
    background: #070708;
    color: #f5f5f7;
}

.tt-tool-detail .tt-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.tt-tool-detail-hero {
    padding: 32px 0 55px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(79,70,255,.15),
            transparent 35%
        ),
        #070708;
}

.tt-tool-back {
    display: inline-block;

    margin-bottom: 30px;

    color: #777781;

    font-size: 10px;

    font-weight: 700;

    text-decoration: none;
}

.tt-tool-back:hover {
    color: #ffffff;
}

.tt-tool-heading {
    max-width: 700px;
}

.tt-tool-heading > span,
.tt-tool-card-heading > span,
.tt-result-heading > span,
.tt-result-empty > span {
    color: #8178ff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.tt-tool-heading h1 {
    margin: 12px 0 15px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 65px);

    line-height: .98;

    letter-spacing: -2.5px;
}

.tt-tool-heading p {
    margin: 0;

    color: #85858e;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   WORKSPACE
========================================================= */

.tt-tool-workspace {
    padding: 55px 0 90px;
}

.tt-tool-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(340px, .85fr);

    gap: 16px;

    align-items: start;
}


/* =========================================================
   CARDS
========================================================= */

.tt-tool-form-card,
.tt-tool-result-card {
    padding: 25px;

    background: #111113;

    border: 1px solid rgba(255,255,255,.08);
}

.tt-tool-card-heading {
    margin-bottom: 24px;
}

.tt-tool-card-heading h2,
.tt-result-heading h2 {
    margin: 8px 0 0;

    color: #ffffff;

    font-size: 24px;

    letter-spacing: -1px;
}


/* =========================================================
   ERROR
========================================================= */

.tt-tool-error {
    margin-bottom: 18px;

    padding: 11px 13px;

    color: #ff8d8d;

    background: rgba(255,70,70,.08);

    border: 1px solid rgba(255,70,70,.18);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.tt-tool-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 16px;
}

.tt-form-field {
    position: relative;
}

.tt-form-field-full {
    grid-column: 1 / -1;
}

.tt-form-field label {
    display: block;

    margin-bottom: 7px;

    color: #676770;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.1px;
}

.tt-form-field input,
.tt-form-field select {
    width: 100%;
    height: 46px;

    box-sizing: border-box;

    padding: 0 12px;

    color: #eeeeef;

    background: #070708;

    border: 1px solid rgba(255,255,255,.09);

    outline: none;

    font-family: inherit;

    font-size: 11px;
}

.tt-form-field input:focus,
.tt-form-field select:focus {
    border-color: #5148ff;
}

.tt-form-field input::placeholder {
    color: #55555d;
}

.tt-form-field small {
    position: absolute;

    right: 11px;
    bottom: 14px;

    color: #5e5e66;

    font-size: 8px;
}

.tt-tool-submit {
    grid-column: 1 / -1;

    height: 48px;

    margin-top: 5px;

    color: #ffffff;

    background: #5148ff;

    border: 0;

    cursor: pointer;

    font-family: inherit;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .8px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.tt-tool-submit:hover {
    background: #625aff;

    transform: translateY(-1px);
}

.tt-tool-submit span {
    margin-left: 10px;
}


/* =========================================================
   RESULT
========================================================= */

.tt-tool-result-card {
    min-height: 420px;

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.10),
            #111113 45%
        );
}

.tt-result-heading {
    margin-bottom: 24px;
}


/* =========================================================
   MAIN CALORIE
========================================================= */

.tt-result-main {
    padding: 25px;

    background: rgba(7,7,8,.55);

    border: 1px solid rgba(255,255,255,.07);
}

.tt-result-main span {
    display: block;

    color: #777781;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.1px;
}

.tt-result-main strong {
    display: block;

    margin-top: 12px;

    color: #ffffff;

    font-size: 52px;

    line-height: 1;

    letter-spacing: -2px;
}

.tt-result-main small {
    display: block;

    margin-top: 6px;

    color: #8178ff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   BMR / TDEE
========================================================= */

.tt-result-stats {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    margin-top: 10px;

    border: 1px solid rgba(255,255,255,.07);
}

.tt-result-stats > div {
    padding: 16px;

    border-right: 1px solid rgba(255,255,255,.07);
}

.tt-result-stats > div:last-child {
    border-right: 0;
}

.tt-result-stats span,
.tt-result-macros span {
    display: block;

    color: #66666e;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1px;
}

.tt-result-stats strong {
    display: inline-block;

    margin-top: 7px;

    color: #eeeeef;

    font-size: 20px;
}

.tt-result-stats small {
    margin-left: 4px;

    color: #5e5e66;

    font-size: 7px;
}


/* =========================================================
   MACROS
========================================================= */

.tt-result-macros {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 8px;

    margin-top: 10px;
}

.tt-result-macros > div {
    padding: 15px;

    background: rgba(7,7,8,.4);

    border: 1px solid rgba(255,255,255,.07);
}

.tt-result-macros strong {
    display: block;

    margin-top: 8px;

    color: #ffffff;

    font-size: 18px;
}


/* =========================================================
   NOTE
========================================================= */

.tt-result-note {
    margin: 18px 0 0;

    color: #64646d;

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   EMPTY
========================================================= */

.tt-result-empty {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 360px;
}

.tt-result-empty h2 {
    max-width: 300px;

    margin: 12px 0;

    color: #ffffff;

    font-size: 29px;

    line-height: 1.05;

    letter-spacing: -1px;
}

.tt-result-empty p {
    max-width: 300px;

    margin: 0;

    color: #6e6e77;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .tt-tool-grid {
        grid-template-columns: 1fr;
    }

    .tt-tool-result-card {
        min-height: auto;
    }
}


@media (max-width: 600px) {

    .tt-tool-detail .tt-container {
        width: min(100% - 28px, 600px);
    }

    .tt-tool-detail-hero {
        padding: 25px 0 45px;
    }

    .tt-tool-heading h1 {
        font-size: 43px;
    }

    .tt-tool-form-card,
    .tt-tool-result-card {
        padding: 20px;
    }

    .tt-tool-form {
        grid-template-columns: 1fr;
    }

    .tt-form-field-full {
        grid-column: auto;
    }

    .tt-tool-submit {
        grid-column: auto;
    }

    .tt-result-main strong {
        font-size: 44px;
    }
}

/* =========================================================
   MACRO FORM HELP
========================================================= */

.tt-tool-form-help {
    grid-column: 1 / -1;

    padding: 12px 14px;

    color: #66666e;

    background: rgba(255,255,255,.025);

    border-left: 2px solid #5148ff;

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   MACRO BREAKDOWN
========================================================= */

.tt-macro-breakdown {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    margin-top: 10px;
}

.tt-macro-breakdown > div {
    padding: 12px;

    background: rgba(7,7,8,.35);

    border: 1px solid rgba(255,255,255,.06);
}

.tt-macro-breakdown span {
    display: block;

    margin-bottom: 6px;

    color: #5f5f68;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .9px;
}

.tt-macro-breakdown strong {
    color: #9a99a2;

    font-size: 9px;

    font-weight: 600;
}


@media (max-width: 600px) {

    .tt-macro-breakdown {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   WORKOUT VOLUME CALCULATOR
========================================================= */

.tt-volume-page {
    width: 100%;
}


.tt-volume-workspace {
    padding-top: 70px;
    padding-bottom: 100px;
}


/* =========================================================
   MAIN TWO COLUMN LAYOUT
========================================================= */

.tt-volume-layout {

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(360px, 0.85fr);

    gap: 24px;

    align-items: start;
}


/* =========================================================
   FORM CARD
========================================================= */

.tt-volume-form-card {

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );
}


.tt-volume-form-card
.tt-tool-card-heading {
    margin-bottom: 28px;
}


.tt-volume-form-card
.tt-tool-card-heading p {

    max-width: 560px;

    margin-top: 10px;

    color: #777780;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.tt-volume-header {

    display: grid;

    grid-template-columns:
        minmax(180px, 2fr)
        80px
        80px
        120px
        34px;

    gap: 12px;

    padding:
        0
        14px
        10px;

    color: #686870;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* =========================================================
   ROWS
========================================================= */

.tt-volume-rows {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.tt-volume-row {

    position: relative;

    display: grid;

    grid-template-columns:
        minmax(180px, 2fr)
        80px
        80px
        120px
        34px;

    gap: 12px;

    align-items: end;

    padding: 14px;

    border: 1px solid rgba(255,255,255,.07);

    background: #111114;

    transition:
        border-color .2s ease,
        background .2s ease;
}


.tt-volume-row:hover {

    border-color:
        rgba(79,70,255,.35);

    background:
        rgba(79,70,255,.025);
}


/* =========================================================
   FIELD
========================================================= */

.tt-volume-row > div {

    min-width: 0;
}


.tt-volume-row label {

    display: block;

    margin-bottom: 7px;

    color: #686870;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.tt-volume-row input {

    width: 100%;

    height: 44px;

    box-sizing: border-box;

    padding:
        0
        12px;

    border: 1px solid rgba(255,255,255,.08);

    outline: none;

    background: #09090b;

    color: #f5f5f7;

    font-family: inherit;

    font-size: 13px;

    border-radius: 0;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.tt-volume-row input::placeholder {
    color: #44444c;
}


.tt-volume-row input:focus {

    border-color: #4f46ff;

    box-shadow:
        0 0 0 1px
        rgba(79,70,255,.15);
}


/* =========================================================
   WEIGHT
========================================================= */

.tt-volume-weight {

    position: relative;
}


.tt-volume-weight input {

    padding-right: 36px;
}


.tt-volume-weight span {

    position: absolute;

    right: 11px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #55555e;

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   REMOVE
========================================================= */

.tt-volume-remove {

    width: 34px;

    height: 44px;

    border: 1px solid rgba(255,255,255,.06);

    background: transparent;

    color: #55555e;

    font-size: 18px;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.tt-volume-remove:hover {

    color: #ffffff;

    border-color:
        rgba(255,255,255,.18);

    background:
        rgba(255,255,255,.04);
}


/* =========================================================
   ADD BUTTON
========================================================= */

.tt-volume-add {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 16px;

    padding: 12px 16px;

    border: 1px solid rgba(255,255,255,.10);

    background: transparent;

    color: #aaaab2;

    font-family: inherit;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .5px;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.tt-volume-add span {

    color: #5b52ff;

    font-size: 17px;

    line-height: 1;
}


.tt-volume-add:hover {

    color: #ffffff;

    border-color:
        rgba(79,70,255,.5);

    background:
        rgba(79,70,255,.05);
}


/* =========================================================
   HELP
========================================================= */

.tt-volume-help {

    margin-top: 26px;

    padding: 16px;

    border-left:
        2px solid #4f46ff;

    background:
        rgba(79,70,255,.035);
}


.tt-volume-help strong {

    display: block;

    margin-bottom: 5px;

    color: #b8b5ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.tt-volume-help p {

    margin: 0;

    color: #777780;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SUBMIT
========================================================= */

.tt-volume-submit {

    width: 100%;

    margin-top: 22px;
}


/* =========================================================
   RESULT CARD
========================================================= */

.tt-volume-result-card {

    position: sticky;

    top: 100px;

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.055),
            rgba(255,255,255,.012)
        );
}


/* =========================================================
   RESULT HEADER
========================================================= */

.tt-volume-result-top span,
.tt-volume-breakdown-title {

    color: #8078ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.tt-volume-result-top h2 {

    margin:
        8px
        0
        26px;

    color: #f4f4f6;

    font-size: 26px;

    line-height: 1.1;
}


/* =========================================================
   TOTAL
========================================================= */

.tt-volume-total {

    padding: 28px;

    border: 1px solid rgba(255,255,255,.07);

    background: #0b0b0d;
}


.tt-volume-total span {

    display: block;

    color: #6d6d76;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.tt-volume-total strong {

    display: block;

    margin-top: 8px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 64px);

    line-height: 1;

    letter-spacing: -2px;
}


.tt-volume-total small {

    display: block;

    margin-top: 8px;

    color: #625aff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   BREAKDOWN
========================================================= */

.tt-volume-breakdown {

    margin-top: 28px;
}


.tt-volume-breakdown-title {

    margin-bottom: 12px;
}


.tt-volume-result-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 0;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.tt-volume-result-row > div {

    min-width: 0;
}


.tt-volume-result-row div strong {

    display: block;

    overflow: hidden;

    color: #e8e8eb;

    font-size: 13px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.tt-volume-result-row div span {

    display: block;

    margin-top: 5px;

    color: #65656d;

    font-size: 10px;
}


.tt-volume-result-row > strong {

    flex-shrink: 0;

    color: #ffffff;

    font-size: 13px;
}


/* =========================================================
   NOTE
========================================================= */

.tt-volume-result-note {

    margin-top: 22px;

    color: #65656d;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   EMPTY
========================================================= */

.tt-volume-empty {

    min-height: 380px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.tt-volume-empty span {

    color: #7169ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.tt-volume-empty h2 {

    max-width: 360px;

    margin:
        10px
        0;

    color: #eeeeef;

    font-size: 28px;

    line-height: 1.1;
}


.tt-volume-empty p {

    max-width: 380px;

    margin: 0;

    color: #66666f;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .tt-volume-layout {

        grid-template-columns:
            minmax(0, 1fr);

    }


    .tt-volume-result-card {

        position: relative;

        top: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .tt-volume-workspace {

        padding-top: 40px;

        padding-bottom: 60px;
    }


    .tt-volume-form-card,
    .tt-volume-result-card {

        padding: 20px;
    }


    .tt-volume-header {

        display: none;
    }


    .tt-volume-row {

        grid-template-columns:
            1fr 1fr;

        gap: 12px;

        padding: 16px;
    }


    .tt-volume-exercise {

        grid-column:
            1 / -1;
    }


    .tt-volume-row > div:nth-child(4) {

        min-width: 0;
    }


    .tt-volume-remove {

        position: absolute;

        top: 12px;

        right: 12px;

        width: 30px;

        height: 30px;
    }


    .tt-volume-total {

        padding: 22px;
    }


    .tt-volume-total strong {

        font-size: 48px;
    }

}

/* =========================================================
   HEART RATE ZONES
========================================================= */

.tt-heart-rate-layout {

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(320px, .75fr)
        minmax(0, 1.25fr);

    gap: 24px;

    align-items: start;
}


.tt-heart-rate-result-card {

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.055),
            rgba(255,255,255,.012)
        );
}


/* =========================================================
   SUMMARY
========================================================= */

.tt-heart-rate-summary {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 24px;

    border:
        1px solid rgba(255,255,255,.07);
}


.tt-heart-rate-summary > div {

    min-width: 0;

    padding: 20px;

    border-right:
        1px solid rgba(255,255,255,.07);
}


.tt-heart-rate-summary > div:last-child {
    border-right: 0;
}


.tt-heart-rate-summary span {

    display: block;

    color: #686870;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.tt-heart-rate-summary strong {

    display: block;

    margin-top: 8px;

    color: #ffffff;

    font-size: 28px;

    line-height: 1;
}


.tt-heart-rate-summary small {

    display: block;

    margin-top: 6px;

    color: #5d5d66;

    font-size: 8px;

    font-weight: 700;
}


/* =========================================================
   ZONES
========================================================= */

.tt-heart-rate-zones {

    margin-top: 28px;
}


.tt-heart-rate-zones-heading {

    margin-bottom: 12px;

    color: #8078ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.tt-heart-rate-zone {

    position: relative;

    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        auto;

    gap: 16px;

    align-items: center;

    min-height: 72px;

    padding: 12px 16px;

    margin-bottom: 6px;

    border:
        1px solid rgba(255,255,255,.06);

    background: #101012;
}


.tt-heart-rate-zone::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    bottom: 0;

    width: 3px;

    background: #4f46ff;
}


.tt-heart-rate-zone-number {

    color: #77777f;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}


.tt-heart-rate-zone-info strong {

    display: block;

    color: #e8e8eb;

    font-size: 13px;
}


.tt-heart-rate-zone-info span {

    display: block;

    margin-top: 4px;

    color: #66666f;

    font-size: 9px;
}


.tt-heart-rate-zone-value {

    text-align: right;
}


.tt-heart-rate-zone-value strong {

    display: block;

    color: #ffffff;

    font-size: 17px;

    letter-spacing: -.3px;
}


.tt-heart-rate-zone-value span {

    display: block;

    margin-top: 3px;

    color: #5d5d66;

    font-size: 8px;

    font-weight: 700;
}


/* =========================================================
   DIFFERENT ZONES
========================================================= */

.tt-heart-rate-zone-1::before {
    opacity: .35;
}

.tt-heart-rate-zone-2::before {
    opacity: .50;
}

.tt-heart-rate-zone-3::before {
    opacity: .65;
}

.tt-heart-rate-zone-4::before {
    opacity: .82;
}

.tt-heart-rate-zone-5::before {
    opacity: 1;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .tt-heart-rate-layout {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .tt-heart-rate-result-card {

        padding: 20px;
    }


    .tt-heart-rate-summary {

        grid-template-columns:
            1fr;
    }


    .tt-heart-rate-summary > div {

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.07);
    }


    .tt-heart-rate-summary > div:last-child {

        border-bottom: 0;
    }


    .tt-heart-rate-zone {

        grid-template-columns:
            42px
            minmax(0, 1fr)
            auto;

        gap: 10px;

        padding:
            12px;
    }


    .tt-heart-rate-zone-value strong {

        font-size: 14px;
    }

}

/* =========================================================
   CALORIES BURNED
========================================================= */

.tt-calories-burned-layout {

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(320px, .8fr)
        minmax(0, 1.2fr);

    gap: 24px;

    align-items: start;
}


.tt-calories-burned-result {

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.055),
            rgba(255,255,255,.012)
        );
}


/* =========================================================
   TOTAL
========================================================= */

.tt-calories-burned-total {

    padding: 32px;

    border: 1px solid rgba(255,255,255,.07);

    background: #0b0b0d;
}


.tt-calories-burned-total span {

    display: block;

    color: #6d6d76;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.tt-calories-burned-total strong {

    display: block;

    margin-top: 8px;

    color: #ffffff;

    font-size: clamp(52px, 6vw, 76px);

    line-height: 1;

    letter-spacing: -3px;
}


.tt-calories-burned-total small {

    display: block;

    margin-top: 8px;

    color: #625aff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   SESSION STATS
========================================================= */

.tt-calories-burned-stats {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    margin-top: 16px;

    border:
        1px solid rgba(255,255,255,.07);
}


.tt-calories-burned-stats > div {

    min-width: 0;

    padding: 18px;

    border-right:
        1px solid rgba(255,255,255,.07);

    border-bottom:
        1px solid rgba(255,255,255,.07);
}


.tt-calories-burned-stats > div:nth-child(2n) {
    border-right: 0;
}


.tt-calories-burned-stats > div:nth-last-child(-n+2) {
    border-bottom: 0;
}


.tt-calories-burned-stats span {

    display: block;

    color: #686870;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.1px;
}


.tt-calories-burned-stats strong {

    display: block;

    margin-top: 7px;

    color: #e8e8eb;

    font-size: 13px;

    line-height: 1.35;
}


/* =========================================================
   BURN RATE
========================================================= */

.tt-calories-burned-rate {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 16px;

    padding: 18px;

    border-left:
        2px solid #4f46ff;

    background:
        rgba(79,70,255,.035);
}


.tt-calories-burned-rate span {

    color: #777780;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.tt-calories-burned-rate strong {

    color: #ffffff;

    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .tt-calories-burned-layout {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .tt-calories-burned-result {

        padding: 20px;
    }


    .tt-calories-burned-total {

        padding: 24px;
    }


    .tt-calories-burned-stats {

        grid-template-columns:
            1fr;
    }


    .tt-calories-burned-stats > div {

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.07);
    }


    .tt-calories-burned-stats > div:last-child {

        border-bottom: 0;
    }


    .tt-calories-burned-rate {

        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

}
/* =========================================================
   SLEEP CALCULATOR
========================================================= */

.tt-sleep-layout {

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(320px, .8fr)
        minmax(0, 1.2fr);

    gap: 24px;

    align-items: start;
}


.tt-sleep-result-card {

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.055),
            rgba(255,255,255,.012)
        );
}


/* =========================================================
   MAIN BEDTIME RESULT
========================================================= */

.tt-sleep-main-result {

    padding: 32px;

    border: 1px solid rgba(255,255,255,.07);

    background: #0b0b0d;

    text-align: center;
}


.tt-sleep-main-result span {

    display: block;

    color: #6d6d76;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.tt-sleep-main-result strong {

    display: block;

    margin-top: 12px;

    color: #ffffff;

    font-size: clamp(36px, 5vw, 58px);

    line-height: 1;

    letter-spacing: -2px;
}


.tt-sleep-main-result small {

    display: block;

    margin-top: 10px;

    color: #7169ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   STATS
========================================================= */

.tt-sleep-stats {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    margin-top: 16px;

    border:
        1px solid rgba(255,255,255,.07);
}


.tt-sleep-stats > div {

    padding: 20px;

    border-right:
        1px solid rgba(255,255,255,.07);
}


.tt-sleep-stats > div:last-child {
    border-right: 0;
}


.tt-sleep-stats span {

    display: block;

    color: #686870;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.tt-sleep-stats strong {

    display: block;

    margin-top: 8px;

    color: #eeeeef;

    font-size: 15px;

    line-height: 1.4;
}


/* =========================================================
   ADVICE
========================================================= */

.tt-sleep-advice {

    margin-top: 20px;

    padding: 18px;

    border-left:
        2px solid #4f46ff;

    background:
        rgba(79,70,255,.035);
}


.tt-sleep-advice span {

    color: #8078ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.tt-sleep-advice p {

    margin:
        8px
        0
        0;

    color: #777780;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .tt-sleep-layout {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .tt-sleep-result-card {

        padding: 20px;
    }


    .tt-sleep-main-result {

        padding: 24px;
    }


    .tt-sleep-stats {

        grid-template-columns:
            1fr;
    }


    .tt-sleep-stats > div {

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.07);
    }


    .tt-sleep-stats > div:last-child {

        border-bottom: 0;
    }

}

/* =========================================================
   WAIST TO HEIGHT RATIO
========================================================= */

.tt-waist-height-layout {

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(320px, .8fr)
        minmax(0, 1.2fr);

    gap: 24px;

    align-items: start;
}


.tt-waist-height-result {

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.055),
            rgba(255,255,255,.012)
        );
}


/* =========================================================
   MAIN RESULT
========================================================= */

.tt-waist-height-main {

    padding: 32px;

    border: 1px solid rgba(255,255,255,.07);

    background: #0b0b0d;

    text-align: center;
}


.tt-waist-height-main span {

    display: block;

    color: #6d6d76;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.tt-waist-height-main strong {

    display: block;

    margin-top: 10px;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 72px);

    line-height: 1;

    letter-spacing: -3px;
}


.tt-waist-height-main small {

    display: block;

    margin-top: 8px;

    color: #7169ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   CATEGORY
========================================================= */

.tt-waist-height-category {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 16px;

    padding: 18px;

    border-left:
        2px solid #4f46ff;

    background:
        rgba(79,70,255,.035);
}


.tt-waist-height-category span {

    color: #777780;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.tt-waist-height-category strong {

    color: #ffffff;

    font-size: 14px;
}


/* =========================================================
   STATS
========================================================= */

.tt-waist-height-stats {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    margin-top: 16px;

    border:
        1px solid rgba(255,255,255,.07);
}


.tt-waist-height-stats > div {

    padding: 20px;

    border-right:
        1px solid rgba(255,255,255,.07);
}


.tt-waist-height-stats > div:last-child {
    border-right: 0;
}


.tt-waist-height-stats span {

    display: block;

    color: #686870;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.tt-waist-height-stats strong {

    display: block;

    margin-top: 8px;

    color: #eeeeef;

    font-size: 15px;
}


/* =========================================================
   INTERPRETATION
========================================================= */

.tt-waist-height-advice {

    margin-top: 20px;

    padding: 18px;

    border:
        1px solid rgba(255,255,255,.06);

    background:
        rgba(255,255,255,.015);
}


.tt-waist-height-advice span {

    color: #8078ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.tt-waist-height-advice p {

    margin:
        8px
        0
        0;

    color: #777780;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .tt-waist-height-layout {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .tt-waist-height-result {

        padding: 20px;
    }


    .tt-waist-height-main {

        padding: 24px;
    }


    .tt-waist-height-stats {

        grid-template-columns:
            1fr;
    }


    .tt-waist-height-stats > div {

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.07);
    }


    .tt-waist-height-stats > div:last-child {

        border-bottom: 0;
    }


    .tt-waist-height-category {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

}

/* =========================================================
   TDEE CALCULATOR
========================================================= */

.tt-tdee-layout {

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(320px, .8fr)
        minmax(0, 1.2fr);

    gap: 24px;

    align-items: start;
}


.tt-tdee-result-card {

    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(79,70,255,.055),
            rgba(255,255,255,.012)
        );
}


/* =========================================================
   BMR / TDEE
========================================================= */

.tt-tdee-summary {

    display: grid;

    grid-template-columns:
        1fr 1.25fr;

    border:
        1px solid rgba(255,255,255,.07);

    background: #0b0b0d;
}


.tt-tdee-summary > div {

    min-width: 0;

    padding: 24px;

    border-right:
        1px solid rgba(255,255,255,.07);
}


.tt-tdee-summary > div:last-child {
    border-right: 0;
}


.tt-tdee-summary span {

    display: block;

    color: #686870;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.tt-tdee-summary strong {

    display: block;

    margin-top: 9px;

    color: #ffffff;

    font-size: 34px;

    line-height: 1;

    letter-spacing: -1px;
}


.tt-tdee-summary small {

    display: block;

    margin-top: 7px;

    color: #5f5f68;

    font-size: 8px;

    font-weight: 700;
}


.tt-tdee-summary .tt-tdee-primary {

    background:
        rgba(79,70,255,.06);
}


.tt-tdee-summary
.tt-tdee-primary strong {

    color: #827aff;
}


/* =========================================================
   GOALS
========================================================= */

.tt-tdee-goals {

    margin-top: 24px;
}


.tt-tdee-goals-heading {

    margin-bottom: 10px;

    color: #8078ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.tt-tdee-goal {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 17px 0;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.tt-tdee-goal > div {
    min-width: 0;
}


.tt-tdee-goal span {

    display: block;

    color: #e5e5e8;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .8px;
}


.tt-tdee-goal small {

    display: block;

    margin-top: 5px;

    color: #65656d;

    font-size: 10px;
}


.tt-tdee-goal > strong {

    flex-shrink: 0;

    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .tt-tdee-layout {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .tt-tdee-result-card {

        padding: 20px;
    }


    .tt-tdee-summary {

        grid-template-columns:
            1fr;
    }


    .tt-tdee-summary > div {

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.07);
    }


    .tt-tdee-summary > div:last-child {

        border-bottom: 0;
    }


    .tt-tdee-goal {

        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

}
