.clock-page .site-header {
    background: #0e0f12;
}

.clock-app {
    background: #090a0d;
}

.clock-toolbar {
    border-bottom: 1px solid #30323a;
    color: #aaaab2;
    background: #0d0e11;
}

.clock-toolbar__inner,
.clock-statusbar__inner {
    width: min(100%, 1440px);
    min-height: 61px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 54px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.clock-offline-status {
    color: #82eda5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.clock-offline-status i {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background: #55df89;
}

.clock-offline-status.is-offline {
    color: #ffd16f;
}

.clock-offline-status.is-offline i {
    background: #e2ae35;
}

.clock-toolbar__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.clock-toolbar button,
.clock-statusbar button {
    padding: 9px 11px;
    border: 1px solid #3b3d45;
    color: #c9c9ce;
    background: #1a1c21;
    cursor: pointer;
}

.clock-workspace {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 40px clamp(18px, 4vw, 54px) 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.clock-column {
    min-width: 0;
}

.clock-column--main {
    padding-right: clamp(24px, 4vw, 55px);
    border-right: 1px solid #30323a;
}

.clock-column--shot {
    padding-left: clamp(24px, 4vw, 55px);
}

.clock-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.clock-panel-heading h1,
.clock-panel-heading h2 {
    margin: 0;
    color: #c8c8ce;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.clock-state {
    padding: 9px 11px;
    color: #ff9a9d;
    background: #3c2023;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.clock-state.is-running {
    color: #65e99a;
    background: #133322;
}

.clock-state.is-held {
    color: #ffd16f;
    background: #493817;
}

.clock-face {
    height: clamp(220px, 27vw, 350px);
    padding: 16px;
    border: 1px solid #363943;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #030405;
}

.clock-face output {
    display: block;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(105px, 14vw, 196px);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1;
    white-space: nowrap;
}

.clock-face--shot output {
    color: #ff5958;
}

.clock-precision {
    min-height: 24px;
    margin: 13px 0 17px;
    color: #92939c;
    font-size: 12px;
    text-align: center;
}

.clock-primary-action,
.shot-primary-actions button {
    width: 100%;
    min-height: 74px;
    border: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}

.clock-primary-action {
    background: #27864b;
}

.clock-primary-action.is-stopping {
    background: #a63438;
}

.shot-primary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.shot-primary-actions button {
    border: 1px solid #42454f;
    background: #272a31;
}

.shot-primary-actions .shot-hold-action {
    color: #ffe5a2;
    border-color: #a97a11;
    background: #6a4e13;
}

.shot-primary-actions .shot-hold-action.is-held {
    color: #fff;
    background: #a67616;
}

.shot-primary-actions button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.shot-reset-actions {
    display: grid;
    grid-template-columns: 1fr 1fr .76fr;
    gap: 12px;
    margin-top: 12px;
}

.shot-reset-action {
    min-height: 104px;
    border: 0;
    color: #090a0d;
    cursor: pointer;
    text-transform: uppercase;
}

.shot-reset-action small,
.shot-reset-action strong {
    display: block;
}

.shot-reset-action small {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.shot-reset-action strong {
    margin-top: 4px;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: 45px;
    line-height: 1;
}

.shot-reset-action--full {
    background: #d9a735;
}

.shot-reset-action--short {
    background: #e76f25;
}

.shot-reset-action--custom {
    color: #f2f2f3;
    border: 1px solid #444750;
    background: #292b33;
}

.shot-reset-action--custom strong {
    font-size: 30px;
}

.clock-adjustments {
    display: flex;
    gap: 8px;
    margin-top: 11px;
}

.clock-adjustments button {
    min-height: 42px;
    flex: 1;
    border: 1px solid #383b44;
    color: #bbbcc2;
    background: #17191e;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.clock-statusbar {
    border-top: 1px solid #30323a;
    border-bottom: 1px solid #30323a;
    background: #101116;
}

.clock-statusbar p {
    margin: 0;
    color: #a8a9b1;
    font-size: 13px;
    text-align: center;
}

.clock-statusbar p strong {
    color: #d8d8dc;
}

.clock-statusbar span {
    color: #dbb554;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}

.clock-dialog {
    width: min(440px, calc(100% - 30px));
    padding: 0;
    border: 1px solid #4a4d56;
    color: #f3f3f5;
    background: #17191f;
    box-shadow: 0 30px 90px rgba(0,0,0,.75);
}

.clock-dialog::backdrop {
    background: rgba(0,0,0,.78);
}

.clock-dialog header {
    padding: 21px;
    border-bottom: 1px solid #383b43;
}

.clock-dialog header h2 {
    margin: 0;
    font-size: 21px;
}

.clock-dialog header p {
    margin: 9px 0 0;
    color: #a8a9af;
    font-size: 13px;
    line-height: 1.55;
}

.clock-dialog__fields {
    padding: 21px;
    display: grid;
    gap: 14px;
}

.clock-dialog label {
    display: grid;
    grid-template-columns: 1fr 110px;
    align-items: center;
    gap: 18px;
    color: #c8c8cc;
    font-size: 13px;
}

.clock-dialog input {
    width: 100%;
    padding: 10px;
    border: 1px solid #454852;
    color: #fff;
    background: #090a0d;
}

.clock-dialog footer {
    padding: 0 21px 21px;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.clock-dialog footer button {
    padding: 10px 15px;
    border: 1px solid #444751;
    color: #eeeef0;
    background: #262931;
    cursor: pointer;
}

.clock-dialog footer .dialog-confirm {
    border-color: #c8962b;
    color: #090a0d;
    background: #c8962b;
    font-weight: 900;
}

.shortcut-list {
    margin: 0;
    padding: 12px 21px 21px;
}

.shortcut-list div {
    padding: 11px 0;
    border-bottom: 1px solid #353840;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 15px;
}

.shortcut-list dt {
    color: #f0c768;
    font-weight: 900;
}

.shortcut-list dd {
    margin: 0;
    color: #b9bac0;
}

@media (max-width: 820px) {
    .clock-toolbar__inner {
        grid-template-columns: 1fr auto;
    }

    .clock-toolbar__inner > span:nth-child(2) {
        display: none;
    }

    .clock-workspace {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .clock-column--main {
        padding: 0 0 34px;
        border-right: 0;
        border-bottom: 1px solid #30323a;
    }

    .clock-column--shot {
        padding-left: 0;
    }

    .clock-face {
        height: 245px;
    }

    .clock-statusbar__inner {
        grid-template-columns: auto 1fr;
        padding-block: 10px;
    }

    .clock-statusbar span {
        display: none;
    }
}

@media (max-width: 520px) {
    .clock-toolbar__actions button[data-help] {
        display: none;
    }

    .clock-face {
        height: 205px;
    }

    .clock-face output {
        font-size: clamp(100px, 32vw, 145px);
    }

    .clock-primary-action,
    .shot-primary-actions button {
        min-height: 66px;
        font-size: 15px;
    }

    .shot-reset-actions {
        gap: 8px;
    }

    .shot-reset-action {
        min-height: 94px;
    }

    .clock-statusbar p {
        font-size: 11px;
    }
}
