.tool-form-timestamp {
    line-height: 1.75;
}

.tool-form-timestamp .ts-now {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem .65rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: #666;
}

.tool-form-timestamp .ts-now-copy {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
}

.tool-form-timestamp .ts-now-copy:hover {
    opacity: 0.85;
}

.tool-form-timestamp .ts-now-value {
    color: #1677ff;
    font-weight: 600;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.tool-form-timestamp .ts-now-copy .ts-hint {
    color: #888;
}

.tool-form-timestamp .ts-control {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-left: 1.75rem;
}

.tool-form-timestamp .ts-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #ffa39e;
    border-radius: 4px;
    background: #fff1f0;
    color: #cf1322;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
}

.tool-form-timestamp .ts-toggle:hover {
    background: #ffccc7;
    border-color: #ff7875;
}

.tool-form-timestamp .ts-toggle-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

.tool-form-timestamp .ts-toggle-play {
    display: none;
}

.tool-form-timestamp .ts-toggle.is-paused {
    background: #e6f4ff;
    border-color: #91caff;
    color: #1677ff;
}

.tool-form-timestamp .ts-toggle.is-paused:hover {
    background: #bae0ff;
    border-color: #69b1ff;
}

.tool-form-timestamp .ts-toggle.is-paused .ts-toggle-pause {
    display: none;
}

.tool-form-timestamp .ts-toggle.is-paused .ts-toggle-play {
    display: block;
}

.tool-form-timestamp .ts-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem .65rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: #666;
}

.tool-form-timestamp .ts-row:last-of-type {
    margin-bottom: 0;
}

.tool-form-timestamp .ts-label {
    flex: 0 0 5rem;
    width: 5rem;
    white-space: nowrap;
    margin: 0 10px 0 0;
}

.tool-form-timestamp .ts-row > label {
    margin-bottom: 0;
}

.tool-form-timestamp .ts-row .form-input {
    width: 168px;
    max-width: 168px;
    margin-bottom: 0;
}

.tool-form-timestamp .ts-row select.form-input {
    width: 88px;
    max-width: 88px;
    padding-right: 1.5rem;
}

.tool-form-timestamp .ts-row .btn {
    margin-bottom: 0;
}

.tool-form-timestamp .ts-hint {
    white-space: nowrap;
    color: #888;
}

@media screen and (max-width: 900px) {
    .tool-form-timestamp .ts-row .form-input,
    .tool-form-timestamp .ts-row select.form-input {
        width: 100%;
        max-width: none;
    }
}
