.clipboard-current {
    overflow: hidden;
    background: #f7f8fb;
    border: 1px solid #e1e5eb;
    border-radius: 7px;
}

.clipboard-current__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    background: #fff8fc;
    border-bottom: 1px solid #efd3e2;
}

.clipboard-current__heading span,
.clipboard-current__heading strong {
    display: block;
}

.clipboard-current__heading span {
    color: #a70f62;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.clipboard-current__heading strong {
    margin-top: 2px;
    color: #202635;
    font-size: 15px;
}

.clipboard-current__heading small {
    max-width: 42%;
    color: #7c8798;
    font-size: 9px;
    line-height: 1.35;
    text-align: right;
}

.clipboard-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
    align-items: center;
    gap: 3px;
    min-height: 100px;
    padding: 12px;
    background: #eef1f6;
}

.clipboard-route > div {
    display: grid;
    min-width: 0;
    gap: 5px;
    place-items: center;
    color: #4f5e73;
    font-size: 8px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
}

.clipboard-route > div > i {
    position: relative;
    display: block;
    width: 34px;
    height: 30px;
    border: 1px solid #aeb9c8;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(30, 43, 62, .08);
}

.clipboard-route__desktop::before {
    content: "";
    position: absolute;
    right: 6px;
    bottom: -5px;
    left: 6px;
    height: 4px;
    border-top: 2px solid #6f88a7;
}

.clipboard-route__browser::before,
.clipboard-route__document::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    background: repeating-linear-gradient(to bottom, #8aa2bd 0 2px, transparent 2px 6px);
}

.clipboard-route__browser { border-color: #e90c81 !important; }
.clipboard-route__server { background: #27374f !important; border-color: #27374f !important; }
.clipboard-route__server::before,
.clipboard-route__server::after {
    content: "";
    position: absolute;
    right: 7px;
    left: 7px;
    height: 5px;
    border: 1px solid #9fb0c5;
}
.clipboard-route__server::before { top: 7px; }
.clipboard-route__server::after { bottom: 7px; }

.clipboard-route > b {
    position: relative;
    height: 2px;
    background: #91a2b7;
}

.clipboard-route > b::after {
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    border-width: 4px 0 4px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #91a2b7;
}

.clipboard-route[data-mode="server"] > b:first-of-type::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    border-width: 4px 5px 4px 0;
    border-style: solid;
    border-color: transparent #91a2b7 transparent transparent;
}

.clipboard-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.clipboard-section-heading h3 {
    margin: 0;
    color: #202635;
    font-size: 13px;
    font-weight: 700;
}

.clipboard-section-heading span {
    color: #8a94a4;
    font-size: 9px;
}

.clipboard-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.clipboard-mode-grid button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    min-width: 0;
    min-height: 74px;
    padding: 8px;
    color: #202635;
    text-align: left;
    background: #f7f8fb;
    border: 1px solid #dfe4eb;
    border-radius: 7px;
}

.clipboard-mode-grid button:hover,
.clipboard-mode-grid button:focus-visible,
.clipboard-mode-grid button.is-active {
    background: #fff0f8;
    border-color: #e90c81;
    outline: 0;
}

.clipboard-mode-grid strong,
.clipboard-mode-grid small,
.clipboard-mode-grid em {
    grid-column: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clipboard-mode-grid strong { font-size: 10px; }
.clipboard-mode-grid small { color: #7c8798; font-size: 8px; }
.clipboard-mode-grid em { color: #a70f62; font-size: 7px; font-style: normal; font-weight: 700; }
.clipboard-mode-icon { position: relative; grid-row: 1 / 4; width: 27px; height: 32px; border-radius: 4px; background: #fff; border: 1px solid #b8c2cf; }
.clipboard-mode-icon::before, .clipboard-mode-icon::after { content: ""; position: absolute; right: 5px; left: 5px; height: 2px; background: #91a3b9; }
.clipboard-mode-icon::before { top: 10px; box-shadow: 0 5px #91a3b9, 0 10px #91a3b9; }
.clipboard-mode-icon--server { background: #27374f; border-color: #27374f; }
.clipboard-mode-icon--client { border-color: #e90c81; }

.clipboard-try {
    padding-top: 16px;
    border-top: 1px solid #e1e5eb;
}

.clipboard-try > p {
    margin: 0 0 10px;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

.clipboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.clipboard-shortcuts > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 42px;
    padding: 6px;
    background: #f7f8fb;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
}

.clipboard-shortcuts kbd {
    padding: 2px 4px;
    color: #243349;
    background: #fff;
    border: 1px solid #cfd6df;
    border-bottom-width: 2px;
    border-radius: 3px;
    box-shadow: none;
    font: inherit;
    font-size: 7px;
    font-weight: 700;
}

.clipboard-shortcuts b { color: #8b96a6; font-size: 7px; }
.clipboard-shortcuts small { margin-left: 2px; color: #657287; font-size: 8px; }

.clipboard-transfer {
    padding: 11px 12px;
    background: #f7f8fb;
    border: 1px solid #e1e5eb;
    border-radius: 7px;
}

.clipboard-transfer__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.clipboard-transfer__heading span,
.clipboard-transfer__heading strong { display: block; }
.clipboard-transfer__heading span { color: #7c8798; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.clipboard-transfer__heading strong { margin-top: 2px; color: #202635; font-size: 11px; }
.clipboard-transfer__heading > b { color: #a70f62; font-size: 9px; }

.clipboard-progress {
    height: 6px;
    margin-top: 9px;
    overflow: hidden;
    background: #dfe4eb;
    border-radius: 999px;
}

.clipboard-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: #e90c81;
    border-radius: inherit;
    transition: width .18s ease;
}

.clipboard-transfer[data-state="busy"] .clipboard-progress i { background: linear-gradient(90deg, #8a24b4, #e90c81); }
.clipboard-transfer[data-state="success"] { background: #eefaf4; border-color: #b9e4ce; }
.clipboard-transfer[data-state="success"] .clipboard-progress i { background: #3ab47f; }
.clipboard-transfer[data-state="aborted"] .clipboard-progress i { background: #c65454; }
.clipboard-transfer.is-inactive { opacity: .68; }
.clipboard-transfer > p { margin: 7px 0 0; font-size: 8px !important; line-height: 1.45 !important; }

@media (max-width: 575.98px) {
    .clipboard-mode-grid { grid-template-columns: 1fr; }
}
